1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_long swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2480 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2481 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2482 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[16]
2483 #define SWIGTYPE_p_wxCloseEvent swig_types[17]
2484 #define SWIGTYPE_p_wxColour swig_types[18]
2485 #define SWIGTYPE_p_wxColourData swig_types[19]
2486 #define SWIGTYPE_p_wxColourDialog swig_types[20]
2487 #define SWIGTYPE_p_wxCommandEvent swig_types[21]
2488 #define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
2489 #define SWIGTYPE_p_wxControl swig_types[23]
2490 #define SWIGTYPE_p_wxControlWithItems swig_types[24]
2491 #define SWIGTYPE_p_wxDC swig_types[25]
2492 #define SWIGTYPE_p_wxDateEvent swig_types[26]
2493 #define SWIGTYPE_p_wxDialog swig_types[27]
2494 #define SWIGTYPE_p_wxDirDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[29]
2496 #define SWIGTYPE_p_wxDropFilesEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDuplexMode swig_types[31]
2498 #define SWIGTYPE_p_wxEraseEvent swig_types[32]
2499 #define SWIGTYPE_p_wxEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[34]
2501 #define SWIGTYPE_p_wxFSFile swig_types[35]
2502 #define SWIGTYPE_p_wxFileDialog swig_types[36]
2503 #define SWIGTYPE_p_wxFileSystem swig_types[37]
2504 #define SWIGTYPE_p_wxFindDialogEvent swig_types[38]
2505 #define SWIGTYPE_p_wxFindReplaceData swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[40]
2507 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2508 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
2509 #define SWIGTYPE_p_wxFont swig_types[43]
2510 #define SWIGTYPE_p_wxFontData swig_types[44]
2511 #define SWIGTYPE_p_wxFontDialog swig_types[45]
2512 #define SWIGTYPE_p_wxFrame swig_types[46]
2513 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2514 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
2515 #define SWIGTYPE_p_wxGrid swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridCellAttr swig_types[51]
2518 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[52]
2519 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[53]
2520 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[54]
2521 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[55]
2522 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[56]
2523 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[57]
2524 #define SWIGTYPE_p_wxGridCellCoords swig_types[58]
2525 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[59]
2526 #define SWIGTYPE_p_wxGridCellEditor swig_types[60]
2527 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[61]
2528 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[62]
2529 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[63]
2530 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[64]
2531 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[65]
2532 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[66]
2533 #define SWIGTYPE_p_wxGridCellRenderer swig_types[67]
2534 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[68]
2535 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[69]
2536 #define SWIGTYPE_p_wxGridCellWorker swig_types[70]
2537 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[71]
2538 #define SWIGTYPE_p_wxGridEvent swig_types[72]
2539 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[73]
2540 #define SWIGTYPE_p_wxGridSizeEvent swig_types[74]
2541 #define SWIGTYPE_p_wxGridSizer swig_types[75]
2542 #define SWIGTYPE_p_wxGridStringTable swig_types[76]
2543 #define SWIGTYPE_p_wxGridTableBase swig_types[77]
2544 #define SWIGTYPE_p_wxGridTableMessage swig_types[78]
2545 #define SWIGTYPE_p_wxICOHandler swig_types[79]
2546 #define SWIGTYPE_p_wxIconizeEvent swig_types[80]
2547 #define SWIGTYPE_p_wxIdleEvent swig_types[81]
2548 #define SWIGTYPE_p_wxImage swig_types[82]
2549 #define SWIGTYPE_p_wxImageHandler swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxMDIChildFrame swig_types[90]
2557 #define SWIGTYPE_p_wxMDIClientWindow swig_types[91]
2558 #define SWIGTYPE_p_wxMDIParentFrame swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMessageDialog swig_types[98]
2565 #define SWIGTYPE_p_wxMiniFrame swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[103]
2570 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNcPaintEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPageSetupDialog swig_types[112]
2579 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPanel swig_types[116]
2583 #define SWIGTYPE_p_wxPaperSize swig_types[117]
2584 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[118]
2585 #define SWIGTYPE_p_wxPoint swig_types[119]
2586 #define SWIGTYPE_p_wxPopupWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPreviewCanvas swig_types[121]
2588 #define SWIGTYPE_p_wxPreviewControlBar swig_types[122]
2589 #define SWIGTYPE_p_wxPreviewFrame swig_types[123]
2590 #define SWIGTYPE_p_wxPrintData swig_types[124]
2591 #define SWIGTYPE_p_wxPrintDialog swig_types[125]
2592 #define SWIGTYPE_p_wxPrintDialogData swig_types[126]
2593 #define SWIGTYPE_p_wxPrintPreview swig_types[127]
2594 #define SWIGTYPE_p_wxPrinter swig_types[128]
2595 #define SWIGTYPE_p_wxProgressDialog swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[133]
2600 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[134]
2601 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[135]
2602 #define SWIGTYPE_p_wxPyGridTableBase swig_types[136]
2603 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[137]
2604 #define SWIGTYPE_p_wxPyImageHandler swig_types[138]
2605 #define SWIGTYPE_p_wxPyPanel swig_types[139]
2606 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[140]
2607 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[141]
2608 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[142]
2609 #define SWIGTYPE_p_wxPyPrintPreview swig_types[143]
2610 #define SWIGTYPE_p_wxPyPrintout swig_types[144]
2611 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[145]
2612 #define SWIGTYPE_p_wxPySizer swig_types[146]
2613 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[147]
2614 #define SWIGTYPE_p_wxPyVListBox swig_types[148]
2615 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[149]
2616 #define SWIGTYPE_p_wxPyValidator swig_types[150]
2617 #define SWIGTYPE_p_wxPyWindow swig_types[151]
2618 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[152]
2619 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[153]
2620 #define SWIGTYPE_p_wxRect swig_types[154]
2621 #define SWIGTYPE_p_wxSashEvent swig_types[155]
2622 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[156]
2623 #define SWIGTYPE_p_wxSashWindow swig_types[157]
2624 #define SWIGTYPE_p_wxScrollEvent swig_types[158]
2625 #define SWIGTYPE_p_wxScrollWinEvent swig_types[159]
2626 #define SWIGTYPE_p_wxScrolledWindow swig_types[160]
2627 #define SWIGTYPE_p_wxSetCursorEvent swig_types[161]
2628 #define SWIGTYPE_p_wxShowEvent swig_types[162]
2629 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[163]
2630 #define SWIGTYPE_p_wxSizeEvent swig_types[164]
2631 #define SWIGTYPE_p_wxSizer swig_types[165]
2632 #define SWIGTYPE_p_wxSizerItem swig_types[166]
2633 #define SWIGTYPE_p_wxSplashScreen swig_types[167]
2634 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[168]
2635 #define SWIGTYPE_p_wxSplitterEvent swig_types[169]
2636 #define SWIGTYPE_p_wxSplitterWindow swig_types[170]
2637 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[171]
2638 #define SWIGTYPE_p_wxStatusBar swig_types[172]
2639 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[173]
2640 #define SWIGTYPE_p_wxString swig_types[174]
2641 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[175]
2642 #define SWIGTYPE_p_wxTIFFHandler swig_types[176]
2643 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[177]
2644 #define SWIGTYPE_p_wxTextEntryDialog swig_types[178]
2645 #define SWIGTYPE_p_wxTipWindow swig_types[179]
2646 #define SWIGTYPE_p_wxTopLevelWindow swig_types[180]
2647 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[181]
2648 #define SWIGTYPE_p_wxValidator swig_types[182]
2649 #define SWIGTYPE_p_wxVisualAttributes swig_types[183]
2650 #define SWIGTYPE_p_wxWindow swig_types[184]
2651 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[185]
2652 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[186]
2653 #define SWIGTYPE_p_wxXPMHandler swig_types[187]
2654 static swig_type_info
*swig_types
[189];
2655 static swig_module_info swig_module
= {swig_types
, 188, 0, 0, 0, 0};
2656 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2657 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2659 /* -------- TYPES TABLE (END) -------- */
2661 #if (PY_VERSION_HEX <= 0x02000000)
2662 # if !defined(SWIG_PYTHON_CLASSIC)
2663 # error "This python version requires to use swig with the '-classic' option"
2666 #if (PY_VERSION_HEX <= 0x02020000)
2667 # error "This python version requires to use swig with the '-nomodern' option"
2669 #if (PY_VERSION_HEX <= 0x02020000)
2670 # error "This python version requires to use swig with the '-nomodernargs' option"
2673 # error "This python version requires to use swig with the '-nofastunpack' option"
2676 /*-----------------------------------------------
2677 @(target):= _grid.so
2678 ------------------------------------------------*/
2679 #define SWIG_init init_grid
2681 #define SWIG_name "_grid"
2683 #define SWIGVERSION 0x010329
2686 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2687 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2690 #include <stdexcept>
2694 class PyObject_ptr
{
2699 PyObject_ptr() :_obj(0)
2703 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2708 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2710 if (initial_ref
) Py_XINCREF(_obj
);
2713 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2715 Py_XINCREF(item
._obj
);
2726 operator PyObject
*() const
2731 PyObject
*operator->() const
2740 struct PyObject_var
: PyObject_ptr
{
2741 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2743 PyObject_var
& operator = (PyObject
* obj
)
2753 #include "wx/wxPython/wxPython.h"
2754 #include "wx/wxPython/pyclasses.h"
2755 #include "wx/wxPython/printfw.h"
2757 #include <wx/grid.h>
2758 #include <wx/generic/gridctrl.h>
2761 static const wxString
wxPyEmptyString(wxEmptyString
);
2762 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2763 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2766 #define wxPyMake_TEMPLATE(TYPE) \
2767 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
2768 PyObject* target = NULL; \
2770 /* Check if there is already a pointer to a Python object in the \
2771 OOR data that we can use. */ \
2772 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
2774 target = data->m_obj; \
2776 Py_INCREF(target); \
2778 /* Otherwise make a new wrapper for it the old fashioned way and \
2779 give it the OOR treatment */ \
2781 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
2783 source->SetClientObject(new wxPyOORClientData(target)); \
2785 } else { /* source was NULL so return None. */ \
2786 Py_INCREF(Py_None); target = Py_None; \
2792 wxPyMake_TEMPLATE(wxGridCellRenderer)
2793 wxPyMake_TEMPLATE(wxGridCellEditor
)
2794 wxPyMake_TEMPLATE(wxGridCellAttr
)
2795 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
2796 wxPyMake_TEMPLATE(wxGridTableBase
)
2800 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
2801 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
2802 wxGridCellAttr* rval = NULL; \
2804 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2805 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2807 wxGridCellAttr* ptr; \
2808 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
2810 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
2815 wxPyEndBlockThreads(blocked); \
2817 rval = PCLASS::CBNAME(a, b, c); \
2822 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
2823 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
2824 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2826 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2827 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
2828 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
2831 wxPyEndBlockThreads(blocked); \
2833 PCLASS::CBNAME(attr, a, b); \
2838 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
2839 void CBNAME(wxGridCellAttr *attr, int val) { \
2840 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2842 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2843 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
2844 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
2847 wxPyEndBlockThreads(blocked); \
2849 PCLASS::CBNAME(attr, val); \
2854 #define PYCALLBACK_INT__pure(CBNAME) \
2856 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2858 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
2859 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
2860 wxPyEndBlockThreads(blocked); \
2866 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
2867 bool CBNAME(int a, int b) { \
2868 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2870 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
2871 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
2872 wxPyEndBlockThreads(blocked); \
2877 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
2878 wxString CBNAME(int a, int b) { \
2879 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2881 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
2883 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2885 rval = Py2wxString(ro); \
2889 wxPyEndBlockThreads(blocked); \
2894 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
2895 void CBNAME(int a, int b, const wxString& c) { \
2896 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2897 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
2898 PyObject* s = wx2PyString(c); \
2899 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
2902 wxPyEndBlockThreads(blocked); \
2906 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
2907 wxString CBNAME(int a, int b) { \
2909 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2911 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2913 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2915 rval = Py2wxString(ro); \
2919 wxPyEndBlockThreads(blocked); \
2921 rval = PCLASS::CBNAME(a, b); \
2926 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
2927 bool CBNAME(int a, int b, const wxString& c) { \
2930 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2931 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2932 PyObject* s = wx2PyString(c); \
2933 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
2936 wxPyEndBlockThreads(blocked); \
2938 rval = PCLASS::CBNAME(a,b,c); \
2945 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
2946 long CBNAME(int a, int b) { \
2949 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2950 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2951 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
2952 wxPyEndBlockThreads(blocked); \
2954 rval = PCLASS::CBNAME(a,b); \
2959 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
2960 bool CBNAME(int a, int b) { \
2963 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2964 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2965 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
2966 wxPyEndBlockThreads(blocked); \
2968 rval = PCLASS::CBNAME(a,b); \
2974 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
2975 double CBNAME(int a, int b) { \
2977 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2979 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2981 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2983 PyObject* str = PyObject_Str(ro); \
2984 rval = PyFloat_AsDouble(str); \
2985 Py_DECREF(ro); Py_DECREF(str); \
2988 wxPyEndBlockThreads(blocked); \
2990 rval = PCLASS::CBNAME(a, b); \
2996 #define PYCALLBACK__(PCLASS, CBNAME) \
2999 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3000 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3001 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
3002 wxPyEndBlockThreads(blocked); \
3009 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
3010 bool CBNAME(size_t a, size_t b) { \
3013 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3014 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3015 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
3016 wxPyEndBlockThreads(blocked); \
3018 rval = PCLASS::CBNAME(a,b); \
3024 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
3025 bool CBNAME(size_t a) { \
3028 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3029 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3030 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
3031 wxPyEndBlockThreads(blocked); \
3033 rval = PCLASS::CBNAME(a); \
3038 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
3039 wxString CBNAME(int a) { \
3041 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3043 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3045 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
3047 rval = Py2wxString(ro); \
3051 wxPyEndBlockThreads(blocked); \
3053 rval = PCLASS::CBNAME(a); \
3058 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
3059 void CBNAME(int a, const wxString& c) { \
3061 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3062 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3063 PyObject* s = wx2PyString(c); \
3064 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
3067 wxPyEndBlockThreads(blocked); \
3069 PCLASS::CBNAME(a,c); \
3075 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
3079 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3080 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3081 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
3082 wxPyEndBlockThreads(blocked); \
3084 rval = PCLASS::CBNAME(); \
3090 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
3091 void CBNAME(size_t a, int b) { \
3093 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3094 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3095 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
3096 wxPyEndBlockThreads(blocked); \
3098 PCLASS::CBNAME(a,b); \
3104 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
3105 void CBNAME(int a, int b, long c) { \
3107 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3108 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3109 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
3110 wxPyEndBlockThreads(blocked); \
3112 PCLASS::CBNAME(a,b,c); \
3118 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
3119 void CBNAME(int a, int b, double c) { \
3121 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3122 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3123 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
3124 wxPyEndBlockThreads(blocked); \
3126 PCLASS::CBNAME(a,b,c); \
3131 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
3132 void CBNAME(int a, int b, bool c) { \
3134 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3135 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3136 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
3137 wxPyEndBlockThreads(blocked); \
3139 PCLASS::CBNAME(a,b,c); \
3146 SWIGINTERN swig_type_info
*
3147 SWIG_pchar_descriptor()
3149 static int init
= 0;
3150 static swig_type_info
* info
= 0;
3152 info
= SWIG_TypeQuery("_p_char");
3159 SWIGINTERNINLINE PyObject
*
3160 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3163 if (size
> INT_MAX
) {
3164 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3165 return pchar_descriptor
?
3166 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3168 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3171 return SWIG_Py_Void();
3176 SWIGINTERNINLINE PyObject
*
3177 SWIG_FromCharPtr(const char *cptr
)
3179 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3183 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
3184 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
3185 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
3186 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
3187 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
3188 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
3189 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
3190 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
3191 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
3192 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
3195 #define SWIG_From_long PyInt_FromLong
3198 SWIGINTERNINLINE PyObject
*
3199 SWIG_From_int (int value
)
3201 return SWIG_From_long (value
);
3204 SWIGINTERN
void wxGridCellWorker__setOORInfo(wxGridCellWorker
*self
,PyObject
*_self
){
3205 if (!self
->GetClientObject())
3206 self
->SetClientObject(new wxPyOORClientData(_self
));
3208 SWIGINTERN
void delete_wxGridCellWorker(wxGridCellWorker
*self
){
3211 class wxPyGridCellRenderer
: public wxGridCellRenderer
3214 wxPyGridCellRenderer() : wxGridCellRenderer() {};
3216 // Implement Python callback aware virtual methods
3217 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
3218 wxDC
& dc
, const wxRect
& rect
,
3219 int row
, int col
, bool isSelected
) {
3220 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3221 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
3222 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
3223 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
3224 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
3225 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
3227 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
3228 row
, col
, isSelected
));
3234 wxPyEndBlockThreads(blocked
);
3237 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
3244 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
3245 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
3246 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
3248 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
3256 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
3257 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
3260 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
3261 PyObject
* o1
= PySequence_GetItem(ro
, 0);
3262 PyObject
* o2
= PySequence_GetItem(ro
, 1);
3263 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
3264 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3266 PyErr_SetString(PyExc_TypeError
, errmsg
);
3271 PyErr_SetString(PyExc_TypeError
, errmsg
);
3276 wxPyEndBlockThreads(blocked
);
3281 wxGridCellRenderer
*Clone() const {
3282 wxGridCellRenderer
* rval
= NULL
;
3283 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3284 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3286 wxGridCellRenderer
* ptr
;
3287 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3289 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
3294 wxPyEndBlockThreads(blocked
);
3298 DEC_PYCALLBACK__STRING(SetParameters
);
3303 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
3309 # define LLONG_MIN LONG_LONG_MIN
3312 # define LLONG_MAX LONG_LONG_MAX
3315 # define ULLONG_MAX ULONG_LONG_MAX
3320 SWIG_AsVal_long (PyObject
* obj
, long* val
)
3322 if (PyNumber_Check(obj
)) {
3323 if (val
) *val
= PyInt_AsLong(obj
);
3326 return SWIG_TypeError
;
3331 SWIG_AsVal_int (PyObject
* obj
, int *val
)
3334 int res
= SWIG_AsVal_long (obj
, &v
);
3335 if (SWIG_IsOK(res
)) {
3336 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
3337 return SWIG_OverflowError
;
3339 if (val
) *val
= static_cast< int >(v
);
3347 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3349 if (obj
== Py_True
) {
3350 if (val
) *val
= true;
3352 } else if (obj
== Py_False
) {
3353 if (val
) *val
= false;
3357 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3358 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3364 class wxPyGridCellEditor
: public wxGridCellEditor
3367 wxPyGridCellEditor() : wxGridCellEditor() {}
3369 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
3370 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3371 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
3372 PyObject
* po
= wxPyMake_wxObject(parent
,false);
3373 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
3375 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
3379 wxPyEndBlockThreads(blocked
);
3383 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
3384 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3385 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
3386 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3387 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3390 wxPyEndBlockThreads(blocked
);
3394 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
3396 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3397 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
3398 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3399 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3402 wxPyEndBlockThreads(blocked
);
3407 wxGridCellEditor
* Clone() const {
3408 wxGridCellEditor
* rval
= NULL
;
3409 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3410 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3412 wxGridCellEditor
* ptr
;
3413 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3415 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
3420 wxPyEndBlockThreads(blocked
);
3425 void Show(bool show
, wxGridCellAttr
*attr
) {
3427 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3428 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
3429 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3430 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
3433 wxPyEndBlockThreads(blocked
);
3435 wxGridCellEditor::Show(show
, attr
);
3439 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
3441 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3442 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
3443 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3444 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
3446 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
3451 wxPyEndBlockThreads(blocked
);
3453 wxGridCellEditor::PaintBackground(rectCell
, attr
);
3457 DEC_PYCALLBACK___pure(Reset
);
3458 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
3459 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
3460 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
3461 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
3462 DEC_PYCALLBACK__(StartingClick
);
3463 DEC_PYCALLBACK__(Destroy
);
3464 DEC_PYCALLBACK__STRING(SetParameters
);
3465 DEC_PYCALLBACK_STRING__constpure(GetValue
);
3471 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
3472 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
3473 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
3474 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
3475 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
3476 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
3477 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
3478 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
3479 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
3482 SWIGINTERN
void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
3483 if (!self
->GetClientObject())
3484 self
->SetClientObject(new wxPyOORClientData(_self
));
3486 SWIGINTERN
void delete_wxGridCellAttr(wxGridCellAttr
*self
){
3488 SWIGINTERN
void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
3489 if (!self
->GetClientObject())
3490 self
->SetClientObject(new wxPyOORClientData(_self
));
3494 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3497 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3498 return SWIG_TypeError
;
3501 *val
= (unsigned long)v
;
3506 SWIGINTERNINLINE
int
3507 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3510 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3511 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3516 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
3519 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
3521 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
3522 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
3523 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
3524 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
3529 SWIGINTERN
void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
3530 if (!self
->GetClientObject())
3531 self
->SetClientObject(new wxPyOORClientData(_self
));
3534 #define SWIG_From_double PyFloat_FromDouble
3538 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3540 if (PyNumber_Check(obj
)) {
3541 if (val
) *val
= PyFloat_AsDouble(obj
);
3544 return SWIG_TypeError
;
3548 class wxPyGridTableBase
: public wxGridTableBase
3551 wxPyGridTableBase() : wxGridTableBase() {}
3553 PYCALLBACK_INT__pure(GetNumberRows
);
3554 PYCALLBACK_INT__pure(GetNumberCols
);
3555 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
3556 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
3557 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
3558 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
3559 PYCALLBACK__(wxGridTableBase
, Clear
);
3560 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
3561 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
3562 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
3563 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
3564 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
3565 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
3566 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
3567 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
3568 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
3569 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
3570 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
3571 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
3572 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
3573 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
3574 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
3577 wxString
GetValue(int row
, int col
) {
3578 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3580 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3582 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
3584 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
3586 ro
= PyObject_Str(ro
);
3589 rval
= Py2wxString(ro
);
3593 wxPyEndBlockThreads(blocked
);
3597 void SetValue(int row
, int col
, const wxString
& val
) {
3598 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3599 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3600 PyObject
* s
= wx2PyString(val
);
3601 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
3604 wxPyEndBlockThreads(blocked
);
3608 // Map the Get/Set methods for the standard non-string types to
3609 // the GetValue and SetValue python methods.
3610 long GetValueAsLong( int row
, int col
) {
3612 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3613 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3616 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3617 if (ro
&& PyNumber_Check(ro
)) {
3618 num
= PyNumber_Int(ro
);
3620 rval
= PyInt_AsLong(num
);
3626 wxPyEndBlockThreads(blocked
);
3630 double GetValueAsDouble( int row
, int col
) {
3632 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3633 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3636 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3637 if (ro
&& PyNumber_Check(ro
)) {
3638 num
= PyNumber_Float(ro
);
3640 rval
= PyFloat_AsDouble(num
);
3646 wxPyEndBlockThreads(blocked
);
3650 bool GetValueAsBool( int row
, int col
) {
3651 return (bool)GetValueAsLong(row
, col
);
3654 void SetValueAsLong( int row
, int col
, long value
) {
3655 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3656 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3657 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
3659 wxPyEndBlockThreads(blocked
);
3662 void SetValueAsDouble( int row
, int col
, double value
) {
3663 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3664 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3665 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
3667 wxPyEndBlockThreads(blocked
);
3670 void SetValueAsBool( int row
, int col
, bool value
) {
3671 SetValueAsLong( row
, col
, (long)value
);
3678 SWIGINTERN
void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
3680 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
3682 if (source
== Py_None
) {
3683 **obj
= wxGridCellCoords(-1,-1);
3687 // If source is an object instance then it may already be the right type
3688 if (wxPySwigInstance_Check(source
)) {
3689 wxGridCellCoords
* ptr
;
3690 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3695 // otherwise a 2-tuple of integers is expected
3696 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
3697 PyObject
* o1
= PySequence_GetItem(source
, 0);
3698 PyObject
* o2
= PySequence_GetItem(source
, 1);
3699 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
3704 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3711 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
3716 bool wxGridCellCoords_typecheck(PyObject
* source
) {
3719 if (wxPySwigInstance_Check(source
) &&
3720 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3724 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
3731 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
3733 PyObject
* list
= PyList_New(0);
3735 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
3736 wxGridCellCoords
& coord
= source
.Item(idx
);
3737 PyObject
* tup
= PyTuple_New(2);
3738 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
3739 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
3740 PyList_Append(list
, tup
);
3746 SWIGINTERN
bool wxGridCellCoords___eq__(wxGridCellCoords
*self
,PyObject
*other
){
3747 wxGridCellCoords temp
, *obj
= &temp
;
3748 if ( other
== Py_None
) return false;
3749 if ( ! wxGridCellCoords_helper(other
, &obj
) ) {
3753 return self
->operator==(*obj
);
3755 SWIGINTERN
bool wxGridCellCoords___ne__(wxGridCellCoords
*self
,PyObject
*other
){
3756 wxGridCellCoords temp
, *obj
= &temp
;
3757 if ( other
== Py_None
) return true;
3758 if ( ! wxGridCellCoords_helper(other
, &obj
)) {
3762 return self
->operator!=(*obj
);
3764 SWIGINTERN PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
3765 PyObject
* tup
= PyTuple_New(2);
3766 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3767 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3771 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
3773 SWIGINTERN wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
3774 wxGridCellCoords rv
;
3775 self
->XYToCell(x
, y
, rv
);
3781 SWIGINTERN
int GridNoCellCoords_set(PyObject
*) {
3782 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellCoords is read-only.");
3787 SWIGINTERN PyObject
*GridNoCellCoords_get(void) {
3788 PyObject
*pyobj
= 0;
3790 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0 );
3795 SWIGINTERN
int GridNoCellRect_set(PyObject
*) {
3796 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellRect is read-only.");
3801 SWIGINTERN PyObject
*GridNoCellRect_get(void) {
3802 PyObject
*pyobj
= 0;
3804 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0 );
3809 SWIGINTERN PyObject
*_wrap_GridCellWorker__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
= 0;
3811 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3812 PyObject
*arg2
= (PyObject
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3816 PyObject
* obj1
= 0 ;
3817 char * kwnames
[] = {
3818 (char *) "self",(char *) "_self", NULL
3821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3823 if (!SWIG_IsOK(res1
)) {
3824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3826 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 wxGridCellWorker__setOORInfo(arg1
,arg2
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 resultobj
= SWIG_Py_Void();
3841 SWIGINTERN PyObject
*_wrap_delete_GridCellWorker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3842 PyObject
*resultobj
= 0;
3843 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3846 PyObject
*swig_obj
[1] ;
3848 if (!args
) SWIG_fail
;
3850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, SWIG_POINTER_DISOWN
| 0 );
3851 if (!SWIG_IsOK(res1
)) {
3852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellWorker" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3854 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 delete_wxGridCellWorker(arg1
);
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_Py_Void();
3869 SWIGINTERN PyObject
*_wrap_GridCellWorker_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
= 0;
3871 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3872 wxString
*arg2
= 0 ;
3875 bool temp2
= false ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3878 char * kwnames
[] = {
3879 (char *) "self",(char *) "params", NULL
3882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3884 if (!SWIG_IsOK(res1
)) {
3885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_SetParameters" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3887 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3889 arg2
= wxString_in_helper(obj1
);
3890 if (arg2
== NULL
) SWIG_fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 (arg1
)->SetParameters((wxString
const &)*arg2
);
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 resultobj
= SWIG_Py_Void();
3914 SWIGINTERN PyObject
*_wrap_GridCellWorker_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3915 PyObject
*resultobj
= 0;
3916 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3919 PyObject
*swig_obj
[1] ;
3921 if (!args
) SWIG_fail
;
3923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3924 if (!SWIG_IsOK(res1
)) {
3925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_IncRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3927 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 resultobj
= SWIG_Py_Void();
3941 SWIGINTERN PyObject
*_wrap_GridCellWorker_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3942 PyObject
*resultobj
= 0;
3943 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3946 PyObject
*swig_obj
[1] ;
3948 if (!args
) SWIG_fail
;
3950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3951 if (!SWIG_IsOK(res1
)) {
3952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_DecRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3954 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 resultobj
= SWIG_Py_Void();
3968 SWIGINTERN PyObject
*GridCellWorker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3971 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellWorker
, SWIG_NewClientData(obj
));
3972 return SWIG_Py_Void();
3975 SWIGINTERN PyObject
*GridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3978 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellRenderer
, SWIG_NewClientData(obj
));
3979 return SWIG_Py_Void();
3982 SWIGINTERN PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3983 PyObject
*resultobj
= 0;
3984 wxPyGridCellRenderer
*result
= 0 ;
3986 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellRenderer",0,0,0)) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_NEW
| 0 );
4000 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
= 0;
4002 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
4003 PyObject
*arg2
= (PyObject
*) 0 ;
4004 PyObject
*arg3
= (PyObject
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4008 PyObject
* obj1
= 0 ;
4009 PyObject
* obj2
= 0 ;
4010 char * kwnames
[] = {
4011 (char *) "self",(char *) "self",(char *) "_class", NULL
4014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4016 if (!SWIG_IsOK(res1
)) {
4017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4019 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= SWIG_Py_Void();
4035 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
= 0;
4037 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
4038 wxString
*arg2
= 0 ;
4041 bool temp2
= false ;
4042 PyObject
* obj0
= 0 ;
4043 PyObject
* obj1
= 0 ;
4044 char * kwnames
[] = {
4045 (char *) "self",(char *) "params", NULL
4048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4050 if (!SWIG_IsOK(res1
)) {
4051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4053 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4055 arg2
= wxString_in_helper(obj1
);
4056 if (arg2
== NULL
) SWIG_fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 (arg1
)->SetParameters((wxString
const &)*arg2
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_Py_Void();
4080 SWIGINTERN PyObject
*PyGridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4083 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_NewClientData(obj
));
4084 return SWIG_Py_Void();
4087 SWIGINTERN PyObject
*PyGridCellRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4088 return SWIG_Python_InitShadowInstance(args
);
4091 SWIGINTERN PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4092 PyObject
*resultobj
= 0;
4093 wxGridCellStringRenderer
*result
= 0 ;
4095 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellStringRenderer",0,0,0)) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_POINTER_NEW
| 0 );
4109 SWIGINTERN PyObject
*GridCellStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4112 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_NewClientData(obj
));
4113 return SWIG_Py_Void();
4116 SWIGINTERN PyObject
*GridCellStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4117 return SWIG_Python_InitShadowInstance(args
);
4120 SWIGINTERN PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4121 PyObject
*resultobj
= 0;
4122 wxGridCellNumberRenderer
*result
= 0 ;
4124 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellNumberRenderer",0,0,0)) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_POINTER_NEW
| 0 );
4138 SWIGINTERN PyObject
*GridCellNumberRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4141 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_NewClientData(obj
));
4142 return SWIG_Py_Void();
4145 SWIGINTERN PyObject
*GridCellNumberRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4146 return SWIG_Python_InitShadowInstance(args
);
4149 SWIGINTERN PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
= 0;
4151 int arg1
= (int) -1 ;
4152 int arg2
= (int) -1 ;
4153 wxGridCellFloatRenderer
*result
= 0 ;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4160 char * kwnames
[] = {
4161 (char *) "width",(char *) "precision", NULL
4164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4166 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4167 if (!SWIG_IsOK(ecode1
)) {
4168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "1"" of type '" "int""'");
4170 arg1
= static_cast< int >(val1
);
4173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4174 if (!SWIG_IsOK(ecode2
)) {
4175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "2"" of type '" "int""'");
4177 arg2
= static_cast< int >(val2
);
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_NEW
| 0 );
4192 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4193 PyObject
*resultobj
= 0;
4194 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4198 PyObject
*swig_obj
[1] ;
4200 if (!args
) SWIG_fail
;
4202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4203 if (!SWIG_IsOK(res1
)) {
4204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4206 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_From_int(static_cast< int >(result
));
4220 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
= 0;
4222 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4228 PyObject
* obj0
= 0 ;
4229 PyObject
* obj1
= 0 ;
4230 char * kwnames
[] = {
4231 (char *) "self",(char *) "width", NULL
4234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4236 if (!SWIG_IsOK(res1
)) {
4237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");
4239 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4241 if (!SWIG_IsOK(ecode2
)) {
4242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "2"" of type '" "int""'");
4244 arg2
= static_cast< int >(val2
);
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 (arg1
)->SetWidth(arg2
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 resultobj
= SWIG_Py_Void();
4258 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4259 PyObject
*resultobj
= 0;
4260 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4264 PyObject
*swig_obj
[1] ;
4266 if (!args
) SWIG_fail
;
4268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4269 if (!SWIG_IsOK(res1
)) {
4270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4272 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4279 resultobj
= SWIG_From_int(static_cast< int >(result
));
4286 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
= 0;
4288 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4294 PyObject
* obj0
= 0 ;
4295 PyObject
* obj1
= 0 ;
4296 char * kwnames
[] = {
4297 (char *) "self",(char *) "precision", NULL
4300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4302 if (!SWIG_IsOK(res1
)) {
4303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");
4305 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4307 if (!SWIG_IsOK(ecode2
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "2"" of type '" "int""'");
4310 arg2
= static_cast< int >(val2
);
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 (arg1
)->SetPrecision(arg2
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= SWIG_Py_Void();
4324 SWIGINTERN PyObject
*GridCellFloatRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4327 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_NewClientData(obj
));
4328 return SWIG_Py_Void();
4331 SWIGINTERN PyObject
*GridCellFloatRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4332 return SWIG_Python_InitShadowInstance(args
);
4335 SWIGINTERN PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4336 PyObject
*resultobj
= 0;
4337 wxGridCellBoolRenderer
*result
= 0 ;
4339 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolRenderer",0,0,0)) SWIG_fail
;
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_POINTER_NEW
| 0 );
4353 SWIGINTERN PyObject
*GridCellBoolRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4356 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_NewClientData(obj
));
4357 return SWIG_Py_Void();
4360 SWIGINTERN PyObject
*GridCellBoolRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4361 return SWIG_Python_InitShadowInstance(args
);
4364 SWIGINTERN PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
= 0;
4366 wxString arg1
= (wxString
) wxPyDefaultDateTimeFormat
;
4367 wxString arg2
= (wxString
) wxPyDefaultDateTimeFormat
;
4368 wxGridCellDateTimeRenderer
*result
= 0 ;
4369 PyObject
* obj0
= 0 ;
4370 PyObject
* obj1
= 0 ;
4371 char * kwnames
[] = {
4372 (char *) "outformat",(char *) "informat", NULL
4375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4378 wxString
* sptr
= wxString_in_helper(obj0
);
4379 if (sptr
== NULL
) SWIG_fail
;
4386 wxString
* sptr
= wxString_in_helper(obj1
);
4387 if (sptr
== NULL
) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_POINTER_NEW
| 0 );
4405 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4408 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_NewClientData(obj
));
4409 return SWIG_Py_Void();
4412 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4413 return SWIG_Python_InitShadowInstance(args
);
4416 SWIGINTERN PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
= 0;
4418 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4419 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4420 wxGridCellEnumRenderer
*result
= 0 ;
4421 bool temp1
= false ;
4422 PyObject
* obj0
= 0 ;
4423 char * kwnames
[] = {
4424 (char *) "choices", NULL
4427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) SWIG_fail
;
4430 arg1
= wxString_in_helper(obj0
);
4431 if (arg1
== NULL
) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_POINTER_NEW
| 0 );
4456 SWIGINTERN PyObject
*GridCellEnumRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4459 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_NewClientData(obj
));
4460 return SWIG_Py_Void();
4463 SWIGINTERN PyObject
*GridCellEnumRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4464 return SWIG_Python_InitShadowInstance(args
);
4467 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4468 PyObject
*resultobj
= 0;
4469 wxGridCellAutoWrapStringRenderer
*result
= 0 ;
4471 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringRenderer",0,0,0)) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_POINTER_NEW
| 0 );
4485 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4488 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_NewClientData(obj
));
4489 return SWIG_Py_Void();
4492 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4493 return SWIG_Python_InitShadowInstance(args
);
4496 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 PyObject
*resultobj
= 0;
4498 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4502 PyObject
*swig_obj
[1] ;
4504 if (!args
) SWIG_fail
;
4506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4507 if (!SWIG_IsOK(res1
)) {
4508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsCreated" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4510 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 result
= (bool)(arg1
)->IsCreated();
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4526 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4527 PyObject
*resultobj
= 0;
4528 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4529 wxControl
*result
= 0 ;
4532 PyObject
*swig_obj
[1] ;
4534 if (!args
) SWIG_fail
;
4536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4537 if (!SWIG_IsOK(res1
)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4540 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 result
= (wxControl
*)(arg1
)->GetControl();
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4548 resultobj
= wxPyMake_wxObject(result
, 0);
4556 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
= 0;
4558 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4559 wxControl
*arg2
= (wxControl
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4565 PyObject
* obj1
= 0 ;
4566 char * kwnames
[] = {
4567 (char *) "self",(char *) "control", NULL
4570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4572 if (!SWIG_IsOK(res1
)) {
4573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4575 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
4577 if (!SWIG_IsOK(res2
)) {
4578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
4580 arg2
= reinterpret_cast< wxControl
* >(argp2
);
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 (arg1
)->SetControl(arg2
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4587 resultobj
= SWIG_Py_Void();
4594 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4595 PyObject
*resultobj
= 0;
4596 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4597 wxGridCellAttr
*result
= 0 ;
4600 PyObject
*swig_obj
[1] ;
4602 if (!args
) SWIG_fail
;
4604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4605 if (!SWIG_IsOK(res1
)) {
4606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4608 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
4624 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
= 0;
4626 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4627 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4634 char * kwnames
[] = {
4635 (char *) "self",(char *) "attr", NULL
4638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4640 if (!SWIG_IsOK(res1
)) {
4641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4643 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
4645 if (!SWIG_IsOK(res2
)) {
4646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
4648 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 (arg1
)->SetCellAttr(arg2
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_Py_Void();
4662 SWIGINTERN PyObject
*_wrap_GridCellEditor_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
= 0;
4664 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4665 wxWindow
*arg2
= (wxWindow
*) 0 ;
4667 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 PyObject
* obj3
= 0 ;
4680 char * kwnames
[] = {
4681 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
4684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4686 if (!SWIG_IsOK(res1
)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Create" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4689 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4691 if (!SWIG_IsOK(res2
)) {
4692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4694 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4696 if (!SWIG_IsOK(ecode3
)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_Create" "', expected argument " "3"" of type '" "int""'");
4699 arg3
= static_cast< int >(val3
);
4700 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
4701 if (!SWIG_IsOK(res4
)) {
4702 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_Create" "', expected argument " "4"" of type '" "wxEvtHandler *""'");
4704 arg4
= reinterpret_cast< wxEvtHandler
* >(argp4
);
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 (arg1
)->Create(arg2
,arg3
,arg4
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 resultobj
= SWIG_Py_Void();
4718 SWIGINTERN PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
= 0;
4720 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4723 wxGrid
*arg4
= (wxGrid
*) 0 ;
4732 PyObject
* obj0
= 0 ;
4733 PyObject
* obj1
= 0 ;
4734 PyObject
* obj2
= 0 ;
4735 PyObject
* obj3
= 0 ;
4736 char * kwnames
[] = {
4737 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
4740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4745 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4747 if (!SWIG_IsOK(ecode2
)) {
4748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "2"" of type '" "int""'");
4750 arg2
= static_cast< int >(val2
);
4751 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4752 if (!SWIG_IsOK(ecode3
)) {
4753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "3"" of type '" "int""'");
4755 arg3
= static_cast< int >(val3
);
4756 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
4757 if (!SWIG_IsOK(res4
)) {
4758 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
4760 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_Py_Void();
4774 SWIGINTERN PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
= 0;
4776 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4779 wxGrid
*arg4
= (wxGrid
*) 0 ;
4789 PyObject
* obj0
= 0 ;
4790 PyObject
* obj1
= 0 ;
4791 PyObject
* obj2
= 0 ;
4792 PyObject
* obj3
= 0 ;
4793 char * kwnames
[] = {
4794 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
4797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4799 if (!SWIG_IsOK(res1
)) {
4800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4802 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4804 if (!SWIG_IsOK(ecode2
)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "2"" of type '" "int""'");
4807 arg2
= static_cast< int >(val2
);
4808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4809 if (!SWIG_IsOK(ecode3
)) {
4810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "3"" of type '" "int""'");
4812 arg3
= static_cast< int >(val3
);
4813 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
4814 if (!SWIG_IsOK(res4
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
4817 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4833 SWIGINTERN PyObject
*_wrap_GridCellEditor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4834 PyObject
*resultobj
= 0;
4835 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4838 PyObject
*swig_obj
[1] ;
4840 if (!args
) SWIG_fail
;
4842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4843 if (!SWIG_IsOK(res1
)) {
4844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Reset" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4846 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_Py_Void();
4860 SWIGINTERN PyObject
*_wrap_GridCellEditor_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4861 PyObject
*resultobj
= 0;
4862 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4863 wxGridCellEditor
*result
= 0 ;
4866 PyObject
*swig_obj
[1] ;
4868 if (!args
) SWIG_fail
;
4870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4871 if (!SWIG_IsOK(res1
)) {
4872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Clone" "', expected argument " "1"" of type '" "wxGridCellEditor const *""'");
4874 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
4890 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
= 0;
4892 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4897 PyObject
* obj0
= 0 ;
4898 PyObject
* obj1
= 0 ;
4899 char * kwnames
[] = {
4900 (char *) "self",(char *) "rect", NULL
4903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4905 if (!SWIG_IsOK(res1
)) {
4906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetSize" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4908 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4911 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 (arg1
)->SetSize((wxRect
const &)*arg2
);
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= SWIG_Py_Void();
4926 SWIGINTERN PyObject
*_wrap_GridCellEditor_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
= 0;
4928 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4930 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
4937 PyObject
* obj0
= 0 ;
4938 PyObject
* obj1
= 0 ;
4939 PyObject
* obj2
= 0 ;
4940 char * kwnames
[] = {
4941 (char *) "self",(char *) "show",(char *) "attr", NULL
4944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4946 if (!SWIG_IsOK(res1
)) {
4947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Show" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4949 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4950 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4951 if (!SWIG_IsOK(ecode2
)) {
4952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_Show" "', expected argument " "2"" of type '" "bool""'");
4954 arg2
= static_cast< bool >(val2
);
4956 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
4957 if (!SWIG_IsOK(res3
)) {
4958 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_Show" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
4960 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 (arg1
)->Show(arg2
,arg3
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 resultobj
= SWIG_Py_Void();
4975 SWIGINTERN PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
= 0;
4977 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4979 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4987 PyObject
* obj2
= 0 ;
4988 char * kwnames
[] = {
4989 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4994 if (!SWIG_IsOK(res1
)) {
4995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4997 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5000 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5002 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5003 if (!SWIG_IsOK(res3
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
5006 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_Py_Void();
5020 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
= 0;
5022 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5023 wxKeyEvent
*arg2
= 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "self",(char *) "event", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5037 if (!SWIG_IsOK(res1
)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5040 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5042 if (!SWIG_IsOK(res2
)) {
5043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5048 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5064 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
= 0;
5066 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5067 wxKeyEvent
*arg2
= 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5074 char * kwnames
[] = {
5075 (char *) "self",(char *) "event", NULL
5078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5080 if (!SWIG_IsOK(res1
)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5083 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5085 if (!SWIG_IsOK(res2
)) {
5086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5091 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 (arg1
)->StartingKey(*arg2
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_Py_Void();
5105 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5106 PyObject
*resultobj
= 0;
5107 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5110 PyObject
*swig_obj
[1] ;
5112 if (!args
) SWIG_fail
;
5114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5115 if (!SWIG_IsOK(res1
)) {
5116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingClick" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5118 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 (arg1
)->StartingClick();
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 resultobj
= SWIG_Py_Void();
5132 SWIGINTERN PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
= 0;
5134 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5135 wxKeyEvent
*arg2
= 0 ;
5140 PyObject
* obj0
= 0 ;
5141 PyObject
* obj1
= 0 ;
5142 char * kwnames
[] = {
5143 (char *) "self",(char *) "event", NULL
5146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5148 if (!SWIG_IsOK(res1
)) {
5149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5151 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5153 if (!SWIG_IsOK(res2
)) {
5154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5159 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 (arg1
)->HandleReturn(*arg2
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= SWIG_Py_Void();
5173 SWIGINTERN PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5174 PyObject
*resultobj
= 0;
5175 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5178 PyObject
*swig_obj
[1] ;
5180 if (!args
) SWIG_fail
;
5182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5183 if (!SWIG_IsOK(res1
)) {
5184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Destroy" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5186 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 resultobj
= SWIG_Py_Void();
5200 SWIGINTERN PyObject
*GridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5203 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEditor
, SWIG_NewClientData(obj
));
5204 return SWIG_Py_Void();
5207 SWIGINTERN PyObject
*_wrap_new_PyGridCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5208 PyObject
*resultobj
= 0;
5209 wxPyGridCellEditor
*result
= 0 ;
5211 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellEditor",0,0,0)) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_NEW
| 0 );
5225 SWIGINTERN PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
= 0;
5227 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5228 PyObject
*arg2
= (PyObject
*) 0 ;
5229 PyObject
*arg3
= (PyObject
*) 0 ;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5234 PyObject
* obj2
= 0 ;
5235 char * kwnames
[] = {
5236 (char *) "self",(char *) "self",(char *) "_class", NULL
5239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5241 if (!SWIG_IsOK(res1
)) {
5242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5244 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= SWIG_Py_Void();
5260 SWIGINTERN PyObject
*_wrap_PyGridCellEditor_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
= 0;
5262 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5263 wxString
*arg2
= 0 ;
5266 bool temp2
= false ;
5267 PyObject
* obj0
= 0 ;
5268 PyObject
* obj1
= 0 ;
5269 char * kwnames
[] = {
5270 (char *) "self",(char *) "params", NULL
5273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5275 if (!SWIG_IsOK(res1
)) {
5276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5278 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5280 arg2
= wxString_in_helper(obj1
);
5281 if (arg2
== NULL
) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 (arg1
)->SetParameters((wxString
const &)*arg2
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= SWIG_Py_Void();
5305 SWIGINTERN PyObject
*PyGridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5308 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellEditor
, SWIG_NewClientData(obj
));
5309 return SWIG_Py_Void();
5312 SWIGINTERN PyObject
*PyGridCellEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5313 return SWIG_Python_InitShadowInstance(args
);
5316 SWIGINTERN PyObject
*_wrap_new_GridCellTextEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5317 PyObject
*resultobj
= 0;
5318 wxGridCellTextEditor
*result
= 0 ;
5320 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellTextEditor",0,0,0)) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_NEW
| 0 );
5334 SWIGINTERN PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5335 PyObject
*resultobj
= 0;
5336 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
5340 PyObject
*swig_obj
[1] ;
5342 if (!args
) SWIG_fail
;
5344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellTextEditor
, 0 | 0 );
5345 if (!SWIG_IsOK(res1
)) {
5346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellTextEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellTextEditor *""'");
5348 arg1
= reinterpret_cast< wxGridCellTextEditor
* >(argp1
);
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= (arg1
)->GetValue();
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5368 SWIGINTERN PyObject
*GridCellTextEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5371 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellTextEditor
, SWIG_NewClientData(obj
));
5372 return SWIG_Py_Void();
5375 SWIGINTERN PyObject
*GridCellTextEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5376 return SWIG_Python_InitShadowInstance(args
);
5379 SWIGINTERN PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
= 0;
5381 int arg1
= (int) -1 ;
5382 int arg2
= (int) -1 ;
5383 wxGridCellNumberEditor
*result
= 0 ;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5390 char * kwnames
[] = {
5391 (char *) "min",(char *) "max", NULL
5394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5397 if (!SWIG_IsOK(ecode1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellNumberEditor" "', expected argument " "1"" of type '" "int""'");
5400 arg1
= static_cast< int >(val1
);
5403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5404 if (!SWIG_IsOK(ecode2
)) {
5405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellNumberEditor" "', expected argument " "2"" of type '" "int""'");
5407 arg2
= static_cast< int >(val2
);
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_NEW
| 0 );
5422 SWIGINTERN PyObject
*GridCellNumberEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5425 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_NewClientData(obj
));
5426 return SWIG_Py_Void();
5429 SWIGINTERN PyObject
*GridCellNumberEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5430 return SWIG_Python_InitShadowInstance(args
);
5433 SWIGINTERN PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
= 0;
5435 int arg1
= (int) -1 ;
5436 int arg2
= (int) -1 ;
5437 wxGridCellFloatEditor
*result
= 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5444 char * kwnames
[] = {
5445 (char *) "width",(char *) "precision", NULL
5448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5450 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5451 if (!SWIG_IsOK(ecode1
)) {
5452 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatEditor" "', expected argument " "1"" of type '" "int""'");
5454 arg1
= static_cast< int >(val1
);
5457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5458 if (!SWIG_IsOK(ecode2
)) {
5459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatEditor" "', expected argument " "2"" of type '" "int""'");
5461 arg2
= static_cast< int >(val2
);
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_NEW
| 0 );
5476 SWIGINTERN PyObject
*GridCellFloatEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5479 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_NewClientData(obj
));
5480 return SWIG_Py_Void();
5483 SWIGINTERN PyObject
*GridCellFloatEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5484 return SWIG_Python_InitShadowInstance(args
);
5487 SWIGINTERN PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5488 PyObject
*resultobj
= 0;
5489 wxGridCellBoolEditor
*result
= 0 ;
5491 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolEditor",0,0,0)) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_NEW
| 0 );
5505 SWIGINTERN PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5506 PyObject
*resultobj
= 0;
5507 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
5511 PyObject
*swig_obj
[1] ;
5513 if (!args
) SWIG_fail
;
5515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellBoolEditor
, 0 | 0 );
5516 if (!SWIG_IsOK(res1
)) {
5517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellBoolEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellBoolEditor *""'");
5519 arg1
= reinterpret_cast< wxGridCellBoolEditor
* >(argp1
);
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 result
= (arg1
)->GetValue();
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5539 SWIGINTERN PyObject
*GridCellBoolEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5542 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_NewClientData(obj
));
5543 return SWIG_Py_Void();
5546 SWIGINTERN PyObject
*GridCellBoolEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5547 return SWIG_Python_InitShadowInstance(args
);
5550 SWIGINTERN PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
= 0;
5552 int arg1
= (int) 0 ;
5553 wxString
*arg2
= (wxString
*) NULL
;
5554 bool arg3
= (bool) false ;
5555 wxGridCellChoiceEditor
*result
= 0 ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5560 char * kwnames
[] = {
5561 (char *) "choices",(char *) "allowOthers", NULL
5564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5567 arg1
= PyList_Size(obj0
);
5568 arg2
= wxString_LIST_helper(obj0
);
5569 if (arg2
== NULL
) SWIG_fail
;
5573 ecode3
= SWIG_AsVal_bool(obj1
, &val3
);
5574 if (!SWIG_IsOK(ecode3
)) {
5575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridCellChoiceEditor" "', expected argument " "3"" of type '" "bool""'");
5577 arg3
= static_cast< bool >(val3
);
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_NEW
| 0 );
5587 if (arg2
) delete [] arg2
;
5592 if (arg2
) delete [] arg2
;
5598 SWIGINTERN PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5599 PyObject
*resultobj
= 0;
5600 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
5604 PyObject
*swig_obj
[1] ;
5606 if (!args
) SWIG_fail
;
5608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellChoiceEditor
, 0 | 0 );
5609 if (!SWIG_IsOK(res1
)) {
5610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellChoiceEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellChoiceEditor *""'");
5612 arg1
= reinterpret_cast< wxGridCellChoiceEditor
* >(argp1
);
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 result
= (arg1
)->GetValue();
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5632 SWIGINTERN PyObject
*GridCellChoiceEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5635 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_NewClientData(obj
));
5636 return SWIG_Py_Void();
5639 SWIGINTERN PyObject
*GridCellChoiceEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5640 return SWIG_Python_InitShadowInstance(args
);
5643 SWIGINTERN PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
= 0;
5645 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5646 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5647 wxGridCellEnumEditor
*result
= 0 ;
5648 bool temp1
= false ;
5649 PyObject
* obj0
= 0 ;
5650 char * kwnames
[] = {
5651 (char *) "choices", NULL
5654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) SWIG_fail
;
5657 arg1
= wxString_in_helper(obj0
);
5658 if (arg1
== NULL
) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_NEW
| 0 );
5683 SWIGINTERN PyObject
*GridCellEnumEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5686 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_NewClientData(obj
));
5687 return SWIG_Py_Void();
5690 SWIGINTERN PyObject
*GridCellEnumEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5691 return SWIG_Python_InitShadowInstance(args
);
5694 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5695 PyObject
*resultobj
= 0;
5696 wxGridCellAutoWrapStringEditor
*result
= 0 ;
5698 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringEditor",0,0,0)) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_NEW
| 0 );
5712 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5715 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_NewClientData(obj
));
5716 return SWIG_Py_Void();
5719 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5720 return SWIG_Python_InitShadowInstance(args
);
5723 SWIGINTERN PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
= 0;
5725 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5726 PyObject
*arg2
= (PyObject
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5731 char * kwnames
[] = {
5732 (char *) "self",(char *) "_self", NULL
5735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5737 if (!SWIG_IsOK(res1
)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5740 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 wxGridCellAttr__setOORInfo(arg1
,arg2
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= SWIG_Py_Void();
5755 SWIGINTERN PyObject
*_wrap_new_GridCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
= 0;
5757 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
5758 wxGridCellAttr
*result
= 0 ;
5761 PyObject
* obj0
= 0 ;
5762 char * kwnames
[] = {
5763 (char *) "attrDefault", NULL
5766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) SWIG_fail
;
5768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5769 if (!SWIG_IsOK(res1
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5772 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5781 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)SWIG_POINTER_NEW
);
5789 SWIGINTERN PyObject
*_wrap_delete_GridCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5790 PyObject
*resultobj
= 0;
5791 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5794 PyObject
*swig_obj
[1] ;
5796 if (!args
) SWIG_fail
;
5798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_DISOWN
| 0 );
5799 if (!SWIG_IsOK(res1
)) {
5800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5802 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 delete_wxGridCellAttr(arg1
);
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 resultobj
= SWIG_Py_Void();
5817 SWIGINTERN PyObject
*_wrap_GridCellAttr_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5818 PyObject
*resultobj
= 0;
5819 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5820 wxGridCellAttr
*result
= 0 ;
5823 PyObject
*swig_obj
[1] ;
5825 if (!args
) SWIG_fail
;
5827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5828 if (!SWIG_IsOK(res1
)) {
5829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_Clone" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
5831 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
5847 SWIGINTERN PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
= 0;
5849 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5850 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5855 PyObject
* obj0
= 0 ;
5856 PyObject
* obj1
= 0 ;
5857 char * kwnames
[] = {
5858 (char *) "self",(char *) "mergefrom", NULL
5861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5863 if (!SWIG_IsOK(res1
)) {
5864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5866 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5867 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5868 if (!SWIG_IsOK(res2
)) {
5869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
5871 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 (arg1
)->MergeWith(arg2
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= SWIG_Py_Void();
5885 SWIGINTERN PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5886 PyObject
*resultobj
= 0;
5887 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5890 PyObject
*swig_obj
[1] ;
5892 if (!args
) SWIG_fail
;
5894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5895 if (!SWIG_IsOK(res1
)) {
5896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IncRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5898 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= SWIG_Py_Void();
5912 SWIGINTERN PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5913 PyObject
*resultobj
= 0;
5914 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5917 PyObject
*swig_obj
[1] ;
5919 if (!args
) SWIG_fail
;
5921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5922 if (!SWIG_IsOK(res1
)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_DecRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5925 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= SWIG_Py_Void();
5939 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
= 0;
5941 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5942 wxColour
*arg2
= 0 ;
5946 PyObject
* obj0
= 0 ;
5947 PyObject
* obj1
= 0 ;
5948 char * kwnames
[] = {
5949 (char *) "self",(char *) "colText", NULL
5952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5954 if (!SWIG_IsOK(res1
)) {
5955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5957 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5960 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= SWIG_Py_Void();
5975 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
= 0;
5977 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5978 wxColour
*arg2
= 0 ;
5982 PyObject
* obj0
= 0 ;
5983 PyObject
* obj1
= 0 ;
5984 char * kwnames
[] = {
5985 (char *) "self",(char *) "colBack", NULL
5988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5990 if (!SWIG_IsOK(res1
)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5993 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= SWIG_Py_Void();
6011 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
= 0;
6013 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6019 PyObject
* obj0
= 0 ;
6020 PyObject
* obj1
= 0 ;
6021 char * kwnames
[] = {
6022 (char *) "self",(char *) "font", NULL
6025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6027 if (!SWIG_IsOK(res1
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetFont" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6030 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
6032 if (!SWIG_IsOK(res2
)) {
6033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6038 arg2
= reinterpret_cast< wxFont
* >(argp2
);
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 (arg1
)->SetFont((wxFont
const &)*arg2
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= SWIG_Py_Void();
6052 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
= 0;
6054 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6063 PyObject
* obj0
= 0 ;
6064 PyObject
* obj1
= 0 ;
6065 PyObject
* obj2
= 0 ;
6066 char * kwnames
[] = {
6067 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
6070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6072 if (!SWIG_IsOK(res1
)) {
6073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6075 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6077 if (!SWIG_IsOK(ecode2
)) {
6078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "2"" of type '" "int""'");
6080 arg2
= static_cast< int >(val2
);
6081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6082 if (!SWIG_IsOK(ecode3
)) {
6083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "3"" of type '" "int""'");
6085 arg3
= static_cast< int >(val3
);
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 (arg1
)->SetAlignment(arg2
,arg3
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_Py_Void();
6099 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
= 0;
6101 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6110 PyObject
* obj0
= 0 ;
6111 PyObject
* obj1
= 0 ;
6112 PyObject
* obj2
= 0 ;
6113 char * kwnames
[] = {
6114 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
6117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6119 if (!SWIG_IsOK(res1
)) {
6120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetSize" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6122 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6124 if (!SWIG_IsOK(ecode2
)) {
6125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetSize" "', expected argument " "2"" of type '" "int""'");
6127 arg2
= static_cast< int >(val2
);
6128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6129 if (!SWIG_IsOK(ecode3
)) {
6130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetSize" "', expected argument " "3"" of type '" "int""'");
6132 arg3
= static_cast< int >(val3
);
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 (arg1
)->SetSize(arg2
,arg3
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= SWIG_Py_Void();
6146 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
= 0;
6148 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6149 bool arg2
= (bool) true ;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6156 char * kwnames
[] = {
6157 (char *) "self",(char *) "allow", NULL
6160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6162 if (!SWIG_IsOK(res1
)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6165 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6167 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6168 if (!SWIG_IsOK(ecode2
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "2"" of type '" "bool""'");
6171 arg2
= static_cast< bool >(val2
);
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 (arg1
)->SetOverflow(arg2
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_Py_Void();
6186 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
= 0;
6188 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6189 bool arg2
= (bool) true ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6196 char * kwnames
[] = {
6197 (char *) "self",(char *) "isReadOnly", NULL
6200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6202 if (!SWIG_IsOK(res1
)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6205 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6207 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6208 if (!SWIG_IsOK(ecode2
)) {
6209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
6211 arg2
= static_cast< bool >(val2
);
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 (arg1
)->SetReadOnly(arg2
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= SWIG_Py_Void();
6226 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
= 0;
6228 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6229 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6235 PyObject
* obj1
= 0 ;
6236 char * kwnames
[] = {
6237 (char *) "self",(char *) "renderer", NULL
6240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6242 if (!SWIG_IsOK(res1
)) {
6243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6245 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
6247 if (!SWIG_IsOK(res2
)) {
6248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
6250 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 (arg1
)->SetRenderer(arg2
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_Py_Void();
6264 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
= 0;
6266 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6267 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "editor", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6283 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
6285 if (!SWIG_IsOK(res2
)) {
6286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
6288 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 (arg1
)->SetEditor(arg2
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= SWIG_Py_Void();
6302 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
= 0;
6304 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6305 wxGridCellAttr::wxAttrKind arg2
;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6312 char * kwnames
[] = {
6313 (char *) "self",(char *) "kind", NULL
6316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6318 if (!SWIG_IsOK(res1
)) {
6319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6321 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6323 if (!SWIG_IsOK(ecode2
)) {
6324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetKind" "', expected argument " "2"" of type '" "wxGridCellAttr::wxAttrKind""'");
6326 arg2
= static_cast< wxGridCellAttr::wxAttrKind
>(val2
);
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 (arg1
)->SetKind(arg2
);
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6333 resultobj
= SWIG_Py_Void();
6340 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6341 PyObject
*resultobj
= 0;
6342 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6346 PyObject
*swig_obj
[1] ;
6348 if (!args
) SWIG_fail
;
6350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6351 if (!SWIG_IsOK(res1
)) {
6352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6354 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6370 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6371 PyObject
*resultobj
= 0;
6372 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6376 PyObject
*swig_obj
[1] ;
6378 if (!args
) SWIG_fail
;
6380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6381 if (!SWIG_IsOK(res1
)) {
6382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6384 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6400 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6401 PyObject
*resultobj
= 0;
6402 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6406 PyObject
*swig_obj
[1] ;
6408 if (!args
) SWIG_fail
;
6410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6411 if (!SWIG_IsOK(res1
)) {
6412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6414 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6430 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6431 PyObject
*resultobj
= 0;
6432 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6436 PyObject
*swig_obj
[1] ;
6438 if (!args
) SWIG_fail
;
6440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6441 if (!SWIG_IsOK(res1
)) {
6442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6444 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6460 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6461 PyObject
*resultobj
= 0;
6462 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6466 PyObject
*swig_obj
[1] ;
6468 if (!args
) SWIG_fail
;
6470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6471 if (!SWIG_IsOK(res1
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6474 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6490 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6491 PyObject
*resultobj
= 0;
6492 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6496 PyObject
*swig_obj
[1] ;
6498 if (!args
) SWIG_fail
;
6500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6501 if (!SWIG_IsOK(res1
)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6504 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6520 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6521 PyObject
*resultobj
= 0;
6522 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6526 PyObject
*swig_obj
[1] ;
6528 if (!args
) SWIG_fail
;
6530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6531 if (!SWIG_IsOK(res1
)) {
6532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasReadWriteMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6534 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6550 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6551 PyObject
*resultobj
= 0;
6552 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6556 PyObject
*swig_obj
[1] ;
6558 if (!args
) SWIG_fail
;
6560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6561 if (!SWIG_IsOK(res1
)) {
6562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasOverflowMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6564 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6580 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6581 PyObject
*resultobj
= 0;
6582 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6586 PyObject
*swig_obj
[1] ;
6588 if (!args
) SWIG_fail
;
6590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6591 if (!SWIG_IsOK(res1
)) {
6592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6594 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6608 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6609 PyObject
*resultobj
= 0;
6610 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6614 PyObject
*swig_obj
[1] ;
6616 if (!args
) SWIG_fail
;
6618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6619 if (!SWIG_IsOK(res1
)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6622 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6636 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6637 PyObject
*resultobj
= 0;
6638 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6642 PyObject
*swig_obj
[1] ;
6644 if (!args
) SWIG_fail
;
6646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6647 if (!SWIG_IsOK(res1
)) {
6648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6650 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
6664 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6665 PyObject
*resultobj
= 0;
6666 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6667 int *arg2
= (int *) 0 ;
6668 int *arg3
= (int *) 0 ;
6672 int res2
= SWIG_TMPOBJ
;
6674 int res3
= SWIG_TMPOBJ
;
6675 PyObject
*swig_obj
[1] ;
6679 if (!args
) SWIG_fail
;
6681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6682 if (!SWIG_IsOK(res1
)) {
6683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6685 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= SWIG_Py_Void();
6693 if (SWIG_IsTmpObj(res2
)) {
6694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6696 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6699 if (SWIG_IsTmpObj(res3
)) {
6700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6702 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6711 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6712 PyObject
*resultobj
= 0;
6713 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6714 int *arg2
= (int *) 0 ;
6715 int *arg3
= (int *) 0 ;
6719 int res2
= SWIG_TMPOBJ
;
6721 int res3
= SWIG_TMPOBJ
;
6722 PyObject
*swig_obj
[1] ;
6726 if (!args
) SWIG_fail
;
6728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6729 if (!SWIG_IsOK(res1
)) {
6730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetSize" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6732 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= SWIG_Py_Void();
6740 if (SWIG_IsTmpObj(res2
)) {
6741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6743 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6746 if (SWIG_IsTmpObj(res3
)) {
6747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6749 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6758 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6759 PyObject
*resultobj
= 0;
6760 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6764 PyObject
*swig_obj
[1] ;
6766 if (!args
) SWIG_fail
;
6768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6769 if (!SWIG_IsOK(res1
)) {
6770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6772 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6788 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
= 0;
6790 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6791 wxGrid
*arg2
= (wxGrid
*) 0 ;
6794 wxGridCellRenderer
*result
= 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6805 PyObject
* obj2
= 0 ;
6806 PyObject
* obj3
= 0 ;
6807 char * kwnames
[] = {
6808 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6813 if (!SWIG_IsOK(res1
)) {
6814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6816 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
6818 if (!SWIG_IsOK(res2
)) {
6819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "2"" of type '" "wxGrid *""'");
6821 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
6822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6823 if (!SWIG_IsOK(ecode3
)) {
6824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "3"" of type '" "int""'");
6826 arg3
= static_cast< int >(val3
);
6827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6828 if (!SWIG_IsOK(ecode4
)) {
6829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "4"" of type '" "int""'");
6831 arg4
= static_cast< int >(val4
);
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
6847 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
= 0;
6849 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6850 wxGrid
*arg2
= (wxGrid
*) 0 ;
6853 wxGridCellEditor
*result
= 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 PyObject
* obj2
= 0 ;
6865 PyObject
* obj3
= 0 ;
6866 char * kwnames
[] = {
6867 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6872 if (!SWIG_IsOK(res1
)) {
6873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6875 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6876 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
6877 if (!SWIG_IsOK(res2
)) {
6878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "2"" of type '" "wxGrid *""'");
6880 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
6881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6882 if (!SWIG_IsOK(ecode3
)) {
6883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "3"" of type '" "int""'");
6885 arg3
= static_cast< int >(val3
);
6886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6887 if (!SWIG_IsOK(ecode4
)) {
6888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "4"" of type '" "int""'");
6890 arg4
= static_cast< int >(val4
);
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
6906 SWIGINTERN PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6907 PyObject
*resultobj
= 0;
6908 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6912 PyObject
*swig_obj
[1] ;
6914 if (!args
) SWIG_fail
;
6916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6917 if (!SWIG_IsOK(res1
)) {
6918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IsReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6920 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6936 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6937 PyObject
*resultobj
= 0;
6938 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6939 wxGridCellAttr::wxAttrKind result
;
6942 PyObject
*swig_obj
[1] ;
6944 if (!args
) SWIG_fail
;
6946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6947 if (!SWIG_IsOK(res1
)) {
6948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6950 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_From_int(static_cast< int >(result
));
6964 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
= 0;
6966 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6967 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6974 char * kwnames
[] = {
6975 (char *) "self",(char *) "defAttr", NULL
6978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6980 if (!SWIG_IsOK(res1
)) {
6981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6983 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6985 if (!SWIG_IsOK(res2
)) {
6986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
6988 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 (arg1
)->SetDefAttr(arg2
);
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= SWIG_Py_Void();
7002 SWIGINTERN PyObject
*GridCellAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7005 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttr
, SWIG_NewClientData(obj
));
7006 return SWIG_Py_Void();
7009 SWIGINTERN PyObject
*GridCellAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7010 return SWIG_Python_InitShadowInstance(args
);
7013 SWIGINTERN PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7014 PyObject
*resultobj
= 0;
7015 wxGridCellAttrProvider
*result
= 0 ;
7017 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAttrProvider",0,0,0)) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)SWIG_POINTER_NEW
);
7033 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
= 0;
7035 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7036 PyObject
*arg2
= (PyObject
*) 0 ;
7039 PyObject
* obj0
= 0 ;
7040 PyObject
* obj1
= 0 ;
7041 char * kwnames
[] = {
7042 (char *) "self",(char *) "_self", NULL
7045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7047 if (!SWIG_IsOK(res1
)) {
7048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7050 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_Py_Void();
7065 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
= 0;
7067 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7070 wxGridCellAttr::wxAttrKind arg4
;
7071 wxGridCellAttr
*result
= 0 ;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7082 PyObject
* obj2
= 0 ;
7083 PyObject
* obj3
= 0 ;
7084 char * kwnames
[] = {
7085 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7090 if (!SWIG_IsOK(res1
)) {
7091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider const *""'");
7093 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7095 if (!SWIG_IsOK(ecode2
)) {
7096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7098 arg2
= static_cast< int >(val2
);
7099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7100 if (!SWIG_IsOK(ecode3
)) {
7101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7103 arg3
= static_cast< int >(val3
);
7104 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7105 if (!SWIG_IsOK(ecode4
)) {
7106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7108 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,arg4
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7124 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
= 0;
7126 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7127 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 PyObject
* obj2
= 0 ;
7141 PyObject
* obj3
= 0 ;
7142 char * kwnames
[] = {
7143 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7148 if (!SWIG_IsOK(res1
)) {
7149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7151 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7153 if (!SWIG_IsOK(res2
)) {
7154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7156 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7158 if (!SWIG_IsOK(ecode3
)) {
7159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7161 arg3
= static_cast< int >(val3
);
7162 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7163 if (!SWIG_IsOK(ecode4
)) {
7164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7166 arg4
= static_cast< int >(val4
);
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 resultobj
= SWIG_Py_Void();
7180 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
= 0;
7182 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7183 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7193 PyObject
* obj2
= 0 ;
7194 char * kwnames
[] = {
7195 (char *) "self",(char *) "attr",(char *) "row", NULL
7198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7200 if (!SWIG_IsOK(res1
)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7203 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7205 if (!SWIG_IsOK(res2
)) {
7206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7208 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7210 if (!SWIG_IsOK(ecode3
)) {
7211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7213 arg3
= static_cast< int >(val3
);
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 (arg1
)->SetRowAttr(arg2
,arg3
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 resultobj
= SWIG_Py_Void();
7227 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
= 0;
7229 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7230 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7238 PyObject
* obj0
= 0 ;
7239 PyObject
* obj1
= 0 ;
7240 PyObject
* obj2
= 0 ;
7241 char * kwnames
[] = {
7242 (char *) "self",(char *) "attr",(char *) "col", NULL
7245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7247 if (!SWIG_IsOK(res1
)) {
7248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7250 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7252 if (!SWIG_IsOK(res2
)) {
7253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7255 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7257 if (!SWIG_IsOK(ecode3
)) {
7258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7260 arg3
= static_cast< int >(val3
);
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 (arg1
)->SetColAttr(arg2
,arg3
);
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= SWIG_Py_Void();
7274 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
= 0;
7276 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7287 PyObject
* obj2
= 0 ;
7288 char * kwnames
[] = {
7289 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7294 if (!SWIG_IsOK(res1
)) {
7295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7297 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7298 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7299 if (!SWIG_IsOK(ecode2
)) {
7300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "2"" of type '" "size_t""'");
7302 arg2
= static_cast< size_t >(val2
);
7303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7304 if (!SWIG_IsOK(ecode3
)) {
7305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "3"" of type '" "int""'");
7307 arg3
= static_cast< int >(val3
);
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 (arg1
)->UpdateAttrRows(arg2
,arg3
);
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 resultobj
= SWIG_Py_Void();
7321 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
= 0;
7323 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7334 PyObject
* obj2
= 0 ;
7335 char * kwnames
[] = {
7336 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7341 if (!SWIG_IsOK(res1
)) {
7342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7344 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7345 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7346 if (!SWIG_IsOK(ecode2
)) {
7347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "2"" of type '" "size_t""'");
7349 arg2
= static_cast< size_t >(val2
);
7350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7351 if (!SWIG_IsOK(ecode3
)) {
7352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "3"" of type '" "int""'");
7354 arg3
= static_cast< int >(val3
);
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 (arg1
)->UpdateAttrCols(arg2
,arg3
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_Py_Void();
7368 SWIGINTERN PyObject
*GridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7371 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_NewClientData(obj
));
7372 return SWIG_Py_Void();
7375 SWIGINTERN PyObject
*GridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7376 return SWIG_Python_InitShadowInstance(args
);
7379 SWIGINTERN PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7380 PyObject
*resultobj
= 0;
7381 wxPyGridCellAttrProvider
*result
= 0 ;
7383 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellAttrProvider",0,0,0)) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_NEW
| 0 );
7397 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
= 0;
7399 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7400 PyObject
*arg2
= (PyObject
*) 0 ;
7401 PyObject
*arg3
= (PyObject
*) 0 ;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7406 PyObject
* obj2
= 0 ;
7407 char * kwnames
[] = {
7408 (char *) "self",(char *) "self",(char *) "_class", NULL
7411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7413 if (!SWIG_IsOK(res1
)) {
7414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7416 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= SWIG_Py_Void();
7432 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
= 0;
7434 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7437 wxGridCellAttr::wxAttrKind arg4
;
7438 wxGridCellAttr
*result
= 0 ;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7449 PyObject
* obj2
= 0 ;
7450 PyObject
* obj3
= 0 ;
7451 char * kwnames
[] = {
7452 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7460 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7462 if (!SWIG_IsOK(ecode2
)) {
7463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7465 arg2
= static_cast< int >(val2
);
7466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7467 if (!SWIG_IsOK(ecode3
)) {
7468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7470 arg3
= static_cast< int >(val3
);
7471 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7472 if (!SWIG_IsOK(ecode4
)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7475 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7491 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
= 0;
7493 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7494 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7506 PyObject
* obj1
= 0 ;
7507 PyObject
* obj2
= 0 ;
7508 PyObject
* obj3
= 0 ;
7509 char * kwnames
[] = {
7510 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7515 if (!SWIG_IsOK(res1
)) {
7516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7518 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7520 if (!SWIG_IsOK(res2
)) {
7521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7523 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7525 if (!SWIG_IsOK(ecode3
)) {
7526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7528 arg3
= static_cast< int >(val3
);
7529 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7530 if (!SWIG_IsOK(ecode4
)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7533 arg4
= static_cast< int >(val4
);
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_Py_Void();
7547 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
= 0;
7549 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7550 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7558 PyObject
* obj0
= 0 ;
7559 PyObject
* obj1
= 0 ;
7560 PyObject
* obj2
= 0 ;
7561 char * kwnames
[] = {
7562 (char *) "self",(char *) "attr",(char *) "row", NULL
7565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7567 if (!SWIG_IsOK(res1
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7570 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7572 if (!SWIG_IsOK(res2
)) {
7573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7575 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7577 if (!SWIG_IsOK(ecode3
)) {
7578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7580 arg3
= static_cast< int >(val3
);
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 (arg1
)->SetRowAttr(arg2
,arg3
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_Py_Void();
7594 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
= 0;
7596 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7597 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7605 PyObject
* obj0
= 0 ;
7606 PyObject
* obj1
= 0 ;
7607 PyObject
* obj2
= 0 ;
7608 char * kwnames
[] = {
7609 (char *) "self",(char *) "attr",(char *) "col", NULL
7612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7614 if (!SWIG_IsOK(res1
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7617 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7619 if (!SWIG_IsOK(res2
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7622 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7624 if (!SWIG_IsOK(ecode3
)) {
7625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7627 arg3
= static_cast< int >(val3
);
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 (arg1
)->SetColAttr(arg2
,arg3
);
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= SWIG_Py_Void();
7641 SWIGINTERN PyObject
*PyGridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7644 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_NewClientData(obj
));
7645 return SWIG_Py_Void();
7648 SWIGINTERN PyObject
*PyGridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7649 return SWIG_Python_InitShadowInstance(args
);
7652 SWIGINTERN PyObject
*_wrap_delete_GridTableBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7653 PyObject
*resultobj
= 0;
7654 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7657 PyObject
*swig_obj
[1] ;
7659 if (!args
) SWIG_fail
;
7661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN
| 0 );
7662 if (!SWIG_IsOK(res1
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableBase" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7665 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_Py_Void();
7680 SWIGINTERN PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
= 0;
7682 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7683 PyObject
*arg2
= (PyObject
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7687 PyObject
* obj1
= 0 ;
7688 char * kwnames
[] = {
7689 (char *) "self",(char *) "_self", NULL
7692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7694 if (!SWIG_IsOK(res1
)) {
7695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase__setOORInfo" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7697 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 wxGridTableBase__setOORInfo(arg1
,arg2
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_Py_Void();
7712 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
= 0;
7714 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7715 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7721 PyObject
* obj1
= 0 ;
7722 char * kwnames
[] = {
7723 (char *) "self",(char *) "attrProvider", NULL
7726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7728 if (!SWIG_IsOK(res1
)) {
7729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7731 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7732 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7733 if (!SWIG_IsOK(res2
)) {
7734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "2"" of type '" "wxGridCellAttrProvider *""'");
7736 arg2
= reinterpret_cast< wxGridCellAttrProvider
* >(argp2
);
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 (arg1
)->SetAttrProvider(arg2
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= SWIG_Py_Void();
7750 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7751 PyObject
*resultobj
= 0;
7752 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7753 wxGridCellAttrProvider
*result
= 0 ;
7756 PyObject
*swig_obj
[1] ;
7758 if (!args
) SWIG_fail
;
7760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7761 if (!SWIG_IsOK(res1
)) {
7762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
7764 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)0);
7780 SWIGINTERN PyObject
*_wrap_GridTableBase_SetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
= 0;
7782 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7783 wxGrid
*arg2
= (wxGrid
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7789 PyObject
* obj1
= 0 ;
7790 char * kwnames
[] = {
7791 (char *) "self",(char *) "grid", NULL
7794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7796 if (!SWIG_IsOK(res1
)) {
7797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetView" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7799 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
7801 if (!SWIG_IsOK(res2
)) {
7802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetView" "', expected argument " "2"" of type '" "wxGrid *""'");
7804 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 (arg1
)->SetView(arg2
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 resultobj
= SWIG_Py_Void();
7818 SWIGINTERN PyObject
*_wrap_GridTableBase_GetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7819 PyObject
*resultobj
= 0;
7820 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7821 wxGrid
*result
= 0 ;
7824 PyObject
*swig_obj
[1] ;
7826 if (!args
) SWIG_fail
;
7828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7829 if (!SWIG_IsOK(res1
)) {
7830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetView" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
7832 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7848 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7849 PyObject
*resultobj
= 0;
7850 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7854 PyObject
*swig_obj
[1] ;
7856 if (!args
) SWIG_fail
;
7858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7859 if (!SWIG_IsOK(res1
)) {
7860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7862 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (int)(arg1
)->GetNumberRows();
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_From_int(static_cast< int >(result
));
7876 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7877 PyObject
*resultobj
= 0;
7878 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7882 PyObject
*swig_obj
[1] ;
7884 if (!args
) SWIG_fail
;
7886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7887 if (!SWIG_IsOK(res1
)) {
7888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7890 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 result
= (int)(arg1
)->GetNumberCols();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= SWIG_From_int(static_cast< int >(result
));
7904 SWIGINTERN PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
= 0;
7906 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7917 PyObject
* obj1
= 0 ;
7918 PyObject
* obj2
= 0 ;
7919 char * kwnames
[] = {
7920 (char *) "self",(char *) "row",(char *) "col", NULL
7923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7925 if (!SWIG_IsOK(res1
)) {
7926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7928 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7930 if (!SWIG_IsOK(ecode2
)) {
7931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "2"" of type '" "int""'");
7933 arg2
= static_cast< int >(val2
);
7934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7935 if (!SWIG_IsOK(ecode3
)) {
7936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "3"" of type '" "int""'");
7938 arg3
= static_cast< int >(val3
);
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7954 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
= 0;
7956 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7966 PyObject
* obj0
= 0 ;
7967 PyObject
* obj1
= 0 ;
7968 PyObject
* obj2
= 0 ;
7969 char * kwnames
[] = {
7970 (char *) "self",(char *) "row",(char *) "col", NULL
7973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7975 if (!SWIG_IsOK(res1
)) {
7976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7978 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7980 if (!SWIG_IsOK(ecode2
)) {
7981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValue" "', expected argument " "2"" of type '" "int""'");
7983 arg2
= static_cast< int >(val2
);
7984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7985 if (!SWIG_IsOK(ecode3
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValue" "', expected argument " "3"" of type '" "int""'");
7988 arg3
= static_cast< int >(val3
);
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (arg1
)->GetValue(arg2
,arg3
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8008 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
= 0;
8010 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8013 wxString
*arg4
= 0 ;
8020 bool temp4
= false ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8023 PyObject
* obj2
= 0 ;
8024 PyObject
* obj3
= 0 ;
8025 char * kwnames
[] = {
8026 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8031 if (!SWIG_IsOK(res1
)) {
8032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8034 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8036 if (!SWIG_IsOK(ecode2
)) {
8037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValue" "', expected argument " "2"" of type '" "int""'");
8039 arg2
= static_cast< int >(val2
);
8040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8041 if (!SWIG_IsOK(ecode3
)) {
8042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValue" "', expected argument " "3"" of type '" "int""'");
8044 arg3
= static_cast< int >(val3
);
8046 arg4
= wxString_in_helper(obj3
);
8047 if (arg4
== NULL
) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= SWIG_Py_Void();
8071 SWIGINTERN PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
= 0;
8073 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8086 char * kwnames
[] = {
8087 (char *) "self",(char *) "row",(char *) "col", NULL
8090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8092 if (!SWIG_IsOK(res1
)) {
8093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8095 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8097 if (!SWIG_IsOK(ecode2
)) {
8098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "2"" of type '" "int""'");
8100 arg2
= static_cast< int >(val2
);
8101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8102 if (!SWIG_IsOK(ecode3
)) {
8103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "3"" of type '" "int""'");
8105 arg3
= static_cast< int >(val3
);
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 result
= (arg1
)->GetTypeName(arg2
,arg3
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8125 SWIGINTERN PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
= 0;
8127 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8130 wxString
*arg4
= 0 ;
8138 bool temp4
= false ;
8139 PyObject
* obj0
= 0 ;
8140 PyObject
* obj1
= 0 ;
8141 PyObject
* obj2
= 0 ;
8142 PyObject
* obj3
= 0 ;
8143 char * kwnames
[] = {
8144 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8149 if (!SWIG_IsOK(res1
)) {
8150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8152 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8154 if (!SWIG_IsOK(ecode2
)) {
8155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "2"" of type '" "int""'");
8157 arg2
= static_cast< int >(val2
);
8158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8159 if (!SWIG_IsOK(ecode3
)) {
8160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "3"" of type '" "int""'");
8162 arg3
= static_cast< int >(val3
);
8164 arg4
= wxString_in_helper(obj3
);
8165 if (arg4
== NULL
) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8191 SWIGINTERN PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
= 0;
8193 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8196 wxString
*arg4
= 0 ;
8204 bool temp4
= false ;
8205 PyObject
* obj0
= 0 ;
8206 PyObject
* obj1
= 0 ;
8207 PyObject
* obj2
= 0 ;
8208 PyObject
* obj3
= 0 ;
8209 char * kwnames
[] = {
8210 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8215 if (!SWIG_IsOK(res1
)) {
8216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8218 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8220 if (!SWIG_IsOK(ecode2
)) {
8221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "2"" of type '" "int""'");
8223 arg2
= static_cast< int >(val2
);
8224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8225 if (!SWIG_IsOK(ecode3
)) {
8226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "3"" of type '" "int""'");
8228 arg3
= static_cast< int >(val3
);
8230 arg4
= wxString_in_helper(obj3
);
8231 if (arg4
== NULL
) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8257 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
= 0;
8259 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 PyObject
* obj2
= 0 ;
8272 char * kwnames
[] = {
8273 (char *) "self",(char *) "row",(char *) "col", NULL
8276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8278 if (!SWIG_IsOK(res1
)) {
8279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8281 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8283 if (!SWIG_IsOK(ecode2
)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8286 arg2
= static_cast< int >(val2
);
8287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8288 if (!SWIG_IsOK(ecode3
)) {
8289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8291 arg3
= static_cast< int >(val3
);
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 resultobj
= SWIG_From_long(static_cast< long >(result
));
8305 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
= 0;
8307 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8319 PyObject
* obj2
= 0 ;
8320 char * kwnames
[] = {
8321 (char *) "self",(char *) "row",(char *) "col", NULL
8324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8326 if (!SWIG_IsOK(res1
)) {
8327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8329 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8331 if (!SWIG_IsOK(ecode2
)) {
8332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8334 arg2
= static_cast< int >(val2
);
8335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8336 if (!SWIG_IsOK(ecode3
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8339 arg3
= static_cast< int >(val3
);
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_From_double(static_cast< double >(result
));
8353 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
= 0;
8355 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8367 PyObject
* obj2
= 0 ;
8368 char * kwnames
[] = {
8369 (char *) "self",(char *) "row",(char *) "col", NULL
8372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8374 if (!SWIG_IsOK(res1
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8377 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8379 if (!SWIG_IsOK(ecode2
)) {
8380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8382 arg2
= static_cast< int >(val2
);
8383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8384 if (!SWIG_IsOK(ecode3
)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8387 arg3
= static_cast< int >(val3
);
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8403 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
= 0;
8405 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8419 PyObject
* obj2
= 0 ;
8420 PyObject
* obj3
= 0 ;
8421 char * kwnames
[] = {
8422 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8427 if (!SWIG_IsOK(res1
)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8430 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8432 if (!SWIG_IsOK(ecode2
)) {
8433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8435 arg2
= static_cast< int >(val2
);
8436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8437 if (!SWIG_IsOK(ecode3
)) {
8438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8440 arg3
= static_cast< int >(val3
);
8441 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8442 if (!SWIG_IsOK(ecode4
)) {
8443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "4"" of type '" "long""'");
8445 arg4
= static_cast< long >(val4
);
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_Py_Void();
8459 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
= 0;
8461 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8473 PyObject
* obj0
= 0 ;
8474 PyObject
* obj1
= 0 ;
8475 PyObject
* obj2
= 0 ;
8476 PyObject
* obj3
= 0 ;
8477 char * kwnames
[] = {
8478 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8483 if (!SWIG_IsOK(res1
)) {
8484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8486 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8488 if (!SWIG_IsOK(ecode2
)) {
8489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8491 arg2
= static_cast< int >(val2
);
8492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8493 if (!SWIG_IsOK(ecode3
)) {
8494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8496 arg3
= static_cast< int >(val3
);
8497 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
8498 if (!SWIG_IsOK(ecode4
)) {
8499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "4"" of type '" "double""'");
8501 arg4
= static_cast< double >(val4
);
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= SWIG_Py_Void();
8515 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
= 0;
8517 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 PyObject
* obj2
= 0 ;
8532 PyObject
* obj3
= 0 ;
8533 char * kwnames
[] = {
8534 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8539 if (!SWIG_IsOK(res1
)) {
8540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8542 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8544 if (!SWIG_IsOK(ecode2
)) {
8545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8547 arg2
= static_cast< int >(val2
);
8548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8549 if (!SWIG_IsOK(ecode3
)) {
8550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8552 arg3
= static_cast< int >(val3
);
8553 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
8554 if (!SWIG_IsOK(ecode4
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "4"" of type '" "bool""'");
8557 arg4
= static_cast< bool >(val4
);
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= SWIG_Py_Void();
8571 SWIGINTERN PyObject
*_wrap_GridTableBase_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8572 PyObject
*resultobj
= 0;
8573 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8576 PyObject
*swig_obj
[1] ;
8578 if (!args
) SWIG_fail
;
8580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8581 if (!SWIG_IsOK(res1
)) {
8582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_Clear" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8584 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= SWIG_Py_Void();
8598 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
= 0;
8600 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8601 size_t arg2
= (size_t) 0 ;
8602 size_t arg3
= (size_t) 1 ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 PyObject
* obj2
= 0 ;
8613 char * kwnames
[] = {
8614 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8619 if (!SWIG_IsOK(res1
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8622 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8624 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8625 if (!SWIG_IsOK(ecode2
)) {
8626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertRows" "', expected argument " "2"" of type '" "size_t""'");
8628 arg2
= static_cast< size_t >(val2
);
8631 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8632 if (!SWIG_IsOK(ecode3
)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertRows" "', expected argument " "3"" of type '" "size_t""'");
8635 arg3
= static_cast< size_t >(val3
);
8638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8639 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8652 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
= 0;
8654 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8655 size_t arg2
= (size_t) 1 ;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8663 char * kwnames
[] = {
8664 (char *) "self",(char *) "numRows", NULL
8667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8669 if (!SWIG_IsOK(res1
)) {
8670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8672 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8674 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8675 if (!SWIG_IsOK(ecode2
)) {
8676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendRows" "', expected argument " "2"" of type '" "size_t""'");
8678 arg2
= static_cast< size_t >(val2
);
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (bool)(arg1
)->AppendRows(arg2
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8695 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
= 0;
8697 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8698 size_t arg2
= (size_t) 0 ;
8699 size_t arg3
= (size_t) 1 ;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8709 PyObject
* obj2
= 0 ;
8710 char * kwnames
[] = {
8711 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8716 if (!SWIG_IsOK(res1
)) {
8717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8719 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8721 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8722 if (!SWIG_IsOK(ecode2
)) {
8723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "2"" of type '" "size_t""'");
8725 arg2
= static_cast< size_t >(val2
);
8728 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8729 if (!SWIG_IsOK(ecode3
)) {
8730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "3"" of type '" "size_t""'");
8732 arg3
= static_cast< size_t >(val3
);
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8749 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
= 0;
8751 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8752 size_t arg2
= (size_t) 0 ;
8753 size_t arg3
= (size_t) 1 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 PyObject
* obj2
= 0 ;
8764 char * kwnames
[] = {
8765 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8770 if (!SWIG_IsOK(res1
)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8773 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8775 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8776 if (!SWIG_IsOK(ecode2
)) {
8777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertCols" "', expected argument " "2"" of type '" "size_t""'");
8779 arg2
= static_cast< size_t >(val2
);
8782 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8783 if (!SWIG_IsOK(ecode3
)) {
8784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertCols" "', expected argument " "3"" of type '" "size_t""'");
8786 arg3
= static_cast< size_t >(val3
);
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8803 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
= 0;
8805 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8806 size_t arg2
= (size_t) 1 ;
8812 PyObject
* obj0
= 0 ;
8813 PyObject
* obj1
= 0 ;
8814 char * kwnames
[] = {
8815 (char *) "self",(char *) "numCols", NULL
8818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8820 if (!SWIG_IsOK(res1
)) {
8821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8823 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8825 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8826 if (!SWIG_IsOK(ecode2
)) {
8827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendCols" "', expected argument " "2"" of type '" "size_t""'");
8829 arg2
= static_cast< size_t >(val2
);
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 result
= (bool)(arg1
)->AppendCols(arg2
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8846 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
= 0;
8848 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8849 size_t arg2
= (size_t) 0 ;
8850 size_t arg3
= (size_t) 1 ;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8860 PyObject
* obj2
= 0 ;
8861 char * kwnames
[] = {
8862 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8867 if (!SWIG_IsOK(res1
)) {
8868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8870 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8872 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8873 if (!SWIG_IsOK(ecode2
)) {
8874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "2"" of type '" "size_t""'");
8876 arg2
= static_cast< size_t >(val2
);
8879 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8880 if (!SWIG_IsOK(ecode3
)) {
8881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "3"" of type '" "size_t""'");
8883 arg3
= static_cast< size_t >(val3
);
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8900 SWIGINTERN PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
*resultobj
= 0;
8902 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8909 PyObject
* obj0
= 0 ;
8910 PyObject
* obj1
= 0 ;
8911 char * kwnames
[] = {
8912 (char *) "self",(char *) "row", NULL
8915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8917 if (!SWIG_IsOK(res1
)) {
8918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8920 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8922 if (!SWIG_IsOK(ecode2
)) {
8923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
8925 arg2
= static_cast< int >(val2
);
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (arg1
)->GetRowLabelValue(arg2
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8945 SWIGINTERN PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
= 0;
8947 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8954 PyObject
* obj0
= 0 ;
8955 PyObject
* obj1
= 0 ;
8956 char * kwnames
[] = {
8957 (char *) "self",(char *) "col", NULL
8960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8962 if (!SWIG_IsOK(res1
)) {
8963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8965 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8967 if (!SWIG_IsOK(ecode2
)) {
8968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
8970 arg2
= static_cast< int >(val2
);
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= (arg1
)->GetColLabelValue(arg2
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8990 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
= 0;
8992 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8994 wxString
*arg3
= 0 ;
8999 bool temp3
= false ;
9000 PyObject
* obj0
= 0 ;
9001 PyObject
* obj1
= 0 ;
9002 PyObject
* obj2
= 0 ;
9003 char * kwnames
[] = {
9004 (char *) "self",(char *) "row",(char *) "value", NULL
9007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9009 if (!SWIG_IsOK(res1
)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9012 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9014 if (!SWIG_IsOK(ecode2
)) {
9015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
9017 arg2
= static_cast< int >(val2
);
9019 arg3
= wxString_in_helper(obj2
);
9020 if (arg3
== NULL
) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= SWIG_Py_Void();
9044 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
= 0;
9046 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9048 wxString
*arg3
= 0 ;
9053 bool temp3
= false ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 PyObject
* obj2
= 0 ;
9057 char * kwnames
[] = {
9058 (char *) "self",(char *) "col",(char *) "value", NULL
9061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9063 if (!SWIG_IsOK(res1
)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9066 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9068 if (!SWIG_IsOK(ecode2
)) {
9069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
9071 arg2
= static_cast< int >(val2
);
9073 arg3
= wxString_in_helper(obj2
);
9074 if (arg3
== NULL
) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= SWIG_Py_Void();
9098 SWIGINTERN PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9099 PyObject
*resultobj
= 0;
9100 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9104 PyObject
*swig_obj
[1] ;
9106 if (!args
) SWIG_fail
;
9108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9109 if (!SWIG_IsOK(res1
)) {
9110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanHaveAttributes" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9112 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 result
= (bool)(arg1
)->CanHaveAttributes();
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9128 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
= 0;
9130 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9133 wxGridCellAttr::wxAttrKind arg4
;
9134 wxGridCellAttr
*result
= 0 ;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9145 PyObject
* obj2
= 0 ;
9146 PyObject
* obj3
= 0 ;
9147 char * kwnames
[] = {
9148 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
9151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9153 if (!SWIG_IsOK(res1
)) {
9154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9156 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9158 if (!SWIG_IsOK(ecode2
)) {
9159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetAttr" "', expected argument " "2"" of type '" "int""'");
9161 arg2
= static_cast< int >(val2
);
9162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9163 if (!SWIG_IsOK(ecode3
)) {
9164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetAttr" "', expected argument " "3"" of type '" "int""'");
9166 arg3
= static_cast< int >(val3
);
9167 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9168 if (!SWIG_IsOK(ecode4
)) {
9169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
9171 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
9187 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
= 0;
9189 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9190 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9203 PyObject
* obj2
= 0 ;
9204 PyObject
* obj3
= 0 ;
9205 char * kwnames
[] = {
9206 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
9209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9211 if (!SWIG_IsOK(res1
)) {
9212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9214 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9216 if (!SWIG_IsOK(res2
)) {
9217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9219 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9221 if (!SWIG_IsOK(ecode3
)) {
9222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetAttr" "', expected argument " "3"" of type '" "int""'");
9224 arg3
= static_cast< int >(val3
);
9225 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9226 if (!SWIG_IsOK(ecode4
)) {
9227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetAttr" "', expected argument " "4"" of type '" "int""'");
9229 arg4
= static_cast< int >(val4
);
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_Py_Void();
9243 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
= 0;
9245 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9246 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9254 PyObject
* obj0
= 0 ;
9255 PyObject
* obj1
= 0 ;
9256 PyObject
* obj2
= 0 ;
9257 char * kwnames
[] = {
9258 (char *) "self",(char *) "attr",(char *) "row", NULL
9261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9263 if (!SWIG_IsOK(res1
)) {
9264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9266 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9268 if (!SWIG_IsOK(res2
)) {
9269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9271 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9273 if (!SWIG_IsOK(ecode3
)) {
9274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
9276 arg3
= static_cast< int >(val3
);
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 (arg1
)->SetRowAttr(arg2
,arg3
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= SWIG_Py_Void();
9290 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
= 0;
9292 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9293 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9302 PyObject
* obj1
= 0 ;
9303 PyObject
* obj2
= 0 ;
9304 char * kwnames
[] = {
9305 (char *) "self",(char *) "attr",(char *) "col", NULL
9308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9310 if (!SWIG_IsOK(res1
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9313 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9315 if (!SWIG_IsOK(res2
)) {
9316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9318 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9320 if (!SWIG_IsOK(ecode3
)) {
9321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "3"" of type '" "int""'");
9323 arg3
= static_cast< int >(val3
);
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 (arg1
)->SetColAttr(arg2
,arg3
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= SWIG_Py_Void();
9337 SWIGINTERN PyObject
*GridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9340 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableBase
, SWIG_NewClientData(obj
));
9341 return SWIG_Py_Void();
9344 SWIGINTERN PyObject
*_wrap_new_PyGridTableBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9345 PyObject
*resultobj
= 0;
9346 wxPyGridTableBase
*result
= 0 ;
9348 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridTableBase",0,0,0)) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_NEW
| 0 );
9362 SWIGINTERN PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
= 0;
9364 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9365 PyObject
*arg2
= (PyObject
*) 0 ;
9366 PyObject
*arg3
= (PyObject
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 PyObject
* obj2
= 0 ;
9372 char * kwnames
[] = {
9373 (char *) "self",(char *) "self",(char *) "_class", NULL
9376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9378 if (!SWIG_IsOK(res1
)) {
9379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9381 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= SWIG_Py_Void();
9397 SWIGINTERN PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9398 PyObject
*resultobj
= 0;
9399 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9402 PyObject
*swig_obj
[1] ;
9404 if (!args
) SWIG_fail
;
9406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9407 if (!SWIG_IsOK(res1
)) {
9408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase_Destroy" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9410 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 wxPyGridTableBase_Destroy(arg1
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_Py_Void();
9424 SWIGINTERN PyObject
*PyGridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9427 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridTableBase
, SWIG_NewClientData(obj
));
9428 return SWIG_Py_Void();
9431 SWIGINTERN PyObject
*PyGridTableBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9432 return SWIG_Python_InitShadowInstance(args
);
9435 SWIGINTERN PyObject
*_wrap_new_GridStringTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
= 0;
9437 int arg1
= (int) 0 ;
9438 int arg2
= (int) 0 ;
9439 wxGridStringTable
*result
= 0 ;
9444 PyObject
* obj0
= 0 ;
9445 PyObject
* obj1
= 0 ;
9446 char * kwnames
[] = {
9447 (char *) "numRows",(char *) "numCols", NULL
9450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9452 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9453 if (!SWIG_IsOK(ecode1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridStringTable" "', expected argument " "1"" of type '" "int""'");
9456 arg1
= static_cast< int >(val1
);
9459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9460 if (!SWIG_IsOK(ecode2
)) {
9461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridStringTable" "', expected argument " "2"" of type '" "int""'");
9463 arg2
= static_cast< int >(val2
);
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridStringTable
, SWIG_POINTER_NEW
| 0 );
9478 SWIGINTERN PyObject
*GridStringTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9481 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridStringTable
, SWIG_NewClientData(obj
));
9482 return SWIG_Py_Void();
9485 SWIGINTERN PyObject
*GridStringTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9486 return SWIG_Python_InitShadowInstance(args
);
9489 SWIGINTERN PyObject
*_wrap_new_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
= 0;
9491 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9493 int arg3
= (int) -1 ;
9494 int arg4
= (int) -1 ;
9495 wxGridTableMessage
*result
= 0 ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9506 PyObject
* obj2
= 0 ;
9507 PyObject
* obj3
= 0 ;
9508 char * kwnames
[] = {
9509 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
9512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9514 if (!SWIG_IsOK(res1
)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9517 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9519 if (!SWIG_IsOK(ecode2
)) {
9520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridTableMessage" "', expected argument " "2"" of type '" "int""'");
9522 arg2
= static_cast< int >(val2
);
9524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9525 if (!SWIG_IsOK(ecode3
)) {
9526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridTableMessage" "', expected argument " "3"" of type '" "int""'");
9528 arg3
= static_cast< int >(val3
);
9531 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9532 if (!SWIG_IsOK(ecode4
)) {
9533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridTableMessage" "', expected argument " "4"" of type '" "int""'");
9535 arg4
= static_cast< int >(val4
);
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_NEW
| 0 );
9550 SWIGINTERN PyObject
*_wrap_delete_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9551 PyObject
*resultobj
= 0;
9552 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9555 PyObject
*swig_obj
[1] ;
9557 if (!args
) SWIG_fail
;
9559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_DISOWN
| 0 );
9560 if (!SWIG_IsOK(res1
)) {
9561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9563 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= SWIG_Py_Void();
9578 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
= 0;
9580 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9581 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9586 PyObject
* obj0
= 0 ;
9587 PyObject
* obj1
= 0 ;
9588 char * kwnames
[] = {
9589 (char *) "self",(char *) "table", NULL
9592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9594 if (!SWIG_IsOK(res1
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9597 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9598 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9599 if (!SWIG_IsOK(res2
)) {
9600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
9602 arg2
= reinterpret_cast< wxGridTableBase
* >(argp2
);
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 (arg1
)->SetTableObject(arg2
);
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_Py_Void();
9616 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9617 PyObject
*resultobj
= 0;
9618 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9619 wxGridTableBase
*result
= 0 ;
9622 PyObject
*swig_obj
[1] ;
9624 if (!args
) SWIG_fail
;
9626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9627 if (!SWIG_IsOK(res1
)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage const *""'");
9630 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
9646 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
= 0;
9648 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9655 PyObject
* obj1
= 0 ;
9656 char * kwnames
[] = {
9657 (char *) "self",(char *) "id", NULL
9660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9662 if (!SWIG_IsOK(res1
)) {
9663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9665 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9667 if (!SWIG_IsOK(ecode2
)) {
9668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetId" "', expected argument " "2"" of type '" "int""'");
9670 arg2
= static_cast< int >(val2
);
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 (arg1
)->SetId(arg2
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= SWIG_Py_Void();
9684 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9685 PyObject
*resultobj
= 0;
9686 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9690 PyObject
*swig_obj
[1] ;
9692 if (!args
) SWIG_fail
;
9694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9695 if (!SWIG_IsOK(res1
)) {
9696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9698 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 result
= (int)(arg1
)->GetId();
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_From_int(static_cast< int >(result
));
9712 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
= 0;
9714 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9720 PyObject
* obj0
= 0 ;
9721 PyObject
* obj1
= 0 ;
9722 char * kwnames
[] = {
9723 (char *) "self",(char *) "comInt1", NULL
9726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9728 if (!SWIG_IsOK(res1
)) {
9729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9731 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9733 if (!SWIG_IsOK(ecode2
)) {
9734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "2"" of type '" "int""'");
9736 arg2
= static_cast< int >(val2
);
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 (arg1
)->SetCommandInt(arg2
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= SWIG_Py_Void();
9750 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9751 PyObject
*resultobj
= 0;
9752 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9756 PyObject
*swig_obj
[1] ;
9758 if (!args
) SWIG_fail
;
9760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9761 if (!SWIG_IsOK(res1
)) {
9762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9764 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (int)(arg1
)->GetCommandInt();
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= SWIG_From_int(static_cast< int >(result
));
9778 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
= 0;
9780 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9786 PyObject
* obj0
= 0 ;
9787 PyObject
* obj1
= 0 ;
9788 char * kwnames
[] = {
9789 (char *) "self",(char *) "comInt2", NULL
9792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9794 if (!SWIG_IsOK(res1
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9797 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9799 if (!SWIG_IsOK(ecode2
)) {
9800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "2"" of type '" "int""'");
9802 arg2
= static_cast< int >(val2
);
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 (arg1
)->SetCommandInt2(arg2
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_Py_Void();
9816 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9817 PyObject
*resultobj
= 0;
9818 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9822 PyObject
*swig_obj
[1] ;
9824 if (!args
) SWIG_fail
;
9826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9827 if (!SWIG_IsOK(res1
)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9830 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (int)(arg1
)->GetCommandInt2();
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_From_int(static_cast< int >(result
));
9844 SWIGINTERN PyObject
*GridTableMessage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9847 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableMessage
, SWIG_NewClientData(obj
));
9848 return SWIG_Py_Void();
9851 SWIGINTERN PyObject
*GridTableMessage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9852 return SWIG_Python_InitShadowInstance(args
);
9855 SWIGINTERN PyObject
*_wrap_new_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
= 0;
9857 int arg1
= (int) -1 ;
9858 int arg2
= (int) -1 ;
9859 wxGridCellCoords
*result
= 0 ;
9864 PyObject
* obj0
= 0 ;
9865 PyObject
* obj1
= 0 ;
9866 char * kwnames
[] = {
9867 (char *) "r",(char *) "c", NULL
9870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9872 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9873 if (!SWIG_IsOK(ecode1
)) {
9874 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellCoords" "', expected argument " "1"" of type '" "int""'");
9876 arg1
= static_cast< int >(val1
);
9879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9880 if (!SWIG_IsOK(ecode2
)) {
9881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellCoords" "', expected argument " "2"" of type '" "int""'");
9883 arg2
= static_cast< int >(val2
);
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_NEW
| 0 );
9898 SWIGINTERN PyObject
*_wrap_delete_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9899 PyObject
*resultobj
= 0;
9900 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9903 PyObject
*swig_obj
[1] ;
9905 if (!args
) SWIG_fail
;
9907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_DISOWN
| 0 );
9908 if (!SWIG_IsOK(res1
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellCoords" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
9911 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_Py_Void();
9926 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9927 PyObject
*resultobj
= 0;
9928 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9932 PyObject
*swig_obj
[1] ;
9934 if (!args
) SWIG_fail
;
9936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
9937 if (!SWIG_IsOK(res1
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetRow" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
9940 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_From_int(static_cast< int >(result
));
9954 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
= 0;
9956 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9964 char * kwnames
[] = {
9965 (char *) "self",(char *) "n", NULL
9968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
9970 if (!SWIG_IsOK(res1
)) {
9971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetRow" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
9973 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
9974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9975 if (!SWIG_IsOK(ecode2
)) {
9976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetRow" "', expected argument " "2"" of type '" "int""'");
9978 arg2
= static_cast< int >(val2
);
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 (arg1
)->SetRow(arg2
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_Py_Void();
9992 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9993 PyObject
*resultobj
= 0;
9994 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9998 PyObject
*swig_obj
[1] ;
10000 if (!args
) SWIG_fail
;
10001 swig_obj
[0] = args
;
10002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10003 if (!SWIG_IsOK(res1
)) {
10004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetCol" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10006 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_From_int(static_cast< int >(result
));
10020 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
= 0;
10022 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10028 PyObject
* obj0
= 0 ;
10029 PyObject
* obj1
= 0 ;
10030 char * kwnames
[] = {
10031 (char *) "self",(char *) "n", NULL
10034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10036 if (!SWIG_IsOK(res1
)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetCol" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10039 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10041 if (!SWIG_IsOK(ecode2
)) {
10042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetCol" "', expected argument " "2"" of type '" "int""'");
10044 arg2
= static_cast< int >(val2
);
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 (arg1
)->SetCol(arg2
);
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= SWIG_Py_Void();
10058 SWIGINTERN PyObject
*_wrap_GridCellCoords_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
= 0;
10060 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 PyObject
* obj2
= 0 ;
10072 char * kwnames
[] = {
10073 (char *) "self",(char *) "row",(char *) "col", NULL
10076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10078 if (!SWIG_IsOK(res1
)) {
10079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Set" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10081 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10083 if (!SWIG_IsOK(ecode2
)) {
10084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_Set" "', expected argument " "2"" of type '" "int""'");
10086 arg2
= static_cast< int >(val2
);
10087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10088 if (!SWIG_IsOK(ecode3
)) {
10089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellCoords_Set" "', expected argument " "3"" of type '" "int""'");
10091 arg3
= static_cast< int >(val3
);
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 (arg1
)->Set(arg2
,arg3
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_Py_Void();
10105 SWIGINTERN PyObject
*_wrap_GridCellCoords___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
= 0;
10107 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10108 PyObject
*arg2
= (PyObject
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 PyObject
* obj1
= 0 ;
10114 char * kwnames
[] = {
10115 (char *) "self",(char *) "other", NULL
10118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10120 if (!SWIG_IsOK(res1
)) {
10121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___eq__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10123 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10126 result
= (bool)wxGridCellCoords___eq__(arg1
,arg2
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10138 SWIGINTERN PyObject
*_wrap_GridCellCoords___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
*resultobj
= 0;
10140 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10141 PyObject
*arg2
= (PyObject
*) 0 ;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 char * kwnames
[] = {
10148 (char *) "self",(char *) "other", NULL
10151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10153 if (!SWIG_IsOK(res1
)) {
10154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___ne__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10156 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10159 result
= (bool)wxGridCellCoords___ne__(arg1
,arg2
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10171 SWIGINTERN PyObject
*_wrap_GridCellCoords_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10172 PyObject
*resultobj
= 0;
10173 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10174 PyObject
*result
= 0 ;
10177 PyObject
*swig_obj
[1] ;
10179 if (!args
) SWIG_fail
;
10180 swig_obj
[0] = args
;
10181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10182 if (!SWIG_IsOK(res1
)) {
10183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Get" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10185 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= result
;
10199 SWIGINTERN PyObject
*GridCellCoords_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10202 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellCoords
, SWIG_NewClientData(obj
));
10203 return SWIG_Py_Void();
10206 SWIGINTERN PyObject
*GridCellCoords_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10207 return SWIG_Python_InitShadowInstance(args
);
10210 SWIGINTERN PyObject
*_wrap_new_Grid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
= 0;
10212 wxWindow
*arg1
= (wxWindow
*) 0 ;
10213 int arg2
= (int) -1 ;
10214 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10215 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10216 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10217 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10218 long arg5
= (long) wxWANTS_CHARS
;
10219 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10220 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10221 wxGrid
*result
= 0 ;
10230 bool temp6
= false ;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 PyObject
* obj2
= 0 ;
10234 PyObject
* obj3
= 0 ;
10235 PyObject
* obj4
= 0 ;
10236 PyObject
* obj5
= 0 ;
10237 char * kwnames
[] = {
10238 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10243 if (!SWIG_IsOK(res1
)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Grid" "', expected argument " "1"" of type '" "wxWindow *""'");
10246 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10249 if (!SWIG_IsOK(ecode2
)) {
10250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Grid" "', expected argument " "2"" of type '" "int""'");
10252 arg2
= static_cast< int >(val2
);
10257 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10263 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10267 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10268 if (!SWIG_IsOK(ecode5
)) {
10269 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Grid" "', expected argument " "5"" of type '" "long""'");
10271 arg5
= static_cast< long >(val5
);
10275 arg6
= wxString_in_helper(obj5
);
10276 if (arg6
== NULL
) SWIG_fail
;
10281 if (!wxPyCheckForApp()) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_NEW
| 0 );
10302 SWIGINTERN PyObject
*_wrap_new_PreGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10303 PyObject
*resultobj
= 0;
10304 wxGrid
*result
= 0 ;
10306 if (!SWIG_Python_UnpackTuple(args
,"new_PreGrid",0,0,0)) SWIG_fail
;
10308 if (!wxPyCheckForApp()) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (wxGrid
*)new wxGrid();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_OWN
| 0 );
10321 SWIGINTERN PyObject
*_wrap_Grid_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
= 0;
10323 wxGrid
*arg1
= (wxGrid
*) 0 ;
10324 wxWindow
*arg2
= (wxWindow
*) 0 ;
10325 int arg3
= (int) -1 ;
10326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10330 long arg6
= (long) wxWANTS_CHARS
;
10331 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
10332 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10344 bool temp7
= false ;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 PyObject
* obj2
= 0 ;
10348 PyObject
* obj3
= 0 ;
10349 PyObject
* obj4
= 0 ;
10350 PyObject
* obj5
= 0 ;
10351 PyObject
* obj6
= 0 ;
10352 char * kwnames
[] = {
10353 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10358 if (!SWIG_IsOK(res1
)) {
10359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_Create" "', expected argument " "1"" of type '" "wxGrid *""'");
10361 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10363 if (!SWIG_IsOK(res2
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10366 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10369 if (!SWIG_IsOK(ecode3
)) {
10370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_Create" "', expected argument " "3"" of type '" "int""'");
10372 arg3
= static_cast< int >(val3
);
10377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10387 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10388 if (!SWIG_IsOK(ecode6
)) {
10389 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_Create" "', expected argument " "6"" of type '" "long""'");
10391 arg6
= static_cast< long >(val6
);
10395 arg7
= wxString_in_helper(obj6
);
10396 if (arg7
== NULL
) SWIG_fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10423 SWIGINTERN PyObject
*_wrap_Grid_CreateGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
= 0;
10425 wxGrid
*arg1
= (wxGrid
*) 0 ;
10428 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 PyObject
* obj2
= 0 ;
10441 PyObject
* obj3
= 0 ;
10442 char * kwnames
[] = {
10443 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
10446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10448 if (!SWIG_IsOK(res1
)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CreateGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
10451 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10453 if (!SWIG_IsOK(ecode2
)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CreateGrid" "', expected argument " "2"" of type '" "int""'");
10456 arg2
= static_cast< int >(val2
);
10457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10458 if (!SWIG_IsOK(ecode3
)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CreateGrid" "', expected argument " "3"" of type '" "int""'");
10461 arg3
= static_cast< int >(val3
);
10463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10464 if (!SWIG_IsOK(ecode4
)) {
10465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_CreateGrid" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10467 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10484 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= 0;
10486 wxGrid
*arg1
= (wxGrid
*) 0 ;
10487 WXGRIDSELECTIONMODES arg2
;
10492 PyObject
* obj0
= 0 ;
10493 PyObject
* obj1
= 0 ;
10494 char * kwnames
[] = {
10495 (char *) "self",(char *) "selmode", NULL
10498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10500 if (!SWIG_IsOK(res1
)) {
10501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10503 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10505 if (!SWIG_IsOK(ecode2
)) {
10506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetSelectionMode" "', expected argument " "2"" of type '" "WXGRIDSELECTIONMODES""'");
10508 arg2
= static_cast< WXGRIDSELECTIONMODES
>(val2
);
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 (arg1
)->SetSelectionMode(arg2
);
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 resultobj
= SWIG_Py_Void();
10522 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10523 PyObject
*resultobj
= 0;
10524 wxGrid
*arg1
= (wxGrid
*) 0 ;
10525 WXGRIDSELECTIONMODES result
;
10528 PyObject
*swig_obj
[1] ;
10530 if (!args
) SWIG_fail
;
10531 swig_obj
[0] = args
;
10532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10533 if (!SWIG_IsOK(res1
)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10536 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_From_int(static_cast< int >(result
));
10550 SWIGINTERN PyObject
*_wrap_Grid_GetNumberRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10551 PyObject
*resultobj
= 0;
10552 wxGrid
*arg1
= (wxGrid
*) 0 ;
10556 PyObject
*swig_obj
[1] ;
10558 if (!args
) SWIG_fail
;
10559 swig_obj
[0] = args
;
10560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10564 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (int)(arg1
)->GetNumberRows();
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_From_int(static_cast< int >(result
));
10578 SWIGINTERN PyObject
*_wrap_Grid_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10579 PyObject
*resultobj
= 0;
10580 wxGrid
*arg1
= (wxGrid
*) 0 ;
10584 PyObject
*swig_obj
[1] ;
10586 if (!args
) SWIG_fail
;
10587 swig_obj
[0] = args
;
10588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10589 if (!SWIG_IsOK(res1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberCols" "', expected argument " "1"" of type '" "wxGrid *""'");
10592 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (int)(arg1
)->GetNumberCols();
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_From_int(static_cast< int >(result
));
10606 SWIGINTERN PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
= 0;
10608 wxGrid
*arg1
= (wxGrid
*) 0 ;
10609 wxGridTableMessage
*arg2
= 0 ;
10615 PyObject
* obj0
= 0 ;
10616 PyObject
* obj1
= 0 ;
10617 char * kwnames
[] = {
10618 (char *) "self",(char *)"arg2", NULL
10621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10623 if (!SWIG_IsOK(res1
)) {
10624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "1"" of type '" "wxGrid *""'");
10626 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10627 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGridTableMessage
, 0 );
10628 if (!SWIG_IsOK(res2
)) {
10629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10634 arg2
= reinterpret_cast< wxGridTableMessage
* >(argp2
);
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10650 SWIGINTERN PyObject
*_wrap_Grid_GetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10651 PyObject
*resultobj
= 0;
10652 wxGrid
*arg1
= (wxGrid
*) 0 ;
10653 wxGridTableBase
*result
= 0 ;
10656 PyObject
*swig_obj
[1] ;
10658 if (!args
) SWIG_fail
;
10659 swig_obj
[0] = args
;
10660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10661 if (!SWIG_IsOK(res1
)) {
10662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTable" "', expected argument " "1"" of type '" "wxGrid const *""'");
10664 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
10680 SWIGINTERN PyObject
*_wrap_Grid_SetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
= 0;
10682 wxGrid
*arg1
= (wxGrid
*) 0 ;
10683 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
10684 bool arg3
= (bool) false ;
10685 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 PyObject
* obj2
= 0 ;
10697 PyObject
* obj3
= 0 ;
10698 char * kwnames
[] = {
10699 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
10702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10704 if (!SWIG_IsOK(res1
)) {
10705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetTable" "', expected argument " "1"" of type '" "wxGrid *""'");
10707 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10708 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN
| 0 );
10709 if (!SWIG_IsOK(res2
)) {
10710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetTable" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
10713 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10714 if (!SWIG_IsOK(ecode3
)) {
10715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetTable" "', expected argument " "3"" of type '" "bool""'");
10717 arg3
= static_cast< bool >(val3
);
10720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10721 if (!SWIG_IsOK(ecode4
)) {
10722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetTable" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10724 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10741 SWIGINTERN PyObject
*_wrap_Grid_ClearGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10742 PyObject
*resultobj
= 0;
10743 wxGrid
*arg1
= (wxGrid
*) 0 ;
10746 PyObject
*swig_obj
[1] ;
10748 if (!args
) SWIG_fail
;
10749 swig_obj
[0] = args
;
10750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10751 if (!SWIG_IsOK(res1
)) {
10752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
10754 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 (arg1
)->ClearGrid();
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 resultobj
= SWIG_Py_Void();
10768 SWIGINTERN PyObject
*_wrap_Grid_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
= 0;
10770 wxGrid
*arg1
= (wxGrid
*) 0 ;
10771 int arg2
= (int) 0 ;
10772 int arg3
= (int) 1 ;
10773 bool arg4
= (bool) true ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 PyObject
* obj2
= 0 ;
10786 PyObject
* obj3
= 0 ;
10787 char * kwnames
[] = {
10788 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10793 if (!SWIG_IsOK(res1
)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10796 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10799 if (!SWIG_IsOK(ecode2
)) {
10800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertRows" "', expected argument " "2"" of type '" "int""'");
10802 arg2
= static_cast< int >(val2
);
10805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10806 if (!SWIG_IsOK(ecode3
)) {
10807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertRows" "', expected argument " "3"" of type '" "int""'");
10809 arg3
= static_cast< int >(val3
);
10812 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10813 if (!SWIG_IsOK(ecode4
)) {
10814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertRows" "', expected argument " "4"" of type '" "bool""'");
10816 arg4
= static_cast< bool >(val4
);
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10833 SWIGINTERN PyObject
*_wrap_Grid_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
= 0;
10835 wxGrid
*arg1
= (wxGrid
*) 0 ;
10836 int arg2
= (int) 1 ;
10837 bool arg3
= (bool) true ;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 PyObject
* obj2
= 0 ;
10848 char * kwnames
[] = {
10849 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
10852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10854 if (!SWIG_IsOK(res1
)) {
10855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10857 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10860 if (!SWIG_IsOK(ecode2
)) {
10861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendRows" "', expected argument " "2"" of type '" "int""'");
10863 arg2
= static_cast< int >(val2
);
10866 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10867 if (!SWIG_IsOK(ecode3
)) {
10868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendRows" "', expected argument " "3"" of type '" "bool""'");
10870 arg3
= static_cast< bool >(val3
);
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10887 SWIGINTERN PyObject
*_wrap_Grid_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
= 0;
10889 wxGrid
*arg1
= (wxGrid
*) 0 ;
10890 int arg2
= (int) 0 ;
10891 int arg3
= (int) 1 ;
10892 bool arg4
= (bool) true ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 PyObject
* obj2
= 0 ;
10905 PyObject
* obj3
= 0 ;
10906 char * kwnames
[] = {
10907 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10912 if (!SWIG_IsOK(res1
)) {
10913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10915 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10918 if (!SWIG_IsOK(ecode2
)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteRows" "', expected argument " "2"" of type '" "int""'");
10921 arg2
= static_cast< int >(val2
);
10924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10925 if (!SWIG_IsOK(ecode3
)) {
10926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteRows" "', expected argument " "3"" of type '" "int""'");
10928 arg3
= static_cast< int >(val3
);
10931 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10932 if (!SWIG_IsOK(ecode4
)) {
10933 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteRows" "', expected argument " "4"" of type '" "bool""'");
10935 arg4
= static_cast< bool >(val4
);
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10952 SWIGINTERN PyObject
*_wrap_Grid_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
= 0;
10954 wxGrid
*arg1
= (wxGrid
*) 0 ;
10955 int arg2
= (int) 0 ;
10956 int arg3
= (int) 1 ;
10957 bool arg4
= (bool) true ;
10967 PyObject
* obj0
= 0 ;
10968 PyObject
* obj1
= 0 ;
10969 PyObject
* obj2
= 0 ;
10970 PyObject
* obj3
= 0 ;
10971 char * kwnames
[] = {
10972 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertCols" "', expected argument " "1"" of type '" "wxGrid *""'");
10980 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10983 if (!SWIG_IsOK(ecode2
)) {
10984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertCols" "', expected argument " "2"" of type '" "int""'");
10986 arg2
= static_cast< int >(val2
);
10989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10990 if (!SWIG_IsOK(ecode3
)) {
10991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertCols" "', expected argument " "3"" of type '" "int""'");
10993 arg3
= static_cast< int >(val3
);
10996 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10997 if (!SWIG_IsOK(ecode4
)) {
10998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertCols" "', expected argument " "4"" of type '" "bool""'");
11000 arg4
= static_cast< bool >(val4
);
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11017 SWIGINTERN PyObject
*_wrap_Grid_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
= 0;
11019 wxGrid
*arg1
= (wxGrid
*) 0 ;
11020 int arg2
= (int) 1 ;
11021 bool arg3
= (bool) true ;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 PyObject
* obj2
= 0 ;
11032 char * kwnames
[] = {
11033 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
11036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11038 if (!SWIG_IsOK(res1
)) {
11039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11041 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11044 if (!SWIG_IsOK(ecode2
)) {
11045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendCols" "', expected argument " "2"" of type '" "int""'");
11047 arg2
= static_cast< int >(val2
);
11050 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11051 if (!SWIG_IsOK(ecode3
)) {
11052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendCols" "', expected argument " "3"" of type '" "bool""'");
11054 arg3
= static_cast< bool >(val3
);
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11071 SWIGINTERN PyObject
*_wrap_Grid_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
= 0;
11073 wxGrid
*arg1
= (wxGrid
*) 0 ;
11074 int arg2
= (int) 0 ;
11075 int arg3
= (int) 1 ;
11076 bool arg4
= (bool) true ;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 PyObject
* obj2
= 0 ;
11089 PyObject
* obj3
= 0 ;
11090 char * kwnames
[] = {
11091 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
11094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11096 if (!SWIG_IsOK(res1
)) {
11097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11099 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11102 if (!SWIG_IsOK(ecode2
)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteCols" "', expected argument " "2"" of type '" "int""'");
11105 arg2
= static_cast< int >(val2
);
11108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11109 if (!SWIG_IsOK(ecode3
)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteCols" "', expected argument " "3"" of type '" "int""'");
11112 arg3
= static_cast< int >(val3
);
11115 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11116 if (!SWIG_IsOK(ecode4
)) {
11117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteCols" "', expected argument " "4"" of type '" "bool""'");
11119 arg4
= static_cast< bool >(val4
);
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11136 SWIGINTERN PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
= 0;
11138 wxGrid
*arg1
= (wxGrid
*) 0 ;
11140 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11149 PyObject
* obj2
= 0 ;
11150 char * kwnames
[] = {
11151 (char *) "self",(char *) "dc",(char *) "attr", NULL
11154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11156 if (!SWIG_IsOK(res1
)) {
11157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "1"" of type '" "wxGrid *""'");
11159 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11161 if (!SWIG_IsOK(res2
)) {
11162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11167 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11168 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
11169 if (!SWIG_IsOK(res3
)) {
11170 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "3"" of type '" "wxGridCellAttr const *""'");
11172 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= SWIG_Py_Void();
11186 SWIGINTERN PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= 0;
11188 wxGrid
*arg1
= (wxGrid
*) 0 ;
11190 wxString
*arg3
= 0 ;
11192 int arg5
= (int) wxLEFT
;
11193 int arg6
= (int) wxTOP
;
11194 int arg7
= (int) wxHORIZONTAL
;
11199 bool temp3
= false ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 PyObject
* obj2
= 0 ;
11210 PyObject
* obj3
= 0 ;
11211 PyObject
* obj4
= 0 ;
11212 PyObject
* obj5
= 0 ;
11213 PyObject
* obj6
= 0 ;
11214 char * kwnames
[] = {
11215 (char *) "self",(char *) "dc",(char *)"arg3",(char *)"arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
11218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11220 if (!SWIG_IsOK(res1
)) {
11221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "1"" of type '" "wxGrid *""'");
11223 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11225 if (!SWIG_IsOK(res2
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11231 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11233 arg3
= wxString_in_helper(obj2
);
11234 if (arg3
== NULL
) SWIG_fail
;
11239 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11242 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11243 if (!SWIG_IsOK(ecode5
)) {
11244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "5"" of type '" "int""'");
11246 arg5
= static_cast< int >(val5
);
11249 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11250 if (!SWIG_IsOK(ecode6
)) {
11251 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "6"" of type '" "int""'");
11253 arg6
= static_cast< int >(val6
);
11256 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11257 if (!SWIG_IsOK(ecode7
)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "7"" of type '" "int""'");
11260 arg7
= static_cast< int >(val7
);
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= SWIG_Py_Void();
11283 SWIGINTERN PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
= 0;
11285 wxGrid
*arg1
= (wxGrid
*) 0 ;
11287 wxArrayString
*arg3
= 0 ;
11288 long *arg4
= (long *) 0 ;
11289 long *arg5
= (long *) 0 ;
11294 bool temp3
= false ;
11296 int res4
= SWIG_TMPOBJ
;
11298 int res5
= SWIG_TMPOBJ
;
11299 PyObject
* obj0
= 0 ;
11300 PyObject
* obj1
= 0 ;
11301 PyObject
* obj2
= 0 ;
11302 char * kwnames
[] = {
11303 (char *) "self",(char *) "dc",(char *) "lines", NULL
11308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11310 if (!SWIG_IsOK(res1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "1"" of type '" "wxGrid *""'");
11313 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11314 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11315 if (!SWIG_IsOK(res2
)) {
11316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11321 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11323 if (! PySequence_Check(obj2
)) {
11324 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11327 arg3
= new wxArrayString
;
11329 int i
, len
=PySequence_Length(obj2
);
11330 for (i
=0; i
<len
; i
++) {
11331 PyObject
* item
= PySequence_GetItem(obj2
, i
);
11332 wxString
* s
= wxString_in_helper(item
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_Py_Void();
11346 if (SWIG_IsTmpObj(res4
)) {
11347 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
11349 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
11352 if (SWIG_IsTmpObj(res5
)) {
11353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg5
)));
11355 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, new_flags
));
11359 if (temp3
) delete arg3
;
11364 if (temp3
) delete arg3
;
11370 SWIGINTERN PyObject
*_wrap_Grid_BeginBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11371 PyObject
*resultobj
= 0;
11372 wxGrid
*arg1
= (wxGrid
*) 0 ;
11375 PyObject
*swig_obj
[1] ;
11377 if (!args
) SWIG_fail
;
11378 swig_obj
[0] = args
;
11379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11380 if (!SWIG_IsOK(res1
)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BeginBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11383 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 (arg1
)->BeginBatch();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_Py_Void();
11397 SWIGINTERN PyObject
*_wrap_Grid_EndBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11398 PyObject
*resultobj
= 0;
11399 wxGrid
*arg1
= (wxGrid
*) 0 ;
11402 PyObject
*swig_obj
[1] ;
11404 if (!args
) SWIG_fail
;
11405 swig_obj
[0] = args
;
11406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11407 if (!SWIG_IsOK(res1
)) {
11408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EndBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11410 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 (arg1
)->EndBatch();
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_Py_Void();
11424 SWIGINTERN PyObject
*_wrap_Grid_GetBatchCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11425 PyObject
*resultobj
= 0;
11426 wxGrid
*arg1
= (wxGrid
*) 0 ;
11430 PyObject
*swig_obj
[1] ;
11432 if (!args
) SWIG_fail
;
11433 swig_obj
[0] = args
;
11434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11435 if (!SWIG_IsOK(res1
)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetBatchCount" "', expected argument " "1"" of type '" "wxGrid *""'");
11438 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (int)(arg1
)->GetBatchCount();
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 resultobj
= SWIG_From_int(static_cast< int >(result
));
11452 SWIGINTERN PyObject
*_wrap_Grid_ForceRefresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11453 PyObject
*resultobj
= 0;
11454 wxGrid
*arg1
= (wxGrid
*) 0 ;
11457 PyObject
*swig_obj
[1] ;
11459 if (!args
) SWIG_fail
;
11460 swig_obj
[0] = args
;
11461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11462 if (!SWIG_IsOK(res1
)) {
11463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ForceRefresh" "', expected argument " "1"" of type '" "wxGrid *""'");
11465 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 (arg1
)->ForceRefresh();
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= SWIG_Py_Void();
11479 SWIGINTERN PyObject
*_wrap_Grid_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11480 PyObject
*resultobj
= 0;
11481 wxGrid
*arg1
= (wxGrid
*) 0 ;
11485 PyObject
*swig_obj
[1] ;
11487 if (!args
) SWIG_fail
;
11488 swig_obj
[0] = args
;
11489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11490 if (!SWIG_IsOK(res1
)) {
11491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsEditable" "', expected argument " "1"" of type '" "wxGrid *""'");
11493 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 result
= (bool)(arg1
)->IsEditable();
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11509 SWIGINTERN PyObject
*_wrap_Grid_EnableEditing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
= 0;
11511 wxGrid
*arg1
= (wxGrid
*) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 char * kwnames
[] = {
11520 (char *) "self",(char *) "edit", NULL
11523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11525 if (!SWIG_IsOK(res1
)) {
11526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableEditing" "', expected argument " "1"" of type '" "wxGrid *""'");
11528 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11530 if (!SWIG_IsOK(ecode2
)) {
11531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableEditing" "', expected argument " "2"" of type '" "bool""'");
11533 arg2
= static_cast< bool >(val2
);
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 (arg1
)->EnableEditing(arg2
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= SWIG_Py_Void();
11547 SWIGINTERN PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
= 0;
11549 wxGrid
*arg1
= (wxGrid
*) 0 ;
11550 bool arg2
= (bool) true ;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 char * kwnames
[] = {
11558 (char *) "self",(char *) "enable", NULL
11561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11563 if (!SWIG_IsOK(res1
)) {
11564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11566 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11568 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11569 if (!SWIG_IsOK(ecode2
)) {
11570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "2"" of type '" "bool""'");
11572 arg2
= static_cast< bool >(val2
);
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 (arg1
)->EnableCellEditControl(arg2
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= SWIG_Py_Void();
11587 SWIGINTERN PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11588 PyObject
*resultobj
= 0;
11589 wxGrid
*arg1
= (wxGrid
*) 0 ;
11592 PyObject
*swig_obj
[1] ;
11594 if (!args
) SWIG_fail
;
11595 swig_obj
[0] = args
;
11596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11597 if (!SWIG_IsOK(res1
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11600 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 (arg1
)->DisableCellEditControl();
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_Py_Void();
11614 SWIGINTERN PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11615 PyObject
*resultobj
= 0;
11616 wxGrid
*arg1
= (wxGrid
*) 0 ;
11620 PyObject
*swig_obj
[1] ;
11622 if (!args
) SWIG_fail
;
11623 swig_obj
[0] = args
;
11624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11625 if (!SWIG_IsOK(res1
)) {
11626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanEnableCellControl" "', expected argument " "1"" of type '" "wxGrid const *""'");
11628 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11644 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11645 PyObject
*resultobj
= 0;
11646 wxGrid
*arg1
= (wxGrid
*) 0 ;
11650 PyObject
*swig_obj
[1] ;
11652 if (!args
) SWIG_fail
;
11653 swig_obj
[0] = args
;
11654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11655 if (!SWIG_IsOK(res1
)) {
11656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlEnabled" "', expected argument " "1"" of type '" "wxGrid const *""'");
11658 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11674 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11675 PyObject
*resultobj
= 0;
11676 wxGrid
*arg1
= (wxGrid
*) 0 ;
11680 PyObject
*swig_obj
[1] ;
11682 if (!args
) SWIG_fail
;
11683 swig_obj
[0] = args
;
11684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11685 if (!SWIG_IsOK(res1
)) {
11686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlShown" "', expected argument " "1"" of type '" "wxGrid const *""'");
11688 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11704 SWIGINTERN PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11705 PyObject
*resultobj
= 0;
11706 wxGrid
*arg1
= (wxGrid
*) 0 ;
11710 PyObject
*swig_obj
[1] ;
11712 if (!args
) SWIG_fail
;
11713 swig_obj
[0] = args
;
11714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11715 if (!SWIG_IsOK(res1
)) {
11716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCurrentCellReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
11718 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11734 SWIGINTERN PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11735 PyObject
*resultobj
= 0;
11736 wxGrid
*arg1
= (wxGrid
*) 0 ;
11739 PyObject
*swig_obj
[1] ;
11741 if (!args
) SWIG_fail
;
11742 swig_obj
[0] = args
;
11743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11744 if (!SWIG_IsOK(res1
)) {
11745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ShowCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11747 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 (arg1
)->ShowCellEditControl();
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= SWIG_Py_Void();
11761 SWIGINTERN PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11762 PyObject
*resultobj
= 0;
11763 wxGrid
*arg1
= (wxGrid
*) 0 ;
11766 PyObject
*swig_obj
[1] ;
11768 if (!args
) SWIG_fail
;
11769 swig_obj
[0] = args
;
11770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11771 if (!SWIG_IsOK(res1
)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_HideCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11774 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 (arg1
)->HideCellEditControl();
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 resultobj
= SWIG_Py_Void();
11788 SWIGINTERN PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11789 PyObject
*resultobj
= 0;
11790 wxGrid
*arg1
= (wxGrid
*) 0 ;
11793 PyObject
*swig_obj
[1] ;
11795 if (!args
) SWIG_fail
;
11796 swig_obj
[0] = args
;
11797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11798 if (!SWIG_IsOK(res1
)) {
11799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SaveEditControlValue" "', expected argument " "1"" of type '" "wxGrid *""'");
11801 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->SaveEditControlValue();
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= SWIG_Py_Void();
11815 SWIGINTERN PyObject
*_wrap_Grid_XYToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
= 0;
11817 wxGrid
*arg1
= (wxGrid
*) 0 ;
11820 wxGridCellCoords result
;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 PyObject
* obj2
= 0 ;
11830 char * kwnames
[] = {
11831 (char *) "self",(char *) "x",(char *) "y", NULL
11834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11836 if (!SWIG_IsOK(res1
)) {
11837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XYToCell" "', expected argument " "1"" of type '" "wxGrid *""'");
11839 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11841 if (!SWIG_IsOK(ecode2
)) {
11842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XYToCell" "', expected argument " "2"" of type '" "int""'");
11844 arg2
= static_cast< int >(val2
);
11845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11846 if (!SWIG_IsOK(ecode3
)) {
11847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XYToCell" "', expected argument " "3"" of type '" "int""'");
11849 arg3
= static_cast< int >(val3
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
11863 SWIGINTERN PyObject
*_wrap_Grid_YToRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
= 0;
11865 wxGrid
*arg1
= (wxGrid
*) 0 ;
11872 PyObject
* obj0
= 0 ;
11873 PyObject
* obj1
= 0 ;
11874 char * kwnames
[] = {
11875 (char *) "self",(char *) "y", NULL
11878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11880 if (!SWIG_IsOK(res1
)) {
11881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToRow" "', expected argument " "1"" of type '" "wxGrid *""'");
11883 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11885 if (!SWIG_IsOK(ecode2
)) {
11886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToRow" "', expected argument " "2"" of type '" "int""'");
11888 arg2
= static_cast< int >(val2
);
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (int)(arg1
)->YToRow(arg2
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= SWIG_From_int(static_cast< int >(result
));
11902 SWIGINTERN PyObject
*_wrap_Grid_XToCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
= 0;
11904 wxGrid
*arg1
= (wxGrid
*) 0 ;
11906 bool arg3
= (bool) false ;
11914 PyObject
* obj0
= 0 ;
11915 PyObject
* obj1
= 0 ;
11916 PyObject
* obj2
= 0 ;
11917 char * kwnames
[] = {
11918 (char *) "self",(char *) "x",(char *) "clipToMinMax", NULL
11921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_XToCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11923 if (!SWIG_IsOK(res1
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToCol" "', expected argument " "1"" of type '" "wxGrid *""'");
11926 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11928 if (!SWIG_IsOK(ecode2
)) {
11929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToCol" "', expected argument " "2"" of type '" "int""'");
11931 arg2
= static_cast< int >(val2
);
11933 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11934 if (!SWIG_IsOK(ecode3
)) {
11935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XToCol" "', expected argument " "3"" of type '" "bool""'");
11937 arg3
= static_cast< bool >(val3
);
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 result
= (int)(arg1
)->XToCol(arg2
,arg3
);
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 resultobj
= SWIG_From_int(static_cast< int >(result
));
11952 SWIGINTERN PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
= 0;
11954 wxGrid
*arg1
= (wxGrid
*) 0 ;
11961 PyObject
* obj0
= 0 ;
11962 PyObject
* obj1
= 0 ;
11963 char * kwnames
[] = {
11964 (char *) "self",(char *) "y", NULL
11967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11969 if (!SWIG_IsOK(res1
)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "1"" of type '" "wxGrid *""'");
11972 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11974 if (!SWIG_IsOK(ecode2
)) {
11975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "2"" of type '" "int""'");
11977 arg2
= static_cast< int >(val2
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_From_int(static_cast< int >(result
));
11991 SWIGINTERN PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
= 0;
11993 wxGrid
*arg1
= (wxGrid
*) 0 ;
12000 PyObject
* obj0
= 0 ;
12001 PyObject
* obj1
= 0 ;
12002 char * kwnames
[] = {
12003 (char *) "self",(char *) "x", NULL
12006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12008 if (!SWIG_IsOK(res1
)) {
12009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12011 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12013 if (!SWIG_IsOK(ecode2
)) {
12014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "2"" of type '" "int""'");
12016 arg2
= static_cast< int >(val2
);
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_From_int(static_cast< int >(result
));
12030 SWIGINTERN PyObject
*_wrap_Grid_CellToRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
= 0;
12032 wxGrid
*arg1
= (wxGrid
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 PyObject
* obj2
= 0 ;
12045 char * kwnames
[] = {
12046 (char *) "self",(char *) "row",(char *) "col", NULL
12049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12051 if (!SWIG_IsOK(res1
)) {
12052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CellToRect" "', expected argument " "1"" of type '" "wxGrid *""'");
12054 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12056 if (!SWIG_IsOK(ecode2
)) {
12057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CellToRect" "', expected argument " "2"" of type '" "int""'");
12059 arg2
= static_cast< int >(val2
);
12060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12061 if (!SWIG_IsOK(ecode3
)) {
12062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CellToRect" "', expected argument " "3"" of type '" "int""'");
12064 arg3
= static_cast< int >(val3
);
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (arg1
)->CellToRect(arg2
,arg3
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12078 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12079 PyObject
*resultobj
= 0;
12080 wxGrid
*arg1
= (wxGrid
*) 0 ;
12084 PyObject
*swig_obj
[1] ;
12086 if (!args
) SWIG_fail
;
12087 swig_obj
[0] = args
;
12088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12089 if (!SWIG_IsOK(res1
)) {
12090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12092 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (int)(arg1
)->GetGridCursorRow();
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_From_int(static_cast< int >(result
));
12106 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12107 PyObject
*resultobj
= 0;
12108 wxGrid
*arg1
= (wxGrid
*) 0 ;
12112 PyObject
*swig_obj
[1] ;
12114 if (!args
) SWIG_fail
;
12115 swig_obj
[0] = args
;
12116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12120 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (int)(arg1
)->GetGridCursorCol();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_From_int(static_cast< int >(result
));
12134 SWIGINTERN PyObject
*_wrap_Grid_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
= 0;
12136 wxGrid
*arg1
= (wxGrid
*) 0 ;
12139 bool arg4
= (bool) true ;
12149 PyObject
* obj0
= 0 ;
12150 PyObject
* obj1
= 0 ;
12151 PyObject
* obj2
= 0 ;
12152 PyObject
* obj3
= 0 ;
12153 char * kwnames
[] = {
12154 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
12157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12159 if (!SWIG_IsOK(res1
)) {
12160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12162 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12164 if (!SWIG_IsOK(ecode2
)) {
12165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsVisible" "', expected argument " "2"" of type '" "int""'");
12167 arg2
= static_cast< int >(val2
);
12168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12169 if (!SWIG_IsOK(ecode3
)) {
12170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsVisible" "', expected argument " "3"" of type '" "int""'");
12172 arg3
= static_cast< int >(val3
);
12174 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12175 if (!SWIG_IsOK(ecode4
)) {
12176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_IsVisible" "', expected argument " "4"" of type '" "bool""'");
12178 arg4
= static_cast< bool >(val4
);
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12195 SWIGINTERN PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
= 0;
12197 wxGrid
*arg1
= (wxGrid
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12207 PyObject
* obj1
= 0 ;
12208 PyObject
* obj2
= 0 ;
12209 char * kwnames
[] = {
12210 (char *) "self",(char *) "row",(char *) "col", NULL
12213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12215 if (!SWIG_IsOK(res1
)) {
12216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MakeCellVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12218 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12220 if (!SWIG_IsOK(ecode2
)) {
12221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MakeCellVisible" "', expected argument " "2"" of type '" "int""'");
12223 arg2
= static_cast< int >(val2
);
12224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12225 if (!SWIG_IsOK(ecode3
)) {
12226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_MakeCellVisible" "', expected argument " "3"" of type '" "int""'");
12228 arg3
= static_cast< int >(val3
);
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->MakeCellVisible(arg2
,arg3
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_Py_Void();
12242 SWIGINTERN PyObject
*_wrap_Grid_SetGridCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
= 0;
12244 wxGrid
*arg1
= (wxGrid
*) 0 ;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 PyObject
* obj2
= 0 ;
12256 char * kwnames
[] = {
12257 (char *) "self",(char *) "row",(char *) "col", NULL
12260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12262 if (!SWIG_IsOK(res1
)) {
12263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridCursor" "', expected argument " "1"" of type '" "wxGrid *""'");
12265 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12267 if (!SWIG_IsOK(ecode2
)) {
12268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetGridCursor" "', expected argument " "2"" of type '" "int""'");
12270 arg2
= static_cast< int >(val2
);
12271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12272 if (!SWIG_IsOK(ecode3
)) {
12273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetGridCursor" "', expected argument " "3"" of type '" "int""'");
12275 arg3
= static_cast< int >(val3
);
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 (arg1
)->SetGridCursor(arg2
,arg3
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= SWIG_Py_Void();
12289 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
= 0;
12291 wxGrid
*arg1
= (wxGrid
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 char * kwnames
[] = {
12301 (char *) "self",(char *) "expandSelection", NULL
12304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12306 if (!SWIG_IsOK(res1
)) {
12307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12309 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12310 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12311 if (!SWIG_IsOK(ecode2
)) {
12312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUp" "', expected argument " "2"" of type '" "bool""'");
12314 arg2
= static_cast< bool >(val2
);
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12330 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
= 0;
12332 wxGrid
*arg1
= (wxGrid
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 PyObject
* obj1
= 0 ;
12341 char * kwnames
[] = {
12342 (char *) "self",(char *) "expandSelection", NULL
12345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12347 if (!SWIG_IsOK(res1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12350 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12351 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12352 if (!SWIG_IsOK(ecode2
)) {
12353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDown" "', expected argument " "2"" of type '" "bool""'");
12355 arg2
= static_cast< bool >(val2
);
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12371 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= 0;
12373 wxGrid
*arg1
= (wxGrid
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 char * kwnames
[] = {
12383 (char *) "self",(char *) "expandSelection", NULL
12386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12388 if (!SWIG_IsOK(res1
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "1"" of type '" "wxGrid *""'");
12391 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12392 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12393 if (!SWIG_IsOK(ecode2
)) {
12394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "2"" of type '" "bool""'");
12396 arg2
= static_cast< bool >(val2
);
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12412 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
= 0;
12414 wxGrid
*arg1
= (wxGrid
*) 0 ;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 char * kwnames
[] = {
12424 (char *) "self",(char *) "expandSelection", NULL
12427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12429 if (!SWIG_IsOK(res1
)) {
12430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRight" "', expected argument " "1"" of type '" "wxGrid *""'");
12432 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12433 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12434 if (!SWIG_IsOK(ecode2
)) {
12435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRight" "', expected argument " "2"" of type '" "bool""'");
12437 arg2
= static_cast< bool >(val2
);
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12453 SWIGINTERN PyObject
*_wrap_Grid_MovePageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12454 PyObject
*resultobj
= 0;
12455 wxGrid
*arg1
= (wxGrid
*) 0 ;
12459 PyObject
*swig_obj
[1] ;
12461 if (!args
) SWIG_fail
;
12462 swig_obj
[0] = args
;
12463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12464 if (!SWIG_IsOK(res1
)) {
12465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12467 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (bool)(arg1
)->MovePageDown();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12483 SWIGINTERN PyObject
*_wrap_Grid_MovePageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12484 PyObject
*resultobj
= 0;
12485 wxGrid
*arg1
= (wxGrid
*) 0 ;
12489 PyObject
*swig_obj
[1] ;
12491 if (!args
) SWIG_fail
;
12492 swig_obj
[0] = args
;
12493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12494 if (!SWIG_IsOK(res1
)) {
12495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12497 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (bool)(arg1
)->MovePageUp();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12513 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
= 0;
12515 wxGrid
*arg1
= (wxGrid
*) 0 ;
12522 PyObject
* obj0
= 0 ;
12523 PyObject
* obj1
= 0 ;
12524 char * kwnames
[] = {
12525 (char *) "self",(char *) "expandSelection", NULL
12528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12533 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12534 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12535 if (!SWIG_IsOK(ecode2
)) {
12536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "2"" of type '" "bool""'");
12538 arg2
= static_cast< bool >(val2
);
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12554 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
= 0;
12556 wxGrid
*arg1
= (wxGrid
*) 0 ;
12563 PyObject
* obj0
= 0 ;
12564 PyObject
* obj1
= 0 ;
12565 char * kwnames
[] = {
12566 (char *) "self",(char *) "expandSelection", NULL
12569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12571 if (!SWIG_IsOK(res1
)) {
12572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12574 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12575 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12576 if (!SWIG_IsOK(ecode2
)) {
12577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "2"" of type '" "bool""'");
12579 arg2
= static_cast< bool >(val2
);
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12595 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
= 0;
12597 wxGrid
*arg1
= (wxGrid
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 char * kwnames
[] = {
12607 (char *) "self",(char *) "expandSelection", NULL
12610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12612 if (!SWIG_IsOK(res1
)) {
12613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12615 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12616 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12617 if (!SWIG_IsOK(ecode2
)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "2"" of type '" "bool""'");
12620 arg2
= static_cast< bool >(val2
);
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12636 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
= 0;
12638 wxGrid
*arg1
= (wxGrid
*) 0 ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 char * kwnames
[] = {
12648 (char *) "self",(char *) "expandSelection", NULL
12651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12653 if (!SWIG_IsOK(res1
)) {
12654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12656 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12657 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12658 if (!SWIG_IsOK(ecode2
)) {
12659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "2"" of type '" "bool""'");
12661 arg2
= static_cast< bool >(val2
);
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12677 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12678 PyObject
*resultobj
= 0;
12679 wxGrid
*arg1
= (wxGrid
*) 0 ;
12683 PyObject
*swig_obj
[1] ;
12685 if (!args
) SWIG_fail
;
12686 swig_obj
[0] = args
;
12687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12688 if (!SWIG_IsOK(res1
)) {
12689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12691 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 result
= (int)(arg1
)->GetDefaultRowLabelSize();
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12698 resultobj
= SWIG_From_int(static_cast< int >(result
));
12705 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12706 PyObject
*resultobj
= 0;
12707 wxGrid
*arg1
= (wxGrid
*) 0 ;
12711 PyObject
*swig_obj
[1] ;
12713 if (!args
) SWIG_fail
;
12714 swig_obj
[0] = args
;
12715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12716 if (!SWIG_IsOK(res1
)) {
12717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12719 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (int)(arg1
)->GetRowLabelSize();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= SWIG_From_int(static_cast< int >(result
));
12733 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12734 PyObject
*resultobj
= 0;
12735 wxGrid
*arg1
= (wxGrid
*) 0 ;
12739 PyObject
*swig_obj
[1] ;
12741 if (!args
) SWIG_fail
;
12742 swig_obj
[0] = args
;
12743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12744 if (!SWIG_IsOK(res1
)) {
12745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12747 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 result
= (int)(arg1
)->GetDefaultColLabelSize();
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 resultobj
= SWIG_From_int(static_cast< int >(result
));
12761 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12762 PyObject
*resultobj
= 0;
12763 wxGrid
*arg1
= (wxGrid
*) 0 ;
12767 PyObject
*swig_obj
[1] ;
12769 if (!args
) SWIG_fail
;
12770 swig_obj
[0] = args
;
12771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12772 if (!SWIG_IsOK(res1
)) {
12773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12775 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (int)(arg1
)->GetColLabelSize();
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= SWIG_From_int(static_cast< int >(result
));
12789 SWIGINTERN PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12790 PyObject
*resultobj
= 0;
12791 wxGrid
*arg1
= (wxGrid
*) 0 ;
12795 PyObject
*swig_obj
[1] ;
12797 if (!args
) SWIG_fail
;
12798 swig_obj
[0] = args
;
12799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12800 if (!SWIG_IsOK(res1
)) {
12801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
12803 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= (arg1
)->GetLabelBackgroundColour();
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
12817 SWIGINTERN PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12818 PyObject
*resultobj
= 0;
12819 wxGrid
*arg1
= (wxGrid
*) 0 ;
12823 PyObject
*swig_obj
[1] ;
12825 if (!args
) SWIG_fail
;
12826 swig_obj
[0] = args
;
12827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
12831 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (arg1
)->GetLabelTextColour();
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12838 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
12845 SWIGINTERN PyObject
*_wrap_Grid_GetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12846 PyObject
*resultobj
= 0;
12847 wxGrid
*arg1
= (wxGrid
*) 0 ;
12851 PyObject
*swig_obj
[1] ;
12853 if (!args
) SWIG_fail
;
12854 swig_obj
[0] = args
;
12855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12856 if (!SWIG_IsOK(res1
)) {
12857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
12859 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 result
= (arg1
)->GetLabelFont();
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12873 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12874 PyObject
*resultobj
= 0;
12875 wxGrid
*arg1
= (wxGrid
*) 0 ;
12876 int *arg2
= (int *) 0 ;
12877 int *arg3
= (int *) 0 ;
12881 int res2
= SWIG_TMPOBJ
;
12883 int res3
= SWIG_TMPOBJ
;
12884 PyObject
*swig_obj
[1] ;
12888 if (!args
) SWIG_fail
;
12889 swig_obj
[0] = args
;
12890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12891 if (!SWIG_IsOK(res1
)) {
12892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
12894 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= SWIG_Py_Void();
12902 if (SWIG_IsTmpObj(res2
)) {
12903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
12905 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
12908 if (SWIG_IsTmpObj(res3
)) {
12909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
12911 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
12920 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12921 PyObject
*resultobj
= 0;
12922 wxGrid
*arg1
= (wxGrid
*) 0 ;
12923 int *arg2
= (int *) 0 ;
12924 int *arg3
= (int *) 0 ;
12928 int res2
= SWIG_TMPOBJ
;
12930 int res3
= SWIG_TMPOBJ
;
12931 PyObject
*swig_obj
[1] ;
12935 if (!args
) SWIG_fail
;
12936 swig_obj
[0] = args
;
12937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12938 if (!SWIG_IsOK(res1
)) {
12939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
12941 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= SWIG_Py_Void();
12949 if (SWIG_IsTmpObj(res2
)) {
12950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
12952 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
12955 if (SWIG_IsTmpObj(res3
)) {
12956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
12958 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
12967 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 PyObject
*resultobj
= 0;
12969 wxGrid
*arg1
= (wxGrid
*) 0 ;
12973 PyObject
*swig_obj
[1] ;
12975 if (!args
) SWIG_fail
;
12976 swig_obj
[0] = args
;
12977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12978 if (!SWIG_IsOK(res1
)) {
12979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
12981 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (int)(arg1
)->GetColLabelTextOrientation();
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= SWIG_From_int(static_cast< int >(result
));
12995 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
= 0;
12997 wxGrid
*arg1
= (wxGrid
*) 0 ;
13004 PyObject
* obj0
= 0 ;
13005 PyObject
* obj1
= 0 ;
13006 char * kwnames
[] = {
13007 (char *) "self",(char *) "row", NULL
13010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13012 if (!SWIG_IsOK(res1
)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13015 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13017 if (!SWIG_IsOK(ecode2
)) {
13018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13020 arg2
= static_cast< int >(val2
);
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= (arg1
)->GetRowLabelValue(arg2
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13040 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= 0;
13042 wxGrid
*arg1
= (wxGrid
*) 0 ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 char * kwnames
[] = {
13052 (char *) "self",(char *) "col", NULL
13055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13057 if (!SWIG_IsOK(res1
)) {
13058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13060 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13062 if (!SWIG_IsOK(ecode2
)) {
13063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13065 arg2
= static_cast< int >(val2
);
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (arg1
)->GetColLabelValue(arg2
);
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13085 SWIGINTERN PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13086 PyObject
*resultobj
= 0;
13087 wxGrid
*arg1
= (wxGrid
*) 0 ;
13091 PyObject
*swig_obj
[1] ;
13093 if (!args
) SWIG_fail
;
13094 swig_obj
[0] = args
;
13095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13096 if (!SWIG_IsOK(res1
)) {
13097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13099 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 result
= (arg1
)->GetGridLineColour();
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13113 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13114 PyObject
*resultobj
= 0;
13115 wxGrid
*arg1
= (wxGrid
*) 0 ;
13119 PyObject
*swig_obj
[1] ;
13121 if (!args
) SWIG_fail
;
13122 swig_obj
[0] = args
;
13123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13124 if (!SWIG_IsOK(res1
)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13127 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 result
= (arg1
)->GetCellHighlightColour();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13141 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13142 PyObject
*resultobj
= 0;
13143 wxGrid
*arg1
= (wxGrid
*) 0 ;
13147 PyObject
*swig_obj
[1] ;
13149 if (!args
) SWIG_fail
;
13150 swig_obj
[0] = args
;
13151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13152 if (!SWIG_IsOK(res1
)) {
13153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13155 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= (int)(arg1
)->GetCellHighlightPenWidth();
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 resultobj
= SWIG_From_int(static_cast< int >(result
));
13169 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13170 PyObject
*resultobj
= 0;
13171 wxGrid
*arg1
= (wxGrid
*) 0 ;
13175 PyObject
*swig_obj
[1] ;
13177 if (!args
) SWIG_fail
;
13178 swig_obj
[0] = args
;
13179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13180 if (!SWIG_IsOK(res1
)) {
13181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13183 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13190 resultobj
= SWIG_From_int(static_cast< int >(result
));
13197 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
= 0;
13199 wxGrid
*arg1
= (wxGrid
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 PyObject
* obj1
= 0 ;
13207 char * kwnames
[] = {
13208 (char *) "self",(char *) "width", NULL
13211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13213 if (!SWIG_IsOK(res1
)) {
13214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13216 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13218 if (!SWIG_IsOK(ecode2
)) {
13219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "2"" of type '" "int""'");
13221 arg2
= static_cast< int >(val2
);
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 (arg1
)->SetRowLabelSize(arg2
);
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= SWIG_Py_Void();
13235 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
= 0;
13237 wxGrid
*arg1
= (wxGrid
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 PyObject
* obj1
= 0 ;
13245 char * kwnames
[] = {
13246 (char *) "self",(char *) "height", NULL
13249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13254 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13256 if (!SWIG_IsOK(ecode2
)) {
13257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelSize" "', expected argument " "2"" of type '" "int""'");
13259 arg2
= static_cast< int >(val2
);
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 (arg1
)->SetColLabelSize(arg2
);
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= SWIG_Py_Void();
13273 SWIGINTERN PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
= 0;
13275 wxGrid
*arg1
= (wxGrid
*) 0 ;
13276 wxColour
*arg2
= 0 ;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 char * kwnames
[] = {
13283 (char *) "self",(char *)"arg2", NULL
13286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13288 if (!SWIG_IsOK(res1
)) {
13289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13291 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13294 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= SWIG_Py_Void();
13309 SWIGINTERN PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
= 0;
13311 wxGrid
*arg1
= (wxGrid
*) 0 ;
13312 wxColour
*arg2
= 0 ;
13316 PyObject
* obj0
= 0 ;
13317 PyObject
* obj1
= 0 ;
13318 char * kwnames
[] = {
13319 (char *) "self",(char *)"arg2", NULL
13322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13324 if (!SWIG_IsOK(res1
)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13327 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13330 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_Py_Void();
13345 SWIGINTERN PyObject
*_wrap_Grid_SetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
= 0;
13347 wxGrid
*arg1
= (wxGrid
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 PyObject
* obj1
= 0 ;
13355 char * kwnames
[] = {
13356 (char *) "self",(char *)"arg2", NULL
13359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13361 if (!SWIG_IsOK(res1
)) {
13362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
13364 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
13366 if (!SWIG_IsOK(res2
)) {
13367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13372 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= SWIG_Py_Void();
13386 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
= 0;
13388 wxGrid
*arg1
= (wxGrid
*) 0 ;
13397 PyObject
* obj0
= 0 ;
13398 PyObject
* obj1
= 0 ;
13399 PyObject
* obj2
= 0 ;
13400 char * kwnames
[] = {
13401 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13406 if (!SWIG_IsOK(res1
)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13409 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13411 if (!SWIG_IsOK(ecode2
)) {
13412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13414 arg2
= static_cast< int >(val2
);
13415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13416 if (!SWIG_IsOK(ecode3
)) {
13417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13419 arg3
= static_cast< int >(val3
);
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= SWIG_Py_Void();
13433 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
= 0;
13435 wxGrid
*arg1
= (wxGrid
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 PyObject
* obj2
= 0 ;
13447 char * kwnames
[] = {
13448 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13453 if (!SWIG_IsOK(res1
)) {
13454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13456 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13458 if (!SWIG_IsOK(ecode2
)) {
13459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13461 arg2
= static_cast< int >(val2
);
13462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13463 if (!SWIG_IsOK(ecode3
)) {
13464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13466 arg3
= static_cast< int >(val3
);
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_Py_Void();
13480 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
= 0;
13482 wxGrid
*arg1
= (wxGrid
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 char * kwnames
[] = {
13491 (char *) "self",(char *) "textOrientation", NULL
13494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13496 if (!SWIG_IsOK(res1
)) {
13497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
13499 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13501 if (!SWIG_IsOK(ecode2
)) {
13502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "2"" of type '" "int""'");
13504 arg2
= static_cast< int >(val2
);
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 (arg1
)->SetColLabelTextOrientation(arg2
);
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= SWIG_Py_Void();
13518 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
= 0;
13520 wxGrid
*arg1
= (wxGrid
*) 0 ;
13522 wxString
*arg3
= 0 ;
13527 bool temp3
= false ;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 PyObject
* obj2
= 0 ;
13531 char * kwnames
[] = {
13532 (char *) "self",(char *) "row",(char *)"arg3", NULL
13535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13537 if (!SWIG_IsOK(res1
)) {
13538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13540 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13542 if (!SWIG_IsOK(ecode2
)) {
13543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13545 arg2
= static_cast< int >(val2
);
13547 arg3
= wxString_in_helper(obj2
);
13548 if (arg3
== NULL
) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_Py_Void();
13572 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
= 0;
13574 wxGrid
*arg1
= (wxGrid
*) 0 ;
13576 wxString
*arg3
= 0 ;
13581 bool temp3
= false ;
13582 PyObject
* obj0
= 0 ;
13583 PyObject
* obj1
= 0 ;
13584 PyObject
* obj2
= 0 ;
13585 char * kwnames
[] = {
13586 (char *) "self",(char *) "col",(char *)"arg3", NULL
13589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13591 if (!SWIG_IsOK(res1
)) {
13592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13594 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13596 if (!SWIG_IsOK(ecode2
)) {
13597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13599 arg2
= static_cast< int >(val2
);
13601 arg3
= wxString_in_helper(obj2
);
13602 if (arg3
== NULL
) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= SWIG_Py_Void();
13626 SWIGINTERN PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
= 0;
13628 wxGrid
*arg1
= (wxGrid
*) 0 ;
13629 wxColour
*arg2
= 0 ;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 char * kwnames
[] = {
13636 (char *) "self",(char *)"arg2", NULL
13639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13641 if (!SWIG_IsOK(res1
)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13644 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13647 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= SWIG_Py_Void();
13662 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
= 0;
13664 wxGrid
*arg1
= (wxGrid
*) 0 ;
13665 wxColour
*arg2
= 0 ;
13669 PyObject
* obj0
= 0 ;
13670 PyObject
* obj1
= 0 ;
13671 char * kwnames
[] = {
13672 (char *) "self",(char *)"arg2", NULL
13675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13677 if (!SWIG_IsOK(res1
)) {
13678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13680 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13683 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= SWIG_Py_Void();
13698 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
= 0;
13700 wxGrid
*arg1
= (wxGrid
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 char * kwnames
[] = {
13709 (char *) "self",(char *) "width", NULL
13712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13714 if (!SWIG_IsOK(res1
)) {
13715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13717 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13719 if (!SWIG_IsOK(ecode2
)) {
13720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "2"" of type '" "int""'");
13722 arg2
= static_cast< int >(val2
);
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 (arg1
)->SetCellHighlightPenWidth(arg2
);
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= SWIG_Py_Void();
13736 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13737 PyObject
*resultobj
= 0;
13738 wxGrid
*arg1
= (wxGrid
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 char * kwnames
[] = {
13747 (char *) "self",(char *) "width", NULL
13750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13752 if (!SWIG_IsOK(res1
)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13755 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13757 if (!SWIG_IsOK(ecode2
)) {
13758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "2"" of type '" "int""'");
13760 arg2
= static_cast< int >(val2
);
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 (arg1
)->SetCellHighlightROPenWidth(arg2
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= SWIG_Py_Void();
13774 SWIGINTERN PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
= 0;
13776 wxGrid
*arg1
= (wxGrid
*) 0 ;
13777 bool arg2
= (bool) true ;
13782 PyObject
* obj0
= 0 ;
13783 PyObject
* obj1
= 0 ;
13784 char * kwnames
[] = {
13785 (char *) "self",(char *) "enable", NULL
13788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13790 if (!SWIG_IsOK(res1
)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13793 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13796 if (!SWIG_IsOK(ecode2
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "2"" of type '" "bool""'");
13799 arg2
= static_cast< bool >(val2
);
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 (arg1
)->EnableDragRowSize(arg2
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= SWIG_Py_Void();
13814 SWIGINTERN PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13815 PyObject
*resultobj
= 0;
13816 wxGrid
*arg1
= (wxGrid
*) 0 ;
13819 PyObject
*swig_obj
[1] ;
13821 if (!args
) SWIG_fail
;
13822 swig_obj
[0] = args
;
13823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13824 if (!SWIG_IsOK(res1
)) {
13825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13827 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 (arg1
)->DisableDragRowSize();
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= SWIG_Py_Void();
13841 SWIGINTERN PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13842 PyObject
*resultobj
= 0;
13843 wxGrid
*arg1
= (wxGrid
*) 0 ;
13847 PyObject
*swig_obj
[1] ;
13849 if (!args
) SWIG_fail
;
13850 swig_obj
[0] = args
;
13851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13852 if (!SWIG_IsOK(res1
)) {
13853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13855 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= (bool)(arg1
)->CanDragRowSize();
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13871 SWIGINTERN PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
= 0;
13873 wxGrid
*arg1
= (wxGrid
*) 0 ;
13874 bool arg2
= (bool) true ;
13879 PyObject
* obj0
= 0 ;
13880 PyObject
* obj1
= 0 ;
13881 char * kwnames
[] = {
13882 (char *) "self",(char *) "enable", NULL
13885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13887 if (!SWIG_IsOK(res1
)) {
13888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13890 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13892 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13893 if (!SWIG_IsOK(ecode2
)) {
13894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColSize" "', expected argument " "2"" of type '" "bool""'");
13896 arg2
= static_cast< bool >(val2
);
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 (arg1
)->EnableDragColSize(arg2
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= SWIG_Py_Void();
13911 SWIGINTERN PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13912 PyObject
*resultobj
= 0;
13913 wxGrid
*arg1
= (wxGrid
*) 0 ;
13916 PyObject
*swig_obj
[1] ;
13918 if (!args
) SWIG_fail
;
13919 swig_obj
[0] = args
;
13920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13921 if (!SWIG_IsOK(res1
)) {
13922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13924 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 (arg1
)->DisableDragColSize();
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= SWIG_Py_Void();
13938 SWIGINTERN PyObject
*_wrap_Grid_CanDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13939 PyObject
*resultobj
= 0;
13940 wxGrid
*arg1
= (wxGrid
*) 0 ;
13944 PyObject
*swig_obj
[1] ;
13946 if (!args
) SWIG_fail
;
13947 swig_obj
[0] = args
;
13948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13949 if (!SWIG_IsOK(res1
)) {
13950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13952 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (bool)(arg1
)->CanDragColSize();
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13968 SWIGINTERN PyObject
*_wrap_Grid_EnableDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
= 0;
13970 wxGrid
*arg1
= (wxGrid
*) 0 ;
13971 bool arg2
= (bool) true ;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 char * kwnames
[] = {
13979 (char *) "self",(char *) "enable", NULL
13982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColMove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13984 if (!SWIG_IsOK(res1
)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
13987 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13989 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13990 if (!SWIG_IsOK(ecode2
)) {
13991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColMove" "', expected argument " "2"" of type '" "bool""'");
13993 arg2
= static_cast< bool >(val2
);
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 (arg1
)->EnableDragColMove(arg2
);
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= SWIG_Py_Void();
14008 SWIGINTERN PyObject
*_wrap_Grid_DisableDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14009 PyObject
*resultobj
= 0;
14010 wxGrid
*arg1
= (wxGrid
*) 0 ;
14013 PyObject
*swig_obj
[1] ;
14015 if (!args
) SWIG_fail
;
14016 swig_obj
[0] = args
;
14017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14018 if (!SWIG_IsOK(res1
)) {
14019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14021 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 (arg1
)->DisableDragColMove();
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_Py_Void();
14035 SWIGINTERN PyObject
*_wrap_Grid_CanDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14036 PyObject
*resultobj
= 0;
14037 wxGrid
*arg1
= (wxGrid
*) 0 ;
14041 PyObject
*swig_obj
[1] ;
14043 if (!args
) SWIG_fail
;
14044 swig_obj
[0] = args
;
14045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14046 if (!SWIG_IsOK(res1
)) {
14047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14049 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (bool)(arg1
)->CanDragColMove();
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14065 SWIGINTERN PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14066 PyObject
*resultobj
= 0;
14067 wxGrid
*arg1
= (wxGrid
*) 0 ;
14068 bool arg2
= (bool) true ;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 char * kwnames
[] = {
14076 (char *) "self",(char *) "enable", NULL
14079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14081 if (!SWIG_IsOK(res1
)) {
14082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14084 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14086 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14087 if (!SWIG_IsOK(ecode2
)) {
14088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "2"" of type '" "bool""'");
14090 arg2
= static_cast< bool >(val2
);
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 (arg1
)->EnableDragGridSize(arg2
);
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= SWIG_Py_Void();
14105 SWIGINTERN PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14106 PyObject
*resultobj
= 0;
14107 wxGrid
*arg1
= (wxGrid
*) 0 ;
14110 PyObject
*swig_obj
[1] ;
14112 if (!args
) SWIG_fail
;
14113 swig_obj
[0] = args
;
14114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14115 if (!SWIG_IsOK(res1
)) {
14116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14118 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 (arg1
)->DisableDragGridSize();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= SWIG_Py_Void();
14132 SWIGINTERN PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14133 PyObject
*resultobj
= 0;
14134 wxGrid
*arg1
= (wxGrid
*) 0 ;
14138 PyObject
*swig_obj
[1] ;
14140 if (!args
) SWIG_fail
;
14141 swig_obj
[0] = args
;
14142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14143 if (!SWIG_IsOK(res1
)) {
14144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14146 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (bool)(arg1
)->CanDragGridSize();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14162 SWIGINTERN PyObject
*_wrap_Grid_EnableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
= 0;
14164 wxGrid
*arg1
= (wxGrid
*) 0 ;
14165 bool arg2
= (bool) true ;
14170 PyObject
* obj0
= 0 ;
14171 PyObject
* obj1
= 0 ;
14172 char * kwnames
[] = {
14173 (char *) "self",(char *) "enable", NULL
14176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14178 if (!SWIG_IsOK(res1
)) {
14179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14181 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14183 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14184 if (!SWIG_IsOK(ecode2
)) {
14185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragCell" "', expected argument " "2"" of type '" "bool""'");
14187 arg2
= static_cast< bool >(val2
);
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 (arg1
)->EnableDragCell(arg2
);
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= SWIG_Py_Void();
14202 SWIGINTERN PyObject
*_wrap_Grid_DisableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14203 PyObject
*resultobj
= 0;
14204 wxGrid
*arg1
= (wxGrid
*) 0 ;
14207 PyObject
*swig_obj
[1] ;
14209 if (!args
) SWIG_fail
;
14210 swig_obj
[0] = args
;
14211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14212 if (!SWIG_IsOK(res1
)) {
14213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14215 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 (arg1
)->DisableDragCell();
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= SWIG_Py_Void();
14229 SWIGINTERN PyObject
*_wrap_Grid_CanDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14230 PyObject
*resultobj
= 0;
14231 wxGrid
*arg1
= (wxGrid
*) 0 ;
14235 PyObject
*swig_obj
[1] ;
14237 if (!args
) SWIG_fail
;
14238 swig_obj
[0] = args
;
14239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14240 if (!SWIG_IsOK(res1
)) {
14241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14243 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 result
= (bool)(arg1
)->CanDragCell();
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14259 SWIGINTERN PyObject
*_wrap_Grid_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
= 0;
14261 wxGrid
*arg1
= (wxGrid
*) 0 ;
14264 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 PyObject
* obj2
= 0 ;
14276 PyObject
* obj3
= 0 ;
14277 char * kwnames
[] = {
14278 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
14281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14283 if (!SWIG_IsOK(res1
)) {
14284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14286 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14288 if (!SWIG_IsOK(ecode2
)) {
14289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetAttr" "', expected argument " "2"" of type '" "int""'");
14291 arg2
= static_cast< int >(val2
);
14292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14293 if (!SWIG_IsOK(ecode3
)) {
14294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetAttr" "', expected argument " "3"" of type '" "int""'");
14296 arg3
= static_cast< int >(val3
);
14297 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14298 if (!SWIG_IsOK(res4
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr *""'");
14301 arg4
= reinterpret_cast< wxGridCellAttr
* >(argp4
);
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_Py_Void();
14315 SWIGINTERN PyObject
*_wrap_Grid_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
= 0;
14317 wxGrid
*arg1
= (wxGrid
*) 0 ;
14319 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 PyObject
* obj2
= 0 ;
14329 char * kwnames
[] = {
14330 (char *) "self",(char *) "row",(char *) "attr", NULL
14333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14335 if (!SWIG_IsOK(res1
)) {
14336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14338 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14340 if (!SWIG_IsOK(ecode2
)) {
14341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowAttr" "', expected argument " "2"" of type '" "int""'");
14343 arg2
= static_cast< int >(val2
);
14344 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14345 if (!SWIG_IsOK(res3
)) {
14346 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetRowAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14348 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 (arg1
)->SetRowAttr(arg2
,arg3
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 resultobj
= SWIG_Py_Void();
14362 SWIGINTERN PyObject
*_wrap_Grid_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
= 0;
14364 wxGrid
*arg1
= (wxGrid
*) 0 ;
14366 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14373 PyObject
* obj0
= 0 ;
14374 PyObject
* obj1
= 0 ;
14375 PyObject
* obj2
= 0 ;
14376 char * kwnames
[] = {
14377 (char *) "self",(char *) "col",(char *) "attr", NULL
14380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14382 if (!SWIG_IsOK(res1
)) {
14383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14385 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14387 if (!SWIG_IsOK(ecode2
)) {
14388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColAttr" "', expected argument " "2"" of type '" "int""'");
14390 arg2
= static_cast< int >(val2
);
14391 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14392 if (!SWIG_IsOK(res3
)) {
14393 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetColAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14395 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 (arg1
)->SetColAttr(arg2
,arg3
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_Py_Void();
14409 SWIGINTERN PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
= 0;
14411 wxGrid
*arg1
= (wxGrid
*) 0 ;
14414 wxGridCellAttr
*result
= 0 ;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 PyObject
* obj2
= 0 ;
14424 char * kwnames
[] = {
14425 (char *) "self",(char *) "row",(char *) "col", NULL
14428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14430 if (!SWIG_IsOK(res1
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "1"" of type '" "wxGrid const *""'");
14433 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14435 if (!SWIG_IsOK(ecode2
)) {
14436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "2"" of type '" "int""'");
14438 arg2
= static_cast< int >(val2
);
14439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14440 if (!SWIG_IsOK(ecode3
)) {
14441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "3"" of type '" "int""'");
14443 arg3
= static_cast< int >(val3
);
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
14459 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
= 0;
14461 wxGrid
*arg1
= (wxGrid
*) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 PyObject
* obj1
= 0 ;
14469 char * kwnames
[] = {
14470 (char *) "self",(char *) "col", NULL
14473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14475 if (!SWIG_IsOK(res1
)) {
14476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatBool" "', expected argument " "1"" of type '" "wxGrid *""'");
14478 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14480 if (!SWIG_IsOK(ecode2
)) {
14481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatBool" "', expected argument " "2"" of type '" "int""'");
14483 arg2
= static_cast< int >(val2
);
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 (arg1
)->SetColFormatBool(arg2
);
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= SWIG_Py_Void();
14497 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
= 0;
14499 wxGrid
*arg1
= (wxGrid
*) 0 ;
14505 PyObject
* obj0
= 0 ;
14506 PyObject
* obj1
= 0 ;
14507 char * kwnames
[] = {
14508 (char *) "self",(char *) "col", NULL
14511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14513 if (!SWIG_IsOK(res1
)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "1"" of type '" "wxGrid *""'");
14516 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14518 if (!SWIG_IsOK(ecode2
)) {
14519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "2"" of type '" "int""'");
14521 arg2
= static_cast< int >(val2
);
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 (arg1
)->SetColFormatNumber(arg2
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= SWIG_Py_Void();
14535 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
= 0;
14537 wxGrid
*arg1
= (wxGrid
*) 0 ;
14539 int arg3
= (int) -1 ;
14540 int arg4
= (int) -1 ;
14549 PyObject
* obj0
= 0 ;
14550 PyObject
* obj1
= 0 ;
14551 PyObject
* obj2
= 0 ;
14552 PyObject
* obj3
= 0 ;
14553 char * kwnames
[] = {
14554 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
14557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14559 if (!SWIG_IsOK(res1
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "1"" of type '" "wxGrid *""'");
14562 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14564 if (!SWIG_IsOK(ecode2
)) {
14565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "2"" of type '" "int""'");
14567 arg2
= static_cast< int >(val2
);
14569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14570 if (!SWIG_IsOK(ecode3
)) {
14571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "3"" of type '" "int""'");
14573 arg3
= static_cast< int >(val3
);
14576 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14577 if (!SWIG_IsOK(ecode4
)) {
14578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "4"" of type '" "int""'");
14580 arg4
= static_cast< int >(val4
);
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= SWIG_Py_Void();
14595 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
= 0;
14597 wxGrid
*arg1
= (wxGrid
*) 0 ;
14599 wxString
*arg3
= 0 ;
14604 bool temp3
= false ;
14605 PyObject
* obj0
= 0 ;
14606 PyObject
* obj1
= 0 ;
14607 PyObject
* obj2
= 0 ;
14608 char * kwnames
[] = {
14609 (char *) "self",(char *) "col",(char *) "typeName", NULL
14612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14614 if (!SWIG_IsOK(res1
)) {
14615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "1"" of type '" "wxGrid *""'");
14617 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14619 if (!SWIG_IsOK(ecode2
)) {
14620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "2"" of type '" "int""'");
14622 arg2
= static_cast< int >(val2
);
14624 arg3
= wxString_in_helper(obj2
);
14625 if (arg3
== NULL
) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= SWIG_Py_Void();
14649 SWIGINTERN PyObject
*_wrap_Grid_EnableGridLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
= 0;
14651 wxGrid
*arg1
= (wxGrid
*) 0 ;
14652 bool arg2
= (bool) true ;
14657 PyObject
* obj0
= 0 ;
14658 PyObject
* obj1
= 0 ;
14659 char * kwnames
[] = {
14660 (char *) "self",(char *) "enable", NULL
14663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14665 if (!SWIG_IsOK(res1
)) {
14666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableGridLines" "', expected argument " "1"" of type '" "wxGrid *""'");
14668 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14670 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14671 if (!SWIG_IsOK(ecode2
)) {
14672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableGridLines" "', expected argument " "2"" of type '" "bool""'");
14674 arg2
= static_cast< bool >(val2
);
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 (arg1
)->EnableGridLines(arg2
);
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= SWIG_Py_Void();
14689 SWIGINTERN PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14690 PyObject
*resultobj
= 0;
14691 wxGrid
*arg1
= (wxGrid
*) 0 ;
14695 PyObject
*swig_obj
[1] ;
14697 if (!args
) SWIG_fail
;
14698 swig_obj
[0] = args
;
14699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14700 if (!SWIG_IsOK(res1
)) {
14701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GridLinesEnabled" "', expected argument " "1"" of type '" "wxGrid *""'");
14703 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (bool)(arg1
)->GridLinesEnabled();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14719 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14720 PyObject
*resultobj
= 0;
14721 wxGrid
*arg1
= (wxGrid
*) 0 ;
14725 PyObject
*swig_obj
[1] ;
14727 if (!args
) SWIG_fail
;
14728 swig_obj
[0] = args
;
14729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14730 if (!SWIG_IsOK(res1
)) {
14731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14733 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (int)(arg1
)->GetDefaultRowSize();
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= SWIG_From_int(static_cast< int >(result
));
14747 SWIGINTERN PyObject
*_wrap_Grid_GetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
= 0;
14749 wxGrid
*arg1
= (wxGrid
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 char * kwnames
[] = {
14759 (char *) "self",(char *) "row", NULL
14762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14764 if (!SWIG_IsOK(res1
)) {
14765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14767 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14769 if (!SWIG_IsOK(ecode2
)) {
14770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowSize" "', expected argument " "2"" of type '" "int""'");
14772 arg2
= static_cast< int >(val2
);
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 result
= (int)(arg1
)->GetRowSize(arg2
);
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= SWIG_From_int(static_cast< int >(result
));
14786 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14787 PyObject
*resultobj
= 0;
14788 wxGrid
*arg1
= (wxGrid
*) 0 ;
14792 PyObject
*swig_obj
[1] ;
14794 if (!args
) SWIG_fail
;
14795 swig_obj
[0] = args
;
14796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14797 if (!SWIG_IsOK(res1
)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14800 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (int)(arg1
)->GetDefaultColSize();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= SWIG_From_int(static_cast< int >(result
));
14814 SWIGINTERN PyObject
*_wrap_Grid_GetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
= 0;
14816 wxGrid
*arg1
= (wxGrid
*) 0 ;
14823 PyObject
* obj0
= 0 ;
14824 PyObject
* obj1
= 0 ;
14825 char * kwnames
[] = {
14826 (char *) "self",(char *) "col", NULL
14829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14831 if (!SWIG_IsOK(res1
)) {
14832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14834 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14836 if (!SWIG_IsOK(ecode2
)) {
14837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColSize" "', expected argument " "2"" of type '" "int""'");
14839 arg2
= static_cast< int >(val2
);
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= (int)(arg1
)->GetColSize(arg2
);
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= SWIG_From_int(static_cast< int >(result
));
14853 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14854 PyObject
*resultobj
= 0;
14855 wxGrid
*arg1
= (wxGrid
*) 0 ;
14859 PyObject
*swig_obj
[1] ;
14861 if (!args
) SWIG_fail
;
14862 swig_obj
[0] = args
;
14863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14864 if (!SWIG_IsOK(res1
)) {
14865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14867 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (arg1
)->GetDefaultCellBackgroundColour();
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14881 SWIGINTERN PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
= 0;
14883 wxGrid
*arg1
= (wxGrid
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 PyObject
* obj1
= 0 ;
14895 PyObject
* obj2
= 0 ;
14896 char * kwnames
[] = {
14897 (char *) "self",(char *) "row",(char *) "col", NULL
14900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14902 if (!SWIG_IsOK(res1
)) {
14903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14905 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14907 if (!SWIG_IsOK(ecode2
)) {
14908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
14910 arg2
= static_cast< int >(val2
);
14911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14912 if (!SWIG_IsOK(ecode3
)) {
14913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
14915 arg3
= static_cast< int >(val3
);
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14922 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14929 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14930 PyObject
*resultobj
= 0;
14931 wxGrid
*arg1
= (wxGrid
*) 0 ;
14935 PyObject
*swig_obj
[1] ;
14937 if (!args
) SWIG_fail
;
14938 swig_obj
[0] = args
;
14939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14940 if (!SWIG_IsOK(res1
)) {
14941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14943 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (arg1
)->GetDefaultCellTextColour();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14957 SWIGINTERN PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
= 0;
14959 wxGrid
*arg1
= (wxGrid
*) 0 ;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 PyObject
* obj2
= 0 ;
14972 char * kwnames
[] = {
14973 (char *) "self",(char *) "row",(char *) "col", NULL
14976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14981 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14983 if (!SWIG_IsOK(ecode2
)) {
14984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellTextColour" "', expected argument " "2"" of type '" "int""'");
14986 arg2
= static_cast< int >(val2
);
14987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14988 if (!SWIG_IsOK(ecode3
)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellTextColour" "', expected argument " "3"" of type '" "int""'");
14991 arg3
= static_cast< int >(val3
);
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15005 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15006 PyObject
*resultobj
= 0;
15007 wxGrid
*arg1
= (wxGrid
*) 0 ;
15011 PyObject
*swig_obj
[1] ;
15013 if (!args
) SWIG_fail
;
15014 swig_obj
[0] = args
;
15015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15016 if (!SWIG_IsOK(res1
)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15019 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= (arg1
)->GetDefaultCellFont();
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15033 SWIGINTERN PyObject
*_wrap_Grid_GetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
= 0;
15035 wxGrid
*arg1
= (wxGrid
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 PyObject
* obj2
= 0 ;
15048 char * kwnames
[] = {
15049 (char *) "self",(char *) "row",(char *) "col", NULL
15052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15054 if (!SWIG_IsOK(res1
)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15057 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15059 if (!SWIG_IsOK(ecode2
)) {
15060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellFont" "', expected argument " "2"" of type '" "int""'");
15062 arg2
= static_cast< int >(val2
);
15063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15064 if (!SWIG_IsOK(ecode3
)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellFont" "', expected argument " "3"" of type '" "int""'");
15067 arg3
= static_cast< int >(val3
);
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (arg1
)->GetCellFont(arg2
,arg3
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15081 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15082 PyObject
*resultobj
= 0;
15083 wxGrid
*arg1
= (wxGrid
*) 0 ;
15084 int *arg2
= (int *) 0 ;
15085 int *arg3
= (int *) 0 ;
15089 int res2
= SWIG_TMPOBJ
;
15091 int res3
= SWIG_TMPOBJ
;
15092 PyObject
*swig_obj
[1] ;
15096 if (!args
) SWIG_fail
;
15097 swig_obj
[0] = args
;
15098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15099 if (!SWIG_IsOK(res1
)) {
15100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15102 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_Py_Void();
15110 if (SWIG_IsTmpObj(res2
)) {
15111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
15113 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
15116 if (SWIG_IsTmpObj(res3
)) {
15117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
15119 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
15128 SWIGINTERN PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
= 0;
15130 wxGrid
*arg1
= (wxGrid
*) 0 ;
15133 int *arg4
= (int *) 0 ;
15134 int *arg5
= (int *) 0 ;
15142 int res4
= SWIG_TMPOBJ
;
15144 int res5
= SWIG_TMPOBJ
;
15145 PyObject
* obj0
= 0 ;
15146 PyObject
* obj1
= 0 ;
15147 PyObject
* obj2
= 0 ;
15148 char * kwnames
[] = {
15149 (char *) "self",(char *) "row",(char *) "col", NULL
15154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15156 if (!SWIG_IsOK(res1
)) {
15157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15159 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15161 if (!SWIG_IsOK(ecode2
)) {
15162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellAlignment" "', expected argument " "2"" of type '" "int""'");
15164 arg2
= static_cast< int >(val2
);
15165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15166 if (!SWIG_IsOK(ecode3
)) {
15167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellAlignment" "', expected argument " "3"" of type '" "int""'");
15169 arg3
= static_cast< int >(val3
);
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= SWIG_Py_Void();
15177 if (SWIG_IsTmpObj(res4
)) {
15178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15180 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15183 if (SWIG_IsTmpObj(res5
)) {
15184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15186 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15195 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15196 PyObject
*resultobj
= 0;
15197 wxGrid
*arg1
= (wxGrid
*) 0 ;
15201 PyObject
*swig_obj
[1] ;
15203 if (!args
) SWIG_fail
;
15204 swig_obj
[0] = args
;
15205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15209 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (bool)(arg1
)->GetDefaultCellOverflow();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15225 SWIGINTERN PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
= 0;
15227 wxGrid
*arg1
= (wxGrid
*) 0 ;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 PyObject
* obj2
= 0 ;
15240 char * kwnames
[] = {
15241 (char *) "self",(char *) "row",(char *) "col", NULL
15244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15246 if (!SWIG_IsOK(res1
)) {
15247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15249 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15251 if (!SWIG_IsOK(ecode2
)) {
15252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellOverflow" "', expected argument " "2"" of type '" "int""'");
15254 arg2
= static_cast< int >(val2
);
15255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15256 if (!SWIG_IsOK(ecode3
)) {
15257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellOverflow" "', expected argument " "3"" of type '" "int""'");
15259 arg3
= static_cast< int >(val3
);
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15275 SWIGINTERN PyObject
*_wrap_Grid_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
= 0;
15277 wxGrid
*arg1
= (wxGrid
*) 0 ;
15280 int *arg4
= (int *) 0 ;
15281 int *arg5
= (int *) 0 ;
15289 int res4
= SWIG_TMPOBJ
;
15291 int res5
= SWIG_TMPOBJ
;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 PyObject
* obj2
= 0 ;
15295 char * kwnames
[] = {
15296 (char *) "self",(char *) "row",(char *) "col", NULL
15301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15303 if (!SWIG_IsOK(res1
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15306 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15308 if (!SWIG_IsOK(ecode2
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellSize" "', expected argument " "2"" of type '" "int""'");
15311 arg2
= static_cast< int >(val2
);
15312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15313 if (!SWIG_IsOK(ecode3
)) {
15314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellSize" "', expected argument " "3"" of type '" "int""'");
15316 arg3
= static_cast< int >(val3
);
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= SWIG_Py_Void();
15324 if (SWIG_IsTmpObj(res4
)) {
15325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15327 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15330 if (SWIG_IsTmpObj(res5
)) {
15331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15333 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15342 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
= 0;
15344 wxGrid
*arg1
= (wxGrid
*) 0 ;
15346 bool arg3
= (bool) false ;
15353 PyObject
* obj0
= 0 ;
15354 PyObject
* obj1
= 0 ;
15355 PyObject
* obj2
= 0 ;
15356 char * kwnames
[] = {
15357 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
15360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15362 if (!SWIG_IsOK(res1
)) {
15363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15365 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15367 if (!SWIG_IsOK(ecode2
)) {
15368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "2"" of type '" "int""'");
15370 arg2
= static_cast< int >(val2
);
15372 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15373 if (!SWIG_IsOK(ecode3
)) {
15374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "3"" of type '" "bool""'");
15376 arg3
= static_cast< bool >(val3
);
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= SWIG_Py_Void();
15391 SWIGINTERN PyObject
*_wrap_Grid_SetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
= 0;
15393 wxGrid
*arg1
= (wxGrid
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 PyObject
* obj2
= 0 ;
15405 char * kwnames
[] = {
15406 (char *) "self",(char *) "row",(char *) "height", NULL
15409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15411 if (!SWIG_IsOK(res1
)) {
15412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15414 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15416 if (!SWIG_IsOK(ecode2
)) {
15417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowSize" "', expected argument " "2"" of type '" "int""'");
15419 arg2
= static_cast< int >(val2
);
15420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15421 if (!SWIG_IsOK(ecode3
)) {
15422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowSize" "', expected argument " "3"" of type '" "int""'");
15424 arg3
= static_cast< int >(val3
);
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 (arg1
)->SetRowSize(arg2
,arg3
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= SWIG_Py_Void();
15438 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
= 0;
15440 wxGrid
*arg1
= (wxGrid
*) 0 ;
15442 bool arg3
= (bool) false ;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 PyObject
* obj2
= 0 ;
15452 char * kwnames
[] = {
15453 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
15456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15458 if (!SWIG_IsOK(res1
)) {
15459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15461 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15463 if (!SWIG_IsOK(ecode2
)) {
15464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "2"" of type '" "int""'");
15466 arg2
= static_cast< int >(val2
);
15468 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15469 if (!SWIG_IsOK(ecode3
)) {
15470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "3"" of type '" "bool""'");
15472 arg3
= static_cast< bool >(val3
);
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 (arg1
)->SetDefaultColSize(arg2
,arg3
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= SWIG_Py_Void();
15487 SWIGINTERN PyObject
*_wrap_Grid_SetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
= 0;
15489 wxGrid
*arg1
= (wxGrid
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 PyObject
* obj1
= 0 ;
15500 PyObject
* obj2
= 0 ;
15501 char * kwnames
[] = {
15502 (char *) "self",(char *) "col",(char *) "width", NULL
15505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15507 if (!SWIG_IsOK(res1
)) {
15508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15510 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15512 if (!SWIG_IsOK(ecode2
)) {
15513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColSize" "', expected argument " "2"" of type '" "int""'");
15515 arg2
= static_cast< int >(val2
);
15516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15517 if (!SWIG_IsOK(ecode3
)) {
15518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColSize" "', expected argument " "3"" of type '" "int""'");
15520 arg3
= static_cast< int >(val3
);
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 (arg1
)->SetColSize(arg2
,arg3
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= SWIG_Py_Void();
15534 SWIGINTERN PyObject
*_wrap_Grid_GetColAt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
= 0;
15536 wxGrid
*arg1
= (wxGrid
*) 0 ;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 char * kwnames
[] = {
15546 (char *) "self",(char *) "colPos", NULL
15549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColAt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15551 if (!SWIG_IsOK(res1
)) {
15552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColAt" "', expected argument " "1"" of type '" "wxGrid const *""'");
15554 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15556 if (!SWIG_IsOK(ecode2
)) {
15557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColAt" "', expected argument " "2"" of type '" "int""'");
15559 arg2
= static_cast< int >(val2
);
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 result
= (int)((wxGrid
const *)arg1
)->GetColAt(arg2
);
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= SWIG_From_int(static_cast< int >(result
));
15573 SWIGINTERN PyObject
*_wrap_Grid_SetColPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
= 0;
15575 wxGrid
*arg1
= (wxGrid
*) 0 ;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 PyObject
* obj2
= 0 ;
15587 char * kwnames
[] = {
15588 (char *) "self",(char *) "colID",(char *) "newPos", NULL
15591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15593 if (!SWIG_IsOK(res1
)) {
15594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColPos" "', expected argument " "1"" of type '" "wxGrid *""'");
15596 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15598 if (!SWIG_IsOK(ecode2
)) {
15599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColPos" "', expected argument " "2"" of type '" "int""'");
15601 arg2
= static_cast< int >(val2
);
15602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15603 if (!SWIG_IsOK(ecode3
)) {
15604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColPos" "', expected argument " "3"" of type '" "int""'");
15606 arg3
= static_cast< int >(val3
);
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 (arg1
)->SetColPos(arg2
,arg3
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_Py_Void();
15620 SWIGINTERN PyObject
*_wrap_Grid_GetColPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
= 0;
15622 wxGrid
*arg1
= (wxGrid
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 PyObject
* obj1
= 0 ;
15631 char * kwnames
[] = {
15632 (char *) "self",(char *) "colID", NULL
15635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15637 if (!SWIG_IsOK(res1
)) {
15638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColPos" "', expected argument " "1"" of type '" "wxGrid const *""'");
15640 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15642 if (!SWIG_IsOK(ecode2
)) {
15643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColPos" "', expected argument " "2"" of type '" "int""'");
15645 arg2
= static_cast< int >(val2
);
15647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15648 result
= (int)((wxGrid
const *)arg1
)->GetColPos(arg2
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= SWIG_From_int(static_cast< int >(result
));
15659 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
= 0;
15661 wxGrid
*arg1
= (wxGrid
*) 0 ;
15663 bool arg3
= (bool) true ;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 PyObject
* obj2
= 0 ;
15673 char * kwnames
[] = {
15674 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
15677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15679 if (!SWIG_IsOK(res1
)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "1"" of type '" "wxGrid *""'");
15682 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15684 if (!SWIG_IsOK(ecode2
)) {
15685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "2"" of type '" "int""'");
15687 arg2
= static_cast< int >(val2
);
15689 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15690 if (!SWIG_IsOK(ecode3
)) {
15691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "3"" of type '" "bool""'");
15693 arg3
= static_cast< bool >(val3
);
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 (arg1
)->AutoSizeColumn(arg2
,arg3
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= SWIG_Py_Void();
15708 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
= 0;
15710 wxGrid
*arg1
= (wxGrid
*) 0 ;
15712 bool arg3
= (bool) true ;
15719 PyObject
* obj0
= 0 ;
15720 PyObject
* obj1
= 0 ;
15721 PyObject
* obj2
= 0 ;
15722 char * kwnames
[] = {
15723 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
15726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15728 if (!SWIG_IsOK(res1
)) {
15729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRow" "', expected argument " "1"" of type '" "wxGrid *""'");
15731 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15733 if (!SWIG_IsOK(ecode2
)) {
15734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRow" "', expected argument " "2"" of type '" "int""'");
15736 arg2
= static_cast< int >(val2
);
15738 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15739 if (!SWIG_IsOK(ecode3
)) {
15740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeRow" "', expected argument " "3"" of type '" "bool""'");
15742 arg3
= static_cast< bool >(val3
);
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 (arg1
)->AutoSizeRow(arg2
,arg3
);
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= SWIG_Py_Void();
15757 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
= 0;
15759 wxGrid
*arg1
= (wxGrid
*) 0 ;
15760 bool arg2
= (bool) true ;
15765 PyObject
* obj0
= 0 ;
15766 PyObject
* obj1
= 0 ;
15767 char * kwnames
[] = {
15768 (char *) "self",(char *) "setAsMin", NULL
15771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15773 if (!SWIG_IsOK(res1
)) {
15774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "1"" of type '" "wxGrid *""'");
15776 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15779 if (!SWIG_IsOK(ecode2
)) {
15780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "2"" of type '" "bool""'");
15782 arg2
= static_cast< bool >(val2
);
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 (arg1
)->AutoSizeColumns(arg2
);
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= SWIG_Py_Void();
15797 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
= 0;
15799 wxGrid
*arg1
= (wxGrid
*) 0 ;
15800 bool arg2
= (bool) true ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 char * kwnames
[] = {
15808 (char *) "self",(char *) "setAsMin", NULL
15811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15813 if (!SWIG_IsOK(res1
)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRows" "', expected argument " "1"" of type '" "wxGrid *""'");
15816 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15818 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15819 if (!SWIG_IsOK(ecode2
)) {
15820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRows" "', expected argument " "2"" of type '" "bool""'");
15822 arg2
= static_cast< bool >(val2
);
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 (arg1
)->AutoSizeRows(arg2
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15830 resultobj
= SWIG_Py_Void();
15837 SWIGINTERN PyObject
*_wrap_Grid_AutoSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15838 PyObject
*resultobj
= 0;
15839 wxGrid
*arg1
= (wxGrid
*) 0 ;
15842 PyObject
*swig_obj
[1] ;
15844 if (!args
) SWIG_fail
;
15845 swig_obj
[0] = args
;
15846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15850 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 (arg1
)->AutoSize();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= SWIG_Py_Void();
15864 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
= 0;
15866 wxGrid
*arg1
= (wxGrid
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 PyObject
* obj1
= 0 ;
15874 char * kwnames
[] = {
15875 (char *) "self",(char *) "row", NULL
15878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15883 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15885 if (!SWIG_IsOK(ecode2
)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "2"" of type '" "int""'");
15888 arg2
= static_cast< int >(val2
);
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 (arg1
)->AutoSizeRowLabelSize(arg2
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= SWIG_Py_Void();
15902 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
= 0;
15904 wxGrid
*arg1
= (wxGrid
*) 0 ;
15910 PyObject
* obj0
= 0 ;
15911 PyObject
* obj1
= 0 ;
15912 char * kwnames
[] = {
15913 (char *) "self",(char *) "col", NULL
15916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15918 if (!SWIG_IsOK(res1
)) {
15919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15921 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15923 if (!SWIG_IsOK(ecode2
)) {
15924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "2"" of type '" "int""'");
15926 arg2
= static_cast< int >(val2
);
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 (arg1
)->AutoSizeColLabelSize(arg2
);
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= SWIG_Py_Void();
15940 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15941 PyObject
*resultobj
= 0;
15942 wxGrid
*arg1
= (wxGrid
*) 0 ;
15951 PyObject
* obj0
= 0 ;
15952 PyObject
* obj1
= 0 ;
15953 PyObject
* obj2
= 0 ;
15954 char * kwnames
[] = {
15955 (char *) "self",(char *) "col",(char *) "width", NULL
15958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15960 if (!SWIG_IsOK(res1
)) {
15961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
15963 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15965 if (!SWIG_IsOK(ecode2
)) {
15966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "2"" of type '" "int""'");
15968 arg2
= static_cast< int >(val2
);
15969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15970 if (!SWIG_IsOK(ecode3
)) {
15971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "3"" of type '" "int""'");
15973 arg3
= static_cast< int >(val3
);
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= SWIG_Py_Void();
15987 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
= 0;
15989 wxGrid
*arg1
= (wxGrid
*) 0 ;
15998 PyObject
* obj0
= 0 ;
15999 PyObject
* obj1
= 0 ;
16000 PyObject
* obj2
= 0 ;
16001 char * kwnames
[] = {
16002 (char *) "self",(char *) "row",(char *) "width", NULL
16005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16007 if (!SWIG_IsOK(res1
)) {
16008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16010 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16012 if (!SWIG_IsOK(ecode2
)) {
16013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "2"" of type '" "int""'");
16015 arg2
= static_cast< int >(val2
);
16016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16017 if (!SWIG_IsOK(ecode3
)) {
16018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "3"" of type '" "int""'");
16020 arg3
= static_cast< int >(val3
);
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_Py_Void();
16034 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
= 0;
16036 wxGrid
*arg1
= (wxGrid
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 PyObject
* obj1
= 0 ;
16044 char * kwnames
[] = {
16045 (char *) "self",(char *) "width", NULL
16048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16050 if (!SWIG_IsOK(res1
)) {
16051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
16053 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16055 if (!SWIG_IsOK(ecode2
)) {
16056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "2"" of type '" "int""'");
16058 arg2
= static_cast< int >(val2
);
16060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16061 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
16062 wxPyEndAllowThreads(__tstate
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16065 resultobj
= SWIG_Py_Void();
16072 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
= 0;
16074 wxGrid
*arg1
= (wxGrid
*) 0 ;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char * kwnames
[] = {
16083 (char *) "self",(char *) "width", NULL
16086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16088 if (!SWIG_IsOK(res1
)) {
16089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16091 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16093 if (!SWIG_IsOK(ecode2
)) {
16094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "2"" of type '" "int""'");
16096 arg2
= static_cast< int >(val2
);
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= SWIG_Py_Void();
16110 SWIGINTERN PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16111 PyObject
*resultobj
= 0;
16112 wxGrid
*arg1
= (wxGrid
*) 0 ;
16116 PyObject
*swig_obj
[1] ;
16118 if (!args
) SWIG_fail
;
16119 swig_obj
[0] = args
;
16120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16121 if (!SWIG_IsOK(res1
)) {
16122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid const *""'");
16124 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= SWIG_From_int(static_cast< int >(result
));
16138 SWIGINTERN PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16139 PyObject
*resultobj
= 0;
16140 wxGrid
*arg1
= (wxGrid
*) 0 ;
16144 PyObject
*swig_obj
[1] ;
16146 if (!args
) SWIG_fail
;
16147 swig_obj
[0] = args
;
16148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16149 if (!SWIG_IsOK(res1
)) {
16150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid const *""'");
16152 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 resultobj
= SWIG_From_int(static_cast< int >(result
));
16166 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
= 0;
16168 wxGrid
*arg1
= (wxGrid
*) 0 ;
16169 wxColour
*arg2
= 0 ;
16173 PyObject
* obj0
= 0 ;
16174 PyObject
* obj1
= 0 ;
16175 char * kwnames
[] = {
16176 (char *) "self",(char *)"arg2", NULL
16179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16181 if (!SWIG_IsOK(res1
)) {
16182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16184 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16187 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= SWIG_Py_Void();
16202 SWIGINTERN PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
= 0;
16204 wxGrid
*arg1
= (wxGrid
*) 0 ;
16207 wxColour
*arg4
= 0 ;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 PyObject
* obj2
= 0 ;
16218 PyObject
* obj3
= 0 ;
16219 char * kwnames
[] = {
16220 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16225 if (!SWIG_IsOK(res1
)) {
16226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16228 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16230 if (!SWIG_IsOK(ecode2
)) {
16231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
16233 arg2
= static_cast< int >(val2
);
16234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16235 if (!SWIG_IsOK(ecode3
)) {
16236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
16238 arg3
= static_cast< int >(val3
);
16241 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= SWIG_Py_Void();
16256 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
= 0;
16258 wxGrid
*arg1
= (wxGrid
*) 0 ;
16259 wxColour
*arg2
= 0 ;
16263 PyObject
* obj0
= 0 ;
16264 PyObject
* obj1
= 0 ;
16265 char * kwnames
[] = {
16266 (char *) "self",(char *)"arg2", NULL
16269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16271 if (!SWIG_IsOK(res1
)) {
16272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16274 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16277 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 resultobj
= SWIG_Py_Void();
16292 SWIGINTERN PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
= 0;
16294 wxGrid
*arg1
= (wxGrid
*) 0 ;
16297 wxColour
*arg4
= 0 ;
16305 PyObject
* obj0
= 0 ;
16306 PyObject
* obj1
= 0 ;
16307 PyObject
* obj2
= 0 ;
16308 PyObject
* obj3
= 0 ;
16309 char * kwnames
[] = {
16310 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16315 if (!SWIG_IsOK(res1
)) {
16316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16318 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16320 if (!SWIG_IsOK(ecode2
)) {
16321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellTextColour" "', expected argument " "2"" of type '" "int""'");
16323 arg2
= static_cast< int >(val2
);
16324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16325 if (!SWIG_IsOK(ecode3
)) {
16326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellTextColour" "', expected argument " "3"" of type '" "int""'");
16328 arg3
= static_cast< int >(val3
);
16331 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= SWIG_Py_Void();
16346 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
= 0;
16348 wxGrid
*arg1
= (wxGrid
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 PyObject
* obj1
= 0 ;
16356 char * kwnames
[] = {
16357 (char *) "self",(char *)"arg2", NULL
16360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16362 if (!SWIG_IsOK(res1
)) {
16363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16365 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
16367 if (!SWIG_IsOK(res2
)) {
16368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16373 arg2
= reinterpret_cast< wxFont
* >(argp2
);
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16380 resultobj
= SWIG_Py_Void();
16387 SWIGINTERN PyObject
*_wrap_Grid_SetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
= 0;
16389 wxGrid
*arg1
= (wxGrid
*) 0 ;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 PyObject
* obj2
= 0 ;
16404 PyObject
* obj3
= 0 ;
16405 char * kwnames
[] = {
16406 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16411 if (!SWIG_IsOK(res1
)) {
16412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16414 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16416 if (!SWIG_IsOK(ecode2
)) {
16417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellFont" "', expected argument " "2"" of type '" "int""'");
16419 arg2
= static_cast< int >(val2
);
16420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16421 if (!SWIG_IsOK(ecode3
)) {
16422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellFont" "', expected argument " "3"" of type '" "int""'");
16424 arg3
= static_cast< int >(val3
);
16425 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
16426 if (!SWIG_IsOK(res4
)) {
16427 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16432 arg4
= reinterpret_cast< wxFont
* >(argp4
);
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= SWIG_Py_Void();
16446 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
= 0;
16448 wxGrid
*arg1
= (wxGrid
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 PyObject
* obj1
= 0 ;
16459 PyObject
* obj2
= 0 ;
16460 char * kwnames
[] = {
16461 (char *) "self",(char *) "horiz",(char *) "vert", NULL
16464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16466 if (!SWIG_IsOK(res1
)) {
16467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16469 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16471 if (!SWIG_IsOK(ecode2
)) {
16472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "2"" of type '" "int""'");
16474 arg2
= static_cast< int >(val2
);
16475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16476 if (!SWIG_IsOK(ecode3
)) {
16477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "3"" of type '" "int""'");
16479 arg3
= static_cast< int >(val3
);
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16486 resultobj
= SWIG_Py_Void();
16493 SWIGINTERN PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
= 0;
16495 wxGrid
*arg1
= (wxGrid
*) 0 ;
16510 PyObject
* obj0
= 0 ;
16511 PyObject
* obj1
= 0 ;
16512 PyObject
* obj2
= 0 ;
16513 PyObject
* obj3
= 0 ;
16514 PyObject
* obj4
= 0 ;
16515 char * kwnames
[] = {
16516 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
16519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16521 if (!SWIG_IsOK(res1
)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16524 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16526 if (!SWIG_IsOK(ecode2
)) {
16527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellAlignment" "', expected argument " "2"" of type '" "int""'");
16529 arg2
= static_cast< int >(val2
);
16530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16531 if (!SWIG_IsOK(ecode3
)) {
16532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellAlignment" "', expected argument " "3"" of type '" "int""'");
16534 arg3
= static_cast< int >(val3
);
16535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16536 if (!SWIG_IsOK(ecode4
)) {
16537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellAlignment" "', expected argument " "4"" of type '" "int""'");
16539 arg4
= static_cast< int >(val4
);
16540 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16541 if (!SWIG_IsOK(ecode5
)) {
16542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellAlignment" "', expected argument " "5"" of type '" "int""'");
16544 arg5
= static_cast< int >(val5
);
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= SWIG_Py_Void();
16558 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
= 0;
16560 wxGrid
*arg1
= (wxGrid
*) 0 ;
16566 PyObject
* obj0
= 0 ;
16567 PyObject
* obj1
= 0 ;
16568 char * kwnames
[] = {
16569 (char *) "self",(char *) "allow", NULL
16572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16574 if (!SWIG_IsOK(res1
)) {
16575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16577 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16578 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16579 if (!SWIG_IsOK(ecode2
)) {
16580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "2"" of type '" "bool""'");
16582 arg2
= static_cast< bool >(val2
);
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 (arg1
)->SetDefaultCellOverflow(arg2
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 resultobj
= SWIG_Py_Void();
16596 SWIGINTERN PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
= 0;
16598 wxGrid
*arg1
= (wxGrid
*) 0 ;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 PyObject
* obj3
= 0 ;
16614 char * kwnames
[] = {
16615 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
16618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16620 if (!SWIG_IsOK(res1
)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16623 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16625 if (!SWIG_IsOK(ecode2
)) {
16626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellOverflow" "', expected argument " "2"" of type '" "int""'");
16628 arg2
= static_cast< int >(val2
);
16629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16630 if (!SWIG_IsOK(ecode3
)) {
16631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellOverflow" "', expected argument " "3"" of type '" "int""'");
16633 arg3
= static_cast< int >(val3
);
16634 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16635 if (!SWIG_IsOK(ecode4
)) {
16636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellOverflow" "', expected argument " "4"" of type '" "bool""'");
16638 arg4
= static_cast< bool >(val4
);
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= SWIG_Py_Void();
16652 SWIGINTERN PyObject
*_wrap_Grid_SetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
= 0;
16654 wxGrid
*arg1
= (wxGrid
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 PyObject
* obj1
= 0 ;
16671 PyObject
* obj2
= 0 ;
16672 PyObject
* obj3
= 0 ;
16673 PyObject
* obj4
= 0 ;
16674 char * kwnames
[] = {
16675 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
16678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16680 if (!SWIG_IsOK(res1
)) {
16681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16683 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16685 if (!SWIG_IsOK(ecode2
)) {
16686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellSize" "', expected argument " "2"" of type '" "int""'");
16688 arg2
= static_cast< int >(val2
);
16689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16690 if (!SWIG_IsOK(ecode3
)) {
16691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellSize" "', expected argument " "3"" of type '" "int""'");
16693 arg3
= static_cast< int >(val3
);
16694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16695 if (!SWIG_IsOK(ecode4
)) {
16696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellSize" "', expected argument " "4"" of type '" "int""'");
16698 arg4
= static_cast< int >(val4
);
16699 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16700 if (!SWIG_IsOK(ecode5
)) {
16701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellSize" "', expected argument " "5"" of type '" "int""'");
16703 arg5
= static_cast< int >(val5
);
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16710 resultobj
= SWIG_Py_Void();
16717 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
= 0;
16719 wxGrid
*arg1
= (wxGrid
*) 0 ;
16720 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
16725 PyObject
* obj0
= 0 ;
16726 PyObject
* obj1
= 0 ;
16727 char * kwnames
[] = {
16728 (char *) "self",(char *) "renderer", NULL
16731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16733 if (!SWIG_IsOK(res1
)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
16736 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
16738 if (!SWIG_IsOK(res2
)) {
16739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
16741 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 (arg1
)->SetDefaultRenderer(arg2
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= SWIG_Py_Void();
16755 SWIGINTERN PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
= 0;
16757 wxGrid
*arg1
= (wxGrid
*) 0 ;
16760 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 PyObject
* obj2
= 0 ;
16772 PyObject
* obj3
= 0 ;
16773 char * kwnames
[] = {
16774 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
16777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16779 if (!SWIG_IsOK(res1
)) {
16780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
16782 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16784 if (!SWIG_IsOK(ecode2
)) {
16785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellRenderer" "', expected argument " "2"" of type '" "int""'");
16787 arg2
= static_cast< int >(val2
);
16788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16789 if (!SWIG_IsOK(ecode3
)) {
16790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellRenderer" "', expected argument " "3"" of type '" "int""'");
16792 arg3
= static_cast< int >(val3
);
16793 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
16794 if (!SWIG_IsOK(res4
)) {
16795 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellRenderer" "', expected argument " "4"" of type '" "wxGridCellRenderer *""'");
16797 arg4
= reinterpret_cast< wxGridCellRenderer
* >(argp4
);
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= SWIG_Py_Void();
16811 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16812 PyObject
*resultobj
= 0;
16813 wxGrid
*arg1
= (wxGrid
*) 0 ;
16814 wxGridCellRenderer
*result
= 0 ;
16817 PyObject
*swig_obj
[1] ;
16819 if (!args
) SWIG_fail
;
16820 swig_obj
[0] = args
;
16821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16822 if (!SWIG_IsOK(res1
)) {
16823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid const *""'");
16825 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16841 SWIGINTERN PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
= 0;
16843 wxGrid
*arg1
= (wxGrid
*) 0 ;
16846 wxGridCellRenderer
*result
= 0 ;
16853 PyObject
* obj0
= 0 ;
16854 PyObject
* obj1
= 0 ;
16855 PyObject
* obj2
= 0 ;
16856 char * kwnames
[] = {
16857 (char *) "self",(char *) "row",(char *) "col", NULL
16860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16862 if (!SWIG_IsOK(res1
)) {
16863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
16865 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16867 if (!SWIG_IsOK(ecode2
)) {
16868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellRenderer" "', expected argument " "2"" of type '" "int""'");
16870 arg2
= static_cast< int >(val2
);
16871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16872 if (!SWIG_IsOK(ecode3
)) {
16873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellRenderer" "', expected argument " "3"" of type '" "int""'");
16875 arg3
= static_cast< int >(val3
);
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16891 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
= 0;
16893 wxGrid
*arg1
= (wxGrid
*) 0 ;
16894 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj1
= 0 ;
16901 char * kwnames
[] = {
16902 (char *) "self",(char *) "editor", NULL
16905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16907 if (!SWIG_IsOK(res1
)) {
16908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
16910 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
16912 if (!SWIG_IsOK(res2
)) {
16913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
16915 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 (arg1
)->SetDefaultEditor(arg2
);
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= SWIG_Py_Void();
16929 SWIGINTERN PyObject
*_wrap_Grid_SetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
= 0;
16931 wxGrid
*arg1
= (wxGrid
*) 0 ;
16934 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
16943 PyObject
* obj0
= 0 ;
16944 PyObject
* obj1
= 0 ;
16945 PyObject
* obj2
= 0 ;
16946 PyObject
* obj3
= 0 ;
16947 char * kwnames
[] = {
16948 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
16951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16953 if (!SWIG_IsOK(res1
)) {
16954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
16956 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16958 if (!SWIG_IsOK(ecode2
)) {
16959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellEditor" "', expected argument " "2"" of type '" "int""'");
16961 arg2
= static_cast< int >(val2
);
16962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16963 if (!SWIG_IsOK(ecode3
)) {
16964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellEditor" "', expected argument " "3"" of type '" "int""'");
16966 arg3
= static_cast< int >(val3
);
16967 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
16968 if (!SWIG_IsOK(res4
)) {
16969 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellEditor" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
16971 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= SWIG_Py_Void();
16985 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16986 PyObject
*resultobj
= 0;
16987 wxGrid
*arg1
= (wxGrid
*) 0 ;
16988 wxGridCellEditor
*result
= 0 ;
16991 PyObject
*swig_obj
[1] ;
16993 if (!args
) SWIG_fail
;
16994 swig_obj
[0] = args
;
16995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16996 if (!SWIG_IsOK(res1
)) {
16997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid const *""'");
16999 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17015 SWIGINTERN PyObject
*_wrap_Grid_GetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
= 0;
17017 wxGrid
*arg1
= (wxGrid
*) 0 ;
17020 wxGridCellEditor
*result
= 0 ;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 PyObject
* obj2
= 0 ;
17030 char * kwnames
[] = {
17031 (char *) "self",(char *) "row",(char *) "col", NULL
17034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17036 if (!SWIG_IsOK(res1
)) {
17037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17039 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17041 if (!SWIG_IsOK(ecode2
)) {
17042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellEditor" "', expected argument " "2"" of type '" "int""'");
17044 arg2
= static_cast< int >(val2
);
17045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17046 if (!SWIG_IsOK(ecode3
)) {
17047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellEditor" "', expected argument " "3"" of type '" "int""'");
17049 arg3
= static_cast< int >(val3
);
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17065 SWIGINTERN PyObject
*_wrap_Grid_GetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
= 0;
17067 wxGrid
*arg1
= (wxGrid
*) 0 ;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 PyObject
* obj2
= 0 ;
17080 char * kwnames
[] = {
17081 (char *) "self",(char *) "row",(char *) "col", NULL
17084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17086 if (!SWIG_IsOK(res1
)) {
17087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17089 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17091 if (!SWIG_IsOK(ecode2
)) {
17092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellValue" "', expected argument " "2"" of type '" "int""'");
17094 arg2
= static_cast< int >(val2
);
17095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17096 if (!SWIG_IsOK(ecode3
)) {
17097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellValue" "', expected argument " "3"" of type '" "int""'");
17099 arg3
= static_cast< int >(val3
);
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (arg1
)->GetCellValue(arg2
,arg3
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17119 SWIGINTERN PyObject
*_wrap_Grid_SetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
= 0;
17121 wxGrid
*arg1
= (wxGrid
*) 0 ;
17124 wxString
*arg4
= 0 ;
17131 bool temp4
= false ;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 PyObject
* obj2
= 0 ;
17135 PyObject
* obj3
= 0 ;
17136 char * kwnames
[] = {
17137 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
17140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17142 if (!SWIG_IsOK(res1
)) {
17143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17145 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17147 if (!SWIG_IsOK(ecode2
)) {
17148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellValue" "', expected argument " "2"" of type '" "int""'");
17150 arg2
= static_cast< int >(val2
);
17151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17152 if (!SWIG_IsOK(ecode3
)) {
17153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellValue" "', expected argument " "3"" of type '" "int""'");
17155 arg3
= static_cast< int >(val3
);
17157 arg4
= wxString_in_helper(obj3
);
17158 if (arg4
== NULL
) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= SWIG_Py_Void();
17182 SWIGINTERN PyObject
*_wrap_Grid_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
= 0;
17184 wxGrid
*arg1
= (wxGrid
*) 0 ;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 PyObject
* obj2
= 0 ;
17197 char * kwnames
[] = {
17198 (char *) "self",(char *) "row",(char *) "col", NULL
17201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17203 if (!SWIG_IsOK(res1
)) {
17204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
17206 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17208 if (!SWIG_IsOK(ecode2
)) {
17209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsReadOnly" "', expected argument " "2"" of type '" "int""'");
17211 arg2
= static_cast< int >(val2
);
17212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17213 if (!SWIG_IsOK(ecode3
)) {
17214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsReadOnly" "', expected argument " "3"" of type '" "int""'");
17216 arg3
= static_cast< int >(val3
);
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17232 SWIGINTERN PyObject
*_wrap_Grid_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
= 0;
17234 wxGrid
*arg1
= (wxGrid
*) 0 ;
17237 bool arg4
= (bool) true ;
17246 PyObject
* obj0
= 0 ;
17247 PyObject
* obj1
= 0 ;
17248 PyObject
* obj2
= 0 ;
17249 PyObject
* obj3
= 0 ;
17250 char * kwnames
[] = {
17251 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
17254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17256 if (!SWIG_IsOK(res1
)) {
17257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetReadOnly" "', expected argument " "1"" of type '" "wxGrid *""'");
17259 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17261 if (!SWIG_IsOK(ecode2
)) {
17262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetReadOnly" "', expected argument " "2"" of type '" "int""'");
17264 arg2
= static_cast< int >(val2
);
17265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17266 if (!SWIG_IsOK(ecode3
)) {
17267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetReadOnly" "', expected argument " "3"" of type '" "int""'");
17269 arg3
= static_cast< int >(val3
);
17271 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17272 if (!SWIG_IsOK(ecode4
)) {
17273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetReadOnly" "', expected argument " "4"" of type '" "bool""'");
17275 arg4
= static_cast< bool >(val4
);
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= SWIG_Py_Void();
17290 SWIGINTERN PyObject
*_wrap_Grid_SelectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
= 0;
17292 wxGrid
*arg1
= (wxGrid
*) 0 ;
17294 bool arg3
= (bool) false ;
17301 PyObject
* obj0
= 0 ;
17302 PyObject
* obj1
= 0 ;
17303 PyObject
* obj2
= 0 ;
17304 char * kwnames
[] = {
17305 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
17308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17310 if (!SWIG_IsOK(res1
)) {
17311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectRow" "', expected argument " "1"" of type '" "wxGrid *""'");
17313 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17315 if (!SWIG_IsOK(ecode2
)) {
17316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectRow" "', expected argument " "2"" of type '" "int""'");
17318 arg2
= static_cast< int >(val2
);
17320 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17321 if (!SWIG_IsOK(ecode3
)) {
17322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectRow" "', expected argument " "3"" of type '" "bool""'");
17324 arg3
= static_cast< bool >(val3
);
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 (arg1
)->SelectRow(arg2
,arg3
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= SWIG_Py_Void();
17339 SWIGINTERN PyObject
*_wrap_Grid_SelectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
= 0;
17341 wxGrid
*arg1
= (wxGrid
*) 0 ;
17343 bool arg3
= (bool) false ;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 PyObject
* obj2
= 0 ;
17353 char * kwnames
[] = {
17354 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
17357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17359 if (!SWIG_IsOK(res1
)) {
17360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
17362 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17364 if (!SWIG_IsOK(ecode2
)) {
17365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectCol" "', expected argument " "2"" of type '" "int""'");
17367 arg2
= static_cast< int >(val2
);
17369 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17370 if (!SWIG_IsOK(ecode3
)) {
17371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectCol" "', expected argument " "3"" of type '" "bool""'");
17373 arg3
= static_cast< bool >(val3
);
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 (arg1
)->SelectCol(arg2
,arg3
);
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= SWIG_Py_Void();
17388 SWIGINTERN PyObject
*_wrap_Grid_SelectBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
= 0;
17390 wxGrid
*arg1
= (wxGrid
*) 0 ;
17395 bool arg6
= (bool) false ;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 PyObject
* obj2
= 0 ;
17411 PyObject
* obj3
= 0 ;
17412 PyObject
* obj4
= 0 ;
17413 PyObject
* obj5
= 0 ;
17414 char * kwnames
[] = {
17415 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
17418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17420 if (!SWIG_IsOK(res1
)) {
17421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
17423 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17425 if (!SWIG_IsOK(ecode2
)) {
17426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectBlock" "', expected argument " "2"" of type '" "int""'");
17428 arg2
= static_cast< int >(val2
);
17429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17430 if (!SWIG_IsOK(ecode3
)) {
17431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectBlock" "', expected argument " "3"" of type '" "int""'");
17433 arg3
= static_cast< int >(val3
);
17434 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17435 if (!SWIG_IsOK(ecode4
)) {
17436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SelectBlock" "', expected argument " "4"" of type '" "int""'");
17438 arg4
= static_cast< int >(val4
);
17439 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17440 if (!SWIG_IsOK(ecode5
)) {
17441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SelectBlock" "', expected argument " "5"" of type '" "int""'");
17443 arg5
= static_cast< int >(val5
);
17445 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
17446 if (!SWIG_IsOK(ecode6
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_SelectBlock" "', expected argument " "6"" of type '" "bool""'");
17449 arg6
= static_cast< bool >(val6
);
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= SWIG_Py_Void();
17464 SWIGINTERN PyObject
*_wrap_Grid_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17465 PyObject
*resultobj
= 0;
17466 wxGrid
*arg1
= (wxGrid
*) 0 ;
17469 PyObject
*swig_obj
[1] ;
17471 if (!args
) SWIG_fail
;
17472 swig_obj
[0] = args
;
17473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17474 if (!SWIG_IsOK(res1
)) {
17475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectAll" "', expected argument " "1"" of type '" "wxGrid *""'");
17477 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 (arg1
)->SelectAll();
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= SWIG_Py_Void();
17491 SWIGINTERN PyObject
*_wrap_Grid_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17492 PyObject
*resultobj
= 0;
17493 wxGrid
*arg1
= (wxGrid
*) 0 ;
17497 PyObject
*swig_obj
[1] ;
17499 if (!args
) SWIG_fail
;
17500 swig_obj
[0] = args
;
17501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17502 if (!SWIG_IsOK(res1
)) {
17503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17505 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 result
= (bool)(arg1
)->IsSelection();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17521 SWIGINTERN PyObject
*_wrap_Grid_ClearSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17522 PyObject
*resultobj
= 0;
17523 wxGrid
*arg1
= (wxGrid
*) 0 ;
17526 PyObject
*swig_obj
[1] ;
17528 if (!args
) SWIG_fail
;
17529 swig_obj
[0] = args
;
17530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17531 if (!SWIG_IsOK(res1
)) {
17532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17534 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 (arg1
)->ClearSelection();
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= SWIG_Py_Void();
17548 SWIGINTERN PyObject
*_wrap_Grid_IsInSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
= 0;
17550 wxGrid
*arg1
= (wxGrid
*) 0 ;
17560 PyObject
* obj0
= 0 ;
17561 PyObject
* obj1
= 0 ;
17562 PyObject
* obj2
= 0 ;
17563 char * kwnames
[] = {
17564 (char *) "self",(char *) "row",(char *) "col", NULL
17567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17569 if (!SWIG_IsOK(res1
)) {
17570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsInSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17572 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17574 if (!SWIG_IsOK(ecode2
)) {
17575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsInSelection" "', expected argument " "2"" of type '" "int""'");
17577 arg2
= static_cast< int >(val2
);
17578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17579 if (!SWIG_IsOK(ecode3
)) {
17580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsInSelection" "', expected argument " "3"" of type '" "int""'");
17582 arg3
= static_cast< int >(val3
);
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17598 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17599 PyObject
*resultobj
= 0;
17600 wxGrid
*arg1
= (wxGrid
*) 0 ;
17601 wxGridCellCoordsArray result
;
17604 PyObject
*swig_obj
[1] ;
17606 if (!args
) SWIG_fail
;
17607 swig_obj
[0] = args
;
17608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17609 if (!SWIG_IsOK(res1
)) {
17610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCells" "', expected argument " "1"" of type '" "wxGrid const *""'");
17612 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 resultobj
= wxGridCellCoordsArray_helper(result
);
17628 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17629 PyObject
*resultobj
= 0;
17630 wxGrid
*arg1
= (wxGrid
*) 0 ;
17631 wxGridCellCoordsArray result
;
17634 PyObject
*swig_obj
[1] ;
17636 if (!args
) SWIG_fail
;
17637 swig_obj
[0] = args
;
17638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17639 if (!SWIG_IsOK(res1
)) {
17640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockTopLeft" "', expected argument " "1"" of type '" "wxGrid const *""'");
17642 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= wxGridCellCoordsArray_helper(result
);
17658 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17659 PyObject
*resultobj
= 0;
17660 wxGrid
*arg1
= (wxGrid
*) 0 ;
17661 wxGridCellCoordsArray result
;
17664 PyObject
*swig_obj
[1] ;
17666 if (!args
) SWIG_fail
;
17667 swig_obj
[0] = args
;
17668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17669 if (!SWIG_IsOK(res1
)) {
17670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockBottomRight" "', expected argument " "1"" of type '" "wxGrid const *""'");
17672 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= wxGridCellCoordsArray_helper(result
);
17688 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17689 PyObject
*resultobj
= 0;
17690 wxGrid
*arg1
= (wxGrid
*) 0 ;
17694 PyObject
*swig_obj
[1] ;
17696 if (!args
) SWIG_fail
;
17697 swig_obj
[0] = args
;
17698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17699 if (!SWIG_IsOK(res1
)) {
17700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedRows" "', expected argument " "1"" of type '" "wxGrid const *""'");
17702 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= PyList_New(0);
17712 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
17713 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
17714 PyList_Append(resultobj
, val
);
17724 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17725 PyObject
*resultobj
= 0;
17726 wxGrid
*arg1
= (wxGrid
*) 0 ;
17730 PyObject
*swig_obj
[1] ;
17732 if (!args
) SWIG_fail
;
17733 swig_obj
[0] = args
;
17734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17735 if (!SWIG_IsOK(res1
)) {
17736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCols" "', expected argument " "1"" of type '" "wxGrid const *""'");
17738 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= PyList_New(0);
17748 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
17749 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
17750 PyList_Append(resultobj
, val
);
17760 SWIGINTERN PyObject
*_wrap_Grid_DeselectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
= 0;
17762 wxGrid
*arg1
= (wxGrid
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 char * kwnames
[] = {
17771 (char *) "self",(char *) "row", NULL
17774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17776 if (!SWIG_IsOK(res1
)) {
17777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectRow" "', expected argument " "1"" of type '" "wxGrid *""'");
17779 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17781 if (!SWIG_IsOK(ecode2
)) {
17782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectRow" "', expected argument " "2"" of type '" "int""'");
17784 arg2
= static_cast< int >(val2
);
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 (arg1
)->DeselectRow(arg2
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= SWIG_Py_Void();
17798 SWIGINTERN PyObject
*_wrap_Grid_DeselectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
= 0;
17800 wxGrid
*arg1
= (wxGrid
*) 0 ;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 char * kwnames
[] = {
17809 (char *) "self",(char *) "col", NULL
17812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17814 if (!SWIG_IsOK(res1
)) {
17815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
17817 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17819 if (!SWIG_IsOK(ecode2
)) {
17820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCol" "', expected argument " "2"" of type '" "int""'");
17822 arg2
= static_cast< int >(val2
);
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 (arg1
)->DeselectCol(arg2
);
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= SWIG_Py_Void();
17836 SWIGINTERN PyObject
*_wrap_Grid_DeselectCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
= 0;
17838 wxGrid
*arg1
= (wxGrid
*) 0 ;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj1
= 0 ;
17849 PyObject
* obj2
= 0 ;
17850 char * kwnames
[] = {
17851 (char *) "self",(char *) "row",(char *) "col", NULL
17854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17856 if (!SWIG_IsOK(res1
)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCell" "', expected argument " "1"" of type '" "wxGrid *""'");
17859 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17861 if (!SWIG_IsOK(ecode2
)) {
17862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCell" "', expected argument " "2"" of type '" "int""'");
17864 arg2
= static_cast< int >(val2
);
17865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17866 if (!SWIG_IsOK(ecode3
)) {
17867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeselectCell" "', expected argument " "3"" of type '" "int""'");
17869 arg3
= static_cast< int >(val3
);
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 (arg1
)->DeselectCell(arg2
,arg3
);
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17876 resultobj
= SWIG_Py_Void();
17883 SWIGINTERN PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
= 0;
17885 wxGrid
*arg1
= (wxGrid
*) 0 ;
17886 wxGridCellCoords
*arg2
= 0 ;
17887 wxGridCellCoords
*arg3
= 0 ;
17891 wxGridCellCoords temp2
;
17892 wxGridCellCoords temp3
;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 PyObject
* obj2
= 0 ;
17896 char * kwnames
[] = {
17897 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
17900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17902 if (!SWIG_IsOK(res1
)) {
17903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BlockToDeviceRect" "', expected argument " "1"" of type '" "wxGrid *""'");
17905 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17908 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
17912 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17927 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17928 PyObject
*resultobj
= 0;
17929 wxGrid
*arg1
= (wxGrid
*) 0 ;
17933 PyObject
*swig_obj
[1] ;
17935 if (!args
) SWIG_fail
;
17936 swig_obj
[0] = args
;
17937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17938 if (!SWIG_IsOK(res1
)) {
17939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid const *""'");
17941 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17955 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17956 PyObject
*resultobj
= 0;
17957 wxGrid
*arg1
= (wxGrid
*) 0 ;
17961 PyObject
*swig_obj
[1] ;
17963 if (!args
) SWIG_fail
;
17964 swig_obj
[0] = args
;
17965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17966 if (!SWIG_IsOK(res1
)) {
17967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid const *""'");
17969 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17983 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
= 0;
17985 wxGrid
*arg1
= (wxGrid
*) 0 ;
17986 wxColour
*arg2
= 0 ;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 char * kwnames
[] = {
17993 (char *) "self",(char *) "c", NULL
17996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17998 if (!SWIG_IsOK(res1
)) {
17999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid *""'");
18001 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18004 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 resultobj
= SWIG_Py_Void();
18019 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
= 0;
18021 wxGrid
*arg1
= (wxGrid
*) 0 ;
18022 wxColour
*arg2
= 0 ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 char * kwnames
[] = {
18029 (char *) "self",(char *) "c", NULL
18032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18034 if (!SWIG_IsOK(res1
)) {
18035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid *""'");
18037 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18040 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= SWIG_Py_Void();
18055 SWIGINTERN PyObject
*_wrap_Grid_RegisterDataType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
= 0;
18057 wxGrid
*arg1
= (wxGrid
*) 0 ;
18058 wxString
*arg2
= 0 ;
18059 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
18060 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
18063 bool temp2
= false ;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 PyObject
* obj2
= 0 ;
18071 PyObject
* obj3
= 0 ;
18072 char * kwnames
[] = {
18073 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
18076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18078 if (!SWIG_IsOK(res1
)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_RegisterDataType" "', expected argument " "1"" of type '" "wxGrid *""'");
18081 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18083 arg2
= wxString_in_helper(obj1
);
18084 if (arg2
== NULL
) SWIG_fail
;
18087 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
18088 if (!SWIG_IsOK(res3
)) {
18089 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_RegisterDataType" "', expected argument " "3"" of type '" "wxGridCellRenderer *""'");
18091 arg3
= reinterpret_cast< wxGridCellRenderer
* >(argp3
);
18092 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
18093 if (!SWIG_IsOK(res4
)) {
18094 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_RegisterDataType" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
18096 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= SWIG_Py_Void();
18118 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
= 0;
18120 wxGrid
*arg1
= (wxGrid
*) 0 ;
18123 wxGridCellEditor
*result
= 0 ;
18130 PyObject
* obj0
= 0 ;
18131 PyObject
* obj1
= 0 ;
18132 PyObject
* obj2
= 0 ;
18133 char * kwnames
[] = {
18134 (char *) "self",(char *) "row",(char *) "col", NULL
18137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18139 if (!SWIG_IsOK(res1
)) {
18140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18142 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18144 if (!SWIG_IsOK(ecode2
)) {
18145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "2"" of type '" "int""'");
18147 arg2
= static_cast< int >(val2
);
18148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18149 if (!SWIG_IsOK(ecode3
)) {
18150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "3"" of type '" "int""'");
18152 arg3
= static_cast< int >(val3
);
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18160 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18168 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18169 PyObject
*resultobj
= 0;
18170 wxGrid
*arg1
= (wxGrid
*) 0 ;
18173 wxGridCellRenderer
*result
= 0 ;
18180 PyObject
* obj0
= 0 ;
18181 PyObject
* obj1
= 0 ;
18182 PyObject
* obj2
= 0 ;
18183 char * kwnames
[] = {
18184 (char *) "self",(char *) "row",(char *) "col", NULL
18187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18189 if (!SWIG_IsOK(res1
)) {
18190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18192 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18194 if (!SWIG_IsOK(ecode2
)) {
18195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "2"" of type '" "int""'");
18197 arg2
= static_cast< int >(val2
);
18198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18199 if (!SWIG_IsOK(ecode3
)) {
18200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "3"" of type '" "int""'");
18202 arg3
= static_cast< int >(val3
);
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18218 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
= 0;
18220 wxGrid
*arg1
= (wxGrid
*) 0 ;
18221 wxString
*arg2
= 0 ;
18222 wxGridCellEditor
*result
= 0 ;
18225 bool temp2
= false ;
18226 PyObject
* obj0
= 0 ;
18227 PyObject
* obj1
= 0 ;
18228 char * kwnames
[] = {
18229 (char *) "self",(char *) "typeName", NULL
18232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18234 if (!SWIG_IsOK(res1
)) {
18235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18237 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18239 arg2
= wxString_in_helper(obj1
);
18240 if (arg2
== NULL
) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18266 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
= 0;
18268 wxGrid
*arg1
= (wxGrid
*) 0 ;
18269 wxString
*arg2
= 0 ;
18270 wxGridCellRenderer
*result
= 0 ;
18273 bool temp2
= false ;
18274 PyObject
* obj0
= 0 ;
18275 PyObject
* obj1
= 0 ;
18276 char * kwnames
[] = {
18277 (char *) "self",(char *) "typeName", NULL
18280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18282 if (!SWIG_IsOK(res1
)) {
18283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18285 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18287 arg2
= wxString_in_helper(obj1
);
18288 if (arg2
== NULL
) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18314 SWIGINTERN PyObject
*_wrap_Grid_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
= 0;
18316 wxGrid
*arg1
= (wxGrid
*) 0 ;
18325 PyObject
* obj0
= 0 ;
18326 PyObject
* obj1
= 0 ;
18327 PyObject
* obj2
= 0 ;
18328 char * kwnames
[] = {
18329 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
18332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18334 if (!SWIG_IsOK(res1
)) {
18335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetMargins" "', expected argument " "1"" of type '" "wxGrid *""'");
18337 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18339 if (!SWIG_IsOK(ecode2
)) {
18340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetMargins" "', expected argument " "2"" of type '" "int""'");
18342 arg2
= static_cast< int >(val2
);
18343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18344 if (!SWIG_IsOK(ecode3
)) {
18345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetMargins" "', expected argument " "3"" of type '" "int""'");
18347 arg3
= static_cast< int >(val3
);
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 (arg1
)->SetMargins(arg2
,arg3
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_Py_Void();
18361 SWIGINTERN PyObject
*_wrap_Grid_GetGridWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18362 PyObject
*resultobj
= 0;
18363 wxGrid
*arg1
= (wxGrid
*) 0 ;
18364 wxWindow
*result
= 0 ;
18367 PyObject
*swig_obj
[1] ;
18369 if (!args
) SWIG_fail
;
18370 swig_obj
[0] = args
;
18371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18372 if (!SWIG_IsOK(res1
)) {
18373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18375 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (wxWindow
*)(arg1
)->GetGridWindow();
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= wxPyMake_wxObject(result
, 0);
18391 SWIGINTERN PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18392 PyObject
*resultobj
= 0;
18393 wxGrid
*arg1
= (wxGrid
*) 0 ;
18394 wxWindow
*result
= 0 ;
18397 PyObject
*swig_obj
[1] ;
18399 if (!args
) SWIG_fail
;
18400 swig_obj
[0] = args
;
18401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18402 if (!SWIG_IsOK(res1
)) {
18403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridRowLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18405 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18413 resultobj
= wxPyMake_wxObject(result
, 0);
18421 SWIGINTERN PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18422 PyObject
*resultobj
= 0;
18423 wxGrid
*arg1
= (wxGrid
*) 0 ;
18424 wxWindow
*result
= 0 ;
18427 PyObject
*swig_obj
[1] ;
18429 if (!args
) SWIG_fail
;
18430 swig_obj
[0] = args
;
18431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18432 if (!SWIG_IsOK(res1
)) {
18433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridColLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18435 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= wxPyMake_wxObject(result
, 0);
18451 SWIGINTERN PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18452 PyObject
*resultobj
= 0;
18453 wxGrid
*arg1
= (wxGrid
*) 0 ;
18454 wxWindow
*result
= 0 ;
18457 PyObject
*swig_obj
[1] ;
18459 if (!args
) SWIG_fail
;
18460 swig_obj
[0] = args
;
18461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18462 if (!SWIG_IsOK(res1
)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCornerLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18465 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= wxPyMake_wxObject(result
, 0);
18481 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
= 0;
18483 wxGrid
*arg1
= (wxGrid
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 char * kwnames
[] = {
18492 (char *) "self",(char *) "x", NULL
18495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18497 if (!SWIG_IsOK(res1
)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineX" "', expected argument " "1"" of type '" "wxGrid *""'");
18500 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18502 if (!SWIG_IsOK(ecode2
)) {
18503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineX" "', expected argument " "2"" of type '" "int""'");
18505 arg2
= static_cast< int >(val2
);
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 (arg1
)->SetScrollLineX(arg2
);
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_Py_Void();
18519 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
= 0;
18521 wxGrid
*arg1
= (wxGrid
*) 0 ;
18527 PyObject
* obj0
= 0 ;
18528 PyObject
* obj1
= 0 ;
18529 char * kwnames
[] = {
18530 (char *) "self",(char *) "y", NULL
18533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18535 if (!SWIG_IsOK(res1
)) {
18536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineY" "', expected argument " "1"" of type '" "wxGrid *""'");
18538 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18540 if (!SWIG_IsOK(ecode2
)) {
18541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineY" "', expected argument " "2"" of type '" "int""'");
18543 arg2
= static_cast< int >(val2
);
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 (arg1
)->SetScrollLineY(arg2
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_Py_Void();
18557 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18558 PyObject
*resultobj
= 0;
18559 wxGrid
*arg1
= (wxGrid
*) 0 ;
18563 PyObject
*swig_obj
[1] ;
18565 if (!args
) SWIG_fail
;
18566 swig_obj
[0] = args
;
18567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18568 if (!SWIG_IsOK(res1
)) {
18569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18571 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_From_int(static_cast< int >(result
));
18585 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18586 PyObject
*resultobj
= 0;
18587 wxGrid
*arg1
= (wxGrid
*) 0 ;
18591 PyObject
*swig_obj
[1] ;
18593 if (!args
) SWIG_fail
;
18594 swig_obj
[0] = args
;
18595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18596 if (!SWIG_IsOK(res1
)) {
18597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineY" "', expected argument " "1"" of type '" "wxGrid const *""'");
18599 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_From_int(static_cast< int >(result
));
18613 SWIGINTERN PyObject
*_wrap_Grid_GetScrollX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
= 0;
18615 wxGrid
*arg1
= (wxGrid
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 char * kwnames
[] = {
18625 (char *) "self",(char *) "x", NULL
18628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18630 if (!SWIG_IsOK(res1
)) {
18631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18633 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18635 if (!SWIG_IsOK(ecode2
)) {
18636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollX" "', expected argument " "2"" of type '" "int""'");
18638 arg2
= static_cast< int >(val2
);
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= SWIG_From_int(static_cast< int >(result
));
18652 SWIGINTERN PyObject
*_wrap_Grid_GetScrollY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18653 PyObject
*resultobj
= 0;
18654 wxGrid
*arg1
= (wxGrid
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 char * kwnames
[] = {
18664 (char *) "self",(char *) "y", NULL
18667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18669 if (!SWIG_IsOK(res1
)) {
18670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollY" "', expected argument " "1"" of type '" "wxGrid const *""'");
18672 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18674 if (!SWIG_IsOK(ecode2
)) {
18675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollY" "', expected argument " "2"" of type '" "int""'");
18677 arg2
= static_cast< int >(val2
);
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_From_int(static_cast< int >(result
));
18691 SWIGINTERN PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
= 0;
18693 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18694 SwigValueWrapper
<wxVisualAttributes
> result
;
18697 PyObject
* obj0
= 0 ;
18698 char * kwnames
[] = {
18699 (char *) "variant", NULL
18702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18705 if (!SWIG_IsOK(ecode1
)) {
18706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Grid_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18708 arg1
= static_cast< wxWindowVariant
>(val1
);
18711 if (!wxPyCheckForApp()) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 result
= wxGrid::GetClassDefaultAttributes(arg1
);
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18717 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18724 SWIGINTERN PyObject
*Grid_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18727 SWIG_TypeNewClientData(SWIGTYPE_p_wxGrid
, SWIG_NewClientData(obj
));
18728 return SWIG_Py_Void();
18731 SWIGINTERN PyObject
*Grid_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18732 return SWIG_Python_InitShadowInstance(args
);
18735 SWIGINTERN PyObject
*_wrap_new_GridEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
= 0;
18739 wxGrid
*arg3
= (wxGrid
*) 0 ;
18740 int arg4
= (int) -1 ;
18741 int arg5
= (int) -1 ;
18742 int arg6
= (int) -1 ;
18743 int arg7
= (int) -1 ;
18744 bool arg8
= (bool) true ;
18745 bool arg9
= (bool) false ;
18746 bool arg10
= (bool) false ;
18747 bool arg11
= (bool) false ;
18748 bool arg12
= (bool) false ;
18749 wxGridEvent
*result
= 0 ;
18774 PyObject
* obj0
= 0 ;
18775 PyObject
* obj1
= 0 ;
18776 PyObject
* obj2
= 0 ;
18777 PyObject
* obj3
= 0 ;
18778 PyObject
* obj4
= 0 ;
18779 PyObject
* obj5
= 0 ;
18780 PyObject
* obj6
= 0 ;
18781 PyObject
* obj7
= 0 ;
18782 PyObject
* obj8
= 0 ;
18783 PyObject
* obj9
= 0 ;
18784 PyObject
* obj10
= 0 ;
18785 PyObject
* obj11
= 0 ;
18786 char * kwnames
[] = {
18787 (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
18790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) SWIG_fail
;
18791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18792 if (!SWIG_IsOK(ecode1
)) {
18793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEvent" "', expected argument " "1"" of type '" "int""'");
18795 arg1
= static_cast< int >(val1
);
18796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18797 if (!SWIG_IsOK(ecode2
)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEvent" "', expected argument " "2"" of type '" "wxEventType""'");
18800 arg2
= static_cast< wxEventType
>(val2
);
18801 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18802 if (!SWIG_IsOK(res3
)) {
18803 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
18805 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
18807 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18808 if (!SWIG_IsOK(ecode4
)) {
18809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEvent" "', expected argument " "4"" of type '" "int""'");
18811 arg4
= static_cast< int >(val4
);
18814 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18815 if (!SWIG_IsOK(ecode5
)) {
18816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEvent" "', expected argument " "5"" of type '" "int""'");
18818 arg5
= static_cast< int >(val5
);
18821 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18822 if (!SWIG_IsOK(ecode6
)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridEvent" "', expected argument " "6"" of type '" "int""'");
18825 arg6
= static_cast< int >(val6
);
18828 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18829 if (!SWIG_IsOK(ecode7
)) {
18830 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridEvent" "', expected argument " "7"" of type '" "int""'");
18832 arg7
= static_cast< int >(val7
);
18835 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
18836 if (!SWIG_IsOK(ecode8
)) {
18837 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridEvent" "', expected argument " "8"" of type '" "bool""'");
18839 arg8
= static_cast< bool >(val8
);
18842 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
18843 if (!SWIG_IsOK(ecode9
)) {
18844 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridEvent" "', expected argument " "9"" of type '" "bool""'");
18846 arg9
= static_cast< bool >(val9
);
18849 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
18850 if (!SWIG_IsOK(ecode10
)) {
18851 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridEvent" "', expected argument " "10"" of type '" "bool""'");
18853 arg10
= static_cast< bool >(val10
);
18856 ecode11
= SWIG_AsVal_bool(obj10
, &val11
);
18857 if (!SWIG_IsOK(ecode11
)) {
18858 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "new_GridEvent" "', expected argument " "11"" of type '" "bool""'");
18860 arg11
= static_cast< bool >(val11
);
18863 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
18864 if (!SWIG_IsOK(ecode12
)) {
18865 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "new_GridEvent" "', expected argument " "12"" of type '" "bool""'");
18867 arg12
= static_cast< bool >(val12
);
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
18872 wxPyEndAllowThreads(__tstate
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_NEW
| 0 );
18882 SWIGINTERN PyObject
*_wrap_GridEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18883 PyObject
*resultobj
= 0;
18884 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18888 PyObject
*swig_obj
[1] ;
18890 if (!args
) SWIG_fail
;
18891 swig_obj
[0] = args
;
18892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18893 if (!SWIG_IsOK(res1
)) {
18894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18896 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 result
= (int)(arg1
)->GetRow();
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= SWIG_From_int(static_cast< int >(result
));
18910 SWIGINTERN PyObject
*_wrap_GridEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18911 PyObject
*resultobj
= 0;
18912 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18916 PyObject
*swig_obj
[1] ;
18918 if (!args
) SWIG_fail
;
18919 swig_obj
[0] = args
;
18920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18921 if (!SWIG_IsOK(res1
)) {
18922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18924 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18927 result
= (int)(arg1
)->GetCol();
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= SWIG_From_int(static_cast< int >(result
));
18938 SWIGINTERN PyObject
*_wrap_GridEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18939 PyObject
*resultobj
= 0;
18940 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18944 PyObject
*swig_obj
[1] ;
18946 if (!args
) SWIG_fail
;
18947 swig_obj
[0] = args
;
18948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18949 if (!SWIG_IsOK(res1
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18952 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (arg1
)->GetPosition();
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
18966 SWIGINTERN PyObject
*_wrap_GridEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18967 PyObject
*resultobj
= 0;
18968 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18972 PyObject
*swig_obj
[1] ;
18974 if (!args
) SWIG_fail
;
18975 swig_obj
[0] = args
;
18976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18977 if (!SWIG_IsOK(res1
)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_Selecting" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18980 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 result
= (bool)(arg1
)->Selecting();
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18996 SWIGINTERN PyObject
*_wrap_GridEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18997 PyObject
*resultobj
= 0;
18998 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19002 PyObject
*swig_obj
[1] ;
19004 if (!args
) SWIG_fail
;
19005 swig_obj
[0] = args
;
19006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19007 if (!SWIG_IsOK(res1
)) {
19008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19010 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 result
= (bool)(arg1
)->ControlDown();
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19026 SWIGINTERN PyObject
*_wrap_GridEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19027 PyObject
*resultobj
= 0;
19028 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19032 PyObject
*swig_obj
[1] ;
19034 if (!args
) SWIG_fail
;
19035 swig_obj
[0] = args
;
19036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19037 if (!SWIG_IsOK(res1
)) {
19038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19040 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= (bool)(arg1
)->MetaDown();
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19056 SWIGINTERN PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19057 PyObject
*resultobj
= 0;
19058 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19062 PyObject
*swig_obj
[1] ;
19064 if (!args
) SWIG_fail
;
19065 swig_obj
[0] = args
;
19066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19067 if (!SWIG_IsOK(res1
)) {
19068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19070 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= (bool)(arg1
)->ShiftDown();
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19086 SWIGINTERN PyObject
*_wrap_GridEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19087 PyObject
*resultobj
= 0;
19088 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19092 PyObject
*swig_obj
[1] ;
19094 if (!args
) SWIG_fail
;
19095 swig_obj
[0] = args
;
19096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19097 if (!SWIG_IsOK(res1
)) {
19098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_AltDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19100 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 result
= (bool)(arg1
)->AltDown();
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19116 SWIGINTERN PyObject
*_wrap_GridEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19117 PyObject
*resultobj
= 0;
19118 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19122 PyObject
*swig_obj
[1] ;
19124 if (!args
) SWIG_fail
;
19125 swig_obj
[0] = args
;
19126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19127 if (!SWIG_IsOK(res1
)) {
19128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19130 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 result
= (bool)(arg1
)->CmdDown();
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19146 SWIGINTERN PyObject
*GridEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19149 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEvent
, SWIG_NewClientData(obj
));
19150 return SWIG_Py_Void();
19153 SWIGINTERN PyObject
*GridEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19154 return SWIG_Python_InitShadowInstance(args
);
19157 SWIGINTERN PyObject
*_wrap_new_GridSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
= 0;
19161 wxGrid
*arg3
= (wxGrid
*) 0 ;
19162 int arg4
= (int) -1 ;
19163 int arg5
= (int) -1 ;
19164 int arg6
= (int) -1 ;
19165 bool arg7
= (bool) false ;
19166 bool arg8
= (bool) false ;
19167 bool arg9
= (bool) false ;
19168 bool arg10
= (bool) false ;
19169 wxGridSizeEvent
*result
= 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 PyObject
* obj2
= 0 ;
19193 PyObject
* obj3
= 0 ;
19194 PyObject
* obj4
= 0 ;
19195 PyObject
* obj5
= 0 ;
19196 PyObject
* obj6
= 0 ;
19197 PyObject
* obj7
= 0 ;
19198 PyObject
* obj8
= 0 ;
19199 PyObject
* obj9
= 0 ;
19200 char * kwnames
[] = {
19201 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19205 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19206 if (!SWIG_IsOK(ecode1
)) {
19207 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizeEvent" "', expected argument " "1"" of type '" "int""'");
19209 arg1
= static_cast< int >(val1
);
19210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19211 if (!SWIG_IsOK(ecode2
)) {
19212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizeEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19214 arg2
= static_cast< wxEventType
>(val2
);
19215 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19216 if (!SWIG_IsOK(res3
)) {
19217 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridSizeEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19219 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19221 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19222 if (!SWIG_IsOK(ecode4
)) {
19223 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizeEvent" "', expected argument " "4"" of type '" "int""'");
19225 arg4
= static_cast< int >(val4
);
19228 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19229 if (!SWIG_IsOK(ecode5
)) {
19230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridSizeEvent" "', expected argument " "5"" of type '" "int""'");
19232 arg5
= static_cast< int >(val5
);
19235 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19236 if (!SWIG_IsOK(ecode6
)) {
19237 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridSizeEvent" "', expected argument " "6"" of type '" "int""'");
19239 arg6
= static_cast< int >(val6
);
19242 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19243 if (!SWIG_IsOK(ecode7
)) {
19244 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridSizeEvent" "', expected argument " "7"" of type '" "bool""'");
19246 arg7
= static_cast< bool >(val7
);
19249 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19250 if (!SWIG_IsOK(ecode8
)) {
19251 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridSizeEvent" "', expected argument " "8"" of type '" "bool""'");
19253 arg8
= static_cast< bool >(val8
);
19256 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19257 if (!SWIG_IsOK(ecode9
)) {
19258 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridSizeEvent" "', expected argument " "9"" of type '" "bool""'");
19260 arg9
= static_cast< bool >(val9
);
19263 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19264 if (!SWIG_IsOK(ecode10
)) {
19265 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridSizeEvent" "', expected argument " "10"" of type '" "bool""'");
19267 arg10
= static_cast< bool >(val10
);
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_NEW
| 0 );
19282 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19283 PyObject
*resultobj
= 0;
19284 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19288 PyObject
*swig_obj
[1] ;
19290 if (!args
) SWIG_fail
;
19291 swig_obj
[0] = args
;
19292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19293 if (!SWIG_IsOK(res1
)) {
19294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetRowOrCol" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19296 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= (int)(arg1
)->GetRowOrCol();
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= SWIG_From_int(static_cast< int >(result
));
19310 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19311 PyObject
*resultobj
= 0;
19312 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19316 PyObject
*swig_obj
[1] ;
19318 if (!args
) SWIG_fail
;
19319 swig_obj
[0] = args
;
19320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19321 if (!SWIG_IsOK(res1
)) {
19322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19324 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (arg1
)->GetPosition();
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19331 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19338 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19339 PyObject
*resultobj
= 0;
19340 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19344 PyObject
*swig_obj
[1] ;
19346 if (!args
) SWIG_fail
;
19347 swig_obj
[0] = args
;
19348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19349 if (!SWIG_IsOK(res1
)) {
19350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19352 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= (bool)(arg1
)->ControlDown();
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19368 SWIGINTERN PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19369 PyObject
*resultobj
= 0;
19370 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19374 PyObject
*swig_obj
[1] ;
19376 if (!args
) SWIG_fail
;
19377 swig_obj
[0] = args
;
19378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19379 if (!SWIG_IsOK(res1
)) {
19380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19382 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= (bool)(arg1
)->MetaDown();
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19398 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19399 PyObject
*resultobj
= 0;
19400 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19404 PyObject
*swig_obj
[1] ;
19406 if (!args
) SWIG_fail
;
19407 swig_obj
[0] = args
;
19408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19409 if (!SWIG_IsOK(res1
)) {
19410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19412 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 result
= (bool)(arg1
)->ShiftDown();
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19428 SWIGINTERN PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19429 PyObject
*resultobj
= 0;
19430 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19434 PyObject
*swig_obj
[1] ;
19436 if (!args
) SWIG_fail
;
19437 swig_obj
[0] = args
;
19438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19439 if (!SWIG_IsOK(res1
)) {
19440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_AltDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19442 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 result
= (bool)(arg1
)->AltDown();
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19458 SWIGINTERN PyObject
*_wrap_GridSizeEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19459 PyObject
*resultobj
= 0;
19460 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19464 PyObject
*swig_obj
[1] ;
19466 if (!args
) SWIG_fail
;
19467 swig_obj
[0] = args
;
19468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19469 if (!SWIG_IsOK(res1
)) {
19470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19472 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 result
= (bool)(arg1
)->CmdDown();
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19488 SWIGINTERN PyObject
*GridSizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19491 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizeEvent
, SWIG_NewClientData(obj
));
19492 return SWIG_Py_Void();
19495 SWIGINTERN PyObject
*GridSizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19496 return SWIG_Python_InitShadowInstance(args
);
19499 SWIGINTERN PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
= 0;
19503 wxGrid
*arg3
= (wxGrid
*) 0 ;
19504 wxGridCellCoords
*arg4
= 0 ;
19505 wxGridCellCoords
*arg5
= 0 ;
19506 bool arg6
= (bool) true ;
19507 bool arg7
= (bool) false ;
19508 bool arg8
= (bool) false ;
19509 bool arg9
= (bool) false ;
19510 bool arg10
= (bool) false ;
19511 wxGridRangeSelectEvent
*result
= 0 ;
19518 wxGridCellCoords temp4
;
19519 wxGridCellCoords temp5
;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 PyObject
* obj2
= 0 ;
19533 PyObject
* obj3
= 0 ;
19534 PyObject
* obj4
= 0 ;
19535 PyObject
* obj5
= 0 ;
19536 PyObject
* obj6
= 0 ;
19537 PyObject
* obj7
= 0 ;
19538 PyObject
* obj8
= 0 ;
19539 PyObject
* obj9
= 0 ;
19540 char * kwnames
[] = {
19541 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19545 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19546 if (!SWIG_IsOK(ecode1
)) {
19547 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "1"" of type '" "int""'");
19549 arg1
= static_cast< int >(val1
);
19550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19551 if (!SWIG_IsOK(ecode2
)) {
19552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19554 arg2
= static_cast< wxEventType
>(val2
);
19555 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19556 if (!SWIG_IsOK(res3
)) {
19557 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19559 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19562 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
19566 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
19569 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
19570 if (!SWIG_IsOK(ecode6
)) {
19571 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "6"" of type '" "bool""'");
19573 arg6
= static_cast< bool >(val6
);
19576 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19577 if (!SWIG_IsOK(ecode7
)) {
19578 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "7"" of type '" "bool""'");
19580 arg7
= static_cast< bool >(val7
);
19583 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19584 if (!SWIG_IsOK(ecode8
)) {
19585 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "8"" of type '" "bool""'");
19587 arg8
= static_cast< bool >(val8
);
19590 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19591 if (!SWIG_IsOK(ecode9
)) {
19592 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "9"" of type '" "bool""'");
19594 arg9
= static_cast< bool >(val9
);
19597 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19598 if (!SWIG_IsOK(ecode10
)) {
19599 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "10"" of type '" "bool""'");
19601 arg10
= static_cast< bool >(val10
);
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_NEW
| 0 );
19616 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19617 PyObject
*resultobj
= 0;
19618 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19619 wxGridCellCoords result
;
19622 PyObject
*swig_obj
[1] ;
19624 if (!args
) SWIG_fail
;
19625 swig_obj
[0] = args
;
19626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19627 if (!SWIG_IsOK(res1
)) {
19628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopLeftCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19630 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 result
= (arg1
)->GetTopLeftCoords();
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
19644 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19645 PyObject
*resultobj
= 0;
19646 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19647 wxGridCellCoords result
;
19650 PyObject
*swig_obj
[1] ;
19652 if (!args
) SWIG_fail
;
19653 swig_obj
[0] = args
;
19654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19655 if (!SWIG_IsOK(res1
)) {
19656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRightCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19658 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= (arg1
)->GetBottomRightCoords();
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
19672 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19673 PyObject
*resultobj
= 0;
19674 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19678 PyObject
*swig_obj
[1] ;
19680 if (!args
) SWIG_fail
;
19681 swig_obj
[0] = args
;
19682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19683 if (!SWIG_IsOK(res1
)) {
19684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19686 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (int)(arg1
)->GetTopRow();
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= SWIG_From_int(static_cast< int >(result
));
19700 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19701 PyObject
*resultobj
= 0;
19702 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19706 PyObject
*swig_obj
[1] ;
19708 if (!args
) SWIG_fail
;
19709 swig_obj
[0] = args
;
19710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19711 if (!SWIG_IsOK(res1
)) {
19712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19714 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 result
= (int)(arg1
)->GetBottomRow();
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19721 resultobj
= SWIG_From_int(static_cast< int >(result
));
19728 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19729 PyObject
*resultobj
= 0;
19730 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19734 PyObject
*swig_obj
[1] ;
19736 if (!args
) SWIG_fail
;
19737 swig_obj
[0] = args
;
19738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19739 if (!SWIG_IsOK(res1
)) {
19740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetLeftCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19742 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= (int)(arg1
)->GetLeftCol();
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= SWIG_From_int(static_cast< int >(result
));
19756 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19757 PyObject
*resultobj
= 0;
19758 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19762 PyObject
*swig_obj
[1] ;
19764 if (!args
) SWIG_fail
;
19765 swig_obj
[0] = args
;
19766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19767 if (!SWIG_IsOK(res1
)) {
19768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetRightCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19770 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (int)(arg1
)->GetRightCol();
19774 wxPyEndAllowThreads(__tstate
);
19775 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= SWIG_From_int(static_cast< int >(result
));
19784 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19785 PyObject
*resultobj
= 0;
19786 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19790 PyObject
*swig_obj
[1] ;
19792 if (!args
) SWIG_fail
;
19793 swig_obj
[0] = args
;
19794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19795 if (!SWIG_IsOK(res1
)) {
19796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_Selecting" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19798 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= (bool)(arg1
)->Selecting();
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19814 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19815 PyObject
*resultobj
= 0;
19816 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19820 PyObject
*swig_obj
[1] ;
19822 if (!args
) SWIG_fail
;
19823 swig_obj
[0] = args
;
19824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19825 if (!SWIG_IsOK(res1
)) {
19826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19828 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 result
= (bool)(arg1
)->ControlDown();
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19844 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19845 PyObject
*resultobj
= 0;
19846 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19850 PyObject
*swig_obj
[1] ;
19852 if (!args
) SWIG_fail
;
19853 swig_obj
[0] = args
;
19854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19855 if (!SWIG_IsOK(res1
)) {
19856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19858 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 result
= (bool)(arg1
)->MetaDown();
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19874 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19875 PyObject
*resultobj
= 0;
19876 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19880 PyObject
*swig_obj
[1] ;
19882 if (!args
) SWIG_fail
;
19883 swig_obj
[0] = args
;
19884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19885 if (!SWIG_IsOK(res1
)) {
19886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19888 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 result
= (bool)(arg1
)->ShiftDown();
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19904 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19905 PyObject
*resultobj
= 0;
19906 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19910 PyObject
*swig_obj
[1] ;
19912 if (!args
) SWIG_fail
;
19913 swig_obj
[0] = args
;
19914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19915 if (!SWIG_IsOK(res1
)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_AltDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19918 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 result
= (bool)(arg1
)->AltDown();
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19934 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19935 PyObject
*resultobj
= 0;
19936 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19940 PyObject
*swig_obj
[1] ;
19942 if (!args
) SWIG_fail
;
19943 swig_obj
[0] = args
;
19944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19945 if (!SWIG_IsOK(res1
)) {
19946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19948 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 result
= (bool)(arg1
)->CmdDown();
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19964 SWIGINTERN PyObject
*GridRangeSelectEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19967 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_NewClientData(obj
));
19968 return SWIG_Py_Void();
19971 SWIGINTERN PyObject
*GridRangeSelectEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19972 return SWIG_Python_InitShadowInstance(args
);
19975 SWIGINTERN PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
= 0;
19979 wxObject
*arg3
= (wxObject
*) 0 ;
19982 wxControl
*arg6
= (wxControl
*) 0 ;
19983 wxGridEditorCreatedEvent
*result
= 0 ;
19996 PyObject
* obj0
= 0 ;
19997 PyObject
* obj1
= 0 ;
19998 PyObject
* obj2
= 0 ;
19999 PyObject
* obj3
= 0 ;
20000 PyObject
* obj4
= 0 ;
20001 PyObject
* obj5
= 0 ;
20002 char * kwnames
[] = {
20003 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
20006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20008 if (!SWIG_IsOK(ecode1
)) {
20009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "1"" of type '" "int""'");
20011 arg1
= static_cast< int >(val1
);
20012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20013 if (!SWIG_IsOK(ecode2
)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "2"" of type '" "wxEventType""'");
20016 arg2
= static_cast< wxEventType
>(val2
);
20017 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxObject
, 0 | 0 );
20018 if (!SWIG_IsOK(res3
)) {
20019 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "3"" of type '" "wxObject *""'");
20021 arg3
= reinterpret_cast< wxObject
* >(argp3
);
20022 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20023 if (!SWIG_IsOK(ecode4
)) {
20024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "4"" of type '" "int""'");
20026 arg4
= static_cast< int >(val4
);
20027 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20028 if (!SWIG_IsOK(ecode5
)) {
20029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "5"" of type '" "int""'");
20031 arg5
= static_cast< int >(val5
);
20032 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxControl
, 0 | 0 );
20033 if (!SWIG_IsOK(res6
)) {
20034 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "6"" of type '" "wxControl *""'");
20036 arg6
= reinterpret_cast< wxControl
* >(argp6
);
20038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_NEW
| 0 );
20050 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20051 PyObject
*resultobj
= 0;
20052 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20056 PyObject
*swig_obj
[1] ;
20058 if (!args
) SWIG_fail
;
20059 swig_obj
[0] = args
;
20060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20061 if (!SWIG_IsOK(res1
)) {
20062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20064 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 result
= (int)(arg1
)->GetRow();
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_From_int(static_cast< int >(result
));
20078 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20079 PyObject
*resultobj
= 0;
20080 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20084 PyObject
*swig_obj
[1] ;
20086 if (!args
) SWIG_fail
;
20087 swig_obj
[0] = args
;
20088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20089 if (!SWIG_IsOK(res1
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20092 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (int)(arg1
)->GetCol();
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= SWIG_From_int(static_cast< int >(result
));
20106 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20107 PyObject
*resultobj
= 0;
20108 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20109 wxControl
*result
= 0 ;
20112 PyObject
*swig_obj
[1] ;
20114 if (!args
) SWIG_fail
;
20115 swig_obj
[0] = args
;
20116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20117 if (!SWIG_IsOK(res1
)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20120 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 result
= (wxControl
*)(arg1
)->GetControl();
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20128 resultobj
= wxPyMake_wxObject(result
, 0);
20136 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
= 0;
20138 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 PyObject
* obj1
= 0 ;
20146 char * kwnames
[] = {
20147 (char *) "self",(char *) "row", NULL
20150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20152 if (!SWIG_IsOK(res1
)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20155 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20157 if (!SWIG_IsOK(ecode2
)) {
20158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "2"" of type '" "int""'");
20160 arg2
= static_cast< int >(val2
);
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 (arg1
)->SetRow(arg2
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= SWIG_Py_Void();
20174 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
= 0;
20176 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 PyObject
* obj1
= 0 ;
20184 char * kwnames
[] = {
20185 (char *) "self",(char *) "col", NULL
20188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20190 if (!SWIG_IsOK(res1
)) {
20191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20193 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20195 if (!SWIG_IsOK(ecode2
)) {
20196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "2"" of type '" "int""'");
20198 arg2
= static_cast< int >(val2
);
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 (arg1
)->SetCol(arg2
);
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= SWIG_Py_Void();
20212 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
= 0;
20214 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20215 wxControl
*arg2
= (wxControl
*) 0 ;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20222 char * kwnames
[] = {
20223 (char *) "self",(char *) "ctrl", NULL
20226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20228 if (!SWIG_IsOK(res1
)) {
20229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20231 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20232 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
20233 if (!SWIG_IsOK(res2
)) {
20234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
20236 arg2
= reinterpret_cast< wxControl
* >(argp2
);
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 (arg1
)->SetControl(arg2
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= SWIG_Py_Void();
20250 SWIGINTERN PyObject
*GridEditorCreatedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20253 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_NewClientData(obj
));
20254 return SWIG_Py_Void();
20257 SWIGINTERN PyObject
*GridEditorCreatedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20258 return SWIG_Python_InitShadowInstance(args
);
20261 static PyMethodDef SwigMethods
[] = {
20262 { (char *)"GridCellWorker__setOORInfo", (PyCFunction
) _wrap_GridCellWorker__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20263 { (char *)"delete_GridCellWorker", (PyCFunction
)_wrap_delete_GridCellWorker
, METH_O
, NULL
},
20264 { (char *)"GridCellWorker_SetParameters", (PyCFunction
) _wrap_GridCellWorker_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20265 { (char *)"GridCellWorker_IncRef", (PyCFunction
)_wrap_GridCellWorker_IncRef
, METH_O
, NULL
},
20266 { (char *)"GridCellWorker_DecRef", (PyCFunction
)_wrap_GridCellWorker_DecRef
, METH_O
, NULL
},
20267 { (char *)"GridCellWorker_swigregister", GridCellWorker_swigregister
, METH_VARARGS
, NULL
},
20268 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20269 { (char *)"new_PyGridCellRenderer", (PyCFunction
)_wrap_new_PyGridCellRenderer
, METH_NOARGS
, NULL
},
20270 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20271 { (char *)"PyGridCellRenderer_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20272 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20273 { (char *)"PyGridCellRenderer_swiginit", PyGridCellRenderer_swiginit
, METH_VARARGS
, NULL
},
20274 { (char *)"new_GridCellStringRenderer", (PyCFunction
)_wrap_new_GridCellStringRenderer
, METH_NOARGS
, NULL
},
20275 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20276 { (char *)"GridCellStringRenderer_swiginit", GridCellStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20277 { (char *)"new_GridCellNumberRenderer", (PyCFunction
)_wrap_new_GridCellNumberRenderer
, METH_NOARGS
, NULL
},
20278 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
20279 { (char *)"GridCellNumberRenderer_swiginit", GridCellNumberRenderer_swiginit
, METH_VARARGS
, NULL
},
20280 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20281 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
)_wrap_GridCellFloatRenderer_GetWidth
, METH_O
, NULL
},
20282 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20283 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
)_wrap_GridCellFloatRenderer_GetPrecision
, METH_O
, NULL
},
20284 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20285 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
20286 { (char *)"GridCellFloatRenderer_swiginit", GridCellFloatRenderer_swiginit
, METH_VARARGS
, NULL
},
20287 { (char *)"new_GridCellBoolRenderer", (PyCFunction
)_wrap_new_GridCellBoolRenderer
, METH_NOARGS
, NULL
},
20288 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
20289 { (char *)"GridCellBoolRenderer_swiginit", GridCellBoolRenderer_swiginit
, METH_VARARGS
, NULL
},
20290 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20291 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
20292 { (char *)"GridCellDateTimeRenderer_swiginit", GridCellDateTimeRenderer_swiginit
, METH_VARARGS
, NULL
},
20293 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20294 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
20295 { (char *)"GridCellEnumRenderer_swiginit", GridCellEnumRenderer_swiginit
, METH_VARARGS
, NULL
},
20296 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
)_wrap_new_GridCellAutoWrapStringRenderer
, METH_NOARGS
, NULL
},
20297 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20298 { (char *)"GridCellAutoWrapStringRenderer_swiginit", GridCellAutoWrapStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20299 { (char *)"GridCellEditor_IsCreated", (PyCFunction
)_wrap_GridCellEditor_IsCreated
, METH_O
, NULL
},
20300 { (char *)"GridCellEditor_GetControl", (PyCFunction
)_wrap_GridCellEditor_GetControl
, METH_O
, NULL
},
20301 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20302 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
)_wrap_GridCellEditor_GetCellAttr
, METH_O
, NULL
},
20303 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20304 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20305 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20306 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20307 { (char *)"GridCellEditor_Reset", (PyCFunction
)_wrap_GridCellEditor_Reset
, METH_O
, NULL
},
20308 { (char *)"GridCellEditor_Clone", (PyCFunction
)_wrap_GridCellEditor_Clone
, METH_O
, NULL
},
20309 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20310 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20311 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20312 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20313 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20314 { (char *)"GridCellEditor_StartingClick", (PyCFunction
)_wrap_GridCellEditor_StartingClick
, METH_O
, NULL
},
20315 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20316 { (char *)"GridCellEditor_Destroy", (PyCFunction
)_wrap_GridCellEditor_Destroy
, METH_O
, NULL
},
20317 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20318 { (char *)"new_PyGridCellEditor", (PyCFunction
)_wrap_new_PyGridCellEditor
, METH_NOARGS
, NULL
},
20319 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20320 { (char *)"PyGridCellEditor_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20321 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20322 { (char *)"PyGridCellEditor_swiginit", PyGridCellEditor_swiginit
, METH_VARARGS
, NULL
},
20323 { (char *)"new_GridCellTextEditor", (PyCFunction
)_wrap_new_GridCellTextEditor
, METH_NOARGS
, NULL
},
20324 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
)_wrap_GridCellTextEditor_GetValue
, METH_O
, NULL
},
20325 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
20326 { (char *)"GridCellTextEditor_swiginit", GridCellTextEditor_swiginit
, METH_VARARGS
, NULL
},
20327 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20328 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
20329 { (char *)"GridCellNumberEditor_swiginit", GridCellNumberEditor_swiginit
, METH_VARARGS
, NULL
},
20330 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20331 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
20332 { (char *)"GridCellFloatEditor_swiginit", GridCellFloatEditor_swiginit
, METH_VARARGS
, NULL
},
20333 { (char *)"new_GridCellBoolEditor", (PyCFunction
)_wrap_new_GridCellBoolEditor
, METH_NOARGS
, NULL
},
20334 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
)_wrap_GridCellBoolEditor_GetValue
, METH_O
, NULL
},
20335 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
20336 { (char *)"GridCellBoolEditor_swiginit", GridCellBoolEditor_swiginit
, METH_VARARGS
, NULL
},
20337 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20338 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
)_wrap_GridCellChoiceEditor_GetValue
, METH_O
, NULL
},
20339 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
20340 { (char *)"GridCellChoiceEditor_swiginit", GridCellChoiceEditor_swiginit
, METH_VARARGS
, NULL
},
20341 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20342 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
20343 { (char *)"GridCellEnumEditor_swiginit", GridCellEnumEditor_swiginit
, METH_VARARGS
, NULL
},
20344 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
)_wrap_new_GridCellAutoWrapStringEditor
, METH_NOARGS
, NULL
},
20345 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
20346 { (char *)"GridCellAutoWrapStringEditor_swiginit", GridCellAutoWrapStringEditor_swiginit
, METH_VARARGS
, NULL
},
20347 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20348 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20349 { (char *)"delete_GridCellAttr", (PyCFunction
)_wrap_delete_GridCellAttr
, METH_O
, NULL
},
20350 { (char *)"GridCellAttr_Clone", (PyCFunction
)_wrap_GridCellAttr_Clone
, METH_O
, NULL
},
20351 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20352 { (char *)"GridCellAttr_IncRef", (PyCFunction
)_wrap_GridCellAttr_IncRef
, METH_O
, NULL
},
20353 { (char *)"GridCellAttr_DecRef", (PyCFunction
)_wrap_GridCellAttr_DecRef
, METH_O
, NULL
},
20354 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20355 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20356 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20357 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20358 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20359 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20360 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20361 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20362 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20363 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20364 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
)_wrap_GridCellAttr_HasTextColour
, METH_O
, NULL
},
20365 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_HasBackgroundColour
, METH_O
, NULL
},
20366 { (char *)"GridCellAttr_HasFont", (PyCFunction
)_wrap_GridCellAttr_HasFont
, METH_O
, NULL
},
20367 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
)_wrap_GridCellAttr_HasAlignment
, METH_O
, NULL
},
20368 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
)_wrap_GridCellAttr_HasRenderer
, METH_O
, NULL
},
20369 { (char *)"GridCellAttr_HasEditor", (PyCFunction
)_wrap_GridCellAttr_HasEditor
, METH_O
, NULL
},
20370 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
)_wrap_GridCellAttr_HasReadWriteMode
, METH_O
, NULL
},
20371 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
)_wrap_GridCellAttr_HasOverflowMode
, METH_O
, NULL
},
20372 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
)_wrap_GridCellAttr_GetTextColour
, METH_O
, NULL
},
20373 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_GetBackgroundColour
, METH_O
, NULL
},
20374 { (char *)"GridCellAttr_GetFont", (PyCFunction
)_wrap_GridCellAttr_GetFont
, METH_O
, NULL
},
20375 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
)_wrap_GridCellAttr_GetAlignment
, METH_O
, NULL
},
20376 { (char *)"GridCellAttr_GetSize", (PyCFunction
)_wrap_GridCellAttr_GetSize
, METH_O
, NULL
},
20377 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
)_wrap_GridCellAttr_GetOverflow
, METH_O
, NULL
},
20378 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20379 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20380 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
)_wrap_GridCellAttr_IsReadOnly
, METH_O
, NULL
},
20381 { (char *)"GridCellAttr_GetKind", (PyCFunction
)_wrap_GridCellAttr_GetKind
, METH_O
, NULL
},
20382 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20383 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
20384 { (char *)"GridCellAttr_swiginit", GridCellAttr_swiginit
, METH_VARARGS
, NULL
},
20385 { (char *)"new_GridCellAttrProvider", (PyCFunction
)_wrap_new_GridCellAttrProvider
, METH_NOARGS
, NULL
},
20386 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20387 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20388 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20389 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20390 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20391 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20392 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20393 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20394 { (char *)"GridCellAttrProvider_swiginit", GridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20395 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
)_wrap_new_PyGridCellAttrProvider
, METH_NOARGS
, NULL
},
20396 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20397 { (char *)"PyGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20398 { (char *)"PyGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20399 { (char *)"PyGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20400 { (char *)"PyGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20401 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20402 { (char *)"PyGridCellAttrProvider_swiginit", PyGridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20403 { (char *)"delete_GridTableBase", (PyCFunction
)_wrap_delete_GridTableBase
, METH_O
, NULL
},
20404 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20405 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20406 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
)_wrap_GridTableBase_GetAttrProvider
, METH_O
, NULL
},
20407 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20408 { (char *)"GridTableBase_GetView", (PyCFunction
)_wrap_GridTableBase_GetView
, METH_O
, NULL
},
20409 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
)_wrap_GridTableBase_GetNumberRows
, METH_O
, NULL
},
20410 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
)_wrap_GridTableBase_GetNumberCols
, METH_O
, NULL
},
20411 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20412 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20413 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20414 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20415 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20416 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20417 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20418 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20419 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20420 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20421 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20422 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20423 { (char *)"GridTableBase_Clear", (PyCFunction
)_wrap_GridTableBase_Clear
, METH_O
, NULL
},
20424 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20425 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20426 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20427 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20428 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20429 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20430 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20431 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20432 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20433 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20434 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
)_wrap_GridTableBase_CanHaveAttributes
, METH_O
, NULL
},
20435 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20436 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20437 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20438 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20439 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
20440 { (char *)"new_PyGridTableBase", (PyCFunction
)_wrap_new_PyGridTableBase
, METH_NOARGS
, NULL
},
20441 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20442 { (char *)"PyGridTableBase_Destroy", (PyCFunction
)_wrap_PyGridTableBase_Destroy
, METH_O
, NULL
},
20443 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
20444 { (char *)"PyGridTableBase_swiginit", PyGridTableBase_swiginit
, METH_VARARGS
, NULL
},
20445 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20446 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
20447 { (char *)"GridStringTable_swiginit", GridStringTable_swiginit
, METH_VARARGS
, NULL
},
20448 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20449 { (char *)"delete_GridTableMessage", (PyCFunction
)_wrap_delete_GridTableMessage
, METH_O
, NULL
},
20450 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20451 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
)_wrap_GridTableMessage_GetTableObject
, METH_O
, NULL
},
20452 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20453 { (char *)"GridTableMessage_GetId", (PyCFunction
)_wrap_GridTableMessage_GetId
, METH_O
, NULL
},
20454 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20455 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt
, METH_O
, NULL
},
20456 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20457 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt2
, METH_O
, NULL
},
20458 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
20459 { (char *)"GridTableMessage_swiginit", GridTableMessage_swiginit
, METH_VARARGS
, NULL
},
20460 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20461 { (char *)"delete_GridCellCoords", (PyCFunction
)_wrap_delete_GridCellCoords
, METH_O
, NULL
},
20462 { (char *)"GridCellCoords_GetRow", (PyCFunction
)_wrap_GridCellCoords_GetRow
, METH_O
, NULL
},
20463 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20464 { (char *)"GridCellCoords_GetCol", (PyCFunction
)_wrap_GridCellCoords_GetCol
, METH_O
, NULL
},
20465 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20466 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20467 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20468 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20469 { (char *)"GridCellCoords_Get", (PyCFunction
)_wrap_GridCellCoords_Get
, METH_O
, NULL
},
20470 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
20471 { (char *)"GridCellCoords_swiginit", GridCellCoords_swiginit
, METH_VARARGS
, NULL
},
20472 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20473 { (char *)"new_PreGrid", (PyCFunction
)_wrap_new_PreGrid
, METH_NOARGS
, NULL
},
20474 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20475 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20476 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20477 { (char *)"Grid_GetSelectionMode", (PyCFunction
)_wrap_Grid_GetSelectionMode
, METH_O
, NULL
},
20478 { (char *)"Grid_GetNumberRows", (PyCFunction
)_wrap_Grid_GetNumberRows
, METH_O
, NULL
},
20479 { (char *)"Grid_GetNumberCols", (PyCFunction
)_wrap_Grid_GetNumberCols
, METH_O
, NULL
},
20480 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20481 { (char *)"Grid_GetTable", (PyCFunction
)_wrap_Grid_GetTable
, METH_O
, NULL
},
20482 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20483 { (char *)"Grid_ClearGrid", (PyCFunction
)_wrap_Grid_ClearGrid
, METH_O
, NULL
},
20484 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20485 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20486 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20487 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20488 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20489 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20490 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20491 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20492 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20493 { (char *)"Grid_BeginBatch", (PyCFunction
)_wrap_Grid_BeginBatch
, METH_O
, NULL
},
20494 { (char *)"Grid_EndBatch", (PyCFunction
)_wrap_Grid_EndBatch
, METH_O
, NULL
},
20495 { (char *)"Grid_GetBatchCount", (PyCFunction
)_wrap_Grid_GetBatchCount
, METH_O
, NULL
},
20496 { (char *)"Grid_ForceRefresh", (PyCFunction
)_wrap_Grid_ForceRefresh
, METH_O
, NULL
},
20497 { (char *)"Grid_IsEditable", (PyCFunction
)_wrap_Grid_IsEditable
, METH_O
, NULL
},
20498 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20499 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20500 { (char *)"Grid_DisableCellEditControl", (PyCFunction
)_wrap_Grid_DisableCellEditControl
, METH_O
, NULL
},
20501 { (char *)"Grid_CanEnableCellControl", (PyCFunction
)_wrap_Grid_CanEnableCellControl
, METH_O
, NULL
},
20502 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
)_wrap_Grid_IsCellEditControlEnabled
, METH_O
, NULL
},
20503 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
)_wrap_Grid_IsCellEditControlShown
, METH_O
, NULL
},
20504 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
)_wrap_Grid_IsCurrentCellReadOnly
, METH_O
, NULL
},
20505 { (char *)"Grid_ShowCellEditControl", (PyCFunction
)_wrap_Grid_ShowCellEditControl
, METH_O
, NULL
},
20506 { (char *)"Grid_HideCellEditControl", (PyCFunction
)_wrap_Grid_HideCellEditControl
, METH_O
, NULL
},
20507 { (char *)"Grid_SaveEditControlValue", (PyCFunction
)_wrap_Grid_SaveEditControlValue
, METH_O
, NULL
},
20508 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20509 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20510 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20511 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20512 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20513 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20514 { (char *)"Grid_GetGridCursorRow", (PyCFunction
)_wrap_Grid_GetGridCursorRow
, METH_O
, NULL
},
20515 { (char *)"Grid_GetGridCursorCol", (PyCFunction
)_wrap_Grid_GetGridCursorCol
, METH_O
, NULL
},
20516 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20517 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20518 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20519 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20520 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20521 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20522 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20523 { (char *)"Grid_MovePageDown", (PyCFunction
)_wrap_Grid_MovePageDown
, METH_O
, NULL
},
20524 { (char *)"Grid_MovePageUp", (PyCFunction
)_wrap_Grid_MovePageUp
, METH_O
, NULL
},
20525 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20526 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20527 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20528 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20529 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultRowLabelSize
, METH_O
, NULL
},
20530 { (char *)"Grid_GetRowLabelSize", (PyCFunction
)_wrap_Grid_GetRowLabelSize
, METH_O
, NULL
},
20531 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultColLabelSize
, METH_O
, NULL
},
20532 { (char *)"Grid_GetColLabelSize", (PyCFunction
)_wrap_Grid_GetColLabelSize
, METH_O
, NULL
},
20533 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
)_wrap_Grid_GetLabelBackgroundColour
, METH_O
, NULL
},
20534 { (char *)"Grid_GetLabelTextColour", (PyCFunction
)_wrap_Grid_GetLabelTextColour
, METH_O
, NULL
},
20535 { (char *)"Grid_GetLabelFont", (PyCFunction
)_wrap_Grid_GetLabelFont
, METH_O
, NULL
},
20536 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
)_wrap_Grid_GetRowLabelAlignment
, METH_O
, NULL
},
20537 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
)_wrap_Grid_GetColLabelAlignment
, METH_O
, NULL
},
20538 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
)_wrap_Grid_GetColLabelTextOrientation
, METH_O
, NULL
},
20539 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20540 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20541 { (char *)"Grid_GetGridLineColour", (PyCFunction
)_wrap_Grid_GetGridLineColour
, METH_O
, NULL
},
20542 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
)_wrap_Grid_GetCellHighlightColour
, METH_O
, NULL
},
20543 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightPenWidth
, METH_O
, NULL
},
20544 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightROPenWidth
, METH_O
, NULL
},
20545 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20546 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20547 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20548 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20549 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20550 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20551 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20552 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20553 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20554 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20555 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20556 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20557 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20558 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20559 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20560 { (char *)"Grid_DisableDragRowSize", (PyCFunction
)_wrap_Grid_DisableDragRowSize
, METH_O
, NULL
},
20561 { (char *)"Grid_CanDragRowSize", (PyCFunction
)_wrap_Grid_CanDragRowSize
, METH_O
, NULL
},
20562 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20563 { (char *)"Grid_DisableDragColSize", (PyCFunction
)_wrap_Grid_DisableDragColSize
, METH_O
, NULL
},
20564 { (char *)"Grid_CanDragColSize", (PyCFunction
)_wrap_Grid_CanDragColSize
, METH_O
, NULL
},
20565 { (char *)"Grid_EnableDragColMove", (PyCFunction
) _wrap_Grid_EnableDragColMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20566 { (char *)"Grid_DisableDragColMove", (PyCFunction
)_wrap_Grid_DisableDragColMove
, METH_O
, NULL
},
20567 { (char *)"Grid_CanDragColMove", (PyCFunction
)_wrap_Grid_CanDragColMove
, METH_O
, NULL
},
20568 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20569 { (char *)"Grid_DisableDragGridSize", (PyCFunction
)_wrap_Grid_DisableDragGridSize
, METH_O
, NULL
},
20570 { (char *)"Grid_CanDragGridSize", (PyCFunction
)_wrap_Grid_CanDragGridSize
, METH_O
, NULL
},
20571 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20572 { (char *)"Grid_DisableDragCell", (PyCFunction
)_wrap_Grid_DisableDragCell
, METH_O
, NULL
},
20573 { (char *)"Grid_CanDragCell", (PyCFunction
)_wrap_Grid_CanDragCell
, METH_O
, NULL
},
20574 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20575 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20576 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20577 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20578 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20579 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20580 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20581 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20582 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20583 { (char *)"Grid_GridLinesEnabled", (PyCFunction
)_wrap_Grid_GridLinesEnabled
, METH_O
, NULL
},
20584 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
)_wrap_Grid_GetDefaultRowSize
, METH_O
, NULL
},
20585 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20586 { (char *)"Grid_GetDefaultColSize", (PyCFunction
)_wrap_Grid_GetDefaultColSize
, METH_O
, NULL
},
20587 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20588 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
)_wrap_Grid_GetDefaultCellBackgroundColour
, METH_O
, NULL
},
20589 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20590 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
)_wrap_Grid_GetDefaultCellTextColour
, METH_O
, NULL
},
20591 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20592 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
)_wrap_Grid_GetDefaultCellFont
, METH_O
, NULL
},
20593 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20594 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
)_wrap_Grid_GetDefaultCellAlignment
, METH_O
, NULL
},
20595 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20596 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
)_wrap_Grid_GetDefaultCellOverflow
, METH_O
, NULL
},
20597 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20598 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20599 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20600 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20601 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20602 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20603 { (char *)"Grid_GetColAt", (PyCFunction
) _wrap_Grid_GetColAt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20604 { (char *)"Grid_SetColPos", (PyCFunction
) _wrap_Grid_SetColPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20605 { (char *)"Grid_GetColPos", (PyCFunction
) _wrap_Grid_GetColPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20606 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20607 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20608 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20609 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20610 { (char *)"Grid_AutoSize", (PyCFunction
)_wrap_Grid_AutoSize
, METH_O
, NULL
},
20611 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20612 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20613 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20614 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20615 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20616 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20617 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
)_wrap_Grid_GetColMinimalAcceptableWidth
, METH_O
, NULL
},
20618 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
)_wrap_Grid_GetRowMinimalAcceptableHeight
, METH_O
, NULL
},
20619 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20620 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20621 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20622 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20623 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20624 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20625 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20626 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20627 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20628 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20629 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20630 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20631 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20632 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
)_wrap_Grid_GetDefaultRenderer
, METH_O
, NULL
},
20633 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20634 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20635 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20636 { (char *)"Grid_GetDefaultEditor", (PyCFunction
)_wrap_Grid_GetDefaultEditor
, METH_O
, NULL
},
20637 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20638 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20639 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20640 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20641 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20642 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20643 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20644 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20645 { (char *)"Grid_SelectAll", (PyCFunction
)_wrap_Grid_SelectAll
, METH_O
, NULL
},
20646 { (char *)"Grid_IsSelection", (PyCFunction
)_wrap_Grid_IsSelection
, METH_O
, NULL
},
20647 { (char *)"Grid_ClearSelection", (PyCFunction
)_wrap_Grid_ClearSelection
, METH_O
, NULL
},
20648 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20649 { (char *)"Grid_GetSelectedCells", (PyCFunction
)_wrap_Grid_GetSelectedCells
, METH_O
, NULL
},
20650 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
)_wrap_Grid_GetSelectionBlockTopLeft
, METH_O
, NULL
},
20651 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
)_wrap_Grid_GetSelectionBlockBottomRight
, METH_O
, NULL
},
20652 { (char *)"Grid_GetSelectedRows", (PyCFunction
)_wrap_Grid_GetSelectedRows
, METH_O
, NULL
},
20653 { (char *)"Grid_GetSelectedCols", (PyCFunction
)_wrap_Grid_GetSelectedCols
, METH_O
, NULL
},
20654 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20655 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20656 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20657 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20658 { (char *)"Grid_GetSelectionBackground", (PyCFunction
)_wrap_Grid_GetSelectionBackground
, METH_O
, NULL
},
20659 { (char *)"Grid_GetSelectionForeground", (PyCFunction
)_wrap_Grid_GetSelectionForeground
, METH_O
, NULL
},
20660 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20661 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20662 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20663 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20664 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20665 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20666 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20667 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20668 { (char *)"Grid_GetGridWindow", (PyCFunction
)_wrap_Grid_GetGridWindow
, METH_O
, NULL
},
20669 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
)_wrap_Grid_GetGridRowLabelWindow
, METH_O
, NULL
},
20670 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
)_wrap_Grid_GetGridColLabelWindow
, METH_O
, NULL
},
20671 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
)_wrap_Grid_GetGridCornerLabelWindow
, METH_O
, NULL
},
20672 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20673 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20674 { (char *)"Grid_GetScrollLineX", (PyCFunction
)_wrap_Grid_GetScrollLineX
, METH_O
, NULL
},
20675 { (char *)"Grid_GetScrollLineY", (PyCFunction
)_wrap_Grid_GetScrollLineY
, METH_O
, NULL
},
20676 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20677 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20678 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20679 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
20680 { (char *)"Grid_swiginit", Grid_swiginit
, METH_VARARGS
, NULL
},
20681 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20682 { (char *)"GridEvent_GetRow", (PyCFunction
)_wrap_GridEvent_GetRow
, METH_O
, NULL
},
20683 { (char *)"GridEvent_GetCol", (PyCFunction
)_wrap_GridEvent_GetCol
, METH_O
, NULL
},
20684 { (char *)"GridEvent_GetPosition", (PyCFunction
)_wrap_GridEvent_GetPosition
, METH_O
, NULL
},
20685 { (char *)"GridEvent_Selecting", (PyCFunction
)_wrap_GridEvent_Selecting
, METH_O
, NULL
},
20686 { (char *)"GridEvent_ControlDown", (PyCFunction
)_wrap_GridEvent_ControlDown
, METH_O
, NULL
},
20687 { (char *)"GridEvent_MetaDown", (PyCFunction
)_wrap_GridEvent_MetaDown
, METH_O
, NULL
},
20688 { (char *)"GridEvent_ShiftDown", (PyCFunction
)_wrap_GridEvent_ShiftDown
, METH_O
, NULL
},
20689 { (char *)"GridEvent_AltDown", (PyCFunction
)_wrap_GridEvent_AltDown
, METH_O
, NULL
},
20690 { (char *)"GridEvent_CmdDown", (PyCFunction
)_wrap_GridEvent_CmdDown
, METH_O
, NULL
},
20691 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
20692 { (char *)"GridEvent_swiginit", GridEvent_swiginit
, METH_VARARGS
, NULL
},
20693 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20694 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
)_wrap_GridSizeEvent_GetRowOrCol
, METH_O
, NULL
},
20695 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
)_wrap_GridSizeEvent_GetPosition
, METH_O
, NULL
},
20696 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
)_wrap_GridSizeEvent_ControlDown
, METH_O
, NULL
},
20697 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
)_wrap_GridSizeEvent_MetaDown
, METH_O
, NULL
},
20698 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
)_wrap_GridSizeEvent_ShiftDown
, METH_O
, NULL
},
20699 { (char *)"GridSizeEvent_AltDown", (PyCFunction
)_wrap_GridSizeEvent_AltDown
, METH_O
, NULL
},
20700 { (char *)"GridSizeEvent_CmdDown", (PyCFunction
)_wrap_GridSizeEvent_CmdDown
, METH_O
, NULL
},
20701 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
20702 { (char *)"GridSizeEvent_swiginit", GridSizeEvent_swiginit
, METH_VARARGS
, NULL
},
20703 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20704 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_O
, NULL
},
20705 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_O
, NULL
},
20706 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopRow
, METH_O
, NULL
},
20707 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRow
, METH_O
, NULL
},
20708 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetLeftCol
, METH_O
, NULL
},
20709 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetRightCol
, METH_O
, NULL
},
20710 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
)_wrap_GridRangeSelectEvent_Selecting
, METH_O
, NULL
},
20711 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ControlDown
, METH_O
, NULL
},
20712 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
)_wrap_GridRangeSelectEvent_MetaDown
, METH_O
, NULL
},
20713 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ShiftDown
, METH_O
, NULL
},
20714 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
)_wrap_GridRangeSelectEvent_AltDown
, METH_O
, NULL
},
20715 { (char *)"GridRangeSelectEvent_CmdDown", (PyCFunction
)_wrap_GridRangeSelectEvent_CmdDown
, METH_O
, NULL
},
20716 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
20717 { (char *)"GridRangeSelectEvent_swiginit", GridRangeSelectEvent_swiginit
, METH_VARARGS
, NULL
},
20718 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20719 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetRow
, METH_O
, NULL
},
20720 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetCol
, METH_O
, NULL
},
20721 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetControl
, METH_O
, NULL
},
20722 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20723 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20724 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20725 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
20726 { (char *)"GridEditorCreatedEvent_swiginit", GridEditorCreatedEvent_swiginit
, METH_VARARGS
, NULL
},
20727 { NULL
, NULL
, 0, NULL
}
20731 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
20733 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
20734 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
20736 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
20737 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
20739 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
20740 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
20742 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
20743 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
20745 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
20746 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
20748 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
20749 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
20751 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
20752 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
20754 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
20755 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
20757 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
20758 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
20760 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
20761 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
20763 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
20764 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
20766 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
20767 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
20769 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
20770 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
20772 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellWorker(void *x
) {
20773 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
20775 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellWorker(void *x
) {
20776 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
20778 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellWorker(void *x
) {
20779 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
20781 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellWorker(void *x
) {
20782 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
20784 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellWorker(void *x
) {
20785 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
20787 static void *_p_wxGridCellTextEditorTo_p_wxGridCellWorker(void *x
) {
20788 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
20790 static void *_p_wxPyGridCellEditorTo_p_wxGridCellWorker(void *x
) {
20791 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
20793 static void *_p_wxGridCellEditorTo_p_wxGridCellWorker(void *x
) {
20794 return (void *)((wxGridCellWorker
*) ((wxGridCellEditor
*) x
));
20796 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellWorker(void *x
) {
20797 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
20799 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellWorker(void *x
) {
20800 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
20802 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellWorker(void *x
) {
20803 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
20805 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellWorker(void *x
) {
20806 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
20808 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellWorker(void *x
) {
20809 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
20811 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellWorker(void *x
) {
20812 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
20814 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellWorker(void *x
) {
20815 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
20817 static void *_p_wxGridCellStringRendererTo_p_wxGridCellWorker(void *x
) {
20818 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
20820 static void *_p_wxPyGridCellRendererTo_p_wxGridCellWorker(void *x
) {
20821 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
20823 static void *_p_wxGridCellRendererTo_p_wxGridCellWorker(void *x
) {
20824 return (void *)((wxGridCellWorker
*) ((wxGridCellRenderer
*) x
));
20826 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
20827 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
20829 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
20830 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
20832 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
20833 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
20835 static void *_p_wxGridTo_p_wxPanel(void *x
) {
20836 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
20838 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
20839 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
20841 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
20842 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
20844 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
20845 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
20847 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
20848 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
20850 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
20851 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
20853 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
20854 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
20856 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
20857 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
20859 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
20860 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
20862 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
20863 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
20865 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
20866 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
20868 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
20869 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
20871 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
20872 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
20874 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
20875 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
20877 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
20878 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
20880 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
20881 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
20883 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
20884 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
20886 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
20887 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
20889 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
20890 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
20892 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
20893 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
20895 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
20896 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
20898 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
20899 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
20901 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
20902 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
20904 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
20905 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
20907 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
20908 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
20910 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
20911 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
20913 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
20914 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
20916 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
20917 return (void *)((wxWindow
*) ((wxPanel
*) x
));
20919 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
20920 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
20922 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
20923 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
20925 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
20926 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
20928 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
20929 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
20931 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
20932 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
20934 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
20935 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
20937 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
20938 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
20940 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
20941 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
20943 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
20944 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
20946 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
20947 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
20949 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
20950 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
20952 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
20953 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
20955 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
20956 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
20958 static void *_p_wxControlTo_p_wxWindow(void *x
) {
20959 return (void *)((wxWindow
*) ((wxControl
*) x
));
20961 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
20962 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
20964 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
20965 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
20967 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
20968 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
20970 static void *_p_wxGridTo_p_wxWindow(void *x
) {
20971 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
20973 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
20974 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
20976 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
20977 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
20979 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
20980 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
20982 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
20983 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
20985 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
20986 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
20988 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
20989 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
20991 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
20992 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
20994 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
20995 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
20997 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
20998 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21000 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
21001 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21003 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
21004 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21006 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
21007 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
21009 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
21010 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21012 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
21013 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
21015 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21018 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21019 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21021 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21022 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21024 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21025 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21027 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21028 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21030 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21031 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21033 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21034 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21036 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21037 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21039 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21040 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21042 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21043 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21045 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21046 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21048 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21049 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21051 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21052 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21054 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
21055 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21057 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21058 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21060 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21061 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21063 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21064 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21066 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21067 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21069 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21070 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21072 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21073 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21075 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21076 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21078 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21079 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21081 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
21082 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
21084 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
21085 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21087 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
21088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21090 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21091 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21093 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21094 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21096 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21099 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21100 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21102 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21103 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21105 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21106 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21108 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21109 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21111 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
21112 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
21114 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
21115 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21117 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21118 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21120 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21121 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21123 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21126 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21129 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21130 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21132 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21133 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21135 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21136 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21138 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21141 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21144 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21145 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21147 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21148 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21150 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21151 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21153 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21154 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21156 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21157 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21159 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21160 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21162 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21165 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21168 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21169 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21171 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21172 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21174 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21177 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21178 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21180 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21181 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21183 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21184 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21186 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21187 return (void *)((wxObject
*) ((wxSizer
*) x
));
21189 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21190 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21192 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21193 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21195 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21198 static void *_p_wxEventTo_p_wxObject(void *x
) {
21199 return (void *)((wxObject
*) ((wxEvent
*) x
));
21201 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21202 return (void *)((wxObject
*) ((wxFontData
*) x
));
21204 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21205 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21207 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21208 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21210 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21211 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21213 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21214 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21216 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21217 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21219 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
21220 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
21222 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21225 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
21226 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
21228 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
21229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21231 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21232 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21234 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21235 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21237 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21238 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21240 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21241 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21243 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21244 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21246 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21247 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21249 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21252 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
21253 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
21255 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
21256 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21258 static void *_p_wxControlTo_p_wxObject(void *x
) {
21259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21261 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21262 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21264 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21265 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21267 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21268 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21270 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21271 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21273 static void *_p_wxGridTo_p_wxObject(void *x
) {
21274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21276 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21277 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21279 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21282 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
21283 return (void *)((wxObject
*) ((wxColourData
*) x
));
21285 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21286 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21288 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21289 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21291 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
21292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
21294 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
21295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21297 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
21298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21300 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
21301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21303 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
21304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21306 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
21307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21309 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
21310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21312 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
21313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
21315 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
21316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21318 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
21319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21321 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
21322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21324 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21325 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21327 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
21328 return (void *)((wxObject
*) ((wxPrinter
*) x
));
21330 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21331 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21333 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
21334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
21336 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21337 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21339 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21340 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21342 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21343 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21345 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21346 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21348 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21349 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21351 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21352 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21354 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21355 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21357 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21358 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21360 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
21361 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21363 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21366 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21367 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21369 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21370 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21372 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21373 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21375 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21376 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21378 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21379 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21381 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21382 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21384 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21385 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21387 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21388 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21390 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
21391 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
21393 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21394 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21396 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21397 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21399 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21400 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21402 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21403 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21405 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
21406 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21408 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
21409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21411 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
21412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21414 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
21415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21417 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
21418 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
21420 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21421 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21423 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
21424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21426 static void *_p_wxImageTo_p_wxObject(void *x
) {
21427 return (void *)((wxObject
*) ((wxImage
*) x
));
21429 static void *_p_wxFrameTo_p_wxObject(void *x
) {
21430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21432 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
21433 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
21435 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21436 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21438 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
21439 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21441 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
21442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
21444 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
21445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21447 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21450 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21451 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21453 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21454 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21456 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21457 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21459 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21460 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21462 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21465 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
21466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21468 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
21469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
21471 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
21472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
21474 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
21475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
21477 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
21478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
21480 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
21481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21483 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
21484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
21486 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
21487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21489 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
21490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21492 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
21493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21495 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
21496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
21498 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
21499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21501 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
21502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
21504 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
21505 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
21507 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
21508 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
21510 static void *_p_wxPanelTo_p_wxObject(void *x
) {
21511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
21513 static void *_p_wxDialogTo_p_wxObject(void *x
) {
21514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21516 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
21517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21519 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
21520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21522 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
21523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21525 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
21526 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
21528 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
21529 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
21531 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21532 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21534 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21537 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21538 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21540 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21541 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21543 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21544 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21546 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21547 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21549 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21550 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21552 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
21553 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
21555 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
21556 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
21558 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21561 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21562 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21564 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
21565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21567 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
21568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21570 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21571 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21573 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21574 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21576 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21577 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21579 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21582 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
21583 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
21585 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
21586 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
21588 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21591 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21592 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21594 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21597 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21600 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21603 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21604 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21606 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21607 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21609 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21610 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21612 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21613 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21615 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
21616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21618 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21621 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21624 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21627 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21630 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
21631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
21633 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21636 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21639 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21642 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21643 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21645 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21646 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21648 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21651 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21652 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21654 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21655 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21657 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21658 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21660 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21661 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21663 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21664 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21666 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21667 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21669 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21670 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21672 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21673 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21675 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21678 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21679 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21681 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21682 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21684 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
21685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21687 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21688 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21690 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21693 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21696 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21699 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21700 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21702 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
21703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21705 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21708 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21709 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21711 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21714 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21717 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21720 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21723 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21724 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21726 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
21727 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
21729 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21732 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21735 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21738 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21741 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21744 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21745 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21747 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
21748 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
21750 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
21751 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
21753 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
21754 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
21756 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
21757 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
21759 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
21760 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
21762 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
21763 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
21765 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
21766 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
21768 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
21769 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
21771 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
21772 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
21774 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
21775 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
21777 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
21778 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
21780 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
21781 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
21783 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
21784 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
21786 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
21787 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
21789 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
21790 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21792 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
21793 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21795 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
21796 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21798 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
21799 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
21801 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
21802 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21804 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
21805 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21807 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
21808 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21810 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
21811 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
21813 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
21814 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21816 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
21817 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21819 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
21820 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21822 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
21823 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
21825 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
21826 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21828 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
21829 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21831 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
21832 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21834 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
21835 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21837 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
21838 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
21840 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
21841 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
21843 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
21844 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
21845 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
21846 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
21847 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
21848 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
21849 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
21850 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
21851 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
21852 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
21853 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
21854 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
21855 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
21856 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
21857 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
21858 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
21859 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
21860 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
21861 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
21862 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
21863 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
21864 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
21865 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
21866 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
21867 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
21868 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
21869 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
21870 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
21871 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
21872 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
21873 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
21874 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
21875 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
21876 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
21877 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
21878 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
21879 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
21880 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
21881 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
21882 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
21883 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
21884 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
21885 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
21886 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
21887 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
21888 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
21889 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
21890 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
21891 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
21892 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
21893 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
21894 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
21895 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
21896 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
21897 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
21898 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
21899 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
21900 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
21901 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
21902 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
21903 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
21904 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
21905 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
21906 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
21907 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
21908 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
21909 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
21910 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
21911 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
21912 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
21913 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
21914 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
21915 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
21916 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
21917 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
21918 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
21919 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
21920 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
21921 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
21922 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
21923 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
21924 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
21925 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
21926 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
21927 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
21928 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
21929 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
21930 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
21931 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
21932 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
21933 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
21934 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
21935 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
21936 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
21937 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
21938 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
21939 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
21940 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
21941 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
21942 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
21943 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
21944 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
21945 static swig_type_info _swigt__p_wxGrid
= {"_p_wxGrid", "wxGrid *", 0, 0, (void*)0, 0};
21946 static swig_type_info _swigt__p_wxGridCellAttr
= {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, (void*)0, 0};
21947 static swig_type_info _swigt__p_wxGridCellAttrProvider
= {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, (void*)0, 0};
21948 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
= {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, (void*)0, 0};
21949 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
= {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, (void*)0, 0};
21950 static swig_type_info _swigt__p_wxGridCellBoolEditor
= {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, (void*)0, 0};
21951 static swig_type_info _swigt__p_wxGridCellBoolRenderer
= {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, (void*)0, 0};
21952 static swig_type_info _swigt__p_wxGridCellChoiceEditor
= {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, (void*)0, 0};
21953 static swig_type_info _swigt__p_wxGridCellCoords
= {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, (void*)0, 0};
21954 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
= {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, (void*)0, 0};
21955 static swig_type_info _swigt__p_wxGridCellEditor
= {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, (void*)0, 0};
21956 static swig_type_info _swigt__p_wxGridCellEnumEditor
= {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, (void*)0, 0};
21957 static swig_type_info _swigt__p_wxGridCellEnumRenderer
= {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, (void*)0, 0};
21958 static swig_type_info _swigt__p_wxGridCellFloatEditor
= {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, (void*)0, 0};
21959 static swig_type_info _swigt__p_wxGridCellFloatRenderer
= {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, (void*)0, 0};
21960 static swig_type_info _swigt__p_wxGridCellNumberEditor
= {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, (void*)0, 0};
21961 static swig_type_info _swigt__p_wxGridCellNumberRenderer
= {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, (void*)0, 0};
21962 static swig_type_info _swigt__p_wxGridCellRenderer
= {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, (void*)0, 0};
21963 static swig_type_info _swigt__p_wxGridCellStringRenderer
= {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, (void*)0, 0};
21964 static swig_type_info _swigt__p_wxGridCellTextEditor
= {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, (void*)0, 0};
21965 static swig_type_info _swigt__p_wxGridCellWorker
= {"_p_wxGridCellWorker", "wxGridCellWorker *", 0, 0, (void*)0, 0};
21966 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
= {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, (void*)0, 0};
21967 static swig_type_info _swigt__p_wxGridEvent
= {"_p_wxGridEvent", "wxGridEvent *", 0, 0, (void*)0, 0};
21968 static swig_type_info _swigt__p_wxGridRangeSelectEvent
= {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, (void*)0, 0};
21969 static swig_type_info _swigt__p_wxGridSizeEvent
= {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, (void*)0, 0};
21970 static swig_type_info _swigt__p_wxGridStringTable
= {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, (void*)0, 0};
21971 static swig_type_info _swigt__p_wxGridTableBase
= {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, (void*)0, 0};
21972 static swig_type_info _swigt__p_wxGridTableMessage
= {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, (void*)0, 0};
21973 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
21974 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
21975 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
21976 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
21977 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
21978 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
21979 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
21980 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
21981 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
21982 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
21983 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
21984 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
21985 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
21986 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
21987 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
21988 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
21989 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
21990 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
21991 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
21992 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
21993 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
21994 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
21995 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
21996 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
21997 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
21998 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
21999 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
22000 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
22001 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
22002 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
22003 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
22004 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
22005 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
22006 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
22007 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
22008 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
22009 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
22010 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
22011 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
22012 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
22013 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
22014 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
22015 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
22016 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22017 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
22018 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
22019 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
22020 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22021 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22022 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
= {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, (void*)0, 0};
22023 static swig_type_info _swigt__p_wxPyGridCellEditor
= {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, (void*)0, 0};
22024 static swig_type_info _swigt__p_wxPyGridCellRenderer
= {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, (void*)0, 0};
22025 static swig_type_info _swigt__p_wxPyGridTableBase
= {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, (void*)0, 0};
22026 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22027 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
22028 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
22029 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
22030 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22032 static swig_type_info
*swig_type_initial
[] = {
22034 &_swigt__p_form_ops_t
,
22037 &_swigt__p_unsigned_char
,
22038 &_swigt__p_unsigned_int
,
22039 &_swigt__p_unsigned_long
,
22040 &_swigt__p_wxANIHandler
,
22041 &_swigt__p_wxAcceleratorTable
,
22042 &_swigt__p_wxActivateEvent
,
22043 &_swigt__p_wxArrayString
,
22044 &_swigt__p_wxBMPHandler
,
22045 &_swigt__p_wxBoxSizer
,
22046 &_swigt__p_wxCURHandler
,
22047 &_swigt__p_wxCalculateLayoutEvent
,
22048 &_swigt__p_wxChildFocusEvent
,
22049 &_swigt__p_wxClipboardTextEvent
,
22050 &_swigt__p_wxCloseEvent
,
22051 &_swigt__p_wxColour
,
22052 &_swigt__p_wxColourData
,
22053 &_swigt__p_wxColourDialog
,
22054 &_swigt__p_wxCommandEvent
,
22055 &_swigt__p_wxContextMenuEvent
,
22056 &_swigt__p_wxControl
,
22057 &_swigt__p_wxControlWithItems
,
22059 &_swigt__p_wxDateEvent
,
22060 &_swigt__p_wxDialog
,
22061 &_swigt__p_wxDirDialog
,
22062 &_swigt__p_wxDisplayChangedEvent
,
22063 &_swigt__p_wxDropFilesEvent
,
22064 &_swigt__p_wxDuplexMode
,
22065 &_swigt__p_wxEraseEvent
,
22066 &_swigt__p_wxEvent
,
22067 &_swigt__p_wxEvtHandler
,
22068 &_swigt__p_wxFSFile
,
22069 &_swigt__p_wxFileDialog
,
22070 &_swigt__p_wxFileSystem
,
22071 &_swigt__p_wxFindDialogEvent
,
22072 &_swigt__p_wxFindReplaceData
,
22073 &_swigt__p_wxFindReplaceDialog
,
22074 &_swigt__p_wxFlexGridSizer
,
22075 &_swigt__p_wxFocusEvent
,
22077 &_swigt__p_wxFontData
,
22078 &_swigt__p_wxFontDialog
,
22079 &_swigt__p_wxFrame
,
22080 &_swigt__p_wxGBSizerItem
,
22081 &_swigt__p_wxGIFHandler
,
22083 &_swigt__p_wxGridBagSizer
,
22084 &_swigt__p_wxGridCellAttr
,
22085 &_swigt__p_wxGridCellAttrProvider
,
22086 &_swigt__p_wxGridCellAutoWrapStringEditor
,
22087 &_swigt__p_wxGridCellAutoWrapStringRenderer
,
22088 &_swigt__p_wxGridCellBoolEditor
,
22089 &_swigt__p_wxGridCellBoolRenderer
,
22090 &_swigt__p_wxGridCellChoiceEditor
,
22091 &_swigt__p_wxGridCellCoords
,
22092 &_swigt__p_wxGridCellDateTimeRenderer
,
22093 &_swigt__p_wxGridCellEditor
,
22094 &_swigt__p_wxGridCellEnumEditor
,
22095 &_swigt__p_wxGridCellEnumRenderer
,
22096 &_swigt__p_wxGridCellFloatEditor
,
22097 &_swigt__p_wxGridCellFloatRenderer
,
22098 &_swigt__p_wxGridCellNumberEditor
,
22099 &_swigt__p_wxGridCellNumberRenderer
,
22100 &_swigt__p_wxGridCellRenderer
,
22101 &_swigt__p_wxGridCellStringRenderer
,
22102 &_swigt__p_wxGridCellTextEditor
,
22103 &_swigt__p_wxGridCellWorker
,
22104 &_swigt__p_wxGridEditorCreatedEvent
,
22105 &_swigt__p_wxGridEvent
,
22106 &_swigt__p_wxGridRangeSelectEvent
,
22107 &_swigt__p_wxGridSizeEvent
,
22108 &_swigt__p_wxGridSizer
,
22109 &_swigt__p_wxGridStringTable
,
22110 &_swigt__p_wxGridTableBase
,
22111 &_swigt__p_wxGridTableMessage
,
22112 &_swigt__p_wxICOHandler
,
22113 &_swigt__p_wxIconizeEvent
,
22114 &_swigt__p_wxIdleEvent
,
22115 &_swigt__p_wxImage
,
22116 &_swigt__p_wxImageHandler
,
22117 &_swigt__p_wxIndividualLayoutConstraint
,
22118 &_swigt__p_wxInitDialogEvent
,
22119 &_swigt__p_wxJPEGHandler
,
22120 &_swigt__p_wxKeyEvent
,
22121 &_swigt__p_wxLayoutAlgorithm
,
22122 &_swigt__p_wxLayoutConstraints
,
22123 &_swigt__p_wxMDIChildFrame
,
22124 &_swigt__p_wxMDIClientWindow
,
22125 &_swigt__p_wxMDIParentFrame
,
22126 &_swigt__p_wxMaximizeEvent
,
22128 &_swigt__p_wxMenuBar
,
22129 &_swigt__p_wxMenuEvent
,
22130 &_swigt__p_wxMenuItem
,
22131 &_swigt__p_wxMessageDialog
,
22132 &_swigt__p_wxMiniFrame
,
22133 &_swigt__p_wxMouseCaptureChangedEvent
,
22134 &_swigt__p_wxMouseEvent
,
22135 &_swigt__p_wxMoveEvent
,
22136 &_swigt__p_wxMultiChoiceDialog
,
22137 &_swigt__p_wxNavigationKeyEvent
,
22138 &_swigt__p_wxNcPaintEvent
,
22139 &_swigt__p_wxNotifyEvent
,
22140 &_swigt__p_wxNumberEntryDialog
,
22141 &_swigt__p_wxObject
,
22142 &_swigt__p_wxPCXHandler
,
22143 &_swigt__p_wxPNGHandler
,
22144 &_swigt__p_wxPNMHandler
,
22145 &_swigt__p_wxPageSetupDialog
,
22146 &_swigt__p_wxPageSetupDialogData
,
22147 &_swigt__p_wxPaintEvent
,
22148 &_swigt__p_wxPaletteChangedEvent
,
22149 &_swigt__p_wxPanel
,
22150 &_swigt__p_wxPaperSize
,
22151 &_swigt__p_wxPasswordEntryDialog
,
22152 &_swigt__p_wxPoint
,
22153 &_swigt__p_wxPopupWindow
,
22154 &_swigt__p_wxPreviewCanvas
,
22155 &_swigt__p_wxPreviewControlBar
,
22156 &_swigt__p_wxPreviewFrame
,
22157 &_swigt__p_wxPrintData
,
22158 &_swigt__p_wxPrintDialog
,
22159 &_swigt__p_wxPrintDialogData
,
22160 &_swigt__p_wxPrintPreview
,
22161 &_swigt__p_wxPrinter
,
22162 &_swigt__p_wxProgressDialog
,
22163 &_swigt__p_wxPyApp
,
22164 &_swigt__p_wxPyCommandEvent
,
22165 &_swigt__p_wxPyEvent
,
22166 &_swigt__p_wxPyGridCellAttrProvider
,
22167 &_swigt__p_wxPyGridCellEditor
,
22168 &_swigt__p_wxPyGridCellRenderer
,
22169 &_swigt__p_wxPyGridTableBase
,
22170 &_swigt__p_wxPyHtmlListBox
,
22171 &_swigt__p_wxPyImageHandler
,
22172 &_swigt__p_wxPyPanel
,
22173 &_swigt__p_wxPyPopupTransientWindow
,
22174 &_swigt__p_wxPyPreviewControlBar
,
22175 &_swigt__p_wxPyPreviewFrame
,
22176 &_swigt__p_wxPyPrintPreview
,
22177 &_swigt__p_wxPyPrintout
,
22178 &_swigt__p_wxPyScrolledWindow
,
22179 &_swigt__p_wxPySizer
,
22180 &_swigt__p_wxPyTaskBarIcon
,
22181 &_swigt__p_wxPyVListBox
,
22182 &_swigt__p_wxPyVScrolledWindow
,
22183 &_swigt__p_wxPyValidator
,
22184 &_swigt__p_wxPyWindow
,
22185 &_swigt__p_wxQueryLayoutInfoEvent
,
22186 &_swigt__p_wxQueryNewPaletteEvent
,
22188 &_swigt__p_wxSashEvent
,
22189 &_swigt__p_wxSashLayoutWindow
,
22190 &_swigt__p_wxSashWindow
,
22191 &_swigt__p_wxScrollEvent
,
22192 &_swigt__p_wxScrollWinEvent
,
22193 &_swigt__p_wxScrolledWindow
,
22194 &_swigt__p_wxSetCursorEvent
,
22195 &_swigt__p_wxShowEvent
,
22196 &_swigt__p_wxSingleChoiceDialog
,
22197 &_swigt__p_wxSizeEvent
,
22198 &_swigt__p_wxSizer
,
22199 &_swigt__p_wxSizerItem
,
22200 &_swigt__p_wxSplashScreen
,
22201 &_swigt__p_wxSplashScreenWindow
,
22202 &_swigt__p_wxSplitterEvent
,
22203 &_swigt__p_wxSplitterWindow
,
22204 &_swigt__p_wxStaticBoxSizer
,
22205 &_swigt__p_wxStatusBar
,
22206 &_swigt__p_wxStdDialogButtonSizer
,
22207 &_swigt__p_wxString
,
22208 &_swigt__p_wxSysColourChangedEvent
,
22209 &_swigt__p_wxTIFFHandler
,
22210 &_swigt__p_wxTaskBarIconEvent
,
22211 &_swigt__p_wxTextEntryDialog
,
22212 &_swigt__p_wxTipWindow
,
22213 &_swigt__p_wxTopLevelWindow
,
22214 &_swigt__p_wxUpdateUIEvent
,
22215 &_swigt__p_wxValidator
,
22216 &_swigt__p_wxVisualAttributes
,
22217 &_swigt__p_wxWindow
,
22218 &_swigt__p_wxWindowCreateEvent
,
22219 &_swigt__p_wxWindowDestroyEvent
,
22220 &_swigt__p_wxXPMHandler
,
22223 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
22224 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
22225 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
22226 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
22227 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
22228 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
22229 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
22230 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
22231 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
22232 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
22233 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22234 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
22235 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
22236 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
22237 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
22238 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22239 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22240 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22241 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22242 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22243 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
22244 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_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}};
22245 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
22246 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
22247 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
22248 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
22249 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22250 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22251 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22252 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22253 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
22254 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22255 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22256 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
22257 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
22258 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
22259 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22260 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22261 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22262 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22263 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
22264 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22265 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22266 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22267 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22268 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22269 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22270 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
22271 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22272 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
22273 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
22274 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22275 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
22276 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
22277 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxGridEvent
, _p_wxGridEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_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}};
22278 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
22279 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
22280 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
22281 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
22282 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
22283 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
22284 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22285 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
22286 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22287 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22288 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
22289 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
22290 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22291 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22292 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22293 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
22294 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
22295 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
22296 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
22297 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
22298 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
22299 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22300 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22301 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22302 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
22303 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22304 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
22305 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22306 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22307 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
22308 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
22309 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
22310 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
22311 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
22312 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
22313 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22314 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22315 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
22316 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
22317 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
22318 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
22319 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
22320 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
22321 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
22322 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
22323 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_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_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_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_wxPopupWindow
, _p_wxPopupWindowTo_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}};
22324 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
22325 static swig_cast_info _swigc__p_wxGrid
[] = { {&_swigt__p_wxGrid
, 0, 0, 0},{0, 0, 0, 0}};
22326 static swig_cast_info _swigc__p_wxGridCellAttr
[] = { {&_swigt__p_wxGridCellAttr
, 0, 0, 0},{0, 0, 0, 0}};
22327 static swig_cast_info _swigc__p_wxGridCellAttrProvider
[] = { {&_swigt__p_wxGridCellAttrProvider
, 0, 0, 0}, {&_swigt__p_wxPyGridCellAttrProvider
, _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
, 0, 0},{0, 0, 0, 0}};
22328 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor
[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor
, 0, 0, 0},{0, 0, 0, 0}};
22329 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer
[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22330 static swig_cast_info _swigc__p_wxGridCellBoolEditor
[] = { {&_swigt__p_wxGridCellBoolEditor
, 0, 0, 0},{0, 0, 0, 0}};
22331 static swig_cast_info _swigc__p_wxGridCellBoolRenderer
[] = { {&_swigt__p_wxGridCellBoolRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22332 static swig_cast_info _swigc__p_wxGridCellChoiceEditor
[] = { {&_swigt__p_wxGridCellChoiceEditor
, 0, 0, 0}, {&_swigt__p_wxGridCellEnumEditor
, _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
, 0, 0},{0, 0, 0, 0}};
22333 static swig_cast_info _swigc__p_wxGridCellCoords
[] = { {&_swigt__p_wxGridCellCoords
, 0, 0, 0},{0, 0, 0, 0}};
22334 static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer
[] = { {&_swigt__p_wxGridCellDateTimeRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22335 static swig_cast_info _swigc__p_wxGridCellEditor
[] = { {&_swigt__p_wxGridCellEditor
, 0, 0, 0}, {&_swigt__p_wxPyGridCellEditor
, _p_wxPyGridCellEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellTextEditor
, _p_wxGridCellTextEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellNumberEditor
, _p_wxGridCellNumberEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellFloatEditor
, _p_wxGridCellFloatEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellBoolEditor
, _p_wxGridCellBoolEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor
, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellChoiceEditor
, _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor
, 0, 0}, {&_swigt__p_wxGridCellEnumEditor
, _p_wxGridCellEnumEditorTo_p_wxGridCellEditor
, 0, 0},{0, 0, 0, 0}};
22336 static swig_cast_info _swigc__p_wxGridCellEnumEditor
[] = { {&_swigt__p_wxGridCellEnumEditor
, 0, 0, 0},{0, 0, 0, 0}};
22337 static swig_cast_info _swigc__p_wxGridCellEnumRenderer
[] = { {&_swigt__p_wxGridCellEnumRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22338 static swig_cast_info _swigc__p_wxGridCellFloatEditor
[] = { {&_swigt__p_wxGridCellFloatEditor
, 0, 0, 0},{0, 0, 0, 0}};
22339 static swig_cast_info _swigc__p_wxGridCellFloatRenderer
[] = { {&_swigt__p_wxGridCellFloatRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22340 static swig_cast_info _swigc__p_wxGridCellNumberEditor
[] = { {&_swigt__p_wxGridCellNumberEditor
, 0, 0, 0},{0, 0, 0, 0}};
22341 static swig_cast_info _swigc__p_wxGridCellNumberRenderer
[] = { {&_swigt__p_wxGridCellNumberRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22342 static swig_cast_info _swigc__p_wxGridCellRenderer
[] = { {&_swigt__p_wxGridCellRenderer
, 0, 0, 0}, {&_swigt__p_wxPyGridCellRenderer
, _p_wxPyGridCellRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellStringRenderer
, _p_wxGridCellStringRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer
, _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer
, _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer
, _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer
, _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer
, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer
, 0, 0}, {&_swigt__p_wxGridCellBoolRenderer
, _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer
, 0, 0},{0, 0, 0, 0}};
22343 static swig_cast_info _swigc__p_wxGridCellStringRenderer
[] = { {&_swigt__p_wxGridCellStringRenderer
, 0, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer
, _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer
, _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer
, _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer
, _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer
, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer
, 0, 0},{0, 0, 0, 0}};
22344 static swig_cast_info _swigc__p_wxGridCellTextEditor
[] = { {&_swigt__p_wxGridCellTextEditor
, 0, 0, 0}, {&_swigt__p_wxGridCellNumberEditor
, _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor
, 0, 0}, {&_swigt__p_wxGridCellFloatEditor
, _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor
, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor
, 0, 0},{0, 0, 0, 0}};
22345 static swig_cast_info _swigc__p_wxGridCellWorker
[] = { {&_swigt__p_wxGridCellChoiceEditor
, _p_wxGridCellChoiceEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellEnumEditor
, _p_wxGridCellEnumEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor
, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellFloatEditor
, _p_wxGridCellFloatEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellNumberEditor
, _p_wxGridCellNumberEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellTextEditor
, _p_wxGridCellTextEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxPyGridCellEditor
, _p_wxPyGridCellEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellEditor
, _p_wxGridCellEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellBoolEditor
, _p_wxGridCellBoolEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellWorker
, 0, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer
, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer
, _p_wxGridCellEnumRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer
, _p_wxGridCellDateTimeRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellBoolRenderer
, _p_wxGridCellBoolRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer
, _p_wxGridCellFloatRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer
, _p_wxGridCellNumberRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellStringRenderer
, _p_wxGridCellStringRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxPyGridCellRenderer
, _p_wxPyGridCellRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellRenderer
, _p_wxGridCellRendererTo_p_wxGridCellWorker
, 0, 0},{0, 0, 0, 0}};
22346 static swig_cast_info _swigc__p_wxGridEditorCreatedEvent
[] = { {&_swigt__p_wxGridEditorCreatedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22347 static swig_cast_info _swigc__p_wxGridEvent
[] = { {&_swigt__p_wxGridEvent
, 0, 0, 0},{0, 0, 0, 0}};
22348 static swig_cast_info _swigc__p_wxGridRangeSelectEvent
[] = { {&_swigt__p_wxGridRangeSelectEvent
, 0, 0, 0},{0, 0, 0, 0}};
22349 static swig_cast_info _swigc__p_wxGridSizeEvent
[] = { {&_swigt__p_wxGridSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22350 static swig_cast_info _swigc__p_wxGridStringTable
[] = { {&_swigt__p_wxGridStringTable
, 0, 0, 0},{0, 0, 0, 0}};
22351 static swig_cast_info _swigc__p_wxGridTableBase
[] = { {&_swigt__p_wxGridStringTable
, _p_wxGridStringTableTo_p_wxGridTableBase
, 0, 0}, {&_swigt__p_wxGridTableBase
, 0, 0, 0}, {&_swigt__p_wxPyGridTableBase
, _p_wxPyGridTableBaseTo_p_wxGridTableBase
, 0, 0},{0, 0, 0, 0}};
22352 static swig_cast_info _swigc__p_wxGridTableMessage
[] = { {&_swigt__p_wxGridTableMessage
, 0, 0, 0},{0, 0, 0, 0}};
22353 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22354 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22355 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
22356 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22357 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22358 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
22359 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22360 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22361 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22362 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
22363 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
22364 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
22365 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22366 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22367 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
22368 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
22369 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
22370 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
22371 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
22372 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
22373 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
22374 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22375 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
22376 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22377 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22378 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22379 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
22380 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
22381 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
22382 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
22383 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22384 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22385 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22386 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22387 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
22388 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
22389 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
22390 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
22391 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22392 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22393 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
22394 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
22395 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
22396 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22397 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22398 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridStringTable
, _p_wxGridStringTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_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_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_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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_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_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_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}};
22399 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
22400 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
22401 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
22402 static swig_cast_info _swigc__p_wxPyGridCellAttrProvider
[] = { {&_swigt__p_wxPyGridCellAttrProvider
, 0, 0, 0},{0, 0, 0, 0}};
22403 static swig_cast_info _swigc__p_wxPyGridCellEditor
[] = { {&_swigt__p_wxPyGridCellEditor
, 0, 0, 0},{0, 0, 0, 0}};
22404 static swig_cast_info _swigc__p_wxPyGridCellRenderer
[] = { {&_swigt__p_wxPyGridCellRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22405 static swig_cast_info _swigc__p_wxPyGridTableBase
[] = { {&_swigt__p_wxPyGridTableBase
, 0, 0, 0},{0, 0, 0, 0}};
22406 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
22407 static swig_cast_info _swigc__p_wxScrolledWindow
[] = { {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxScrolledWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0},{0, 0, 0, 0}};
22408 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
22409 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
22410 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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_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}};
22412 static swig_cast_info
*swig_cast_initial
[] = {
22414 _swigc__p_form_ops_t
,
22417 _swigc__p_unsigned_char
,
22418 _swigc__p_unsigned_int
,
22419 _swigc__p_unsigned_long
,
22420 _swigc__p_wxANIHandler
,
22421 _swigc__p_wxAcceleratorTable
,
22422 _swigc__p_wxActivateEvent
,
22423 _swigc__p_wxArrayString
,
22424 _swigc__p_wxBMPHandler
,
22425 _swigc__p_wxBoxSizer
,
22426 _swigc__p_wxCURHandler
,
22427 _swigc__p_wxCalculateLayoutEvent
,
22428 _swigc__p_wxChildFocusEvent
,
22429 _swigc__p_wxClipboardTextEvent
,
22430 _swigc__p_wxCloseEvent
,
22431 _swigc__p_wxColour
,
22432 _swigc__p_wxColourData
,
22433 _swigc__p_wxColourDialog
,
22434 _swigc__p_wxCommandEvent
,
22435 _swigc__p_wxContextMenuEvent
,
22436 _swigc__p_wxControl
,
22437 _swigc__p_wxControlWithItems
,
22439 _swigc__p_wxDateEvent
,
22440 _swigc__p_wxDialog
,
22441 _swigc__p_wxDirDialog
,
22442 _swigc__p_wxDisplayChangedEvent
,
22443 _swigc__p_wxDropFilesEvent
,
22444 _swigc__p_wxDuplexMode
,
22445 _swigc__p_wxEraseEvent
,
22447 _swigc__p_wxEvtHandler
,
22448 _swigc__p_wxFSFile
,
22449 _swigc__p_wxFileDialog
,
22450 _swigc__p_wxFileSystem
,
22451 _swigc__p_wxFindDialogEvent
,
22452 _swigc__p_wxFindReplaceData
,
22453 _swigc__p_wxFindReplaceDialog
,
22454 _swigc__p_wxFlexGridSizer
,
22455 _swigc__p_wxFocusEvent
,
22457 _swigc__p_wxFontData
,
22458 _swigc__p_wxFontDialog
,
22460 _swigc__p_wxGBSizerItem
,
22461 _swigc__p_wxGIFHandler
,
22463 _swigc__p_wxGridBagSizer
,
22464 _swigc__p_wxGridCellAttr
,
22465 _swigc__p_wxGridCellAttrProvider
,
22466 _swigc__p_wxGridCellAutoWrapStringEditor
,
22467 _swigc__p_wxGridCellAutoWrapStringRenderer
,
22468 _swigc__p_wxGridCellBoolEditor
,
22469 _swigc__p_wxGridCellBoolRenderer
,
22470 _swigc__p_wxGridCellChoiceEditor
,
22471 _swigc__p_wxGridCellCoords
,
22472 _swigc__p_wxGridCellDateTimeRenderer
,
22473 _swigc__p_wxGridCellEditor
,
22474 _swigc__p_wxGridCellEnumEditor
,
22475 _swigc__p_wxGridCellEnumRenderer
,
22476 _swigc__p_wxGridCellFloatEditor
,
22477 _swigc__p_wxGridCellFloatRenderer
,
22478 _swigc__p_wxGridCellNumberEditor
,
22479 _swigc__p_wxGridCellNumberRenderer
,
22480 _swigc__p_wxGridCellRenderer
,
22481 _swigc__p_wxGridCellStringRenderer
,
22482 _swigc__p_wxGridCellTextEditor
,
22483 _swigc__p_wxGridCellWorker
,
22484 _swigc__p_wxGridEditorCreatedEvent
,
22485 _swigc__p_wxGridEvent
,
22486 _swigc__p_wxGridRangeSelectEvent
,
22487 _swigc__p_wxGridSizeEvent
,
22488 _swigc__p_wxGridSizer
,
22489 _swigc__p_wxGridStringTable
,
22490 _swigc__p_wxGridTableBase
,
22491 _swigc__p_wxGridTableMessage
,
22492 _swigc__p_wxICOHandler
,
22493 _swigc__p_wxIconizeEvent
,
22494 _swigc__p_wxIdleEvent
,
22496 _swigc__p_wxImageHandler
,
22497 _swigc__p_wxIndividualLayoutConstraint
,
22498 _swigc__p_wxInitDialogEvent
,
22499 _swigc__p_wxJPEGHandler
,
22500 _swigc__p_wxKeyEvent
,
22501 _swigc__p_wxLayoutAlgorithm
,
22502 _swigc__p_wxLayoutConstraints
,
22503 _swigc__p_wxMDIChildFrame
,
22504 _swigc__p_wxMDIClientWindow
,
22505 _swigc__p_wxMDIParentFrame
,
22506 _swigc__p_wxMaximizeEvent
,
22508 _swigc__p_wxMenuBar
,
22509 _swigc__p_wxMenuEvent
,
22510 _swigc__p_wxMenuItem
,
22511 _swigc__p_wxMessageDialog
,
22512 _swigc__p_wxMiniFrame
,
22513 _swigc__p_wxMouseCaptureChangedEvent
,
22514 _swigc__p_wxMouseEvent
,
22515 _swigc__p_wxMoveEvent
,
22516 _swigc__p_wxMultiChoiceDialog
,
22517 _swigc__p_wxNavigationKeyEvent
,
22518 _swigc__p_wxNcPaintEvent
,
22519 _swigc__p_wxNotifyEvent
,
22520 _swigc__p_wxNumberEntryDialog
,
22521 _swigc__p_wxObject
,
22522 _swigc__p_wxPCXHandler
,
22523 _swigc__p_wxPNGHandler
,
22524 _swigc__p_wxPNMHandler
,
22525 _swigc__p_wxPageSetupDialog
,
22526 _swigc__p_wxPageSetupDialogData
,
22527 _swigc__p_wxPaintEvent
,
22528 _swigc__p_wxPaletteChangedEvent
,
22530 _swigc__p_wxPaperSize
,
22531 _swigc__p_wxPasswordEntryDialog
,
22533 _swigc__p_wxPopupWindow
,
22534 _swigc__p_wxPreviewCanvas
,
22535 _swigc__p_wxPreviewControlBar
,
22536 _swigc__p_wxPreviewFrame
,
22537 _swigc__p_wxPrintData
,
22538 _swigc__p_wxPrintDialog
,
22539 _swigc__p_wxPrintDialogData
,
22540 _swigc__p_wxPrintPreview
,
22541 _swigc__p_wxPrinter
,
22542 _swigc__p_wxProgressDialog
,
22544 _swigc__p_wxPyCommandEvent
,
22545 _swigc__p_wxPyEvent
,
22546 _swigc__p_wxPyGridCellAttrProvider
,
22547 _swigc__p_wxPyGridCellEditor
,
22548 _swigc__p_wxPyGridCellRenderer
,
22549 _swigc__p_wxPyGridTableBase
,
22550 _swigc__p_wxPyHtmlListBox
,
22551 _swigc__p_wxPyImageHandler
,
22552 _swigc__p_wxPyPanel
,
22553 _swigc__p_wxPyPopupTransientWindow
,
22554 _swigc__p_wxPyPreviewControlBar
,
22555 _swigc__p_wxPyPreviewFrame
,
22556 _swigc__p_wxPyPrintPreview
,
22557 _swigc__p_wxPyPrintout
,
22558 _swigc__p_wxPyScrolledWindow
,
22559 _swigc__p_wxPySizer
,
22560 _swigc__p_wxPyTaskBarIcon
,
22561 _swigc__p_wxPyVListBox
,
22562 _swigc__p_wxPyVScrolledWindow
,
22563 _swigc__p_wxPyValidator
,
22564 _swigc__p_wxPyWindow
,
22565 _swigc__p_wxQueryLayoutInfoEvent
,
22566 _swigc__p_wxQueryNewPaletteEvent
,
22568 _swigc__p_wxSashEvent
,
22569 _swigc__p_wxSashLayoutWindow
,
22570 _swigc__p_wxSashWindow
,
22571 _swigc__p_wxScrollEvent
,
22572 _swigc__p_wxScrollWinEvent
,
22573 _swigc__p_wxScrolledWindow
,
22574 _swigc__p_wxSetCursorEvent
,
22575 _swigc__p_wxShowEvent
,
22576 _swigc__p_wxSingleChoiceDialog
,
22577 _swigc__p_wxSizeEvent
,
22579 _swigc__p_wxSizerItem
,
22580 _swigc__p_wxSplashScreen
,
22581 _swigc__p_wxSplashScreenWindow
,
22582 _swigc__p_wxSplitterEvent
,
22583 _swigc__p_wxSplitterWindow
,
22584 _swigc__p_wxStaticBoxSizer
,
22585 _swigc__p_wxStatusBar
,
22586 _swigc__p_wxStdDialogButtonSizer
,
22587 _swigc__p_wxString
,
22588 _swigc__p_wxSysColourChangedEvent
,
22589 _swigc__p_wxTIFFHandler
,
22590 _swigc__p_wxTaskBarIconEvent
,
22591 _swigc__p_wxTextEntryDialog
,
22592 _swigc__p_wxTipWindow
,
22593 _swigc__p_wxTopLevelWindow
,
22594 _swigc__p_wxUpdateUIEvent
,
22595 _swigc__p_wxValidator
,
22596 _swigc__p_wxVisualAttributes
,
22597 _swigc__p_wxWindow
,
22598 _swigc__p_wxWindowCreateEvent
,
22599 _swigc__p_wxWindowDestroyEvent
,
22600 _swigc__p_wxXPMHandler
,
22604 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22606 static swig_const_info swig_const_table
[] = {
22607 {0, 0, 0, 0.0, 0, 0}};
22612 /* -----------------------------------------------------------------------------
22613 * Type initialization:
22614 * This problem is tough by the requirement that no dynamic
22615 * memory is used. Also, since swig_type_info structures store pointers to
22616 * swig_cast_info structures and swig_cast_info structures store pointers back
22617 * to swig_type_info structures, we need some lookup code at initialization.
22618 * The idea is that swig generates all the structures that are needed.
22619 * The runtime then collects these partially filled structures.
22620 * The SWIG_InitializeModule function takes these initial arrays out of
22621 * swig_module, and does all the lookup, filling in the swig_module.types
22622 * array with the correct data and linking the correct swig_cast_info
22623 * structures together.
22625 * The generated swig_type_info structures are assigned staticly to an initial
22626 * array. We just loop though that array, and handle each type individually.
22627 * First we lookup if this type has been already loaded, and if so, use the
22628 * loaded structure instead of the generated one. Then we have to fill in the
22629 * cast linked list. The cast data is initially stored in something like a
22630 * two-dimensional array. Each row corresponds to a type (there are the same
22631 * number of rows as there are in the swig_type_initial array). Each entry in
22632 * a column is one of the swig_cast_info structures for that type.
22633 * The cast_initial array is actually an array of arrays, because each row has
22634 * a variable number of columns. So to actually build the cast linked list,
22635 * we find the array of casts associated with the type, and loop through it
22636 * adding the casts to the list. The one last trick we need to do is making
22637 * sure the type pointer in the swig_cast_info struct is correct.
22639 * First off, we lookup the cast->type name to see if it is already loaded.
22640 * There are three cases to handle:
22641 * 1) If the cast->type has already been loaded AND the type we are adding
22642 * casting info to has not been loaded (it is in this module), THEN we
22643 * replace the cast->type pointer with the type pointer that has already
22645 * 2) If BOTH types (the one we are adding casting info to, and the
22646 * cast->type) are loaded, THEN the cast info has already been loaded by
22647 * the previous module so we just ignore it.
22648 * 3) Finally, if cast->type has not already been loaded, then we add that
22649 * swig_cast_info to the linked list (because the cast->type) pointer will
22651 * ----------------------------------------------------------------------------- */
22661 #define SWIGRUNTIME_DEBUG
22665 SWIG_InitializeModule(void *clientdata
) {
22667 swig_module_info
*module_head
;
22668 static int init_run
= 0;
22670 clientdata
= clientdata
;
22672 if (init_run
) return;
22675 /* Initialize the swig_module */
22676 swig_module
.type_initial
= swig_type_initial
;
22677 swig_module
.cast_initial
= swig_cast_initial
;
22679 /* Try and load any already created modules */
22680 module_head
= SWIG_GetModule(clientdata
);
22682 swig_module
.next
= module_head
->next
;
22683 module_head
->next
= &swig_module
;
22685 /* This is the first module loaded */
22686 swig_module
.next
= &swig_module
;
22687 SWIG_SetModule(clientdata
, &swig_module
);
22690 /* Now work on filling in swig_module.types */
22691 #ifdef SWIGRUNTIME_DEBUG
22692 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
22694 for (i
= 0; i
< swig_module
.size
; ++i
) {
22695 swig_type_info
*type
= 0;
22696 swig_type_info
*ret
;
22697 swig_cast_info
*cast
;
22699 #ifdef SWIGRUNTIME_DEBUG
22700 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
22703 /* if there is another module already loaded */
22704 if (swig_module
.next
!= &swig_module
) {
22705 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
22708 /* Overwrite clientdata field */
22709 #ifdef SWIGRUNTIME_DEBUG
22710 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
22712 if (swig_module
.type_initial
[i
]->clientdata
) {
22713 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
22714 #ifdef SWIGRUNTIME_DEBUG
22715 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
22719 type
= swig_module
.type_initial
[i
];
22722 /* Insert casting types */
22723 cast
= swig_module
.cast_initial
[i
];
22724 while (cast
->type
) {
22725 /* Don't need to add information already in the list */
22727 #ifdef SWIGRUNTIME_DEBUG
22728 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
22730 if (swig_module
.next
!= &swig_module
) {
22731 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
22732 #ifdef SWIGRUNTIME_DEBUG
22733 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
22737 if (type
== swig_module
.type_initial
[i
]) {
22738 #ifdef SWIGRUNTIME_DEBUG
22739 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
22744 /* Check for casting already in the list */
22745 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
22746 #ifdef SWIGRUNTIME_DEBUG
22747 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
22749 if (!ocast
) ret
= 0;
22754 #ifdef SWIGRUNTIME_DEBUG
22755 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
22758 type
->cast
->prev
= cast
;
22759 cast
->next
= type
->cast
;
22765 /* Set entry in modules->types array equal to the type */
22766 swig_module
.types
[i
] = type
;
22768 swig_module
.types
[i
] = 0;
22770 #ifdef SWIGRUNTIME_DEBUG
22771 printf("**** SWIG_InitializeModule: Cast List ******\n");
22772 for (i
= 0; i
< swig_module
.size
; ++i
) {
22774 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
22775 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
22776 while (cast
->type
) {
22777 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
22781 printf("---- Total casts: %d\n",j
);
22783 printf("**** SWIG_InitializeModule: Cast List ******\n");
22787 /* This function will propagate the clientdata field of type to
22788 * any new swig_type_info structures that have been added into the list
22789 * of equivalent types. It is like calling
22790 * SWIG_TypeClientData(type, clientdata) a second time.
22793 SWIG_PropagateClientData(void) {
22795 swig_cast_info
*equiv
;
22796 static int init_run
= 0;
22798 if (init_run
) return;
22801 for (i
= 0; i
< swig_module
.size
; i
++) {
22802 if (swig_module
.types
[i
]->clientdata
) {
22803 equiv
= swig_module
.types
[i
]->cast
;
22805 if (!equiv
->converter
) {
22806 if (equiv
->type
&& !equiv
->type
->clientdata
)
22807 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
22809 equiv
= equiv
->next
;
22829 /* Python-specific SWIG API */
22830 #define SWIG_newvarlink() SWIG_Python_newvarlink()
22831 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22832 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22834 /* -----------------------------------------------------------------------------
22835 * global variable support code.
22836 * ----------------------------------------------------------------------------- */
22838 typedef struct swig_globalvar
{
22839 char *name
; /* Name of global variable */
22840 PyObject
*(*get_attr
)(void); /* Return the current value */
22841 int (*set_attr
)(PyObject
*); /* Set the value */
22842 struct swig_globalvar
*next
;
22845 typedef struct swig_varlinkobject
{
22847 swig_globalvar
*vars
;
22848 } swig_varlinkobject
;
22850 SWIGINTERN PyObject
*
22851 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
22852 return PyString_FromString("<Swig global variables>");
22855 SWIGINTERN PyObject
*
22856 swig_varlink_str(swig_varlinkobject
*v
) {
22857 PyObject
*str
= PyString_FromString("(");
22858 swig_globalvar
*var
;
22859 for (var
= v
->vars
; var
; var
=var
->next
) {
22860 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
22861 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
22863 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
22868 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
22869 PyObject
*str
= swig_varlink_str(v
);
22870 fprintf(fp
,"Swig global variables ");
22871 fprintf(fp
,"%s\n", PyString_AsString(str
));
22877 swig_varlink_dealloc(swig_varlinkobject
*v
) {
22878 swig_globalvar
*var
= v
->vars
;
22880 swig_globalvar
*n
= var
->next
;
22887 SWIGINTERN PyObject
*
22888 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
22889 PyObject
*res
= NULL
;
22890 swig_globalvar
*var
= v
->vars
;
22892 if (strcmp(var
->name
,n
) == 0) {
22893 res
= (*var
->get_attr
)();
22898 if (res
== NULL
&& !PyErr_Occurred()) {
22899 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22905 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
22907 swig_globalvar
*var
= v
->vars
;
22909 if (strcmp(var
->name
,n
) == 0) {
22910 res
= (*var
->set_attr
)(p
);
22915 if (res
== 1 && !PyErr_Occurred()) {
22916 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22921 SWIGINTERN PyTypeObject
*
22922 swig_varlink_type(void) {
22923 static char varlink__doc__
[] = "Swig var link object";
22924 static PyTypeObject varlink_type
;
22925 static int type_init
= 0;
22927 const PyTypeObject tmp
22929 PyObject_HEAD_INIT(NULL
)
22930 0, /* Number of items in variable part (ob_size) */
22931 (char *)"swigvarlink", /* Type name (tp_name) */
22932 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
22933 0, /* Itemsize (tp_itemsize) */
22934 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
22935 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
22936 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
22937 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
22938 0, /* tp_compare */
22939 (reprfunc
) swig_varlink_repr
, /* tp_repr */
22940 0, /* tp_as_number */
22941 0, /* tp_as_sequence */
22942 0, /* tp_as_mapping */
22945 (reprfunc
)swig_varlink_str
, /* tp_str */
22946 0, /* tp_getattro */
22947 0, /* tp_setattro */
22948 0, /* tp_as_buffer */
22950 varlink__doc__
, /* tp_doc */
22951 0, /* tp_traverse */
22953 0, /* tp_richcompare */
22954 0, /* tp_weaklistoffset */
22955 #if PY_VERSION_HEX >= 0x02020000
22956 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
22958 #if PY_VERSION_HEX >= 0x02030000
22961 #ifdef COUNT_ALLOCS
22962 0,0,0,0 /* tp_alloc -> tp_next */
22965 varlink_type
= tmp
;
22966 varlink_type
.ob_type
= &PyType_Type
;
22969 return &varlink_type
;
22972 /* Create a variable linking object for use later */
22973 SWIGINTERN PyObject
*
22974 SWIG_Python_newvarlink(void) {
22975 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
22979 return ((PyObject
*) result
);
22983 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
22984 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
22985 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
22987 size_t size
= strlen(name
)+1;
22988 gv
->name
= (char *)malloc(size
);
22990 strncpy(gv
->name
,name
,size
);
22991 gv
->get_attr
= get_attr
;
22992 gv
->set_attr
= set_attr
;
22993 gv
->next
= v
->vars
;
22999 SWIGINTERN PyObject
*
23001 static PyObject
*_SWIG_globals
= 0;
23002 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
23003 return _SWIG_globals
;
23006 /* -----------------------------------------------------------------------------
23007 * constants/methods manipulation
23008 * ----------------------------------------------------------------------------- */
23010 /* Install Constants */
23012 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
23015 for (i
= 0; constants
[i
].type
; ++i
) {
23016 switch(constants
[i
].type
) {
23017 case SWIG_PY_POINTER
:
23018 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
23020 case SWIG_PY_BINARY
:
23021 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
23028 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
23034 /* -----------------------------------------------------------------------------*/
23035 /* Fix SwigMethods to carry the callback ptrs when needed */
23036 /* -----------------------------------------------------------------------------*/
23039 SWIG_Python_FixMethods(PyMethodDef
*methods
,
23040 swig_const_info
*const_table
,
23041 swig_type_info
**types
,
23042 swig_type_info
**types_initial
) {
23044 for (i
= 0; methods
[i
].ml_name
; ++i
) {
23045 const char *c
= methods
[i
].ml_doc
;
23046 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
23048 swig_const_info
*ci
= 0;
23049 const char *name
= c
+ 10;
23050 for (j
= 0; const_table
[j
].type
; ++j
) {
23051 if (strncmp(const_table
[j
].name
, name
,
23052 strlen(const_table
[j
].name
)) == 0) {
23053 ci
= &(const_table
[j
]);
23058 size_t shift
= (ci
->ptype
) - types
;
23059 swig_type_info
*ty
= types_initial
[shift
];
23060 size_t ldoc
= (c
- methods
[i
].ml_doc
);
23061 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
23062 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
23065 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
23067 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
23069 strncpy(buff
, "swig_ptr: ", 10);
23071 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
23072 methods
[i
].ml_doc
= ndoc
;
23084 /* -----------------------------------------------------------------------------*
23085 * Partial Init method
23086 * -----------------------------------------------------------------------------*/
23091 SWIGEXPORT
void SWIG_init(void) {
23094 /* Fix SwigMethods to carry the callback ptrs when needed */
23095 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
23097 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23098 d
= PyModule_GetDict(m
);
23100 SWIG_InitializeModule(0);
23101 SWIG_InstallConstants(d
,swig_const_table
);
23104 SWIG_Python_SetConstant(d
, "GRID_VALUE_STRING",SWIG_FromCharPtr("string"));
23105 SWIG_Python_SetConstant(d
, "GRID_VALUE_BOOL",SWIG_FromCharPtr("bool"));
23106 SWIG_Python_SetConstant(d
, "GRID_VALUE_NUMBER",SWIG_FromCharPtr("long"));
23107 SWIG_Python_SetConstant(d
, "GRID_VALUE_FLOAT",SWIG_FromCharPtr("double"));
23108 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICE",SWIG_FromCharPtr("choice"));
23109 SWIG_Python_SetConstant(d
, "GRID_VALUE_TEXT",SWIG_FromCharPtr("string"));
23110 SWIG_Python_SetConstant(d
, "GRID_VALUE_LONG",SWIG_FromCharPtr("long"));
23111 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICEINT",SWIG_FromCharPtr("choiceint"));
23112 SWIG_Python_SetConstant(d
, "GRID_VALUE_DATETIME",SWIG_FromCharPtr("datetime"));
23113 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
23114 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellCoords",GridNoCellCoords_get
, GridNoCellCoords_set
);
23115 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellRect",GridNoCellRect_get
, GridNoCellRect_set
);
23116 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_ROWS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_ROWS
)));
23117 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_COLS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_COLS
)));
23118 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_HEIGHT
)));
23119 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_WIDTH
)));
23120 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_LABEL_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
23121 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_LABEL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
23122 SWIG_Python_SetConstant(d
, "GRID_LABEL_EDGE_ZONE",SWIG_From_int(static_cast< int >(wxGRID_LABEL_EDGE_ZONE
)));
23123 SWIG_Python_SetConstant(d
, "GRID_MIN_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_MIN_ROW_HEIGHT
)));
23124 SWIG_Python_SetConstant(d
, "GRID_MIN_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_MIN_COL_WIDTH
)));
23125 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_SCROLLBAR_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
23126 SWIG_Python_SetConstant(d
, "GridCellAttr_Any",SWIG_From_int(static_cast< int >(wxGridCellAttr::Any
)));
23127 SWIG_Python_SetConstant(d
, "GridCellAttr_Default",SWIG_From_int(static_cast< int >(wxGridCellAttr::Default
)));
23128 SWIG_Python_SetConstant(d
, "GridCellAttr_Cell",SWIG_From_int(static_cast< int >(wxGridCellAttr::Cell
)));
23129 SWIG_Python_SetConstant(d
, "GridCellAttr_Row",SWIG_From_int(static_cast< int >(wxGridCellAttr::Row
)));
23130 SWIG_Python_SetConstant(d
, "GridCellAttr_Col",SWIG_From_int(static_cast< int >(wxGridCellAttr::Col
)));
23131 SWIG_Python_SetConstant(d
, "GridCellAttr_Merged",SWIG_From_int(static_cast< int >(wxGridCellAttr::Merged
)));
23132 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_GET_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
23133 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_SEND_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
23134 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
23135 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
23136 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
23137 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
23138 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
23139 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
23140 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells
)));
23141 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows
)));
23142 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns
)));
23143 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
23144 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
23145 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
23146 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
23147 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
23148 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
23149 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
23150 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
23151 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
23152 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
23153 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
23154 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
23155 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
23156 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
23157 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
23158 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
23159 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));