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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_long swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayString swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGrid swig_types[48]
2511 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
2512 #define SWIGTYPE_p_wxGridCellAttr swig_types[50]
2513 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[51]
2514 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[52]
2515 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[53]
2516 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[54]
2517 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[55]
2518 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56]
2519 #define SWIGTYPE_p_wxGridCellCoords swig_types[57]
2520 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[58]
2521 #define SWIGTYPE_p_wxGridCellEditor swig_types[59]
2522 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[60]
2523 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[61]
2524 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[62]
2525 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[63]
2526 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[64]
2527 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[65]
2528 #define SWIGTYPE_p_wxGridCellRenderer swig_types[66]
2529 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[67]
2530 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[68]
2531 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[69]
2532 #define SWIGTYPE_p_wxGridEvent swig_types[70]
2533 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[71]
2534 #define SWIGTYPE_p_wxGridSizeEvent swig_types[72]
2535 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2536 #define SWIGTYPE_p_wxGridStringTable swig_types[74]
2537 #define SWIGTYPE_p_wxGridTableBase swig_types[75]
2538 #define SWIGTYPE_p_wxGridTableMessage swig_types[76]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[77]
2540 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2541 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2542 #define SWIGTYPE_p_wxImage swig_types[80]
2543 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2544 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2545 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2546 #define SWIGTYPE_p_wxJPEGHandler swig_types[84]
2547 #define SWIGTYPE_p_wxKeyEvent swig_types[85]
2548 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[86]
2549 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2550 #define SWIGTYPE_p_wxMDIChildFrame swig_types[88]
2551 #define SWIGTYPE_p_wxMDIClientWindow swig_types[89]
2552 #define SWIGTYPE_p_wxMDIParentFrame swig_types[90]
2553 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2554 #define SWIGTYPE_p_wxMenu swig_types[92]
2555 #define SWIGTYPE_p_wxMenuBar swig_types[93]
2556 #define SWIGTYPE_p_wxMenuEvent swig_types[94]
2557 #define SWIGTYPE_p_wxMenuItem swig_types[95]
2558 #define SWIGTYPE_p_wxMessageDialog swig_types[96]
2559 #define SWIGTYPE_p_wxMiniFrame swig_types[97]
2560 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98]
2561 #define SWIGTYPE_p_wxMouseEvent swig_types[99]
2562 #define SWIGTYPE_p_wxMoveEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[101]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566 #define SWIGTYPE_p_wxNotifyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxObject swig_types[105]
2568 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
2570 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPageSetupDialog swig_types[109]
2572 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[110]
2573 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2575 #define SWIGTYPE_p_wxPanel swig_types[113]
2576 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2577 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[115]
2578 #define SWIGTYPE_p_wxPoint swig_types[116]
2579 #define SWIGTYPE_p_wxPopupWindow swig_types[117]
2580 #define SWIGTYPE_p_wxPreviewCanvas swig_types[118]
2581 #define SWIGTYPE_p_wxPreviewControlBar swig_types[119]
2582 #define SWIGTYPE_p_wxPreviewFrame swig_types[120]
2583 #define SWIGTYPE_p_wxPrintData swig_types[121]
2584 #define SWIGTYPE_p_wxPrintDialog swig_types[122]
2585 #define SWIGTYPE_p_wxPrintDialogData swig_types[123]
2586 #define SWIGTYPE_p_wxPrintPreview swig_types[124]
2587 #define SWIGTYPE_p_wxPrinter swig_types[125]
2588 #define SWIGTYPE_p_wxProgressDialog swig_types[126]
2589 #define SWIGTYPE_p_wxPyApp swig_types[127]
2590 #define SWIGTYPE_p_wxPyCommandEvent swig_types[128]
2591 #define SWIGTYPE_p_wxPyEvent swig_types[129]
2592 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[130]
2593 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[131]
2594 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[132]
2595 #define SWIGTYPE_p_wxPyGridTableBase swig_types[133]
2596 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[134]
2597 #define SWIGTYPE_p_wxPyImageHandler swig_types[135]
2598 #define SWIGTYPE_p_wxPyPanel swig_types[136]
2599 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[137]
2600 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[138]
2601 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[139]
2602 #define SWIGTYPE_p_wxPyPrintPreview swig_types[140]
2603 #define SWIGTYPE_p_wxPyPrintout swig_types[141]
2604 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[142]
2605 #define SWIGTYPE_p_wxPySizer swig_types[143]
2606 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[144]
2607 #define SWIGTYPE_p_wxPyVListBox swig_types[145]
2608 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[146]
2609 #define SWIGTYPE_p_wxPyValidator swig_types[147]
2610 #define SWIGTYPE_p_wxPyWindow swig_types[148]
2611 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[149]
2612 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[150]
2613 #define SWIGTYPE_p_wxRect swig_types[151]
2614 #define SWIGTYPE_p_wxSashEvent swig_types[152]
2615 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[153]
2616 #define SWIGTYPE_p_wxSashWindow swig_types[154]
2617 #define SWIGTYPE_p_wxScrollEvent swig_types[155]
2618 #define SWIGTYPE_p_wxScrollWinEvent swig_types[156]
2619 #define SWIGTYPE_p_wxScrolledWindow swig_types[157]
2620 #define SWIGTYPE_p_wxSetCursorEvent swig_types[158]
2621 #define SWIGTYPE_p_wxShowEvent swig_types[159]
2622 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[160]
2623 #define SWIGTYPE_p_wxSize swig_types[161]
2624 #define SWIGTYPE_p_wxSizeEvent swig_types[162]
2625 #define SWIGTYPE_p_wxSizer swig_types[163]
2626 #define SWIGTYPE_p_wxSizerItem swig_types[164]
2627 #define SWIGTYPE_p_wxSplashScreen swig_types[165]
2628 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[166]
2629 #define SWIGTYPE_p_wxSplitterEvent swig_types[167]
2630 #define SWIGTYPE_p_wxSplitterWindow swig_types[168]
2631 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[169]
2632 #define SWIGTYPE_p_wxStatusBar swig_types[170]
2633 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[171]
2634 #define SWIGTYPE_p_wxString swig_types[172]
2635 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[173]
2636 #define SWIGTYPE_p_wxTIFFHandler swig_types[174]
2637 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[175]
2638 #define SWIGTYPE_p_wxTextEntryDialog swig_types[176]
2639 #define SWIGTYPE_p_wxTipWindow swig_types[177]
2640 #define SWIGTYPE_p_wxTopLevelWindow swig_types[178]
2641 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[179]
2642 #define SWIGTYPE_p_wxValidator swig_types[180]
2643 #define SWIGTYPE_p_wxVisualAttributes swig_types[181]
2644 #define SWIGTYPE_p_wxWindow swig_types[182]
2645 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[183]
2646 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[184]
2647 #define SWIGTYPE_p_wxXPMHandler swig_types[185]
2648 static swig_type_info
*swig_types
[187];
2649 static swig_module_info swig_module
= {swig_types
, 186, 0, 0, 0, 0};
2650 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2651 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2653 /* -------- TYPES TABLE (END) -------- */
2655 #if (PY_VERSION_HEX <= 0x02000000)
2656 # if !defined(SWIG_PYTHON_CLASSIC)
2657 # error "This python version requires to use swig with the '-classic' option"
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodern' option"
2663 #if (PY_VERSION_HEX <= 0x02020000)
2664 # error "This python version requires to use swig with the '-nomodernargs' option"
2667 # error "This python version requires to use swig with the '-nofastunpack' option"
2670 /*-----------------------------------------------
2671 @(target):= _grid.so
2672 ------------------------------------------------*/
2673 #define SWIG_init init_grid
2675 #define SWIG_name "_grid"
2677 #define SWIGVERSION 0x010329
2680 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2681 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2684 #include <stdexcept>
2688 class PyObject_ptr
{
2693 PyObject_ptr() :_obj(0)
2697 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2702 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2704 if (initial_ref
) Py_XINCREF(_obj
);
2707 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2709 Py_XINCREF(item
._obj
);
2720 operator PyObject
*() const
2725 PyObject
*operator->() const
2734 struct PyObject_var
: PyObject_ptr
{
2735 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2737 PyObject_var
& operator = (PyObject
* obj
)
2747 #include "wx/wxPython/wxPython.h"
2748 #include "wx/wxPython/pyclasses.h"
2749 #include "wx/wxPython/printfw.h"
2751 #include <wx/grid.h>
2752 #include <wx/generic/gridctrl.h>
2755 static const wxString
wxPyEmptyString(wxEmptyString
);
2756 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2757 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2760 #define wxPyMake_TEMPLATE(TYPE) \
2761 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
2762 PyObject* target = NULL; \
2764 /* Check if there is already a pointer to a Python object in the \
2765 OOR data that we can use. */ \
2766 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
2768 target = data->m_obj; \
2770 Py_INCREF(target); \
2772 /* Otherwise make a new wrapper for it the old fashioned way and \
2773 give it the OOR treatment */ \
2775 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
2777 source->SetClientObject(new wxPyOORClientData(target)); \
2779 } else { /* source was NULL so return None. */ \
2780 Py_INCREF(Py_None); target = Py_None; \
2786 wxPyMake_TEMPLATE(wxGridCellRenderer)
2787 wxPyMake_TEMPLATE(wxGridCellEditor
)
2788 wxPyMake_TEMPLATE(wxGridCellAttr
)
2789 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
2790 wxPyMake_TEMPLATE(wxGridTableBase
)
2794 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
2795 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
2796 wxGridCellAttr* rval = NULL; \
2798 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2799 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2801 wxGridCellAttr* ptr; \
2802 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
2804 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
2809 wxPyEndBlockThreads(blocked); \
2811 rval = PCLASS::CBNAME(a, b, c); \
2816 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
2817 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
2818 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2820 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2821 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
2822 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
2825 wxPyEndBlockThreads(blocked); \
2827 PCLASS::CBNAME(attr, a, b); \
2832 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
2833 void CBNAME(wxGridCellAttr *attr, int val) { \
2834 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2836 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2837 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
2838 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
2841 wxPyEndBlockThreads(blocked); \
2843 PCLASS::CBNAME(attr, val); \
2848 #define PYCALLBACK_INT__pure(CBNAME) \
2850 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2852 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
2853 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
2854 wxPyEndBlockThreads(blocked); \
2860 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
2861 bool CBNAME(int a, int b) { \
2862 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2864 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
2865 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
2866 wxPyEndBlockThreads(blocked); \
2871 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
2872 wxString CBNAME(int a, int b) { \
2873 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2875 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
2877 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2879 rval = Py2wxString(ro); \
2883 wxPyEndBlockThreads(blocked); \
2888 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
2889 void CBNAME(int a, int b, const wxString& c) { \
2890 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2891 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
2892 PyObject* s = wx2PyString(c); \
2893 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
2896 wxPyEndBlockThreads(blocked); \
2900 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
2901 wxString CBNAME(int a, int b) { \
2903 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2905 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2907 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2909 rval = Py2wxString(ro); \
2913 wxPyEndBlockThreads(blocked); \
2915 rval = PCLASS::CBNAME(a, b); \
2920 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
2921 bool CBNAME(int a, int b, const wxString& c) { \
2924 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2925 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2926 PyObject* s = wx2PyString(c); \
2927 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
2930 wxPyEndBlockThreads(blocked); \
2932 rval = PCLASS::CBNAME(a,b,c); \
2939 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
2940 long CBNAME(int a, int b) { \
2943 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2944 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2945 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
2946 wxPyEndBlockThreads(blocked); \
2948 rval = PCLASS::CBNAME(a,b); \
2953 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
2954 bool CBNAME(int a, int b) { \
2957 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2958 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2959 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
2960 wxPyEndBlockThreads(blocked); \
2962 rval = PCLASS::CBNAME(a,b); \
2968 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
2969 double CBNAME(int a, int b) { \
2971 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2973 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2975 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2977 PyObject* str = PyObject_Str(ro); \
2978 rval = PyFloat_AsDouble(str); \
2979 Py_DECREF(ro); Py_DECREF(str); \
2982 wxPyEndBlockThreads(blocked); \
2984 rval = PCLASS::CBNAME(a, b); \
2990 #define PYCALLBACK__(PCLASS, CBNAME) \
2993 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2994 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2995 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
2996 wxPyEndBlockThreads(blocked); \
3003 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
3004 bool CBNAME(size_t a, size_t b) { \
3007 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3008 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3009 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
3010 wxPyEndBlockThreads(blocked); \
3012 rval = PCLASS::CBNAME(a,b); \
3018 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
3019 bool CBNAME(size_t a) { \
3022 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3023 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3024 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
3025 wxPyEndBlockThreads(blocked); \
3027 rval = PCLASS::CBNAME(a); \
3032 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
3033 wxString CBNAME(int a) { \
3035 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3037 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3039 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
3041 rval = Py2wxString(ro); \
3045 wxPyEndBlockThreads(blocked); \
3047 rval = PCLASS::CBNAME(a); \
3052 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
3053 void CBNAME(int a, const wxString& c) { \
3055 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3056 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3057 PyObject* s = wx2PyString(c); \
3058 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
3061 wxPyEndBlockThreads(blocked); \
3063 PCLASS::CBNAME(a,c); \
3069 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
3073 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3074 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3075 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
3076 wxPyEndBlockThreads(blocked); \
3078 rval = PCLASS::CBNAME(); \
3084 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
3085 void CBNAME(size_t a, int b) { \
3087 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3088 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3089 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
3090 wxPyEndBlockThreads(blocked); \
3092 PCLASS::CBNAME(a,b); \
3098 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
3099 void CBNAME(int a, int b, long c) { \
3101 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3102 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3103 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
3104 wxPyEndBlockThreads(blocked); \
3106 PCLASS::CBNAME(a,b,c); \
3112 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
3113 void CBNAME(int a, int b, double c) { \
3115 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3116 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3117 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
3118 wxPyEndBlockThreads(blocked); \
3120 PCLASS::CBNAME(a,b,c); \
3125 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
3126 void CBNAME(int a, int b, bool c) { \
3128 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3129 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3130 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
3131 wxPyEndBlockThreads(blocked); \
3133 PCLASS::CBNAME(a,b,c); \
3140 SWIGINTERN swig_type_info
*
3141 SWIG_pchar_descriptor()
3143 static int init
= 0;
3144 static swig_type_info
* info
= 0;
3146 info
= SWIG_TypeQuery("_p_char");
3153 SWIGINTERNINLINE PyObject
*
3154 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3157 if (size
> INT_MAX
) {
3158 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3159 return pchar_descriptor
?
3160 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3162 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3165 return SWIG_Py_Void();
3170 SWIGINTERNINLINE PyObject
*
3171 SWIG_FromCharPtr(const char *cptr
)
3173 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3177 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
3178 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
3179 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
3180 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
3181 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
3182 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
3183 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
3184 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
3185 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
3186 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
3189 #define SWIG_From_long PyInt_FromLong
3192 SWIGINTERNINLINE PyObject
*
3193 SWIG_From_int (int value
)
3195 return SWIG_From_long (value
);
3198 SWIGINTERN
void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
3199 if (!self
->GetClientObject())
3200 self
->SetClientObject(new wxPyOORClientData(_self
));
3205 # define LLONG_MIN LONG_LONG_MIN
3208 # define LLONG_MAX LONG_LONG_MAX
3211 # define ULLONG_MAX ULONG_LONG_MAX
3216 SWIG_AsVal_long (PyObject
* obj
, long* val
)
3218 if (PyNumber_Check(obj
)) {
3219 if (val
) *val
= PyInt_AsLong(obj
);
3222 return SWIG_TypeError
;
3227 SWIG_AsVal_int (PyObject
* obj
, int *val
)
3230 int res
= SWIG_AsVal_long (obj
, &v
);
3231 if (SWIG_IsOK(res
)) {
3232 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
3233 return SWIG_OverflowError
;
3235 if (val
) *val
= static_cast< int >(v
);
3243 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3245 if (obj
== Py_True
) {
3246 if (val
) *val
= true;
3248 } else if (obj
== Py_False
) {
3249 if (val
) *val
= false;
3253 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3254 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3260 class wxPyGridCellRenderer
: public wxGridCellRenderer
3263 wxPyGridCellRenderer() : wxGridCellRenderer() {};
3265 // Implement Python callback aware virtual methods
3266 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
3267 wxDC
& dc
, const wxRect
& rect
,
3268 int row
, int col
, bool isSelected
) {
3269 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3270 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
3271 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
3272 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
3273 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
3274 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
3276 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
3277 row
, col
, isSelected
));
3283 wxPyEndBlockThreads(blocked
);
3286 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
3289 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3290 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
3293 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
3294 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
3295 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
3297 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
3305 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
3306 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
3309 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
3310 PyObject
* o1
= PySequence_GetItem(ro
, 0);
3311 PyObject
* o2
= PySequence_GetItem(ro
, 1);
3312 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
3313 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3315 PyErr_SetString(PyExc_TypeError
, errmsg
);
3320 PyErr_SetString(PyExc_TypeError
, errmsg
);
3325 wxPyEndBlockThreads(blocked
);
3330 wxGridCellRenderer
*Clone() const {
3331 wxGridCellRenderer
* rval
= NULL
;
3332 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3333 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3335 wxGridCellRenderer
* ptr
;
3336 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3338 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
3343 wxPyEndBlockThreads(blocked
);
3347 DEC_PYCALLBACK__STRING(SetParameters
);
3352 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
3355 SWIGINTERN
void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
3356 if (!self
->GetClientObject())
3357 self
->SetClientObject(new wxPyOORClientData(_self
));
3360 class wxPyGridCellEditor
: public wxGridCellEditor
3363 wxPyGridCellEditor() : wxGridCellEditor() {}
3365 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
3366 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3367 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
3368 PyObject
* po
= wxPyMake_wxObject(parent
,false);
3369 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
3371 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
3375 wxPyEndBlockThreads(blocked
);
3379 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
3380 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3381 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
3382 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3383 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3386 wxPyEndBlockThreads(blocked
);
3390 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
3392 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3393 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
3394 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3395 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3398 wxPyEndBlockThreads(blocked
);
3403 wxGridCellEditor
* Clone() const {
3404 wxGridCellEditor
* rval
= NULL
;
3405 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3406 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3408 wxGridCellEditor
* ptr
;
3409 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3411 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
3416 wxPyEndBlockThreads(blocked
);
3421 void Show(bool show
, wxGridCellAttr
*attr
) {
3423 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3424 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
3425 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3426 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
3429 wxPyEndBlockThreads(blocked
);
3431 wxGridCellEditor::Show(show
, attr
);
3435 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
3437 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3438 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
3439 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3440 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
3442 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
3447 wxPyEndBlockThreads(blocked
);
3449 wxGridCellEditor::PaintBackground(rectCell
, attr
);
3453 DEC_PYCALLBACK___pure(Reset
);
3454 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
3455 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
3456 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
3457 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
3458 DEC_PYCALLBACK__(StartingClick
);
3459 DEC_PYCALLBACK__(Destroy
);
3460 DEC_PYCALLBACK__STRING(SetParameters
);
3461 DEC_PYCALLBACK_STRING__constpure(GetValue
);
3467 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
3468 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
3469 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
3470 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
3471 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
3472 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
3473 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
3474 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
3475 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
3478 SWIGINTERN
void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
3479 if (!self
->GetClientObject())
3480 self
->SetClientObject(new wxPyOORClientData(_self
));
3482 SWIGINTERN
void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
3483 if (!self
->GetClientObject())
3484 self
->SetClientObject(new wxPyOORClientData(_self
));
3488 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3491 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3492 return SWIG_TypeError
;
3495 *val
= (unsigned long)v
;
3500 SWIGINTERNINLINE
int
3501 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3504 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3505 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3510 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
3513 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
3515 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
3516 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
3517 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
3518 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
3523 SWIGINTERN
void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
3524 if (!self
->GetClientObject())
3525 self
->SetClientObject(new wxPyOORClientData(_self
));
3528 #define SWIG_From_double PyFloat_FromDouble
3532 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3534 if (PyNumber_Check(obj
)) {
3535 if (val
) *val
= PyFloat_AsDouble(obj
);
3538 return SWIG_TypeError
;
3542 class wxPyGridTableBase
: public wxGridTableBase
3545 wxPyGridTableBase() : wxGridTableBase() {}
3547 PYCALLBACK_INT__pure(GetNumberRows
);
3548 PYCALLBACK_INT__pure(GetNumberCols
);
3549 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
3550 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
3551 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
3552 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
3553 PYCALLBACK__(wxGridTableBase
, Clear
);
3554 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
3555 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
3556 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
3557 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
3558 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
3559 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
3560 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
3561 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
3562 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
3563 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
3564 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
3565 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
3566 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
3567 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
3568 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
3571 wxString
GetValue(int row
, int col
) {
3572 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3574 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3576 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
3578 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
3580 ro
= PyObject_Str(ro
);
3583 rval
= Py2wxString(ro
);
3587 wxPyEndBlockThreads(blocked
);
3591 void SetValue(int row
, int col
, const wxString
& val
) {
3592 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3593 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3594 PyObject
* s
= wx2PyString(val
);
3595 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
3598 wxPyEndBlockThreads(blocked
);
3602 // Map the Get/Set methods for the standard non-string types to
3603 // the GetValue and SetValue python methods.
3604 long GetValueAsLong( int row
, int col
) {
3606 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3607 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3610 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3611 if (ro
&& PyNumber_Check(ro
)) {
3612 num
= PyNumber_Int(ro
);
3614 rval
= PyInt_AsLong(num
);
3620 wxPyEndBlockThreads(blocked
);
3624 double GetValueAsDouble( int row
, int col
) {
3626 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3627 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3630 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3631 if (ro
&& PyNumber_Check(ro
)) {
3632 num
= PyNumber_Float(ro
);
3634 rval
= PyFloat_AsDouble(num
);
3640 wxPyEndBlockThreads(blocked
);
3644 bool GetValueAsBool( int row
, int col
) {
3645 return (bool)GetValueAsLong(row
, col
);
3648 void SetValueAsLong( int row
, int col
, long value
) {
3649 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3650 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3651 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
3653 wxPyEndBlockThreads(blocked
);
3656 void SetValueAsDouble( int row
, int col
, double value
) {
3657 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3658 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3659 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
3661 wxPyEndBlockThreads(blocked
);
3664 void SetValueAsBool( int row
, int col
, bool value
) {
3665 SetValueAsLong( row
, col
, (long)value
);
3672 SWIGINTERN
void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
3674 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
3676 if (source
== Py_None
) {
3677 **obj
= wxGridCellCoords(-1,-1);
3681 // If source is an object instance then it may already be the right type
3682 if (wxPySwigInstance_Check(source
)) {
3683 wxGridCellCoords
* ptr
;
3684 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3689 // otherwise a 2-tuple of integers is expected
3690 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
3691 PyObject
* o1
= PySequence_GetItem(source
, 0);
3692 PyObject
* o2
= PySequence_GetItem(source
, 1);
3693 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
3698 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3705 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
3710 bool wxGridCellCoords_typecheck(PyObject
* source
) {
3713 if (wxPySwigInstance_Check(source
) &&
3714 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3718 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
3725 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
3727 PyObject
* list
= PyList_New(0);
3729 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
3730 wxGridCellCoords
& coord
= source
.Item(idx
);
3731 PyObject
* tup
= PyTuple_New(2);
3732 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
3733 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
3734 PyList_Append(list
, tup
);
3740 SWIGINTERN PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
3741 PyObject
* tup
= PyTuple_New(2);
3742 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3743 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3747 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
3749 SWIGINTERN wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
3750 wxGridCellCoords rv
;
3751 self
->XYToCell(x
, y
, rv
);
3757 SWIGINTERN
int GridNoCellCoords_set(PyObject
*) {
3758 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellCoords is read-only.");
3763 SWIGINTERN PyObject
*GridNoCellCoords_get(void) {
3764 PyObject
*pyobj
= 0;
3766 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0 );
3771 SWIGINTERN
int GridNoCellRect_set(PyObject
*) {
3772 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellRect is read-only.");
3777 SWIGINTERN PyObject
*GridNoCellRect_get(void) {
3778 PyObject
*pyobj
= 0;
3780 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0 );
3785 SWIGINTERN PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
= 0;
3787 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3788 PyObject
*arg2
= (PyObject
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3792 PyObject
* obj1
= 0 ;
3793 char * kwnames
[] = {
3794 (char *) "self",(char *) "_self", NULL
3797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
3799 if (!SWIG_IsOK(res1
)) {
3800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
3802 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= SWIG_Py_Void();
3817 SWIGINTERN PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
= 0;
3819 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3820 wxString
*arg2
= 0 ;
3823 bool temp2
= false ;
3824 PyObject
* obj0
= 0 ;
3825 PyObject
* obj1
= 0 ;
3826 char * kwnames
[] = {
3827 (char *) "self",(char *) "params", NULL
3830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
3832 if (!SWIG_IsOK(res1
)) {
3833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_SetParameters" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
3835 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
3837 arg2
= wxString_in_helper(obj1
);
3838 if (arg2
== NULL
) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 (arg1
)->SetParameters((wxString
const &)*arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 resultobj
= SWIG_Py_Void();
3862 SWIGINTERN PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3863 PyObject
*resultobj
= 0;
3864 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3867 PyObject
*swig_obj
[1] ;
3869 if (!args
) SWIG_fail
;
3871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
3872 if (!SWIG_IsOK(res1
)) {
3873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_IncRef" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
3875 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_Py_Void();
3889 SWIGINTERN PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3890 PyObject
*resultobj
= 0;
3891 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3894 PyObject
*swig_obj
[1] ;
3896 if (!args
) SWIG_fail
;
3898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
3899 if (!SWIG_IsOK(res1
)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_DecRef" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
3902 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= SWIG_Py_Void();
3916 SWIGINTERN PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
= 0;
3918 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3920 wxGridCellAttr
*arg3
= 0 ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 char * kwnames
[] = {
3950 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
3953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
3955 if (!SWIG_IsOK(res1
)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_Draw" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
3958 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
3959 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGrid
, 0 );
3960 if (!SWIG_IsOK(res2
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellRenderer_Draw" "', expected argument " "2"" of type '" "wxGrid &""'");
3964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "2"" of type '" "wxGrid &""'");
3966 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
3967 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxGridCellAttr
, 0 );
3968 if (!SWIG_IsOK(res3
)) {
3969 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellRenderer_Draw" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
3972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
3974 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
3975 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDC
, 0 );
3976 if (!SWIG_IsOK(res4
)) {
3977 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellRenderer_Draw" "', expected argument " "4"" of type '" "wxDC &""'");
3980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "4"" of type '" "wxDC &""'");
3982 arg4
= reinterpret_cast< wxDC
* >(argp4
);
3985 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
3987 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
3988 if (!SWIG_IsOK(ecode6
)) {
3989 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridCellRenderer_Draw" "', expected argument " "6"" of type '" "int""'");
3991 arg6
= static_cast< int >(val6
);
3992 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
3993 if (!SWIG_IsOK(ecode7
)) {
3994 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GridCellRenderer_Draw" "', expected argument " "7"" of type '" "int""'");
3996 arg7
= static_cast< int >(val7
);
3997 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
3998 if (!SWIG_IsOK(ecode8
)) {
3999 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GridCellRenderer_Draw" "', expected argument " "8"" of type '" "bool""'");
4001 arg8
= static_cast< bool >(val8
);
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= SWIG_Py_Void();
4015 SWIGINTERN PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
= 0;
4017 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
4019 wxGridCellAttr
*arg3
= 0 ;
4036 PyObject
* obj0
= 0 ;
4037 PyObject
* obj1
= 0 ;
4038 PyObject
* obj2
= 0 ;
4039 PyObject
* obj3
= 0 ;
4040 PyObject
* obj4
= 0 ;
4041 PyObject
* obj5
= 0 ;
4042 char * kwnames
[] = {
4043 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
4046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
4048 if (!SWIG_IsOK(res1
)) {
4049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
4051 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
4052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGrid
, 0 );
4053 if (!SWIG_IsOK(res2
)) {
4054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "2"" of type '" "wxGrid &""'");
4057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "2"" of type '" "wxGrid &""'");
4059 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
4060 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxGridCellAttr
, 0 );
4061 if (!SWIG_IsOK(res3
)) {
4062 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4067 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
4068 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDC
, 0 );
4069 if (!SWIG_IsOK(res4
)) {
4070 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "4"" of type '" "wxDC &""'");
4073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "4"" of type '" "wxDC &""'");
4075 arg4
= reinterpret_cast< wxDC
* >(argp4
);
4076 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4077 if (!SWIG_IsOK(ecode5
)) {
4078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "5"" of type '" "int""'");
4080 arg5
= static_cast< int >(val5
);
4081 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4082 if (!SWIG_IsOK(ecode6
)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "6"" of type '" "int""'");
4085 arg6
= static_cast< int >(val6
);
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4099 SWIGINTERN PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4100 PyObject
*resultobj
= 0;
4101 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
4102 wxGridCellRenderer
*result
= 0 ;
4105 PyObject
*swig_obj
[1] ;
4107 if (!args
) SWIG_fail
;
4109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
4110 if (!SWIG_IsOK(res1
)) {
4111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_Clone" "', expected argument " "1"" of type '" "wxGridCellRenderer const *""'");
4113 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
4129 SWIGINTERN PyObject
*GridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4132 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellRenderer
, SWIG_NewClientData(obj
));
4133 return SWIG_Py_Void();
4136 SWIGINTERN PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4137 PyObject
*resultobj
= 0;
4138 wxPyGridCellRenderer
*result
= 0 ;
4140 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellRenderer",0,0,0)) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_NEW
| 0 );
4154 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
= 0;
4156 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
4157 PyObject
*arg2
= (PyObject
*) 0 ;
4158 PyObject
*arg3
= (PyObject
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4162 PyObject
* obj1
= 0 ;
4163 PyObject
* obj2
= 0 ;
4164 char * kwnames
[] = {
4165 (char *) "self",(char *) "self",(char *) "_class", NULL
4168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4170 if (!SWIG_IsOK(res1
)) {
4171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4173 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= SWIG_Py_Void();
4189 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
= 0;
4191 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
4192 wxString
*arg2
= 0 ;
4195 bool temp2
= false ;
4196 PyObject
* obj0
= 0 ;
4197 PyObject
* obj1
= 0 ;
4198 char * kwnames
[] = {
4199 (char *) "self",(char *) "params", NULL
4202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4204 if (!SWIG_IsOK(res1
)) {
4205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4207 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4209 arg2
= wxString_in_helper(obj1
);
4210 if (arg2
== NULL
) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 (arg1
)->SetParameters((wxString
const &)*arg2
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 resultobj
= SWIG_Py_Void();
4234 SWIGINTERN PyObject
*PyGridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4237 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_NewClientData(obj
));
4238 return SWIG_Py_Void();
4241 SWIGINTERN PyObject
*PyGridCellRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4242 return SWIG_Python_InitShadowInstance(args
);
4245 SWIGINTERN PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4246 PyObject
*resultobj
= 0;
4247 wxGridCellStringRenderer
*result
= 0 ;
4249 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellStringRenderer",0,0,0)) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_POINTER_NEW
| 0 );
4263 SWIGINTERN PyObject
*GridCellStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4266 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_NewClientData(obj
));
4267 return SWIG_Py_Void();
4270 SWIGINTERN PyObject
*GridCellStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4271 return SWIG_Python_InitShadowInstance(args
);
4274 SWIGINTERN PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4275 PyObject
*resultobj
= 0;
4276 wxGridCellNumberRenderer
*result
= 0 ;
4278 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellNumberRenderer",0,0,0)) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_POINTER_NEW
| 0 );
4292 SWIGINTERN PyObject
*GridCellNumberRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4295 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_NewClientData(obj
));
4296 return SWIG_Py_Void();
4299 SWIGINTERN PyObject
*GridCellNumberRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4300 return SWIG_Python_InitShadowInstance(args
);
4303 SWIGINTERN PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
= 0;
4305 int arg1
= (int) -1 ;
4306 int arg2
= (int) -1 ;
4307 wxGridCellFloatRenderer
*result
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "width",(char *) "precision", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4320 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4321 if (!SWIG_IsOK(ecode1
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "1"" of type '" "int""'");
4324 arg1
= static_cast< int >(val1
);
4327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4328 if (!SWIG_IsOK(ecode2
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "2"" of type '" "int""'");
4331 arg2
= static_cast< int >(val2
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_NEW
| 0 );
4346 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4347 PyObject
*resultobj
= 0;
4348 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4352 PyObject
*swig_obj
[1] ;
4354 if (!args
) SWIG_fail
;
4356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4357 if (!SWIG_IsOK(res1
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4360 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= SWIG_From_int(static_cast< int >(result
));
4374 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
= 0;
4376 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4384 char * kwnames
[] = {
4385 (char *) "self",(char *) "width", NULL
4388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4390 if (!SWIG_IsOK(res1
)) {
4391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");
4393 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4395 if (!SWIG_IsOK(ecode2
)) {
4396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "2"" of type '" "int""'");
4398 arg2
= static_cast< int >(val2
);
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 (arg1
)->SetWidth(arg2
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= SWIG_Py_Void();
4412 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4413 PyObject
*resultobj
= 0;
4414 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4418 PyObject
*swig_obj
[1] ;
4420 if (!args
) SWIG_fail
;
4422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4423 if (!SWIG_IsOK(res1
)) {
4424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4426 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_From_int(static_cast< int >(result
));
4440 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
= 0;
4442 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4448 PyObject
* obj0
= 0 ;
4449 PyObject
* obj1
= 0 ;
4450 char * kwnames
[] = {
4451 (char *) "self",(char *) "precision", NULL
4454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4456 if (!SWIG_IsOK(res1
)) {
4457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");
4459 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4461 if (!SWIG_IsOK(ecode2
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "2"" of type '" "int""'");
4464 arg2
= static_cast< int >(val2
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->SetPrecision(arg2
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_Py_Void();
4478 SWIGINTERN PyObject
*GridCellFloatRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4481 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_NewClientData(obj
));
4482 return SWIG_Py_Void();
4485 SWIGINTERN PyObject
*GridCellFloatRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4486 return SWIG_Python_InitShadowInstance(args
);
4489 SWIGINTERN PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4490 PyObject
*resultobj
= 0;
4491 wxGridCellBoolRenderer
*result
= 0 ;
4493 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolRenderer",0,0,0)) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_POINTER_NEW
| 0 );
4507 SWIGINTERN PyObject
*GridCellBoolRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4510 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_NewClientData(obj
));
4511 return SWIG_Py_Void();
4514 SWIGINTERN PyObject
*GridCellBoolRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4515 return SWIG_Python_InitShadowInstance(args
);
4518 SWIGINTERN PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
= 0;
4520 wxString arg1
= (wxString
) wxPyDefaultDateTimeFormat
;
4521 wxString arg2
= (wxString
) wxPyDefaultDateTimeFormat
;
4522 wxGridCellDateTimeRenderer
*result
= 0 ;
4523 PyObject
* obj0
= 0 ;
4524 PyObject
* obj1
= 0 ;
4525 char * kwnames
[] = {
4526 (char *) "outformat",(char *) "informat", NULL
4529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4532 wxString
* sptr
= wxString_in_helper(obj0
);
4533 if (sptr
== NULL
) SWIG_fail
;
4540 wxString
* sptr
= wxString_in_helper(obj1
);
4541 if (sptr
== NULL
) SWIG_fail
;
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_POINTER_NEW
| 0 );
4559 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4562 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_NewClientData(obj
));
4563 return SWIG_Py_Void();
4566 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4567 return SWIG_Python_InitShadowInstance(args
);
4570 SWIGINTERN PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
= 0;
4572 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4573 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4574 wxGridCellEnumRenderer
*result
= 0 ;
4575 bool temp1
= false ;
4576 PyObject
* obj0
= 0 ;
4577 char * kwnames
[] = {
4578 (char *) "choices", NULL
4581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) SWIG_fail
;
4584 arg1
= wxString_in_helper(obj0
);
4585 if (arg1
== NULL
) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_POINTER_NEW
| 0 );
4610 SWIGINTERN PyObject
*GridCellEnumRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4613 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_NewClientData(obj
));
4614 return SWIG_Py_Void();
4617 SWIGINTERN PyObject
*GridCellEnumRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4618 return SWIG_Python_InitShadowInstance(args
);
4621 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4622 PyObject
*resultobj
= 0;
4623 wxGridCellAutoWrapStringRenderer
*result
= 0 ;
4625 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringRenderer",0,0,0)) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_POINTER_NEW
| 0 );
4639 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4642 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_NewClientData(obj
));
4643 return SWIG_Py_Void();
4646 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 return SWIG_Python_InitShadowInstance(args
);
4650 SWIGINTERN PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
= 0;
4652 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4653 PyObject
*arg2
= (PyObject
*) 0 ;
4656 PyObject
* obj0
= 0 ;
4657 PyObject
* obj1
= 0 ;
4658 char * kwnames
[] = {
4659 (char *) "self",(char *) "_self", NULL
4662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4664 if (!SWIG_IsOK(res1
)) {
4665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4667 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 wxGridCellEditor__setOORInfo(arg1
,arg2
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= SWIG_Py_Void();
4682 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4683 PyObject
*resultobj
= 0;
4684 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4688 PyObject
*swig_obj
[1] ;
4690 if (!args
) SWIG_fail
;
4692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4693 if (!SWIG_IsOK(res1
)) {
4694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsCreated" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4696 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 result
= (bool)(arg1
)->IsCreated();
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4712 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 PyObject
*resultobj
= 0;
4714 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4715 wxControl
*result
= 0 ;
4718 PyObject
*swig_obj
[1] ;
4720 if (!args
) SWIG_fail
;
4722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4723 if (!SWIG_IsOK(res1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4726 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (wxControl
*)(arg1
)->GetControl();
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= wxPyMake_wxObject(result
, 0);
4742 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
= 0;
4744 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4745 wxControl
*arg2
= (wxControl
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4752 char * kwnames
[] = {
4753 (char *) "self",(char *) "control", NULL
4756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4758 if (!SWIG_IsOK(res1
)) {
4759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4761 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
4763 if (!SWIG_IsOK(res2
)) {
4764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
4766 arg2
= reinterpret_cast< wxControl
* >(argp2
);
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 (arg1
)->SetControl(arg2
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= SWIG_Py_Void();
4780 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4781 PyObject
*resultobj
= 0;
4782 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4783 wxGridCellAttr
*result
= 0 ;
4786 PyObject
*swig_obj
[1] ;
4788 if (!args
) SWIG_fail
;
4790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4791 if (!SWIG_IsOK(res1
)) {
4792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4794 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
4810 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
= 0;
4812 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4813 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4818 PyObject
* obj0
= 0 ;
4819 PyObject
* obj1
= 0 ;
4820 char * kwnames
[] = {
4821 (char *) "self",(char *) "attr", NULL
4824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4826 if (!SWIG_IsOK(res1
)) {
4827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4829 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
4831 if (!SWIG_IsOK(res2
)) {
4832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
4834 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 (arg1
)->SetCellAttr(arg2
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_Py_Void();
4848 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
= 0;
4850 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4851 wxString
*arg2
= 0 ;
4854 bool temp2
= false ;
4855 PyObject
* obj0
= 0 ;
4856 PyObject
* obj1
= 0 ;
4857 char * kwnames
[] = {
4858 (char *) "self",(char *) "params", NULL
4861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4863 if (!SWIG_IsOK(res1
)) {
4864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetParameters" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4866 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4868 arg2
= wxString_in_helper(obj1
);
4869 if (arg2
== NULL
) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 (arg1
)->SetParameters((wxString
const &)*arg2
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= SWIG_Py_Void();
4893 SWIGINTERN PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4894 PyObject
*resultobj
= 0;
4895 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4898 PyObject
*swig_obj
[1] ;
4900 if (!args
) SWIG_fail
;
4902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4903 if (!SWIG_IsOK(res1
)) {
4904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IncRef" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4906 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 resultobj
= SWIG_Py_Void();
4920 SWIGINTERN PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4921 PyObject
*resultobj
= 0;
4922 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4925 PyObject
*swig_obj
[1] ;
4927 if (!args
) SWIG_fail
;
4929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4930 if (!SWIG_IsOK(res1
)) {
4931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_DecRef" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4933 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 resultobj
= SWIG_Py_Void();
4947 SWIGINTERN PyObject
*_wrap_GridCellEditor_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
= 0;
4949 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4950 wxWindow
*arg2
= (wxWindow
*) 0 ;
4952 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
4961 PyObject
* obj0
= 0 ;
4962 PyObject
* obj1
= 0 ;
4963 PyObject
* obj2
= 0 ;
4964 PyObject
* obj3
= 0 ;
4965 char * kwnames
[] = {
4966 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
4969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4971 if (!SWIG_IsOK(res1
)) {
4972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Create" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4974 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4976 if (!SWIG_IsOK(res2
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4979 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4981 if (!SWIG_IsOK(ecode3
)) {
4982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_Create" "', expected argument " "3"" of type '" "int""'");
4984 arg3
= static_cast< int >(val3
);
4985 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
4986 if (!SWIG_IsOK(res4
)) {
4987 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_Create" "', expected argument " "4"" of type '" "wxEvtHandler *""'");
4989 arg4
= reinterpret_cast< wxEvtHandler
* >(argp4
);
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 (arg1
)->Create(arg2
,arg3
,arg4
);
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 resultobj
= SWIG_Py_Void();
5003 SWIGINTERN PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
= 0;
5005 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5008 wxGrid
*arg4
= (wxGrid
*) 0 ;
5017 PyObject
* obj0
= 0 ;
5018 PyObject
* obj1
= 0 ;
5019 PyObject
* obj2
= 0 ;
5020 PyObject
* obj3
= 0 ;
5021 char * kwnames
[] = {
5022 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
5025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5027 if (!SWIG_IsOK(res1
)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5030 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5032 if (!SWIG_IsOK(ecode2
)) {
5033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "2"" of type '" "int""'");
5035 arg2
= static_cast< int >(val2
);
5036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5037 if (!SWIG_IsOK(ecode3
)) {
5038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "3"" of type '" "int""'");
5040 arg3
= static_cast< int >(val3
);
5041 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
5042 if (!SWIG_IsOK(res4
)) {
5043 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
5045 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= SWIG_Py_Void();
5059 SWIGINTERN PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
= 0;
5061 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5064 wxGrid
*arg4
= (wxGrid
*) 0 ;
5074 PyObject
* obj0
= 0 ;
5075 PyObject
* obj1
= 0 ;
5076 PyObject
* obj2
= 0 ;
5077 PyObject
* obj3
= 0 ;
5078 char * kwnames
[] = {
5079 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
5082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5084 if (!SWIG_IsOK(res1
)) {
5085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5087 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5089 if (!SWIG_IsOK(ecode2
)) {
5090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "2"" of type '" "int""'");
5092 arg2
= static_cast< int >(val2
);
5093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5094 if (!SWIG_IsOK(ecode3
)) {
5095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "3"" of type '" "int""'");
5097 arg3
= static_cast< int >(val3
);
5098 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
5099 if (!SWIG_IsOK(res4
)) {
5100 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
5102 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5118 SWIGINTERN PyObject
*_wrap_GridCellEditor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5119 PyObject
*resultobj
= 0;
5120 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5123 PyObject
*swig_obj
[1] ;
5125 if (!args
) SWIG_fail
;
5127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5128 if (!SWIG_IsOK(res1
)) {
5129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Reset" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5131 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_Py_Void();
5145 SWIGINTERN PyObject
*_wrap_GridCellEditor_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5146 PyObject
*resultobj
= 0;
5147 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5148 wxGridCellEditor
*result
= 0 ;
5151 PyObject
*swig_obj
[1] ;
5153 if (!args
) SWIG_fail
;
5155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5156 if (!SWIG_IsOK(res1
)) {
5157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Clone" "', expected argument " "1"" of type '" "wxGridCellEditor const *""'");
5159 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
5175 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
= 0;
5177 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5183 PyObject
* obj1
= 0 ;
5184 char * kwnames
[] = {
5185 (char *) "self",(char *) "rect", NULL
5188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5190 if (!SWIG_IsOK(res1
)) {
5191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetSize" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5193 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5196 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 (arg1
)->SetSize((wxRect
const &)*arg2
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_Py_Void();
5211 SWIGINTERN PyObject
*_wrap_GridCellEditor_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
= 0;
5213 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5215 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
5222 PyObject
* obj0
= 0 ;
5223 PyObject
* obj1
= 0 ;
5224 PyObject
* obj2
= 0 ;
5225 char * kwnames
[] = {
5226 (char *) "self",(char *) "show",(char *) "attr", NULL
5229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5231 if (!SWIG_IsOK(res1
)) {
5232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Show" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5234 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5235 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5236 if (!SWIG_IsOK(ecode2
)) {
5237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_Show" "', expected argument " "2"" of type '" "bool""'");
5239 arg2
= static_cast< bool >(val2
);
5241 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5242 if (!SWIG_IsOK(res3
)) {
5243 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_Show" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
5245 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 (arg1
)->Show(arg2
,arg3
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= SWIG_Py_Void();
5260 SWIGINTERN PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
= 0;
5262 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5264 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5272 PyObject
* obj2
= 0 ;
5273 char * kwnames
[] = {
5274 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
5277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5279 if (!SWIG_IsOK(res1
)) {
5280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5282 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5285 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5287 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5288 if (!SWIG_IsOK(res3
)) {
5289 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
5291 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= SWIG_Py_Void();
5305 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
= 0;
5307 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5308 wxKeyEvent
*arg2
= 0 ;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5316 char * kwnames
[] = {
5317 (char *) "self",(char *) "event", NULL
5320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5322 if (!SWIG_IsOK(res1
)) {
5323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5325 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5327 if (!SWIG_IsOK(res2
)) {
5328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5333 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5349 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
= 0;
5351 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5352 wxKeyEvent
*arg2
= 0 ;
5357 PyObject
* obj0
= 0 ;
5358 PyObject
* obj1
= 0 ;
5359 char * kwnames
[] = {
5360 (char *) "self",(char *) "event", NULL
5363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5365 if (!SWIG_IsOK(res1
)) {
5366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5368 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5370 if (!SWIG_IsOK(res2
)) {
5371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5376 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 (arg1
)->StartingKey(*arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 resultobj
= SWIG_Py_Void();
5390 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5395 PyObject
*swig_obj
[1] ;
5397 if (!args
) SWIG_fail
;
5399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5400 if (!SWIG_IsOK(res1
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingClick" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5403 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 (arg1
)->StartingClick();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_Py_Void();
5417 SWIGINTERN PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= 0;
5419 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5420 wxKeyEvent
*arg2
= 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5427 char * kwnames
[] = {
5428 (char *) "self",(char *) "event", NULL
5431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5433 if (!SWIG_IsOK(res1
)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5436 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5438 if (!SWIG_IsOK(res2
)) {
5439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5444 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 (arg1
)->HandleReturn(*arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_Py_Void();
5458 SWIGINTERN PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 PyObject
*resultobj
= 0;
5460 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5463 PyObject
*swig_obj
[1] ;
5465 if (!args
) SWIG_fail
;
5467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5468 if (!SWIG_IsOK(res1
)) {
5469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Destroy" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5471 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= SWIG_Py_Void();
5485 SWIGINTERN PyObject
*GridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5488 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEditor
, SWIG_NewClientData(obj
));
5489 return SWIG_Py_Void();
5492 SWIGINTERN PyObject
*_wrap_new_PyGridCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5493 PyObject
*resultobj
= 0;
5494 wxPyGridCellEditor
*result
= 0 ;
5496 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellEditor",0,0,0)) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_NEW
| 0 );
5510 SWIGINTERN PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
= 0;
5512 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5513 PyObject
*arg2
= (PyObject
*) 0 ;
5514 PyObject
*arg3
= (PyObject
*) 0 ;
5517 PyObject
* obj0
= 0 ;
5518 PyObject
* obj1
= 0 ;
5519 PyObject
* obj2
= 0 ;
5520 char * kwnames
[] = {
5521 (char *) "self",(char *) "self",(char *) "_class", NULL
5524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5526 if (!SWIG_IsOK(res1
)) {
5527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5529 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= SWIG_Py_Void();
5545 SWIGINTERN PyObject
*_wrap_PyGridCellEditor_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
= 0;
5547 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5548 wxString
*arg2
= 0 ;
5551 bool temp2
= false ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5554 char * kwnames
[] = {
5555 (char *) "self",(char *) "params", NULL
5558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5560 if (!SWIG_IsOK(res1
)) {
5561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5563 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5565 arg2
= wxString_in_helper(obj1
);
5566 if (arg2
== NULL
) SWIG_fail
;
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 (arg1
)->SetParameters((wxString
const &)*arg2
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_Py_Void();
5590 SWIGINTERN PyObject
*PyGridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5593 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellEditor
, SWIG_NewClientData(obj
));
5594 return SWIG_Py_Void();
5597 SWIGINTERN PyObject
*PyGridCellEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5598 return SWIG_Python_InitShadowInstance(args
);
5601 SWIGINTERN PyObject
*_wrap_new_GridCellTextEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5602 PyObject
*resultobj
= 0;
5603 wxGridCellTextEditor
*result
= 0 ;
5605 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellTextEditor",0,0,0)) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_NEW
| 0 );
5619 SWIGINTERN PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5620 PyObject
*resultobj
= 0;
5621 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
5625 PyObject
*swig_obj
[1] ;
5627 if (!args
) SWIG_fail
;
5629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellTextEditor
, 0 | 0 );
5630 if (!SWIG_IsOK(res1
)) {
5631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellTextEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellTextEditor *""'");
5633 arg1
= reinterpret_cast< wxGridCellTextEditor
* >(argp1
);
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (arg1
)->GetValue();
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5653 SWIGINTERN PyObject
*GridCellTextEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5656 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellTextEditor
, SWIG_NewClientData(obj
));
5657 return SWIG_Py_Void();
5660 SWIGINTERN PyObject
*GridCellTextEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5661 return SWIG_Python_InitShadowInstance(args
);
5664 SWIGINTERN PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
= 0;
5666 int arg1
= (int) -1 ;
5667 int arg2
= (int) -1 ;
5668 wxGridCellNumberEditor
*result
= 0 ;
5673 PyObject
* obj0
= 0 ;
5674 PyObject
* obj1
= 0 ;
5675 char * kwnames
[] = {
5676 (char *) "min",(char *) "max", NULL
5679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5681 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5682 if (!SWIG_IsOK(ecode1
)) {
5683 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellNumberEditor" "', expected argument " "1"" of type '" "int""'");
5685 arg1
= static_cast< int >(val1
);
5688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5689 if (!SWIG_IsOK(ecode2
)) {
5690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellNumberEditor" "', expected argument " "2"" of type '" "int""'");
5692 arg2
= static_cast< int >(val2
);
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_NEW
| 0 );
5707 SWIGINTERN PyObject
*GridCellNumberEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5710 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_NewClientData(obj
));
5711 return SWIG_Py_Void();
5714 SWIGINTERN PyObject
*GridCellNumberEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5715 return SWIG_Python_InitShadowInstance(args
);
5718 SWIGINTERN PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
= 0;
5720 int arg1
= (int) -1 ;
5721 int arg2
= (int) -1 ;
5722 wxGridCellFloatEditor
*result
= 0 ;
5727 PyObject
* obj0
= 0 ;
5728 PyObject
* obj1
= 0 ;
5729 char * kwnames
[] = {
5730 (char *) "width",(char *) "precision", NULL
5733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5736 if (!SWIG_IsOK(ecode1
)) {
5737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatEditor" "', expected argument " "1"" of type '" "int""'");
5739 arg1
= static_cast< int >(val1
);
5742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5743 if (!SWIG_IsOK(ecode2
)) {
5744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatEditor" "', expected argument " "2"" of type '" "int""'");
5746 arg2
= static_cast< int >(val2
);
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_NEW
| 0 );
5761 SWIGINTERN PyObject
*GridCellFloatEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5764 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_NewClientData(obj
));
5765 return SWIG_Py_Void();
5768 SWIGINTERN PyObject
*GridCellFloatEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5769 return SWIG_Python_InitShadowInstance(args
);
5772 SWIGINTERN PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5773 PyObject
*resultobj
= 0;
5774 wxGridCellBoolEditor
*result
= 0 ;
5776 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolEditor",0,0,0)) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_NEW
| 0 );
5790 SWIGINTERN PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5791 PyObject
*resultobj
= 0;
5792 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
5796 PyObject
*swig_obj
[1] ;
5798 if (!args
) SWIG_fail
;
5800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellBoolEditor
, 0 | 0 );
5801 if (!SWIG_IsOK(res1
)) {
5802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellBoolEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellBoolEditor *""'");
5804 arg1
= reinterpret_cast< wxGridCellBoolEditor
* >(argp1
);
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 result
= (arg1
)->GetValue();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5824 SWIGINTERN PyObject
*GridCellBoolEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5827 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_NewClientData(obj
));
5828 return SWIG_Py_Void();
5831 SWIGINTERN PyObject
*GridCellBoolEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5832 return SWIG_Python_InitShadowInstance(args
);
5835 SWIGINTERN PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= 0;
5837 int arg1
= (int) 0 ;
5838 wxString
*arg2
= (wxString
*) NULL
;
5839 bool arg3
= (bool) false ;
5840 wxGridCellChoiceEditor
*result
= 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5845 char * kwnames
[] = {
5846 (char *) "choices",(char *) "allowOthers", NULL
5849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5852 arg1
= PyList_Size(obj0
);
5853 arg2
= wxString_LIST_helper(obj0
);
5854 if (arg2
== NULL
) SWIG_fail
;
5858 ecode3
= SWIG_AsVal_bool(obj1
, &val3
);
5859 if (!SWIG_IsOK(ecode3
)) {
5860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridCellChoiceEditor" "', expected argument " "3"" of type '" "bool""'");
5862 arg3
= static_cast< bool >(val3
);
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_NEW
| 0 );
5872 if (arg2
) delete [] arg2
;
5877 if (arg2
) delete [] arg2
;
5883 SWIGINTERN PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5884 PyObject
*resultobj
= 0;
5885 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
5889 PyObject
*swig_obj
[1] ;
5891 if (!args
) SWIG_fail
;
5893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellChoiceEditor
, 0 | 0 );
5894 if (!SWIG_IsOK(res1
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellChoiceEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellChoiceEditor *""'");
5897 arg1
= reinterpret_cast< wxGridCellChoiceEditor
* >(argp1
);
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= (arg1
)->GetValue();
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5917 SWIGINTERN PyObject
*GridCellChoiceEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5920 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_NewClientData(obj
));
5921 return SWIG_Py_Void();
5924 SWIGINTERN PyObject
*GridCellChoiceEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5925 return SWIG_Python_InitShadowInstance(args
);
5928 SWIGINTERN PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
= 0;
5930 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5931 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5932 wxGridCellEnumEditor
*result
= 0 ;
5933 bool temp1
= false ;
5934 PyObject
* obj0
= 0 ;
5935 char * kwnames
[] = {
5936 (char *) "choices", NULL
5939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) SWIG_fail
;
5942 arg1
= wxString_in_helper(obj0
);
5943 if (arg1
== NULL
) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_NEW
| 0 );
5968 SWIGINTERN PyObject
*GridCellEnumEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5971 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_NewClientData(obj
));
5972 return SWIG_Py_Void();
5975 SWIGINTERN PyObject
*GridCellEnumEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5976 return SWIG_Python_InitShadowInstance(args
);
5979 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5980 PyObject
*resultobj
= 0;
5981 wxGridCellAutoWrapStringEditor
*result
= 0 ;
5983 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringEditor",0,0,0)) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_NEW
| 0 );
5997 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6000 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_NewClientData(obj
));
6001 return SWIG_Py_Void();
6004 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6005 return SWIG_Python_InitShadowInstance(args
);
6008 SWIGINTERN PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
= 0;
6010 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6011 PyObject
*arg2
= (PyObject
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6016 char * kwnames
[] = {
6017 (char *) "self",(char *) "_self", NULL
6020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6022 if (!SWIG_IsOK(res1
)) {
6023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6025 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 wxGridCellAttr__setOORInfo(arg1
,arg2
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= SWIG_Py_Void();
6040 SWIGINTERN PyObject
*_wrap_new_GridCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
= 0;
6042 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
6043 wxGridCellAttr
*result
= 0 ;
6046 PyObject
* obj0
= 0 ;
6047 char * kwnames
[] = {
6048 (char *) "attrDefault", NULL
6051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) SWIG_fail
;
6053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6054 if (!SWIG_IsOK(res1
)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6057 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)SWIG_POINTER_NEW
);
6074 SWIGINTERN PyObject
*_wrap_GridCellAttr_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6075 PyObject
*resultobj
= 0;
6076 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6077 wxGridCellAttr
*result
= 0 ;
6080 PyObject
*swig_obj
[1] ;
6082 if (!args
) SWIG_fail
;
6084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6085 if (!SWIG_IsOK(res1
)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_Clone" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6088 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
6104 SWIGINTERN PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
= 0;
6106 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6107 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6114 char * kwnames
[] = {
6115 (char *) "self",(char *) "mergefrom", NULL
6118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6120 if (!SWIG_IsOK(res1
)) {
6121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6123 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6125 if (!SWIG_IsOK(res2
)) {
6126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
6128 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 (arg1
)->MergeWith(arg2
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= SWIG_Py_Void();
6142 SWIGINTERN PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6143 PyObject
*resultobj
= 0;
6144 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6147 PyObject
*swig_obj
[1] ;
6149 if (!args
) SWIG_fail
;
6151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6152 if (!SWIG_IsOK(res1
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IncRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6155 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_Py_Void();
6169 SWIGINTERN PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6170 PyObject
*resultobj
= 0;
6171 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6174 PyObject
*swig_obj
[1] ;
6176 if (!args
) SWIG_fail
;
6178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6179 if (!SWIG_IsOK(res1
)) {
6180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_DecRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6182 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= SWIG_Py_Void();
6196 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
= 0;
6198 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6199 wxColour
*arg2
= 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 char * kwnames
[] = {
6206 (char *) "self",(char *) "colText", NULL
6209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6211 if (!SWIG_IsOK(res1
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6214 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= SWIG_Py_Void();
6232 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
= 0;
6234 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6235 wxColour
*arg2
= 0 ;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6241 char * kwnames
[] = {
6242 (char *) "self",(char *) "colBack", NULL
6245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6247 if (!SWIG_IsOK(res1
)) {
6248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6250 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6253 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_Py_Void();
6268 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
= 0;
6270 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6277 PyObject
* obj1
= 0 ;
6278 char * kwnames
[] = {
6279 (char *) "self",(char *) "font", NULL
6282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6284 if (!SWIG_IsOK(res1
)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetFont" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6287 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6288 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
6289 if (!SWIG_IsOK(res2
)) {
6290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6295 arg2
= reinterpret_cast< wxFont
* >(argp2
);
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 (arg1
)->SetFont((wxFont
const &)*arg2
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_Py_Void();
6309 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
= 0;
6311 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6322 PyObject
* obj2
= 0 ;
6323 char * kwnames
[] = {
6324 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
6327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6329 if (!SWIG_IsOK(res1
)) {
6330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6332 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6334 if (!SWIG_IsOK(ecode2
)) {
6335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "2"" of type '" "int""'");
6337 arg2
= static_cast< int >(val2
);
6338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6339 if (!SWIG_IsOK(ecode3
)) {
6340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "3"" of type '" "int""'");
6342 arg3
= static_cast< int >(val3
);
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 (arg1
)->SetAlignment(arg2
,arg3
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= SWIG_Py_Void();
6356 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
= 0;
6358 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 PyObject
* obj2
= 0 ;
6370 char * kwnames
[] = {
6371 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
6374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6376 if (!SWIG_IsOK(res1
)) {
6377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetSize" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6379 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6381 if (!SWIG_IsOK(ecode2
)) {
6382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetSize" "', expected argument " "2"" of type '" "int""'");
6384 arg2
= static_cast< int >(val2
);
6385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6386 if (!SWIG_IsOK(ecode3
)) {
6387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetSize" "', expected argument " "3"" of type '" "int""'");
6389 arg3
= static_cast< int >(val3
);
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 (arg1
)->SetSize(arg2
,arg3
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_Py_Void();
6403 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
= 0;
6405 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6406 bool arg2
= (bool) true ;
6411 PyObject
* obj0
= 0 ;
6412 PyObject
* obj1
= 0 ;
6413 char * kwnames
[] = {
6414 (char *) "self",(char *) "allow", NULL
6417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6419 if (!SWIG_IsOK(res1
)) {
6420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6422 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6424 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6425 if (!SWIG_IsOK(ecode2
)) {
6426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "2"" of type '" "bool""'");
6428 arg2
= static_cast< bool >(val2
);
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 (arg1
)->SetOverflow(arg2
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_Py_Void();
6443 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
= 0;
6445 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6446 bool arg2
= (bool) true ;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6453 char * kwnames
[] = {
6454 (char *) "self",(char *) "isReadOnly", NULL
6457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6459 if (!SWIG_IsOK(res1
)) {
6460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6462 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6464 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6465 if (!SWIG_IsOK(ecode2
)) {
6466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
6468 arg2
= static_cast< bool >(val2
);
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 (arg1
)->SetReadOnly(arg2
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= SWIG_Py_Void();
6483 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
= 0;
6485 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6486 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6493 char * kwnames
[] = {
6494 (char *) "self",(char *) "renderer", NULL
6497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6499 if (!SWIG_IsOK(res1
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6502 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
6504 if (!SWIG_IsOK(res2
)) {
6505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
6507 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 (arg1
)->SetRenderer(arg2
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_Py_Void();
6521 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
= 0;
6523 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6524 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6530 PyObject
* obj1
= 0 ;
6531 char * kwnames
[] = {
6532 (char *) "self",(char *) "editor", NULL
6535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6540 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
6542 if (!SWIG_IsOK(res2
)) {
6543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
6545 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 (arg1
)->SetEditor(arg2
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_Py_Void();
6559 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
= 0;
6561 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6562 wxGridCellAttr::wxAttrKind arg2
;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6569 char * kwnames
[] = {
6570 (char *) "self",(char *) "kind", NULL
6573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6575 if (!SWIG_IsOK(res1
)) {
6576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6578 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6580 if (!SWIG_IsOK(ecode2
)) {
6581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetKind" "', expected argument " "2"" of type '" "wxGridCellAttr::wxAttrKind""'");
6583 arg2
= static_cast< wxGridCellAttr::wxAttrKind
>(val2
);
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 (arg1
)->SetKind(arg2
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_Py_Void();
6597 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6598 PyObject
*resultobj
= 0;
6599 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6603 PyObject
*swig_obj
[1] ;
6605 if (!args
) SWIG_fail
;
6607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6608 if (!SWIG_IsOK(res1
)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6611 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6627 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6628 PyObject
*resultobj
= 0;
6629 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6633 PyObject
*swig_obj
[1] ;
6635 if (!args
) SWIG_fail
;
6637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6638 if (!SWIG_IsOK(res1
)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6641 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6657 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6658 PyObject
*resultobj
= 0;
6659 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6663 PyObject
*swig_obj
[1] ;
6665 if (!args
) SWIG_fail
;
6667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6668 if (!SWIG_IsOK(res1
)) {
6669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6671 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6687 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6688 PyObject
*resultobj
= 0;
6689 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6693 PyObject
*swig_obj
[1] ;
6695 if (!args
) SWIG_fail
;
6697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6698 if (!SWIG_IsOK(res1
)) {
6699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6701 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6717 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6718 PyObject
*resultobj
= 0;
6719 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6723 PyObject
*swig_obj
[1] ;
6725 if (!args
) SWIG_fail
;
6727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6728 if (!SWIG_IsOK(res1
)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6731 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6747 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6748 PyObject
*resultobj
= 0;
6749 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6753 PyObject
*swig_obj
[1] ;
6755 if (!args
) SWIG_fail
;
6757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6758 if (!SWIG_IsOK(res1
)) {
6759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6761 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6777 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6778 PyObject
*resultobj
= 0;
6779 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6783 PyObject
*swig_obj
[1] ;
6785 if (!args
) SWIG_fail
;
6787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6788 if (!SWIG_IsOK(res1
)) {
6789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasReadWriteMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6791 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6807 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6808 PyObject
*resultobj
= 0;
6809 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6813 PyObject
*swig_obj
[1] ;
6815 if (!args
) SWIG_fail
;
6817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6818 if (!SWIG_IsOK(res1
)) {
6819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasOverflowMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6821 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6837 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6838 PyObject
*resultobj
= 0;
6839 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6843 PyObject
*swig_obj
[1] ;
6845 if (!args
) SWIG_fail
;
6847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6848 if (!SWIG_IsOK(res1
)) {
6849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6851 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6865 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6866 PyObject
*resultobj
= 0;
6867 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6871 PyObject
*swig_obj
[1] ;
6873 if (!args
) SWIG_fail
;
6875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6876 if (!SWIG_IsOK(res1
)) {
6877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6879 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6893 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6894 PyObject
*resultobj
= 0;
6895 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6899 PyObject
*swig_obj
[1] ;
6901 if (!args
) SWIG_fail
;
6903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6904 if (!SWIG_IsOK(res1
)) {
6905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6907 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
6921 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6922 PyObject
*resultobj
= 0;
6923 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6924 int *arg2
= (int *) 0 ;
6925 int *arg3
= (int *) 0 ;
6929 int res2
= SWIG_TMPOBJ
;
6931 int res3
= SWIG_TMPOBJ
;
6932 PyObject
*swig_obj
[1] ;
6936 if (!args
) SWIG_fail
;
6938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6939 if (!SWIG_IsOK(res1
)) {
6940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6942 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= SWIG_Py_Void();
6950 if (SWIG_IsTmpObj(res2
)) {
6951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6953 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6956 if (SWIG_IsTmpObj(res3
)) {
6957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6959 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6968 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6969 PyObject
*resultobj
= 0;
6970 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6971 int *arg2
= (int *) 0 ;
6972 int *arg3
= (int *) 0 ;
6976 int res2
= SWIG_TMPOBJ
;
6978 int res3
= SWIG_TMPOBJ
;
6979 PyObject
*swig_obj
[1] ;
6983 if (!args
) SWIG_fail
;
6985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6986 if (!SWIG_IsOK(res1
)) {
6987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetSize" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6989 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= SWIG_Py_Void();
6997 if (SWIG_IsTmpObj(res2
)) {
6998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
7000 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
7003 if (SWIG_IsTmpObj(res3
)) {
7004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
7006 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
7015 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7016 PyObject
*resultobj
= 0;
7017 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7021 PyObject
*swig_obj
[1] ;
7023 if (!args
) SWIG_fail
;
7025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7026 if (!SWIG_IsOK(res1
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7029 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7045 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
= 0;
7047 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7048 wxGrid
*arg2
= (wxGrid
*) 0 ;
7051 wxGridCellRenderer
*result
= 0 ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7062 PyObject
* obj2
= 0 ;
7063 PyObject
* obj3
= 0 ;
7064 char * kwnames
[] = {
7065 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
7068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7070 if (!SWIG_IsOK(res1
)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7073 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7074 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
7075 if (!SWIG_IsOK(res2
)) {
7076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "2"" of type '" "wxGrid *""'");
7078 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
7079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7080 if (!SWIG_IsOK(ecode3
)) {
7081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "3"" of type '" "int""'");
7083 arg3
= static_cast< int >(val3
);
7084 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7085 if (!SWIG_IsOK(ecode4
)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "4"" of type '" "int""'");
7088 arg4
= static_cast< int >(val4
);
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
7104 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
= 0;
7106 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7107 wxGrid
*arg2
= (wxGrid
*) 0 ;
7110 wxGridCellEditor
*result
= 0 ;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7121 PyObject
* obj2
= 0 ;
7122 PyObject
* obj3
= 0 ;
7123 char * kwnames
[] = {
7124 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
7127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7129 if (!SWIG_IsOK(res1
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7132 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7133 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
7134 if (!SWIG_IsOK(res2
)) {
7135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "2"" of type '" "wxGrid *""'");
7137 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
7138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7139 if (!SWIG_IsOK(ecode3
)) {
7140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "3"" of type '" "int""'");
7142 arg3
= static_cast< int >(val3
);
7143 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7144 if (!SWIG_IsOK(ecode4
)) {
7145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "4"" of type '" "int""'");
7147 arg4
= static_cast< int >(val4
);
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
7163 SWIGINTERN PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7164 PyObject
*resultobj
= 0;
7165 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7169 PyObject
*swig_obj
[1] ;
7171 if (!args
) SWIG_fail
;
7173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7174 if (!SWIG_IsOK(res1
)) {
7175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IsReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7177 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7193 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7194 PyObject
*resultobj
= 0;
7195 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7196 wxGridCellAttr::wxAttrKind result
;
7199 PyObject
*swig_obj
[1] ;
7201 if (!args
) SWIG_fail
;
7203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7204 if (!SWIG_IsOK(res1
)) {
7205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
7207 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= SWIG_From_int(static_cast< int >(result
));
7221 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
= 0;
7223 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7224 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7229 PyObject
* obj0
= 0 ;
7230 PyObject
* obj1
= 0 ;
7231 char * kwnames
[] = {
7232 (char *) "self",(char *) "defAttr", NULL
7235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7237 if (!SWIG_IsOK(res1
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
7240 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7242 if (!SWIG_IsOK(res2
)) {
7243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7245 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 (arg1
)->SetDefAttr(arg2
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_Py_Void();
7259 SWIGINTERN PyObject
*GridCellAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7262 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttr
, SWIG_NewClientData(obj
));
7263 return SWIG_Py_Void();
7266 SWIGINTERN PyObject
*GridCellAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7267 return SWIG_Python_InitShadowInstance(args
);
7270 SWIGINTERN PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7271 PyObject
*resultobj
= 0;
7272 wxGridCellAttrProvider
*result
= 0 ;
7274 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAttrProvider",0,0,0)) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)SWIG_POINTER_NEW
);
7290 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
= 0;
7292 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7293 PyObject
*arg2
= (PyObject
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7297 PyObject
* obj1
= 0 ;
7298 char * kwnames
[] = {
7299 (char *) "self",(char *) "_self", NULL
7302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7304 if (!SWIG_IsOK(res1
)) {
7305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7307 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_Py_Void();
7322 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
= 0;
7324 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7327 wxGridCellAttr::wxAttrKind arg4
;
7328 wxGridCellAttr
*result
= 0 ;
7337 PyObject
* obj0
= 0 ;
7338 PyObject
* obj1
= 0 ;
7339 PyObject
* obj2
= 0 ;
7340 PyObject
* obj3
= 0 ;
7341 char * kwnames
[] = {
7342 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7347 if (!SWIG_IsOK(res1
)) {
7348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider const *""'");
7350 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7352 if (!SWIG_IsOK(ecode2
)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7355 arg2
= static_cast< int >(val2
);
7356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7357 if (!SWIG_IsOK(ecode3
)) {
7358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7360 arg3
= static_cast< int >(val3
);
7361 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7362 if (!SWIG_IsOK(ecode4
)) {
7363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7365 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,arg4
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7381 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
= 0;
7383 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7384 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7397 PyObject
* obj2
= 0 ;
7398 PyObject
* obj3
= 0 ;
7399 char * kwnames
[] = {
7400 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7405 if (!SWIG_IsOK(res1
)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7408 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7410 if (!SWIG_IsOK(res2
)) {
7411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7413 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7415 if (!SWIG_IsOK(ecode3
)) {
7416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7418 arg3
= static_cast< int >(val3
);
7419 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7420 if (!SWIG_IsOK(ecode4
)) {
7421 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7423 arg4
= static_cast< int >(val4
);
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 resultobj
= SWIG_Py_Void();
7437 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
= 0;
7439 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7440 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7449 PyObject
* obj1
= 0 ;
7450 PyObject
* obj2
= 0 ;
7451 char * kwnames
[] = {
7452 (char *) "self",(char *) "attr",(char *) "row", NULL
7455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7460 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7461 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7462 if (!SWIG_IsOK(res2
)) {
7463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7465 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7467 if (!SWIG_IsOK(ecode3
)) {
7468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7470 arg3
= static_cast< int >(val3
);
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 (arg1
)->SetRowAttr(arg2
,arg3
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= SWIG_Py_Void();
7484 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
= 0;
7486 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7487 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7496 PyObject
* obj1
= 0 ;
7497 PyObject
* obj2
= 0 ;
7498 char * kwnames
[] = {
7499 (char *) "self",(char *) "attr",(char *) "col", NULL
7502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7504 if (!SWIG_IsOK(res1
)) {
7505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7507 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7509 if (!SWIG_IsOK(res2
)) {
7510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7512 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7514 if (!SWIG_IsOK(ecode3
)) {
7515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7517 arg3
= static_cast< int >(val3
);
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 (arg1
)->SetColAttr(arg2
,arg3
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= SWIG_Py_Void();
7531 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
= 0;
7533 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7542 PyObject
* obj0
= 0 ;
7543 PyObject
* obj1
= 0 ;
7544 PyObject
* obj2
= 0 ;
7545 char * kwnames
[] = {
7546 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7551 if (!SWIG_IsOK(res1
)) {
7552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7554 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7555 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7556 if (!SWIG_IsOK(ecode2
)) {
7557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "2"" of type '" "size_t""'");
7559 arg2
= static_cast< size_t >(val2
);
7560 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7561 if (!SWIG_IsOK(ecode3
)) {
7562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "3"" of type '" "int""'");
7564 arg3
= static_cast< int >(val3
);
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 (arg1
)->UpdateAttrRows(arg2
,arg3
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_Py_Void();
7578 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
= 0;
7580 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7590 PyObject
* obj1
= 0 ;
7591 PyObject
* obj2
= 0 ;
7592 char * kwnames
[] = {
7593 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7598 if (!SWIG_IsOK(res1
)) {
7599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7601 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7602 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7603 if (!SWIG_IsOK(ecode2
)) {
7604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "2"" of type '" "size_t""'");
7606 arg2
= static_cast< size_t >(val2
);
7607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7608 if (!SWIG_IsOK(ecode3
)) {
7609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "3"" of type '" "int""'");
7611 arg3
= static_cast< int >(val3
);
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 (arg1
)->UpdateAttrCols(arg2
,arg3
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= SWIG_Py_Void();
7625 SWIGINTERN PyObject
*GridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7628 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_NewClientData(obj
));
7629 return SWIG_Py_Void();
7632 SWIGINTERN PyObject
*GridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7633 return SWIG_Python_InitShadowInstance(args
);
7636 SWIGINTERN PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7637 PyObject
*resultobj
= 0;
7638 wxPyGridCellAttrProvider
*result
= 0 ;
7640 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellAttrProvider",0,0,0)) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_NEW
| 0 );
7654 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
= 0;
7656 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7657 PyObject
*arg2
= (PyObject
*) 0 ;
7658 PyObject
*arg3
= (PyObject
*) 0 ;
7661 PyObject
* obj0
= 0 ;
7662 PyObject
* obj1
= 0 ;
7663 PyObject
* obj2
= 0 ;
7664 char * kwnames
[] = {
7665 (char *) "self",(char *) "self",(char *) "_class", NULL
7668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7670 if (!SWIG_IsOK(res1
)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7673 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= SWIG_Py_Void();
7689 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
= 0;
7691 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7694 wxGridCellAttr::wxAttrKind arg4
;
7695 wxGridCellAttr
*result
= 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 PyObject
* obj2
= 0 ;
7707 PyObject
* obj3
= 0 ;
7708 char * kwnames
[] = {
7709 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7714 if (!SWIG_IsOK(res1
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7717 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7719 if (!SWIG_IsOK(ecode2
)) {
7720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7722 arg2
= static_cast< int >(val2
);
7723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7724 if (!SWIG_IsOK(ecode3
)) {
7725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7727 arg3
= static_cast< int >(val3
);
7728 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7729 if (!SWIG_IsOK(ecode4
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7732 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7748 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
= 0;
7750 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7751 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7764 PyObject
* obj2
= 0 ;
7765 PyObject
* obj3
= 0 ;
7766 char * kwnames
[] = {
7767 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7772 if (!SWIG_IsOK(res1
)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7775 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7777 if (!SWIG_IsOK(res2
)) {
7778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7780 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7782 if (!SWIG_IsOK(ecode3
)) {
7783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7785 arg3
= static_cast< int >(val3
);
7786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7787 if (!SWIG_IsOK(ecode4
)) {
7788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7790 arg4
= static_cast< int >(val4
);
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_Py_Void();
7804 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= 0;
7806 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7807 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7815 PyObject
* obj0
= 0 ;
7816 PyObject
* obj1
= 0 ;
7817 PyObject
* obj2
= 0 ;
7818 char * kwnames
[] = {
7819 (char *) "self",(char *) "attr",(char *) "row", NULL
7822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7824 if (!SWIG_IsOK(res1
)) {
7825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7827 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7828 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7829 if (!SWIG_IsOK(res2
)) {
7830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7832 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7834 if (!SWIG_IsOK(ecode3
)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7837 arg3
= static_cast< int >(val3
);
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 (arg1
)->SetRowAttr(arg2
,arg3
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_Py_Void();
7851 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
= 0;
7853 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7854 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7864 PyObject
* obj2
= 0 ;
7865 char * kwnames
[] = {
7866 (char *) "self",(char *) "attr",(char *) "col", NULL
7869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7871 if (!SWIG_IsOK(res1
)) {
7872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7874 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7876 if (!SWIG_IsOK(res2
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7879 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7881 if (!SWIG_IsOK(ecode3
)) {
7882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7884 arg3
= static_cast< int >(val3
);
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->SetColAttr(arg2
,arg3
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_Py_Void();
7898 SWIGINTERN PyObject
*PyGridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7901 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_NewClientData(obj
));
7902 return SWIG_Py_Void();
7905 SWIGINTERN PyObject
*PyGridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7906 return SWIG_Python_InitShadowInstance(args
);
7909 SWIGINTERN PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
= 0;
7911 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7912 PyObject
*arg2
= (PyObject
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7916 PyObject
* obj1
= 0 ;
7917 char * kwnames
[] = {
7918 (char *) "self",(char *) "_self", NULL
7921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7923 if (!SWIG_IsOK(res1
)) {
7924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase__setOORInfo" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7926 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 wxGridTableBase__setOORInfo(arg1
,arg2
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= SWIG_Py_Void();
7941 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
= 0;
7943 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7944 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7950 PyObject
* obj1
= 0 ;
7951 char * kwnames
[] = {
7952 (char *) "self",(char *) "attrProvider", NULL
7955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7957 if (!SWIG_IsOK(res1
)) {
7958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7960 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7962 if (!SWIG_IsOK(res2
)) {
7963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "2"" of type '" "wxGridCellAttrProvider *""'");
7965 arg2
= reinterpret_cast< wxGridCellAttrProvider
* >(argp2
);
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 (arg1
)->SetAttrProvider(arg2
);
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= SWIG_Py_Void();
7979 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7980 PyObject
*resultobj
= 0;
7981 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7982 wxGridCellAttrProvider
*result
= 0 ;
7985 PyObject
*swig_obj
[1] ;
7987 if (!args
) SWIG_fail
;
7989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7990 if (!SWIG_IsOK(res1
)) {
7991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
7993 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)0);
8009 SWIGINTERN PyObject
*_wrap_GridTableBase_SetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
= 0;
8011 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8012 wxGrid
*arg2
= (wxGrid
*) 0 ;
8017 PyObject
* obj0
= 0 ;
8018 PyObject
* obj1
= 0 ;
8019 char * kwnames
[] = {
8020 (char *) "self",(char *) "grid", NULL
8023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8025 if (!SWIG_IsOK(res1
)) {
8026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetView" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8028 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8029 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
8030 if (!SWIG_IsOK(res2
)) {
8031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetView" "', expected argument " "2"" of type '" "wxGrid *""'");
8033 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 (arg1
)->SetView(arg2
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_Py_Void();
8047 SWIGINTERN PyObject
*_wrap_GridTableBase_GetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8048 PyObject
*resultobj
= 0;
8049 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8050 wxGrid
*result
= 0 ;
8053 PyObject
*swig_obj
[1] ;
8055 if (!args
) SWIG_fail
;
8057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8058 if (!SWIG_IsOK(res1
)) {
8059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetView" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
8061 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= wxPyMake_wxObject(result
, (bool)0);
8077 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8078 PyObject
*resultobj
= 0;
8079 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8083 PyObject
*swig_obj
[1] ;
8085 if (!args
) SWIG_fail
;
8087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8088 if (!SWIG_IsOK(res1
)) {
8089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8091 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (int)(arg1
)->GetNumberRows();
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_From_int(static_cast< int >(result
));
8105 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8106 PyObject
*resultobj
= 0;
8107 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8111 PyObject
*swig_obj
[1] ;
8113 if (!args
) SWIG_fail
;
8115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8116 if (!SWIG_IsOK(res1
)) {
8117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8119 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (int)(arg1
)->GetNumberCols();
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= SWIG_From_int(static_cast< int >(result
));
8133 SWIGINTERN PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
= 0;
8135 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8145 PyObject
* obj0
= 0 ;
8146 PyObject
* obj1
= 0 ;
8147 PyObject
* obj2
= 0 ;
8148 char * kwnames
[] = {
8149 (char *) "self",(char *) "row",(char *) "col", NULL
8152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8154 if (!SWIG_IsOK(res1
)) {
8155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8157 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8159 if (!SWIG_IsOK(ecode2
)) {
8160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "2"" of type '" "int""'");
8162 arg2
= static_cast< int >(val2
);
8163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8164 if (!SWIG_IsOK(ecode3
)) {
8165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "3"" of type '" "int""'");
8167 arg3
= static_cast< int >(val3
);
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8183 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
= 0;
8185 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8197 PyObject
* obj2
= 0 ;
8198 char * kwnames
[] = {
8199 (char *) "self",(char *) "row",(char *) "col", NULL
8202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8204 if (!SWIG_IsOK(res1
)) {
8205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8207 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8209 if (!SWIG_IsOK(ecode2
)) {
8210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValue" "', expected argument " "2"" of type '" "int""'");
8212 arg2
= static_cast< int >(val2
);
8213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8214 if (!SWIG_IsOK(ecode3
)) {
8215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValue" "', expected argument " "3"" of type '" "int""'");
8217 arg3
= static_cast< int >(val3
);
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (arg1
)->GetValue(arg2
,arg3
);
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8237 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
= 0;
8239 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8242 wxString
*arg4
= 0 ;
8249 bool temp4
= false ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8252 PyObject
* obj2
= 0 ;
8253 PyObject
* obj3
= 0 ;
8254 char * kwnames
[] = {
8255 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8260 if (!SWIG_IsOK(res1
)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8263 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8265 if (!SWIG_IsOK(ecode2
)) {
8266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValue" "', expected argument " "2"" of type '" "int""'");
8268 arg2
= static_cast< int >(val2
);
8269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8270 if (!SWIG_IsOK(ecode3
)) {
8271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValue" "', expected argument " "3"" of type '" "int""'");
8273 arg3
= static_cast< int >(val3
);
8275 arg4
= wxString_in_helper(obj3
);
8276 if (arg4
== NULL
) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= SWIG_Py_Void();
8300 SWIGINTERN PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
= 0;
8302 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8314 PyObject
* obj2
= 0 ;
8315 char * kwnames
[] = {
8316 (char *) "self",(char *) "row",(char *) "col", NULL
8319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8321 if (!SWIG_IsOK(res1
)) {
8322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8324 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8326 if (!SWIG_IsOK(ecode2
)) {
8327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "2"" of type '" "int""'");
8329 arg2
= static_cast< int >(val2
);
8330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8331 if (!SWIG_IsOK(ecode3
)) {
8332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "3"" of type '" "int""'");
8334 arg3
= static_cast< int >(val3
);
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (arg1
)->GetTypeName(arg2
,arg3
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8354 SWIGINTERN PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
= 0;
8356 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8359 wxString
*arg4
= 0 ;
8367 bool temp4
= false ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8370 PyObject
* obj2
= 0 ;
8371 PyObject
* obj3
= 0 ;
8372 char * kwnames
[] = {
8373 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8381 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8383 if (!SWIG_IsOK(ecode2
)) {
8384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "2"" of type '" "int""'");
8386 arg2
= static_cast< int >(val2
);
8387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8388 if (!SWIG_IsOK(ecode3
)) {
8389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "3"" of type '" "int""'");
8391 arg3
= static_cast< int >(val3
);
8393 arg4
= wxString_in_helper(obj3
);
8394 if (arg4
== NULL
) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8420 SWIGINTERN PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
*resultobj
= 0;
8422 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8425 wxString
*arg4
= 0 ;
8433 bool temp4
= false ;
8434 PyObject
* obj0
= 0 ;
8435 PyObject
* obj1
= 0 ;
8436 PyObject
* obj2
= 0 ;
8437 PyObject
* obj3
= 0 ;
8438 char * kwnames
[] = {
8439 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8444 if (!SWIG_IsOK(res1
)) {
8445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8447 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8449 if (!SWIG_IsOK(ecode2
)) {
8450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "2"" of type '" "int""'");
8452 arg2
= static_cast< int >(val2
);
8453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8454 if (!SWIG_IsOK(ecode3
)) {
8455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "3"" of type '" "int""'");
8457 arg3
= static_cast< int >(val3
);
8459 arg4
= wxString_in_helper(obj3
);
8460 if (arg4
== NULL
) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8486 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
= 0;
8488 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8498 PyObject
* obj0
= 0 ;
8499 PyObject
* obj1
= 0 ;
8500 PyObject
* obj2
= 0 ;
8501 char * kwnames
[] = {
8502 (char *) "self",(char *) "row",(char *) "col", NULL
8505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8507 if (!SWIG_IsOK(res1
)) {
8508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8510 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8512 if (!SWIG_IsOK(ecode2
)) {
8513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8515 arg2
= static_cast< int >(val2
);
8516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8517 if (!SWIG_IsOK(ecode3
)) {
8518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8520 arg3
= static_cast< int >(val3
);
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= SWIG_From_long(static_cast< long >(result
));
8534 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
= 0;
8536 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8548 PyObject
* obj2
= 0 ;
8549 char * kwnames
[] = {
8550 (char *) "self",(char *) "row",(char *) "col", NULL
8553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8555 if (!SWIG_IsOK(res1
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8558 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8560 if (!SWIG_IsOK(ecode2
)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8563 arg2
= static_cast< int >(val2
);
8564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8565 if (!SWIG_IsOK(ecode3
)) {
8566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8568 arg3
= static_cast< int >(val3
);
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= SWIG_From_double(static_cast< double >(result
));
8582 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
= 0;
8584 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8594 PyObject
* obj0
= 0 ;
8595 PyObject
* obj1
= 0 ;
8596 PyObject
* obj2
= 0 ;
8597 char * kwnames
[] = {
8598 (char *) "self",(char *) "row",(char *) "col", NULL
8601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8603 if (!SWIG_IsOK(res1
)) {
8604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8606 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8608 if (!SWIG_IsOK(ecode2
)) {
8609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8611 arg2
= static_cast< int >(val2
);
8612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8613 if (!SWIG_IsOK(ecode3
)) {
8614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8616 arg3
= static_cast< int >(val3
);
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8632 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
= 0;
8634 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8646 PyObject
* obj0
= 0 ;
8647 PyObject
* obj1
= 0 ;
8648 PyObject
* obj2
= 0 ;
8649 PyObject
* obj3
= 0 ;
8650 char * kwnames
[] = {
8651 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8659 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8661 if (!SWIG_IsOK(ecode2
)) {
8662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8664 arg2
= static_cast< int >(val2
);
8665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8666 if (!SWIG_IsOK(ecode3
)) {
8667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8669 arg3
= static_cast< int >(val3
);
8670 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8671 if (!SWIG_IsOK(ecode4
)) {
8672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "4"" of type '" "long""'");
8674 arg4
= static_cast< long >(val4
);
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= SWIG_Py_Void();
8688 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
= 0;
8690 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8702 PyObject
* obj0
= 0 ;
8703 PyObject
* obj1
= 0 ;
8704 PyObject
* obj2
= 0 ;
8705 PyObject
* obj3
= 0 ;
8706 char * kwnames
[] = {
8707 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8712 if (!SWIG_IsOK(res1
)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8715 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8717 if (!SWIG_IsOK(ecode2
)) {
8718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8720 arg2
= static_cast< int >(val2
);
8721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8722 if (!SWIG_IsOK(ecode3
)) {
8723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8725 arg3
= static_cast< int >(val3
);
8726 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
8727 if (!SWIG_IsOK(ecode4
)) {
8728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "4"" of type '" "double""'");
8730 arg4
= static_cast< double >(val4
);
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= SWIG_Py_Void();
8744 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
= 0;
8746 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8760 PyObject
* obj2
= 0 ;
8761 PyObject
* obj3
= 0 ;
8762 char * kwnames
[] = {
8763 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8768 if (!SWIG_IsOK(res1
)) {
8769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8771 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8773 if (!SWIG_IsOK(ecode2
)) {
8774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8776 arg2
= static_cast< int >(val2
);
8777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8778 if (!SWIG_IsOK(ecode3
)) {
8779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8781 arg3
= static_cast< int >(val3
);
8782 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
8783 if (!SWIG_IsOK(ecode4
)) {
8784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "4"" of type '" "bool""'");
8786 arg4
= static_cast< bool >(val4
);
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= SWIG_Py_Void();
8800 SWIGINTERN PyObject
*_wrap_GridTableBase_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8801 PyObject
*resultobj
= 0;
8802 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8805 PyObject
*swig_obj
[1] ;
8807 if (!args
) SWIG_fail
;
8809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8810 if (!SWIG_IsOK(res1
)) {
8811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_Clear" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8813 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= SWIG_Py_Void();
8827 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
= 0;
8829 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8830 size_t arg2
= (size_t) 0 ;
8831 size_t arg3
= (size_t) 1 ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8841 PyObject
* obj2
= 0 ;
8842 char * kwnames
[] = {
8843 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8848 if (!SWIG_IsOK(res1
)) {
8849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8851 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8853 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8854 if (!SWIG_IsOK(ecode2
)) {
8855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertRows" "', expected argument " "2"" of type '" "size_t""'");
8857 arg2
= static_cast< size_t >(val2
);
8860 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8861 if (!SWIG_IsOK(ecode3
)) {
8862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertRows" "', expected argument " "3"" of type '" "size_t""'");
8864 arg3
= static_cast< size_t >(val3
);
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8881 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
= 0;
8883 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8884 size_t arg2
= (size_t) 1 ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 char * kwnames
[] = {
8893 (char *) "self",(char *) "numRows", NULL
8896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8898 if (!SWIG_IsOK(res1
)) {
8899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8901 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8903 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8904 if (!SWIG_IsOK(ecode2
)) {
8905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendRows" "', expected argument " "2"" of type '" "size_t""'");
8907 arg2
= static_cast< size_t >(val2
);
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (bool)(arg1
)->AppendRows(arg2
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8924 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
= 0;
8926 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8927 size_t arg2
= (size_t) 0 ;
8928 size_t arg3
= (size_t) 1 ;
8936 PyObject
* obj0
= 0 ;
8937 PyObject
* obj1
= 0 ;
8938 PyObject
* obj2
= 0 ;
8939 char * kwnames
[] = {
8940 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8945 if (!SWIG_IsOK(res1
)) {
8946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8948 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8950 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8951 if (!SWIG_IsOK(ecode2
)) {
8952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "2"" of type '" "size_t""'");
8954 arg2
= static_cast< size_t >(val2
);
8957 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8958 if (!SWIG_IsOK(ecode3
)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "3"" of type '" "size_t""'");
8961 arg3
= static_cast< size_t >(val3
);
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8978 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
= 0;
8980 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8981 size_t arg2
= (size_t) 0 ;
8982 size_t arg3
= (size_t) 1 ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8992 PyObject
* obj2
= 0 ;
8993 char * kwnames
[] = {
8994 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8999 if (!SWIG_IsOK(res1
)) {
9000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9002 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9004 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
9005 if (!SWIG_IsOK(ecode2
)) {
9006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertCols" "', expected argument " "2"" of type '" "size_t""'");
9008 arg2
= static_cast< size_t >(val2
);
9011 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
9012 if (!SWIG_IsOK(ecode3
)) {
9013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertCols" "', expected argument " "3"" of type '" "size_t""'");
9015 arg3
= static_cast< size_t >(val3
);
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9032 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
= 0;
9034 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9035 size_t arg2
= (size_t) 1 ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 char * kwnames
[] = {
9044 (char *) "self",(char *) "numCols", NULL
9047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9049 if (!SWIG_IsOK(res1
)) {
9050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9052 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9054 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
9055 if (!SWIG_IsOK(ecode2
)) {
9056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendCols" "', expected argument " "2"" of type '" "size_t""'");
9058 arg2
= static_cast< size_t >(val2
);
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (bool)(arg1
)->AppendCols(arg2
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9075 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
= 0;
9077 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9078 size_t arg2
= (size_t) 0 ;
9079 size_t arg3
= (size_t) 1 ;
9087 PyObject
* obj0
= 0 ;
9088 PyObject
* obj1
= 0 ;
9089 PyObject
* obj2
= 0 ;
9090 char * kwnames
[] = {
9091 (char *) "self",(char *) "pos",(char *) "numCols", NULL
9094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9096 if (!SWIG_IsOK(res1
)) {
9097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9099 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9101 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
9102 if (!SWIG_IsOK(ecode2
)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "2"" of type '" "size_t""'");
9105 arg2
= static_cast< size_t >(val2
);
9108 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
9109 if (!SWIG_IsOK(ecode3
)) {
9110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "3"" of type '" "size_t""'");
9112 arg3
= static_cast< size_t >(val3
);
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9129 SWIGINTERN PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
= 0;
9131 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9138 PyObject
* obj0
= 0 ;
9139 PyObject
* obj1
= 0 ;
9140 char * kwnames
[] = {
9141 (char *) "self",(char *) "row", NULL
9144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9146 if (!SWIG_IsOK(res1
)) {
9147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9149 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9151 if (!SWIG_IsOK(ecode2
)) {
9152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
9154 arg2
= static_cast< int >(val2
);
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (arg1
)->GetRowLabelValue(arg2
);
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9174 SWIGINTERN PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
= 0;
9176 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9183 PyObject
* obj0
= 0 ;
9184 PyObject
* obj1
= 0 ;
9185 char * kwnames
[] = {
9186 (char *) "self",(char *) "col", NULL
9189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9191 if (!SWIG_IsOK(res1
)) {
9192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9194 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9196 if (!SWIG_IsOK(ecode2
)) {
9197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
9199 arg2
= static_cast< int >(val2
);
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (arg1
)->GetColLabelValue(arg2
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9219 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
= 0;
9221 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9223 wxString
*arg3
= 0 ;
9228 bool temp3
= false ;
9229 PyObject
* obj0
= 0 ;
9230 PyObject
* obj1
= 0 ;
9231 PyObject
* obj2
= 0 ;
9232 char * kwnames
[] = {
9233 (char *) "self",(char *) "row",(char *) "value", NULL
9236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9238 if (!SWIG_IsOK(res1
)) {
9239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9241 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9243 if (!SWIG_IsOK(ecode2
)) {
9244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
9246 arg2
= static_cast< int >(val2
);
9248 arg3
= wxString_in_helper(obj2
);
9249 if (arg3
== NULL
) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_Py_Void();
9273 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
= 0;
9275 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9277 wxString
*arg3
= 0 ;
9282 bool temp3
= false ;
9283 PyObject
* obj0
= 0 ;
9284 PyObject
* obj1
= 0 ;
9285 PyObject
* obj2
= 0 ;
9286 char * kwnames
[] = {
9287 (char *) "self",(char *) "col",(char *) "value", NULL
9290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9292 if (!SWIG_IsOK(res1
)) {
9293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9295 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9297 if (!SWIG_IsOK(ecode2
)) {
9298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
9300 arg2
= static_cast< int >(val2
);
9302 arg3
= wxString_in_helper(obj2
);
9303 if (arg3
== NULL
) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= SWIG_Py_Void();
9327 SWIGINTERN PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9328 PyObject
*resultobj
= 0;
9329 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9333 PyObject
*swig_obj
[1] ;
9335 if (!args
) SWIG_fail
;
9337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9338 if (!SWIG_IsOK(res1
)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanHaveAttributes" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9341 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)(arg1
)->CanHaveAttributes();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9357 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
= 0;
9359 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9362 wxGridCellAttr::wxAttrKind arg4
;
9363 wxGridCellAttr
*result
= 0 ;
9372 PyObject
* obj0
= 0 ;
9373 PyObject
* obj1
= 0 ;
9374 PyObject
* obj2
= 0 ;
9375 PyObject
* obj3
= 0 ;
9376 char * kwnames
[] = {
9377 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
9380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9382 if (!SWIG_IsOK(res1
)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9385 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9387 if (!SWIG_IsOK(ecode2
)) {
9388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetAttr" "', expected argument " "2"" of type '" "int""'");
9390 arg2
= static_cast< int >(val2
);
9391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9392 if (!SWIG_IsOK(ecode3
)) {
9393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetAttr" "', expected argument " "3"" of type '" "int""'");
9395 arg3
= static_cast< int >(val3
);
9396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9397 if (!SWIG_IsOK(ecode4
)) {
9398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
9400 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
9416 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
= 0;
9418 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9419 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9432 PyObject
* obj2
= 0 ;
9433 PyObject
* obj3
= 0 ;
9434 char * kwnames
[] = {
9435 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
9438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9440 if (!SWIG_IsOK(res1
)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9443 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9444 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9445 if (!SWIG_IsOK(res2
)) {
9446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9448 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9450 if (!SWIG_IsOK(ecode3
)) {
9451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetAttr" "', expected argument " "3"" of type '" "int""'");
9453 arg3
= static_cast< int >(val3
);
9454 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9455 if (!SWIG_IsOK(ecode4
)) {
9456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetAttr" "', expected argument " "4"" of type '" "int""'");
9458 arg4
= static_cast< int >(val4
);
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= SWIG_Py_Void();
9472 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
= 0;
9474 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9475 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9483 PyObject
* obj0
= 0 ;
9484 PyObject
* obj1
= 0 ;
9485 PyObject
* obj2
= 0 ;
9486 char * kwnames
[] = {
9487 (char *) "self",(char *) "attr",(char *) "row", NULL
9490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9492 if (!SWIG_IsOK(res1
)) {
9493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9495 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9497 if (!SWIG_IsOK(res2
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9500 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9502 if (!SWIG_IsOK(ecode3
)) {
9503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
9505 arg3
= static_cast< int >(val3
);
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 (arg1
)->SetRowAttr(arg2
,arg3
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_Py_Void();
9519 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
= 0;
9521 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9522 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9532 PyObject
* obj2
= 0 ;
9533 char * kwnames
[] = {
9534 (char *) "self",(char *) "attr",(char *) "col", NULL
9537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9539 if (!SWIG_IsOK(res1
)) {
9540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9542 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9543 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9544 if (!SWIG_IsOK(res2
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9547 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9549 if (!SWIG_IsOK(ecode3
)) {
9550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "3"" of type '" "int""'");
9552 arg3
= static_cast< int >(val3
);
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 (arg1
)->SetColAttr(arg2
,arg3
);
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= SWIG_Py_Void();
9566 SWIGINTERN PyObject
*GridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9569 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableBase
, SWIG_NewClientData(obj
));
9570 return SWIG_Py_Void();
9573 SWIGINTERN PyObject
*_wrap_new_PyGridTableBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9574 PyObject
*resultobj
= 0;
9575 wxPyGridTableBase
*result
= 0 ;
9577 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridTableBase",0,0,0)) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_NEW
| 0 );
9591 SWIGINTERN PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
= 0;
9593 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9594 PyObject
*arg2
= (PyObject
*) 0 ;
9595 PyObject
*arg3
= (PyObject
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 PyObject
* obj2
= 0 ;
9601 char * kwnames
[] = {
9602 (char *) "self",(char *) "self",(char *) "_class", NULL
9605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9607 if (!SWIG_IsOK(res1
)) {
9608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9610 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_Py_Void();
9626 SWIGINTERN PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9627 PyObject
*resultobj
= 0;
9628 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9631 PyObject
*swig_obj
[1] ;
9633 if (!args
) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase_Destroy" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9639 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 wxPyGridTableBase_Destroy(arg1
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_Py_Void();
9653 SWIGINTERN PyObject
*PyGridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9656 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridTableBase
, SWIG_NewClientData(obj
));
9657 return SWIG_Py_Void();
9660 SWIGINTERN PyObject
*PyGridTableBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9661 return SWIG_Python_InitShadowInstance(args
);
9664 SWIGINTERN PyObject
*_wrap_new_GridStringTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
= 0;
9666 int arg1
= (int) 0 ;
9667 int arg2
= (int) 0 ;
9668 wxGridStringTable
*result
= 0 ;
9673 PyObject
* obj0
= 0 ;
9674 PyObject
* obj1
= 0 ;
9675 char * kwnames
[] = {
9676 (char *) "numRows",(char *) "numCols", NULL
9679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9681 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9682 if (!SWIG_IsOK(ecode1
)) {
9683 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridStringTable" "', expected argument " "1"" of type '" "int""'");
9685 arg1
= static_cast< int >(val1
);
9688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9689 if (!SWIG_IsOK(ecode2
)) {
9690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridStringTable" "', expected argument " "2"" of type '" "int""'");
9692 arg2
= static_cast< int >(val2
);
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridStringTable
, SWIG_POINTER_NEW
| 0 );
9707 SWIGINTERN PyObject
*GridStringTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9710 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridStringTable
, SWIG_NewClientData(obj
));
9711 return SWIG_Py_Void();
9714 SWIGINTERN PyObject
*GridStringTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9715 return SWIG_Python_InitShadowInstance(args
);
9718 SWIGINTERN PyObject
*_wrap_new_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
= 0;
9720 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9722 int arg3
= (int) -1 ;
9723 int arg4
= (int) -1 ;
9724 wxGridTableMessage
*result
= 0 ;
9733 PyObject
* obj0
= 0 ;
9734 PyObject
* obj1
= 0 ;
9735 PyObject
* obj2
= 0 ;
9736 PyObject
* obj3
= 0 ;
9737 char * kwnames
[] = {
9738 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
9741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9743 if (!SWIG_IsOK(res1
)) {
9744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9746 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9748 if (!SWIG_IsOK(ecode2
)) {
9749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridTableMessage" "', expected argument " "2"" of type '" "int""'");
9751 arg2
= static_cast< int >(val2
);
9753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9754 if (!SWIG_IsOK(ecode3
)) {
9755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridTableMessage" "', expected argument " "3"" of type '" "int""'");
9757 arg3
= static_cast< int >(val3
);
9760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9761 if (!SWIG_IsOK(ecode4
)) {
9762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridTableMessage" "', expected argument " "4"" of type '" "int""'");
9764 arg4
= static_cast< int >(val4
);
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_NEW
| 0 );
9779 SWIGINTERN PyObject
*_wrap_delete_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9780 PyObject
*resultobj
= 0;
9781 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9784 PyObject
*swig_obj
[1] ;
9786 if (!args
) SWIG_fail
;
9788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_DISOWN
| 0 );
9789 if (!SWIG_IsOK(res1
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9792 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_Py_Void();
9807 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
= 0;
9809 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9810 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9817 char * kwnames
[] = {
9818 (char *) "self",(char *) "table", NULL
9821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9823 if (!SWIG_IsOK(res1
)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9826 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9828 if (!SWIG_IsOK(res2
)) {
9829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
9831 arg2
= reinterpret_cast< wxGridTableBase
* >(argp2
);
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 (arg1
)->SetTableObject(arg2
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= SWIG_Py_Void();
9845 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9846 PyObject
*resultobj
= 0;
9847 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9848 wxGridTableBase
*result
= 0 ;
9851 PyObject
*swig_obj
[1] ;
9853 if (!args
) SWIG_fail
;
9855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9856 if (!SWIG_IsOK(res1
)) {
9857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage const *""'");
9859 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
9875 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
= 0;
9877 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9884 PyObject
* obj1
= 0 ;
9885 char * kwnames
[] = {
9886 (char *) "self",(char *) "id", NULL
9889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9891 if (!SWIG_IsOK(res1
)) {
9892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9894 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9896 if (!SWIG_IsOK(ecode2
)) {
9897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetId" "', expected argument " "2"" of type '" "int""'");
9899 arg2
= static_cast< int >(val2
);
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 (arg1
)->SetId(arg2
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_Py_Void();
9913 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9914 PyObject
*resultobj
= 0;
9915 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9919 PyObject
*swig_obj
[1] ;
9921 if (!args
) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9927 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (int)(arg1
)->GetId();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= SWIG_From_int(static_cast< int >(result
));
9941 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
= 0;
9943 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9950 PyObject
* obj1
= 0 ;
9951 char * kwnames
[] = {
9952 (char *) "self",(char *) "comInt1", NULL
9955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9960 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9962 if (!SWIG_IsOK(ecode2
)) {
9963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "2"" of type '" "int""'");
9965 arg2
= static_cast< int >(val2
);
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 (arg1
)->SetCommandInt(arg2
);
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= SWIG_Py_Void();
9979 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9980 PyObject
*resultobj
= 0;
9981 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9985 PyObject
*swig_obj
[1] ;
9987 if (!args
) SWIG_fail
;
9989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9990 if (!SWIG_IsOK(res1
)) {
9991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9993 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (int)(arg1
)->GetCommandInt();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_From_int(static_cast< int >(result
));
10007 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
= 0;
10009 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
10015 PyObject
* obj0
= 0 ;
10016 PyObject
* obj1
= 0 ;
10017 char * kwnames
[] = {
10018 (char *) "self",(char *) "comInt2", NULL
10021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
10023 if (!SWIG_IsOK(res1
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
10026 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
10027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10028 if (!SWIG_IsOK(ecode2
)) {
10029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "2"" of type '" "int""'");
10031 arg2
= static_cast< int >(val2
);
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 (arg1
)->SetCommandInt2(arg2
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10038 resultobj
= SWIG_Py_Void();
10045 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10046 PyObject
*resultobj
= 0;
10047 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
10051 PyObject
*swig_obj
[1] ;
10053 if (!args
) SWIG_fail
;
10054 swig_obj
[0] = args
;
10055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
10056 if (!SWIG_IsOK(res1
)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
10059 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (int)(arg1
)->GetCommandInt2();
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= SWIG_From_int(static_cast< int >(result
));
10073 SWIGINTERN PyObject
*GridTableMessage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10076 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableMessage
, SWIG_NewClientData(obj
));
10077 return SWIG_Py_Void();
10080 SWIGINTERN PyObject
*GridTableMessage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10081 return SWIG_Python_InitShadowInstance(args
);
10084 SWIGINTERN PyObject
*_wrap_new_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
= 0;
10086 int arg1
= (int) -1 ;
10087 int arg2
= (int) -1 ;
10088 wxGridCellCoords
*result
= 0 ;
10093 PyObject
* obj0
= 0 ;
10094 PyObject
* obj1
= 0 ;
10095 char * kwnames
[] = {
10096 (char *) "r",(char *) "c", NULL
10099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10101 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10102 if (!SWIG_IsOK(ecode1
)) {
10103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellCoords" "', expected argument " "1"" of type '" "int""'");
10105 arg1
= static_cast< int >(val1
);
10108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10109 if (!SWIG_IsOK(ecode2
)) {
10110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellCoords" "', expected argument " "2"" of type '" "int""'");
10112 arg2
= static_cast< int >(val2
);
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_NEW
| 0 );
10127 SWIGINTERN PyObject
*_wrap_delete_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10128 PyObject
*resultobj
= 0;
10129 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10132 PyObject
*swig_obj
[1] ;
10134 if (!args
) SWIG_fail
;
10135 swig_obj
[0] = args
;
10136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_DISOWN
| 0 );
10137 if (!SWIG_IsOK(res1
)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellCoords" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10140 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10148 resultobj
= SWIG_Py_Void();
10155 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10156 PyObject
*resultobj
= 0;
10157 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10161 PyObject
*swig_obj
[1] ;
10163 if (!args
) SWIG_fail
;
10164 swig_obj
[0] = args
;
10165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10166 if (!SWIG_IsOK(res1
)) {
10167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetRow" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10169 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_From_int(static_cast< int >(result
));
10183 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
= 0;
10185 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 char * kwnames
[] = {
10194 (char *) "self",(char *) "n", NULL
10197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10199 if (!SWIG_IsOK(res1
)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetRow" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10202 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10204 if (!SWIG_IsOK(ecode2
)) {
10205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetRow" "', expected argument " "2"" of type '" "int""'");
10207 arg2
= static_cast< int >(val2
);
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 (arg1
)->SetRow(arg2
);
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= SWIG_Py_Void();
10221 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10222 PyObject
*resultobj
= 0;
10223 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10227 PyObject
*swig_obj
[1] ;
10229 if (!args
) SWIG_fail
;
10230 swig_obj
[0] = args
;
10231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10232 if (!SWIG_IsOK(res1
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetCol" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10235 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_From_int(static_cast< int >(result
));
10249 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
= 0;
10251 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10257 PyObject
* obj0
= 0 ;
10258 PyObject
* obj1
= 0 ;
10259 char * kwnames
[] = {
10260 (char *) "self",(char *) "n", NULL
10263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10265 if (!SWIG_IsOK(res1
)) {
10266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetCol" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10268 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10270 if (!SWIG_IsOK(ecode2
)) {
10271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetCol" "', expected argument " "2"" of type '" "int""'");
10273 arg2
= static_cast< int >(val2
);
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 (arg1
)->SetCol(arg2
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= SWIG_Py_Void();
10287 SWIGINTERN PyObject
*_wrap_GridCellCoords_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
= 0;
10289 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 PyObject
* obj2
= 0 ;
10301 char * kwnames
[] = {
10302 (char *) "self",(char *) "row",(char *) "col", NULL
10305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10307 if (!SWIG_IsOK(res1
)) {
10308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Set" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10310 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10312 if (!SWIG_IsOK(ecode2
)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_Set" "', expected argument " "2"" of type '" "int""'");
10315 arg2
= static_cast< int >(val2
);
10316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10317 if (!SWIG_IsOK(ecode3
)) {
10318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellCoords_Set" "', expected argument " "3"" of type '" "int""'");
10320 arg3
= static_cast< int >(val3
);
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 (arg1
)->Set(arg2
,arg3
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= SWIG_Py_Void();
10334 SWIGINTERN PyObject
*_wrap_GridCellCoords___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
= 0;
10336 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10337 wxGridCellCoords
*arg2
= 0 ;
10341 wxGridCellCoords temp2
;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 char * kwnames
[] = {
10345 (char *) "self",(char *) "other", NULL
10348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10350 if (!SWIG_IsOK(res1
)) {
10351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___eq__" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10353 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10356 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10373 SWIGINTERN PyObject
*_wrap_GridCellCoords___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
= 0;
10375 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10376 wxGridCellCoords
*arg2
= 0 ;
10380 wxGridCellCoords temp2
;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 char * kwnames
[] = {
10384 (char *) "self",(char *) "other", NULL
10387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10389 if (!SWIG_IsOK(res1
)) {
10390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___ne__" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10392 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10395 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10412 SWIGINTERN PyObject
*_wrap_GridCellCoords_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10413 PyObject
*resultobj
= 0;
10414 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10415 PyObject
*result
= 0 ;
10418 PyObject
*swig_obj
[1] ;
10420 if (!args
) SWIG_fail
;
10421 swig_obj
[0] = args
;
10422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10423 if (!SWIG_IsOK(res1
)) {
10424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Get" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10426 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= result
;
10440 SWIGINTERN PyObject
*GridCellCoords_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10443 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellCoords
, SWIG_NewClientData(obj
));
10444 return SWIG_Py_Void();
10447 SWIGINTERN PyObject
*GridCellCoords_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10448 return SWIG_Python_InitShadowInstance(args
);
10451 SWIGINTERN PyObject
*_wrap_new_Grid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
= 0;
10453 wxWindow
*arg1
= (wxWindow
*) 0 ;
10454 int arg2
= (int) -1 ;
10455 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10456 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10457 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10458 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10459 long arg5
= (long) wxWANTS_CHARS
;
10460 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10461 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10462 wxGrid
*result
= 0 ;
10471 bool temp6
= false ;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 PyObject
* obj2
= 0 ;
10475 PyObject
* obj3
= 0 ;
10476 PyObject
* obj4
= 0 ;
10477 PyObject
* obj5
= 0 ;
10478 char * kwnames
[] = {
10479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10484 if (!SWIG_IsOK(res1
)) {
10485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Grid" "', expected argument " "1"" of type '" "wxWindow *""'");
10487 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10490 if (!SWIG_IsOK(ecode2
)) {
10491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Grid" "', expected argument " "2"" of type '" "int""'");
10493 arg2
= static_cast< int >(val2
);
10498 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10504 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10508 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10509 if (!SWIG_IsOK(ecode5
)) {
10510 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Grid" "', expected argument " "5"" of type '" "long""'");
10512 arg5
= static_cast< long >(val5
);
10516 arg6
= wxString_in_helper(obj5
);
10517 if (arg6
== NULL
) SWIG_fail
;
10522 if (!wxPyCheckForApp()) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_NEW
| 0 );
10543 SWIGINTERN PyObject
*_wrap_new_PreGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10544 PyObject
*resultobj
= 0;
10545 wxGrid
*result
= 0 ;
10547 if (!SWIG_Python_UnpackTuple(args
,"new_PreGrid",0,0,0)) SWIG_fail
;
10549 if (!wxPyCheckForApp()) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= (wxGrid
*)new wxGrid();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_OWN
| 0 );
10562 SWIGINTERN PyObject
*_wrap_Grid_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
= 0;
10564 wxGrid
*arg1
= (wxGrid
*) 0 ;
10565 wxWindow
*arg2
= (wxWindow
*) 0 ;
10566 int arg3
= (int) -1 ;
10567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10571 long arg6
= (long) wxWANTS_CHARS
;
10572 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
10573 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10585 bool temp7
= false ;
10586 PyObject
* obj0
= 0 ;
10587 PyObject
* obj1
= 0 ;
10588 PyObject
* obj2
= 0 ;
10589 PyObject
* obj3
= 0 ;
10590 PyObject
* obj4
= 0 ;
10591 PyObject
* obj5
= 0 ;
10592 PyObject
* obj6
= 0 ;
10593 char * kwnames
[] = {
10594 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10599 if (!SWIG_IsOK(res1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_Create" "', expected argument " "1"" of type '" "wxGrid *""'");
10602 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10604 if (!SWIG_IsOK(res2
)) {
10605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10607 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10610 if (!SWIG_IsOK(ecode3
)) {
10611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_Create" "', expected argument " "3"" of type '" "int""'");
10613 arg3
= static_cast< int >(val3
);
10618 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10624 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10628 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10629 if (!SWIG_IsOK(ecode6
)) {
10630 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_Create" "', expected argument " "6"" of type '" "long""'");
10632 arg6
= static_cast< long >(val6
);
10636 arg7
= wxString_in_helper(obj6
);
10637 if (arg7
== NULL
) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10664 SWIGINTERN PyObject
*_wrap_Grid_CreateGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxGrid
*arg1
= (wxGrid
*) 0 ;
10669 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 PyObject
* obj2
= 0 ;
10682 PyObject
* obj3
= 0 ;
10683 char * kwnames
[] = {
10684 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
10687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10689 if (!SWIG_IsOK(res1
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CreateGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
10692 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10694 if (!SWIG_IsOK(ecode2
)) {
10695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CreateGrid" "', expected argument " "2"" of type '" "int""'");
10697 arg2
= static_cast< int >(val2
);
10698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10699 if (!SWIG_IsOK(ecode3
)) {
10700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CreateGrid" "', expected argument " "3"" of type '" "int""'");
10702 arg3
= static_cast< int >(val3
);
10704 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10705 if (!SWIG_IsOK(ecode4
)) {
10706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_CreateGrid" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10708 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10725 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
= 0;
10727 wxGrid
*arg1
= (wxGrid
*) 0 ;
10728 WXGRIDSELECTIONMODES arg2
;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 char * kwnames
[] = {
10736 (char *) "self",(char *) "selmode", NULL
10739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10741 if (!SWIG_IsOK(res1
)) {
10742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10744 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10746 if (!SWIG_IsOK(ecode2
)) {
10747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetSelectionMode" "', expected argument " "2"" of type '" "WXGRIDSELECTIONMODES""'");
10749 arg2
= static_cast< WXGRIDSELECTIONMODES
>(val2
);
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 (arg1
)->SetSelectionMode(arg2
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= SWIG_Py_Void();
10763 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10764 PyObject
*resultobj
= 0;
10765 wxGrid
*arg1
= (wxGrid
*) 0 ;
10766 WXGRIDSELECTIONMODES result
;
10769 PyObject
*swig_obj
[1] ;
10771 if (!args
) SWIG_fail
;
10772 swig_obj
[0] = args
;
10773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10774 if (!SWIG_IsOK(res1
)) {
10775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10777 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_From_int(static_cast< int >(result
));
10791 SWIGINTERN PyObject
*_wrap_Grid_GetNumberRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10792 PyObject
*resultobj
= 0;
10793 wxGrid
*arg1
= (wxGrid
*) 0 ;
10797 PyObject
*swig_obj
[1] ;
10799 if (!args
) SWIG_fail
;
10800 swig_obj
[0] = args
;
10801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10802 if (!SWIG_IsOK(res1
)) {
10803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10805 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 result
= (int)(arg1
)->GetNumberRows();
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= SWIG_From_int(static_cast< int >(result
));
10819 SWIGINTERN PyObject
*_wrap_Grid_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10820 PyObject
*resultobj
= 0;
10821 wxGrid
*arg1
= (wxGrid
*) 0 ;
10825 PyObject
*swig_obj
[1] ;
10827 if (!args
) SWIG_fail
;
10828 swig_obj
[0] = args
;
10829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10830 if (!SWIG_IsOK(res1
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberCols" "', expected argument " "1"" of type '" "wxGrid *""'");
10833 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 result
= (int)(arg1
)->GetNumberCols();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_From_int(static_cast< int >(result
));
10847 SWIGINTERN PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
= 0;
10849 wxGrid
*arg1
= (wxGrid
*) 0 ;
10850 wxGridTableMessage
*arg2
= 0 ;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 char * kwnames
[] = {
10859 (char *) "self",(char *)"arg2", NULL
10862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10864 if (!SWIG_IsOK(res1
)) {
10865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "1"" of type '" "wxGrid *""'");
10867 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGridTableMessage
, 0 );
10869 if (!SWIG_IsOK(res2
)) {
10870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10875 arg2
= reinterpret_cast< wxGridTableMessage
* >(argp2
);
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10891 SWIGINTERN PyObject
*_wrap_Grid_GetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10892 PyObject
*resultobj
= 0;
10893 wxGrid
*arg1
= (wxGrid
*) 0 ;
10894 wxGridTableBase
*result
= 0 ;
10897 PyObject
*swig_obj
[1] ;
10899 if (!args
) SWIG_fail
;
10900 swig_obj
[0] = args
;
10901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10902 if (!SWIG_IsOK(res1
)) {
10903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTable" "', expected argument " "1"" of type '" "wxGrid const *""'");
10905 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
10921 SWIGINTERN PyObject
*_wrap_Grid_SetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
= 0;
10923 wxGrid
*arg1
= (wxGrid
*) 0 ;
10924 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
10925 bool arg3
= (bool) false ;
10926 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10936 PyObject
* obj0
= 0 ;
10937 PyObject
* obj1
= 0 ;
10938 PyObject
* obj2
= 0 ;
10939 PyObject
* obj3
= 0 ;
10940 char * kwnames
[] = {
10941 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
10944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10946 if (!SWIG_IsOK(res1
)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetTable" "', expected argument " "1"" of type '" "wxGrid *""'");
10949 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
10951 if (!SWIG_IsOK(res2
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetTable" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
10954 arg2
= reinterpret_cast< wxGridTableBase
* >(argp2
);
10956 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10957 if (!SWIG_IsOK(ecode3
)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetTable" "', expected argument " "3"" of type '" "bool""'");
10960 arg3
= static_cast< bool >(val3
);
10963 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10964 if (!SWIG_IsOK(ecode4
)) {
10965 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetTable" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10967 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10984 SWIGINTERN PyObject
*_wrap_Grid_ClearGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10985 PyObject
*resultobj
= 0;
10986 wxGrid
*arg1
= (wxGrid
*) 0 ;
10989 PyObject
*swig_obj
[1] ;
10991 if (!args
) SWIG_fail
;
10992 swig_obj
[0] = args
;
10993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10994 if (!SWIG_IsOK(res1
)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
10997 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 (arg1
)->ClearGrid();
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11004 resultobj
= SWIG_Py_Void();
11011 SWIGINTERN PyObject
*_wrap_Grid_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
= 0;
11013 wxGrid
*arg1
= (wxGrid
*) 0 ;
11014 int arg2
= (int) 0 ;
11015 int arg3
= (int) 1 ;
11016 bool arg4
= (bool) true ;
11026 PyObject
* obj0
= 0 ;
11027 PyObject
* obj1
= 0 ;
11028 PyObject
* obj2
= 0 ;
11029 PyObject
* obj3
= 0 ;
11030 char * kwnames
[] = {
11031 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
11034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11036 if (!SWIG_IsOK(res1
)) {
11037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertRows" "', expected argument " "1"" of type '" "wxGrid *""'");
11039 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11042 if (!SWIG_IsOK(ecode2
)) {
11043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertRows" "', expected argument " "2"" of type '" "int""'");
11045 arg2
= static_cast< int >(val2
);
11048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11049 if (!SWIG_IsOK(ecode3
)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertRows" "', expected argument " "3"" of type '" "int""'");
11052 arg3
= static_cast< int >(val3
);
11055 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11056 if (!SWIG_IsOK(ecode4
)) {
11057 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertRows" "', expected argument " "4"" of type '" "bool""'");
11059 arg4
= static_cast< bool >(val4
);
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11076 SWIGINTERN PyObject
*_wrap_Grid_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
= 0;
11078 wxGrid
*arg1
= (wxGrid
*) 0 ;
11079 int arg2
= (int) 1 ;
11080 bool arg3
= (bool) true ;
11088 PyObject
* obj0
= 0 ;
11089 PyObject
* obj1
= 0 ;
11090 PyObject
* obj2
= 0 ;
11091 char * kwnames
[] = {
11092 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
11095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendRows" "', expected argument " "1"" of type '" "wxGrid *""'");
11100 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11103 if (!SWIG_IsOK(ecode2
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendRows" "', expected argument " "2"" of type '" "int""'");
11106 arg2
= static_cast< int >(val2
);
11109 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11110 if (!SWIG_IsOK(ecode3
)) {
11111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendRows" "', expected argument " "3"" of type '" "bool""'");
11113 arg3
= static_cast< bool >(val3
);
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11130 SWIGINTERN PyObject
*_wrap_Grid_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
= 0;
11132 wxGrid
*arg1
= (wxGrid
*) 0 ;
11133 int arg2
= (int) 0 ;
11134 int arg3
= (int) 1 ;
11135 bool arg4
= (bool) true ;
11145 PyObject
* obj0
= 0 ;
11146 PyObject
* obj1
= 0 ;
11147 PyObject
* obj2
= 0 ;
11148 PyObject
* obj3
= 0 ;
11149 char * kwnames
[] = {
11150 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
11153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11155 if (!SWIG_IsOK(res1
)) {
11156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteRows" "', expected argument " "1"" of type '" "wxGrid *""'");
11158 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11161 if (!SWIG_IsOK(ecode2
)) {
11162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteRows" "', expected argument " "2"" of type '" "int""'");
11164 arg2
= static_cast< int >(val2
);
11167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11168 if (!SWIG_IsOK(ecode3
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteRows" "', expected argument " "3"" of type '" "int""'");
11171 arg3
= static_cast< int >(val3
);
11174 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11175 if (!SWIG_IsOK(ecode4
)) {
11176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteRows" "', expected argument " "4"" of type '" "bool""'");
11178 arg4
= static_cast< bool >(val4
);
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11195 SWIGINTERN PyObject
*_wrap_Grid_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
= 0;
11197 wxGrid
*arg1
= (wxGrid
*) 0 ;
11198 int arg2
= (int) 0 ;
11199 int arg3
= (int) 1 ;
11200 bool arg4
= (bool) true ;
11210 PyObject
* obj0
= 0 ;
11211 PyObject
* obj1
= 0 ;
11212 PyObject
* obj2
= 0 ;
11213 PyObject
* obj3
= 0 ;
11214 char * kwnames
[] = {
11215 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
11218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_InsertCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11223 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11226 if (!SWIG_IsOK(ecode2
)) {
11227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertCols" "', expected argument " "2"" of type '" "int""'");
11229 arg2
= static_cast< int >(val2
);
11232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11233 if (!SWIG_IsOK(ecode3
)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertCols" "', expected argument " "3"" of type '" "int""'");
11236 arg3
= static_cast< int >(val3
);
11239 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11240 if (!SWIG_IsOK(ecode4
)) {
11241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertCols" "', expected argument " "4"" of type '" "bool""'");
11243 arg4
= static_cast< bool >(val4
);
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11260 SWIGINTERN PyObject
*_wrap_Grid_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
= 0;
11262 wxGrid
*arg1
= (wxGrid
*) 0 ;
11263 int arg2
= (int) 1 ;
11264 bool arg3
= (bool) true ;
11272 PyObject
* obj0
= 0 ;
11273 PyObject
* obj1
= 0 ;
11274 PyObject
* obj2
= 0 ;
11275 char * kwnames
[] = {
11276 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
11279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11281 if (!SWIG_IsOK(res1
)) {
11282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11284 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11287 if (!SWIG_IsOK(ecode2
)) {
11288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendCols" "', expected argument " "2"" of type '" "int""'");
11290 arg2
= static_cast< int >(val2
);
11293 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11294 if (!SWIG_IsOK(ecode3
)) {
11295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendCols" "', expected argument " "3"" of type '" "bool""'");
11297 arg3
= static_cast< bool >(val3
);
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11314 SWIGINTERN PyObject
*_wrap_Grid_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
= 0;
11316 wxGrid
*arg1
= (wxGrid
*) 0 ;
11317 int arg2
= (int) 0 ;
11318 int arg3
= (int) 1 ;
11319 bool arg4
= (bool) true ;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 PyObject
* obj2
= 0 ;
11332 PyObject
* obj3
= 0 ;
11333 char * kwnames
[] = {
11334 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
11337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11339 if (!SWIG_IsOK(res1
)) {
11340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11342 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11345 if (!SWIG_IsOK(ecode2
)) {
11346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteCols" "', expected argument " "2"" of type '" "int""'");
11348 arg2
= static_cast< int >(val2
);
11351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11352 if (!SWIG_IsOK(ecode3
)) {
11353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteCols" "', expected argument " "3"" of type '" "int""'");
11355 arg3
= static_cast< int >(val3
);
11358 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11359 if (!SWIG_IsOK(ecode4
)) {
11360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteCols" "', expected argument " "4"" of type '" "bool""'");
11362 arg4
= static_cast< bool >(val4
);
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11379 SWIGINTERN PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
= 0;
11381 wxGrid
*arg1
= (wxGrid
*) 0 ;
11383 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11390 PyObject
* obj0
= 0 ;
11391 PyObject
* obj1
= 0 ;
11392 PyObject
* obj2
= 0 ;
11393 char * kwnames
[] = {
11394 (char *) "self",(char *) "dc",(char *) "attr", NULL
11397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11399 if (!SWIG_IsOK(res1
)) {
11400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "1"" of type '" "wxGrid *""'");
11402 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11404 if (!SWIG_IsOK(res2
)) {
11405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11410 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11411 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
11412 if (!SWIG_IsOK(res3
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "3"" of type '" "wxGridCellAttr const *""'");
11415 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_Py_Void();
11429 SWIGINTERN PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
= 0;
11431 wxGrid
*arg1
= (wxGrid
*) 0 ;
11433 wxString
*arg3
= 0 ;
11435 int arg5
= (int) wxLEFT
;
11436 int arg6
= (int) wxTOP
;
11437 int arg7
= (int) wxHORIZONTAL
;
11442 bool temp3
= false ;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 PyObject
* obj2
= 0 ;
11453 PyObject
* obj3
= 0 ;
11454 PyObject
* obj4
= 0 ;
11455 PyObject
* obj5
= 0 ;
11456 PyObject
* obj6
= 0 ;
11457 char * kwnames
[] = {
11458 (char *) "self",(char *) "dc",(char *)"arg3",(char *)"arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
11461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11463 if (!SWIG_IsOK(res1
)) {
11464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "1"" of type '" "wxGrid *""'");
11466 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11468 if (!SWIG_IsOK(res2
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11474 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11476 arg3
= wxString_in_helper(obj2
);
11477 if (arg3
== NULL
) SWIG_fail
;
11482 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11485 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11486 if (!SWIG_IsOK(ecode5
)) {
11487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "5"" of type '" "int""'");
11489 arg5
= static_cast< int >(val5
);
11492 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11493 if (!SWIG_IsOK(ecode6
)) {
11494 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "6"" of type '" "int""'");
11496 arg6
= static_cast< int >(val6
);
11499 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11500 if (!SWIG_IsOK(ecode7
)) {
11501 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "7"" of type '" "int""'");
11503 arg7
= static_cast< int >(val7
);
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= SWIG_Py_Void();
11526 SWIGINTERN PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
= 0;
11528 wxGrid
*arg1
= (wxGrid
*) 0 ;
11530 wxArrayString
*arg3
= 0 ;
11531 long *arg4
= (long *) 0 ;
11532 long *arg5
= (long *) 0 ;
11537 bool temp3
= false ;
11539 int res4
= SWIG_TMPOBJ
;
11541 int res5
= SWIG_TMPOBJ
;
11542 PyObject
* obj0
= 0 ;
11543 PyObject
* obj1
= 0 ;
11544 PyObject
* obj2
= 0 ;
11545 char * kwnames
[] = {
11546 (char *) "self",(char *) "dc",(char *) "lines", NULL
11551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11553 if (!SWIG_IsOK(res1
)) {
11554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "1"" of type '" "wxGrid *""'");
11556 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11558 if (!SWIG_IsOK(res2
)) {
11559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11564 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11566 if (! PySequence_Check(obj2
)) {
11567 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11570 arg3
= new wxArrayString
;
11572 int i
, len
=PySequence_Length(obj2
);
11573 for (i
=0; i
<len
; i
++) {
11574 PyObject
* item
= PySequence_GetItem(obj2
, i
);
11575 wxString
* s
= wxString_in_helper(item
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= SWIG_Py_Void();
11589 if (SWIG_IsTmpObj(res4
)) {
11590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
11592 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
11595 if (SWIG_IsTmpObj(res5
)) {
11596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg5
)));
11598 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, new_flags
));
11602 if (temp3
) delete arg3
;
11607 if (temp3
) delete arg3
;
11613 SWIGINTERN PyObject
*_wrap_Grid_BeginBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11614 PyObject
*resultobj
= 0;
11615 wxGrid
*arg1
= (wxGrid
*) 0 ;
11618 PyObject
*swig_obj
[1] ;
11620 if (!args
) SWIG_fail
;
11621 swig_obj
[0] = args
;
11622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11623 if (!SWIG_IsOK(res1
)) {
11624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BeginBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11626 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 (arg1
)->BeginBatch();
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= SWIG_Py_Void();
11640 SWIGINTERN PyObject
*_wrap_Grid_EndBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11641 PyObject
*resultobj
= 0;
11642 wxGrid
*arg1
= (wxGrid
*) 0 ;
11645 PyObject
*swig_obj
[1] ;
11647 if (!args
) SWIG_fail
;
11648 swig_obj
[0] = args
;
11649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11650 if (!SWIG_IsOK(res1
)) {
11651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EndBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11653 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 (arg1
)->EndBatch();
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_Py_Void();
11667 SWIGINTERN PyObject
*_wrap_Grid_GetBatchCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11668 PyObject
*resultobj
= 0;
11669 wxGrid
*arg1
= (wxGrid
*) 0 ;
11673 PyObject
*swig_obj
[1] ;
11675 if (!args
) SWIG_fail
;
11676 swig_obj
[0] = args
;
11677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11678 if (!SWIG_IsOK(res1
)) {
11679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetBatchCount" "', expected argument " "1"" of type '" "wxGrid *""'");
11681 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (int)(arg1
)->GetBatchCount();
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= SWIG_From_int(static_cast< int >(result
));
11695 SWIGINTERN PyObject
*_wrap_Grid_ForceRefresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11696 PyObject
*resultobj
= 0;
11697 wxGrid
*arg1
= (wxGrid
*) 0 ;
11700 PyObject
*swig_obj
[1] ;
11702 if (!args
) SWIG_fail
;
11703 swig_obj
[0] = args
;
11704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11705 if (!SWIG_IsOK(res1
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ForceRefresh" "', expected argument " "1"" of type '" "wxGrid *""'");
11708 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 (arg1
)->ForceRefresh();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= SWIG_Py_Void();
11722 SWIGINTERN PyObject
*_wrap_Grid_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11723 PyObject
*resultobj
= 0;
11724 wxGrid
*arg1
= (wxGrid
*) 0 ;
11728 PyObject
*swig_obj
[1] ;
11730 if (!args
) SWIG_fail
;
11731 swig_obj
[0] = args
;
11732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11733 if (!SWIG_IsOK(res1
)) {
11734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsEditable" "', expected argument " "1"" of type '" "wxGrid *""'");
11736 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (bool)(arg1
)->IsEditable();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11752 SWIGINTERN PyObject
*_wrap_Grid_EnableEditing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
= 0;
11754 wxGrid
*arg1
= (wxGrid
*) 0 ;
11760 PyObject
* obj0
= 0 ;
11761 PyObject
* obj1
= 0 ;
11762 char * kwnames
[] = {
11763 (char *) "self",(char *) "edit", NULL
11766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11768 if (!SWIG_IsOK(res1
)) {
11769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableEditing" "', expected argument " "1"" of type '" "wxGrid *""'");
11771 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11772 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11773 if (!SWIG_IsOK(ecode2
)) {
11774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableEditing" "', expected argument " "2"" of type '" "bool""'");
11776 arg2
= static_cast< bool >(val2
);
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 (arg1
)->EnableEditing(arg2
);
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= SWIG_Py_Void();
11790 SWIGINTERN PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
= 0;
11792 wxGrid
*arg1
= (wxGrid
*) 0 ;
11793 bool arg2
= (bool) true ;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 char * kwnames
[] = {
11801 (char *) "self",(char *) "enable", NULL
11804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11809 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11811 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11812 if (!SWIG_IsOK(ecode2
)) {
11813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "2"" of type '" "bool""'");
11815 arg2
= static_cast< bool >(val2
);
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 (arg1
)->EnableCellEditControl(arg2
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= SWIG_Py_Void();
11830 SWIGINTERN PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11831 PyObject
*resultobj
= 0;
11832 wxGrid
*arg1
= (wxGrid
*) 0 ;
11835 PyObject
*swig_obj
[1] ;
11837 if (!args
) SWIG_fail
;
11838 swig_obj
[0] = args
;
11839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11843 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 (arg1
)->DisableCellEditControl();
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_Py_Void();
11857 SWIGINTERN PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11858 PyObject
*resultobj
= 0;
11859 wxGrid
*arg1
= (wxGrid
*) 0 ;
11863 PyObject
*swig_obj
[1] ;
11865 if (!args
) SWIG_fail
;
11866 swig_obj
[0] = args
;
11867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11868 if (!SWIG_IsOK(res1
)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanEnableCellControl" "', expected argument " "1"" of type '" "wxGrid const *""'");
11871 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11887 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11888 PyObject
*resultobj
= 0;
11889 wxGrid
*arg1
= (wxGrid
*) 0 ;
11893 PyObject
*swig_obj
[1] ;
11895 if (!args
) SWIG_fail
;
11896 swig_obj
[0] = args
;
11897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11898 if (!SWIG_IsOK(res1
)) {
11899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlEnabled" "', expected argument " "1"" of type '" "wxGrid const *""'");
11901 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11917 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11918 PyObject
*resultobj
= 0;
11919 wxGrid
*arg1
= (wxGrid
*) 0 ;
11923 PyObject
*swig_obj
[1] ;
11925 if (!args
) SWIG_fail
;
11926 swig_obj
[0] = args
;
11927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11928 if (!SWIG_IsOK(res1
)) {
11929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlShown" "', expected argument " "1"" of type '" "wxGrid const *""'");
11931 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11947 SWIGINTERN PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11948 PyObject
*resultobj
= 0;
11949 wxGrid
*arg1
= (wxGrid
*) 0 ;
11953 PyObject
*swig_obj
[1] ;
11955 if (!args
) SWIG_fail
;
11956 swig_obj
[0] = args
;
11957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11958 if (!SWIG_IsOK(res1
)) {
11959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCurrentCellReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
11961 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11977 SWIGINTERN PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11978 PyObject
*resultobj
= 0;
11979 wxGrid
*arg1
= (wxGrid
*) 0 ;
11982 PyObject
*swig_obj
[1] ;
11984 if (!args
) SWIG_fail
;
11985 swig_obj
[0] = args
;
11986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11987 if (!SWIG_IsOK(res1
)) {
11988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ShowCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11990 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 (arg1
)->ShowCellEditControl();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= SWIG_Py_Void();
12004 SWIGINTERN PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12005 PyObject
*resultobj
= 0;
12006 wxGrid
*arg1
= (wxGrid
*) 0 ;
12009 PyObject
*swig_obj
[1] ;
12011 if (!args
) SWIG_fail
;
12012 swig_obj
[0] = args
;
12013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_HideCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
12017 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 (arg1
)->HideCellEditControl();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= SWIG_Py_Void();
12031 SWIGINTERN PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 PyObject
*resultobj
= 0;
12033 wxGrid
*arg1
= (wxGrid
*) 0 ;
12036 PyObject
*swig_obj
[1] ;
12038 if (!args
) SWIG_fail
;
12039 swig_obj
[0] = args
;
12040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SaveEditControlValue" "', expected argument " "1"" of type '" "wxGrid *""'");
12044 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 (arg1
)->SaveEditControlValue();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_Py_Void();
12058 SWIGINTERN PyObject
*_wrap_Grid_XYToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
= 0;
12060 wxGrid
*arg1
= (wxGrid
*) 0 ;
12063 wxGridCellCoords result
;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 PyObject
* obj2
= 0 ;
12073 char * kwnames
[] = {
12074 (char *) "self",(char *) "x",(char *) "y", NULL
12077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12079 if (!SWIG_IsOK(res1
)) {
12080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XYToCell" "', expected argument " "1"" of type '" "wxGrid *""'");
12082 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12084 if (!SWIG_IsOK(ecode2
)) {
12085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XYToCell" "', expected argument " "2"" of type '" "int""'");
12087 arg2
= static_cast< int >(val2
);
12088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12089 if (!SWIG_IsOK(ecode3
)) {
12090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XYToCell" "', expected argument " "3"" of type '" "int""'");
12092 arg3
= static_cast< int >(val3
);
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
12106 SWIGINTERN PyObject
*_wrap_Grid_YToRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
= 0;
12108 wxGrid
*arg1
= (wxGrid
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 PyObject
* obj1
= 0 ;
12117 char * kwnames
[] = {
12118 (char *) "self",(char *) "y", NULL
12121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12123 if (!SWIG_IsOK(res1
)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12126 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12128 if (!SWIG_IsOK(ecode2
)) {
12129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToRow" "', expected argument " "2"" of type '" "int""'");
12131 arg2
= static_cast< int >(val2
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= (int)(arg1
)->YToRow(arg2
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_From_int(static_cast< int >(result
));
12145 SWIGINTERN PyObject
*_wrap_Grid_XToCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
= 0;
12147 wxGrid
*arg1
= (wxGrid
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 char * kwnames
[] = {
12157 (char *) "self",(char *) "x", NULL
12160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12162 if (!SWIG_IsOK(res1
)) {
12163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12165 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12167 if (!SWIG_IsOK(ecode2
)) {
12168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToCol" "', expected argument " "2"" of type '" "int""'");
12170 arg2
= static_cast< int >(val2
);
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (int)(arg1
)->XToCol(arg2
);
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= SWIG_From_int(static_cast< int >(result
));
12184 SWIGINTERN PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
= 0;
12186 wxGrid
*arg1
= (wxGrid
*) 0 ;
12193 PyObject
* obj0
= 0 ;
12194 PyObject
* obj1
= 0 ;
12195 char * kwnames
[] = {
12196 (char *) "self",(char *) "y", NULL
12199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12201 if (!SWIG_IsOK(res1
)) {
12202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12204 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12206 if (!SWIG_IsOK(ecode2
)) {
12207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "2"" of type '" "int""'");
12209 arg2
= static_cast< int >(val2
);
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= SWIG_From_int(static_cast< int >(result
));
12223 SWIGINTERN PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
= 0;
12225 wxGrid
*arg1
= (wxGrid
*) 0 ;
12232 PyObject
* obj0
= 0 ;
12233 PyObject
* obj1
= 0 ;
12234 char * kwnames
[] = {
12235 (char *) "self",(char *) "x", NULL
12238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12240 if (!SWIG_IsOK(res1
)) {
12241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12243 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12245 if (!SWIG_IsOK(ecode2
)) {
12246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "2"" of type '" "int""'");
12248 arg2
= static_cast< int >(val2
);
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= SWIG_From_int(static_cast< int >(result
));
12262 SWIGINTERN PyObject
*_wrap_Grid_CellToRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= 0;
12264 wxGrid
*arg1
= (wxGrid
*) 0 ;
12274 PyObject
* obj0
= 0 ;
12275 PyObject
* obj1
= 0 ;
12276 PyObject
* obj2
= 0 ;
12277 char * kwnames
[] = {
12278 (char *) "self",(char *) "row",(char *) "col", NULL
12281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CellToRect" "', expected argument " "1"" of type '" "wxGrid *""'");
12286 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12288 if (!SWIG_IsOK(ecode2
)) {
12289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CellToRect" "', expected argument " "2"" of type '" "int""'");
12291 arg2
= static_cast< int >(val2
);
12292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12293 if (!SWIG_IsOK(ecode3
)) {
12294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CellToRect" "', expected argument " "3"" of type '" "int""'");
12296 arg3
= static_cast< int >(val3
);
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 result
= (arg1
)->CellToRect(arg2
,arg3
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12310 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12311 PyObject
*resultobj
= 0;
12312 wxGrid
*arg1
= (wxGrid
*) 0 ;
12316 PyObject
*swig_obj
[1] ;
12318 if (!args
) SWIG_fail
;
12319 swig_obj
[0] = args
;
12320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12321 if (!SWIG_IsOK(res1
)) {
12322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12324 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 result
= (int)(arg1
)->GetGridCursorRow();
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= SWIG_From_int(static_cast< int >(result
));
12338 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12339 PyObject
*resultobj
= 0;
12340 wxGrid
*arg1
= (wxGrid
*) 0 ;
12344 PyObject
*swig_obj
[1] ;
12346 if (!args
) SWIG_fail
;
12347 swig_obj
[0] = args
;
12348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12349 if (!SWIG_IsOK(res1
)) {
12350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12352 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (int)(arg1
)->GetGridCursorCol();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_From_int(static_cast< int >(result
));
12366 SWIGINTERN PyObject
*_wrap_Grid_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
= 0;
12368 wxGrid
*arg1
= (wxGrid
*) 0 ;
12371 bool arg4
= (bool) true ;
12381 PyObject
* obj0
= 0 ;
12382 PyObject
* obj1
= 0 ;
12383 PyObject
* obj2
= 0 ;
12384 PyObject
* obj3
= 0 ;
12385 char * kwnames
[] = {
12386 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
12389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12391 if (!SWIG_IsOK(res1
)) {
12392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12394 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12396 if (!SWIG_IsOK(ecode2
)) {
12397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsVisible" "', expected argument " "2"" of type '" "int""'");
12399 arg2
= static_cast< int >(val2
);
12400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12401 if (!SWIG_IsOK(ecode3
)) {
12402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsVisible" "', expected argument " "3"" of type '" "int""'");
12404 arg3
= static_cast< int >(val3
);
12406 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12407 if (!SWIG_IsOK(ecode4
)) {
12408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_IsVisible" "', expected argument " "4"" of type '" "bool""'");
12410 arg4
= static_cast< bool >(val4
);
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12427 SWIGINTERN PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12428 PyObject
*resultobj
= 0;
12429 wxGrid
*arg1
= (wxGrid
*) 0 ;
12438 PyObject
* obj0
= 0 ;
12439 PyObject
* obj1
= 0 ;
12440 PyObject
* obj2
= 0 ;
12441 char * kwnames
[] = {
12442 (char *) "self",(char *) "row",(char *) "col", NULL
12445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12447 if (!SWIG_IsOK(res1
)) {
12448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MakeCellVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12450 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12452 if (!SWIG_IsOK(ecode2
)) {
12453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MakeCellVisible" "', expected argument " "2"" of type '" "int""'");
12455 arg2
= static_cast< int >(val2
);
12456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12457 if (!SWIG_IsOK(ecode3
)) {
12458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_MakeCellVisible" "', expected argument " "3"" of type '" "int""'");
12460 arg3
= static_cast< int >(val3
);
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->MakeCellVisible(arg2
,arg3
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_Py_Void();
12474 SWIGINTERN PyObject
*_wrap_Grid_SetGridCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
= 0;
12476 wxGrid
*arg1
= (wxGrid
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 PyObject
* obj1
= 0 ;
12487 PyObject
* obj2
= 0 ;
12488 char * kwnames
[] = {
12489 (char *) "self",(char *) "row",(char *) "col", NULL
12492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12494 if (!SWIG_IsOK(res1
)) {
12495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridCursor" "', expected argument " "1"" of type '" "wxGrid *""'");
12497 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12499 if (!SWIG_IsOK(ecode2
)) {
12500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetGridCursor" "', expected argument " "2"" of type '" "int""'");
12502 arg2
= static_cast< int >(val2
);
12503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12504 if (!SWIG_IsOK(ecode3
)) {
12505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetGridCursor" "', expected argument " "3"" of type '" "int""'");
12507 arg3
= static_cast< int >(val3
);
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->SetGridCursor(arg2
,arg3
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= SWIG_Py_Void();
12521 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
= 0;
12523 wxGrid
*arg1
= (wxGrid
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 char * kwnames
[] = {
12533 (char *) "self",(char *) "expandSelection", NULL
12536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12538 if (!SWIG_IsOK(res1
)) {
12539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12541 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12542 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12543 if (!SWIG_IsOK(ecode2
)) {
12544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUp" "', expected argument " "2"" of type '" "bool""'");
12546 arg2
= static_cast< bool >(val2
);
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12562 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
= 0;
12564 wxGrid
*arg1
= (wxGrid
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 char * kwnames
[] = {
12574 (char *) "self",(char *) "expandSelection", NULL
12577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12579 if (!SWIG_IsOK(res1
)) {
12580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12582 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12583 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12584 if (!SWIG_IsOK(ecode2
)) {
12585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDown" "', expected argument " "2"" of type '" "bool""'");
12587 arg2
= static_cast< bool >(val2
);
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12603 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
= 0;
12605 wxGrid
*arg1
= (wxGrid
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 PyObject
* obj1
= 0 ;
12614 char * kwnames
[] = {
12615 (char *) "self",(char *) "expandSelection", NULL
12618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "1"" of type '" "wxGrid *""'");
12623 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12624 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12625 if (!SWIG_IsOK(ecode2
)) {
12626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "2"" of type '" "bool""'");
12628 arg2
= static_cast< bool >(val2
);
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12644 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
= 0;
12646 wxGrid
*arg1
= (wxGrid
*) 0 ;
12653 PyObject
* obj0
= 0 ;
12654 PyObject
* obj1
= 0 ;
12655 char * kwnames
[] = {
12656 (char *) "self",(char *) "expandSelection", NULL
12659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12661 if (!SWIG_IsOK(res1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRight" "', expected argument " "1"" of type '" "wxGrid *""'");
12664 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12665 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12666 if (!SWIG_IsOK(ecode2
)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRight" "', expected argument " "2"" of type '" "bool""'");
12669 arg2
= static_cast< bool >(val2
);
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12685 SWIGINTERN PyObject
*_wrap_Grid_MovePageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12686 PyObject
*resultobj
= 0;
12687 wxGrid
*arg1
= (wxGrid
*) 0 ;
12691 PyObject
*swig_obj
[1] ;
12693 if (!args
) SWIG_fail
;
12694 swig_obj
[0] = args
;
12695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12696 if (!SWIG_IsOK(res1
)) {
12697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12699 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (bool)(arg1
)->MovePageDown();
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12715 SWIGINTERN PyObject
*_wrap_Grid_MovePageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12716 PyObject
*resultobj
= 0;
12717 wxGrid
*arg1
= (wxGrid
*) 0 ;
12721 PyObject
*swig_obj
[1] ;
12723 if (!args
) SWIG_fail
;
12724 swig_obj
[0] = args
;
12725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12726 if (!SWIG_IsOK(res1
)) {
12727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12729 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (bool)(arg1
)->MovePageUp();
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12745 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
= 0;
12747 wxGrid
*arg1
= (wxGrid
*) 0 ;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 char * kwnames
[] = {
12757 (char *) "self",(char *) "expandSelection", NULL
12760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12765 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12766 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12767 if (!SWIG_IsOK(ecode2
)) {
12768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "2"" of type '" "bool""'");
12770 arg2
= static_cast< bool >(val2
);
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12786 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
= 0;
12788 wxGrid
*arg1
= (wxGrid
*) 0 ;
12795 PyObject
* obj0
= 0 ;
12796 PyObject
* obj1
= 0 ;
12797 char * kwnames
[] = {
12798 (char *) "self",(char *) "expandSelection", NULL
12801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12803 if (!SWIG_IsOK(res1
)) {
12804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12806 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12807 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12808 if (!SWIG_IsOK(ecode2
)) {
12809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "2"" of type '" "bool""'");
12811 arg2
= static_cast< bool >(val2
);
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12827 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
= 0;
12829 wxGrid
*arg1
= (wxGrid
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 PyObject
* obj1
= 0 ;
12838 char * kwnames
[] = {
12839 (char *) "self",(char *) "expandSelection", NULL
12842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12844 if (!SWIG_IsOK(res1
)) {
12845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12847 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12848 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12849 if (!SWIG_IsOK(ecode2
)) {
12850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "2"" of type '" "bool""'");
12852 arg2
= static_cast< bool >(val2
);
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12868 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
= 0;
12870 wxGrid
*arg1
= (wxGrid
*) 0 ;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 char * kwnames
[] = {
12880 (char *) "self",(char *) "expandSelection", NULL
12883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12885 if (!SWIG_IsOK(res1
)) {
12886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12888 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12889 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12890 if (!SWIG_IsOK(ecode2
)) {
12891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "2"" of type '" "bool""'");
12893 arg2
= static_cast< bool >(val2
);
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12909 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12910 PyObject
*resultobj
= 0;
12911 wxGrid
*arg1
= (wxGrid
*) 0 ;
12915 PyObject
*swig_obj
[1] ;
12917 if (!args
) SWIG_fail
;
12918 swig_obj
[0] = args
;
12919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12920 if (!SWIG_IsOK(res1
)) {
12921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12923 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (int)(arg1
)->GetDefaultRowLabelSize();
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_From_int(static_cast< int >(result
));
12937 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12938 PyObject
*resultobj
= 0;
12939 wxGrid
*arg1
= (wxGrid
*) 0 ;
12943 PyObject
*swig_obj
[1] ;
12945 if (!args
) SWIG_fail
;
12946 swig_obj
[0] = args
;
12947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12948 if (!SWIG_IsOK(res1
)) {
12949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12951 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (int)(arg1
)->GetRowLabelSize();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_From_int(static_cast< int >(result
));
12965 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12966 PyObject
*resultobj
= 0;
12967 wxGrid
*arg1
= (wxGrid
*) 0 ;
12971 PyObject
*swig_obj
[1] ;
12973 if (!args
) SWIG_fail
;
12974 swig_obj
[0] = args
;
12975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12976 if (!SWIG_IsOK(res1
)) {
12977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12979 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 result
= (int)(arg1
)->GetDefaultColLabelSize();
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_From_int(static_cast< int >(result
));
12993 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12994 PyObject
*resultobj
= 0;
12995 wxGrid
*arg1
= (wxGrid
*) 0 ;
12999 PyObject
*swig_obj
[1] ;
13001 if (!args
) SWIG_fail
;
13002 swig_obj
[0] = args
;
13003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13007 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (int)(arg1
)->GetColLabelSize();
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= SWIG_From_int(static_cast< int >(result
));
13021 SWIGINTERN PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13022 PyObject
*resultobj
= 0;
13023 wxGrid
*arg1
= (wxGrid
*) 0 ;
13027 PyObject
*swig_obj
[1] ;
13029 if (!args
) SWIG_fail
;
13030 swig_obj
[0] = args
;
13031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13035 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= (arg1
)->GetLabelBackgroundColour();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13049 SWIGINTERN PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13050 PyObject
*resultobj
= 0;
13051 wxGrid
*arg1
= (wxGrid
*) 0 ;
13055 PyObject
*swig_obj
[1] ;
13057 if (!args
) SWIG_fail
;
13058 swig_obj
[0] = args
;
13059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13060 if (!SWIG_IsOK(res1
)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13063 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= (arg1
)->GetLabelTextColour();
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13077 SWIGINTERN PyObject
*_wrap_Grid_GetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13078 PyObject
*resultobj
= 0;
13079 wxGrid
*arg1
= (wxGrid
*) 0 ;
13083 PyObject
*swig_obj
[1] ;
13085 if (!args
) SWIG_fail
;
13086 swig_obj
[0] = args
;
13087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13088 if (!SWIG_IsOK(res1
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
13091 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (arg1
)->GetLabelFont();
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13105 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13106 PyObject
*resultobj
= 0;
13107 wxGrid
*arg1
= (wxGrid
*) 0 ;
13108 int *arg2
= (int *) 0 ;
13109 int *arg3
= (int *) 0 ;
13113 int res2
= SWIG_TMPOBJ
;
13115 int res3
= SWIG_TMPOBJ
;
13116 PyObject
*swig_obj
[1] ;
13120 if (!args
) SWIG_fail
;
13121 swig_obj
[0] = args
;
13122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13123 if (!SWIG_IsOK(res1
)) {
13124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13126 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_Py_Void();
13134 if (SWIG_IsTmpObj(res2
)) {
13135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
13137 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
13140 if (SWIG_IsTmpObj(res3
)) {
13141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
13143 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
13152 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13153 PyObject
*resultobj
= 0;
13154 wxGrid
*arg1
= (wxGrid
*) 0 ;
13155 int *arg2
= (int *) 0 ;
13156 int *arg3
= (int *) 0 ;
13160 int res2
= SWIG_TMPOBJ
;
13162 int res3
= SWIG_TMPOBJ
;
13163 PyObject
*swig_obj
[1] ;
13167 if (!args
) SWIG_fail
;
13168 swig_obj
[0] = args
;
13169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13170 if (!SWIG_IsOK(res1
)) {
13171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13173 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_Py_Void();
13181 if (SWIG_IsTmpObj(res2
)) {
13182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
13184 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
13187 if (SWIG_IsTmpObj(res3
)) {
13188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
13190 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
13199 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13200 PyObject
*resultobj
= 0;
13201 wxGrid
*arg1
= (wxGrid
*) 0 ;
13205 PyObject
*swig_obj
[1] ;
13207 if (!args
) SWIG_fail
;
13208 swig_obj
[0] = args
;
13209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13210 if (!SWIG_IsOK(res1
)) {
13211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
13213 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 result
= (int)(arg1
)->GetColLabelTextOrientation();
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_From_int(static_cast< int >(result
));
13227 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
= 0;
13229 wxGrid
*arg1
= (wxGrid
*) 0 ;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 char * kwnames
[] = {
13239 (char *) "self",(char *) "row", NULL
13242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13244 if (!SWIG_IsOK(res1
)) {
13245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13247 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13249 if (!SWIG_IsOK(ecode2
)) {
13250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13252 arg2
= static_cast< int >(val2
);
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (arg1
)->GetRowLabelValue(arg2
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13272 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
= 0;
13274 wxGrid
*arg1
= (wxGrid
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "self",(char *) "col", NULL
13287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13292 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13294 if (!SWIG_IsOK(ecode2
)) {
13295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13297 arg2
= static_cast< int >(val2
);
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (arg1
)->GetColLabelValue(arg2
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13317 SWIGINTERN PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13318 PyObject
*resultobj
= 0;
13319 wxGrid
*arg1
= (wxGrid
*) 0 ;
13323 PyObject
*swig_obj
[1] ;
13325 if (!args
) SWIG_fail
;
13326 swig_obj
[0] = args
;
13327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13328 if (!SWIG_IsOK(res1
)) {
13329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13331 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (arg1
)->GetGridLineColour();
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13345 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13346 PyObject
*resultobj
= 0;
13347 wxGrid
*arg1
= (wxGrid
*) 0 ;
13351 PyObject
*swig_obj
[1] ;
13353 if (!args
) SWIG_fail
;
13354 swig_obj
[0] = args
;
13355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13356 if (!SWIG_IsOK(res1
)) {
13357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13359 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (arg1
)->GetCellHighlightColour();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13373 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13374 PyObject
*resultobj
= 0;
13375 wxGrid
*arg1
= (wxGrid
*) 0 ;
13379 PyObject
*swig_obj
[1] ;
13381 if (!args
) SWIG_fail
;
13382 swig_obj
[0] = args
;
13383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13384 if (!SWIG_IsOK(res1
)) {
13385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13387 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (int)(arg1
)->GetCellHighlightPenWidth();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_From_int(static_cast< int >(result
));
13401 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13402 PyObject
*resultobj
= 0;
13403 wxGrid
*arg1
= (wxGrid
*) 0 ;
13407 PyObject
*swig_obj
[1] ;
13409 if (!args
) SWIG_fail
;
13410 swig_obj
[0] = args
;
13411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13412 if (!SWIG_IsOK(res1
)) {
13413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13415 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= SWIG_From_int(static_cast< int >(result
));
13429 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
= 0;
13431 wxGrid
*arg1
= (wxGrid
*) 0 ;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 char * kwnames
[] = {
13440 (char *) "self",(char *) "width", NULL
13443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13445 if (!SWIG_IsOK(res1
)) {
13446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13448 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13450 if (!SWIG_IsOK(ecode2
)) {
13451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "2"" of type '" "int""'");
13453 arg2
= static_cast< int >(val2
);
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 (arg1
)->SetRowLabelSize(arg2
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_Py_Void();
13467 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
= 0;
13469 wxGrid
*arg1
= (wxGrid
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 PyObject
* obj1
= 0 ;
13477 char * kwnames
[] = {
13478 (char *) "self",(char *) "height", NULL
13481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13483 if (!SWIG_IsOK(res1
)) {
13484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13486 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13488 if (!SWIG_IsOK(ecode2
)) {
13489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelSize" "', expected argument " "2"" of type '" "int""'");
13491 arg2
= static_cast< int >(val2
);
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 (arg1
)->SetColLabelSize(arg2
);
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= SWIG_Py_Void();
13505 SWIGINTERN PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
= 0;
13507 wxGrid
*arg1
= (wxGrid
*) 0 ;
13508 wxColour
*arg2
= 0 ;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 char * kwnames
[] = {
13515 (char *) "self",(char *)"arg2", NULL
13518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13520 if (!SWIG_IsOK(res1
)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13523 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13526 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= SWIG_Py_Void();
13541 SWIGINTERN PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
= 0;
13543 wxGrid
*arg1
= (wxGrid
*) 0 ;
13544 wxColour
*arg2
= 0 ;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 char * kwnames
[] = {
13551 (char *) "self",(char *)"arg2", NULL
13554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13556 if (!SWIG_IsOK(res1
)) {
13557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13559 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13562 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= SWIG_Py_Void();
13577 SWIGINTERN PyObject
*_wrap_Grid_SetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
= 0;
13579 wxGrid
*arg1
= (wxGrid
*) 0 ;
13585 PyObject
* obj0
= 0 ;
13586 PyObject
* obj1
= 0 ;
13587 char * kwnames
[] = {
13588 (char *) "self",(char *)"arg2", NULL
13591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13593 if (!SWIG_IsOK(res1
)) {
13594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
13596 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
13598 if (!SWIG_IsOK(res2
)) {
13599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13604 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= SWIG_Py_Void();
13618 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
= 0;
13620 wxGrid
*arg1
= (wxGrid
*) 0 ;
13629 PyObject
* obj0
= 0 ;
13630 PyObject
* obj1
= 0 ;
13631 PyObject
* obj2
= 0 ;
13632 char * kwnames
[] = {
13633 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13638 if (!SWIG_IsOK(res1
)) {
13639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13641 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13643 if (!SWIG_IsOK(ecode2
)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13646 arg2
= static_cast< int >(val2
);
13647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13648 if (!SWIG_IsOK(ecode3
)) {
13649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13651 arg3
= static_cast< int >(val3
);
13653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13654 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 resultobj
= SWIG_Py_Void();
13665 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
= 0;
13667 wxGrid
*arg1
= (wxGrid
*) 0 ;
13676 PyObject
* obj0
= 0 ;
13677 PyObject
* obj1
= 0 ;
13678 PyObject
* obj2
= 0 ;
13679 char * kwnames
[] = {
13680 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13685 if (!SWIG_IsOK(res1
)) {
13686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13688 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13690 if (!SWIG_IsOK(ecode2
)) {
13691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13693 arg2
= static_cast< int >(val2
);
13694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13695 if (!SWIG_IsOK(ecode3
)) {
13696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13698 arg3
= static_cast< int >(val3
);
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= SWIG_Py_Void();
13712 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
= 0;
13714 wxGrid
*arg1
= (wxGrid
*) 0 ;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 char * kwnames
[] = {
13723 (char *) "self",(char *) "textOrientation", NULL
13726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13728 if (!SWIG_IsOK(res1
)) {
13729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
13731 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13733 if (!SWIG_IsOK(ecode2
)) {
13734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "2"" of type '" "int""'");
13736 arg2
= static_cast< int >(val2
);
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 (arg1
)->SetColLabelTextOrientation(arg2
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_Py_Void();
13750 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
= 0;
13752 wxGrid
*arg1
= (wxGrid
*) 0 ;
13754 wxString
*arg3
= 0 ;
13759 bool temp3
= false ;
13760 PyObject
* obj0
= 0 ;
13761 PyObject
* obj1
= 0 ;
13762 PyObject
* obj2
= 0 ;
13763 char * kwnames
[] = {
13764 (char *) "self",(char *) "row",(char *)"arg3", NULL
13767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13769 if (!SWIG_IsOK(res1
)) {
13770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13772 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13774 if (!SWIG_IsOK(ecode2
)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13777 arg2
= static_cast< int >(val2
);
13779 arg3
= wxString_in_helper(obj2
);
13780 if (arg3
== NULL
) SWIG_fail
;
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= SWIG_Py_Void();
13804 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
= 0;
13806 wxGrid
*arg1
= (wxGrid
*) 0 ;
13808 wxString
*arg3
= 0 ;
13813 bool temp3
= false ;
13814 PyObject
* obj0
= 0 ;
13815 PyObject
* obj1
= 0 ;
13816 PyObject
* obj2
= 0 ;
13817 char * kwnames
[] = {
13818 (char *) "self",(char *) "col",(char *)"arg3", NULL
13821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13823 if (!SWIG_IsOK(res1
)) {
13824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13826 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13828 if (!SWIG_IsOK(ecode2
)) {
13829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13831 arg2
= static_cast< int >(val2
);
13833 arg3
= wxString_in_helper(obj2
);
13834 if (arg3
== NULL
) SWIG_fail
;
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= SWIG_Py_Void();
13858 SWIGINTERN PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
= 0;
13860 wxGrid
*arg1
= (wxGrid
*) 0 ;
13861 wxColour
*arg2
= 0 ;
13865 PyObject
* obj0
= 0 ;
13866 PyObject
* obj1
= 0 ;
13867 char * kwnames
[] = {
13868 (char *) "self",(char *)"arg2", NULL
13871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13873 if (!SWIG_IsOK(res1
)) {
13874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13876 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 resultobj
= SWIG_Py_Void();
13894 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13895 PyObject
*resultobj
= 0;
13896 wxGrid
*arg1
= (wxGrid
*) 0 ;
13897 wxColour
*arg2
= 0 ;
13901 PyObject
* obj0
= 0 ;
13902 PyObject
* obj1
= 0 ;
13903 char * kwnames
[] = {
13904 (char *) "self",(char *)"arg2", NULL
13907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13909 if (!SWIG_IsOK(res1
)) {
13910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13912 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13915 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= SWIG_Py_Void();
13930 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
= 0;
13932 wxGrid
*arg1
= (wxGrid
*) 0 ;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 char * kwnames
[] = {
13941 (char *) "self",(char *) "width", NULL
13944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13946 if (!SWIG_IsOK(res1
)) {
13947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13949 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13951 if (!SWIG_IsOK(ecode2
)) {
13952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "2"" of type '" "int""'");
13954 arg2
= static_cast< int >(val2
);
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 (arg1
)->SetCellHighlightPenWidth(arg2
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= SWIG_Py_Void();
13968 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
= 0;
13970 wxGrid
*arg1
= (wxGrid
*) 0 ;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 char * kwnames
[] = {
13979 (char *) "self",(char *) "width", NULL
13982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",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_SetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13987 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13989 if (!SWIG_IsOK(ecode2
)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "2"" of type '" "int""'");
13992 arg2
= static_cast< int >(val2
);
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 (arg1
)->SetCellHighlightROPenWidth(arg2
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_Py_Void();
14006 SWIGINTERN PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
= 0;
14008 wxGrid
*arg1
= (wxGrid
*) 0 ;
14009 bool arg2
= (bool) true ;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 char * kwnames
[] = {
14017 (char *) "self",(char *) "enable", NULL
14020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14022 if (!SWIG_IsOK(res1
)) {
14023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14025 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14027 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14028 if (!SWIG_IsOK(ecode2
)) {
14029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "2"" of type '" "bool""'");
14031 arg2
= static_cast< bool >(val2
);
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 (arg1
)->EnableDragRowSize(arg2
);
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= SWIG_Py_Void();
14046 SWIGINTERN PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14047 PyObject
*resultobj
= 0;
14048 wxGrid
*arg1
= (wxGrid
*) 0 ;
14051 PyObject
*swig_obj
[1] ;
14053 if (!args
) SWIG_fail
;
14054 swig_obj
[0] = args
;
14055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14056 if (!SWIG_IsOK(res1
)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14059 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 (arg1
)->DisableDragRowSize();
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_Py_Void();
14073 SWIGINTERN PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14074 PyObject
*resultobj
= 0;
14075 wxGrid
*arg1
= (wxGrid
*) 0 ;
14079 PyObject
*swig_obj
[1] ;
14081 if (!args
) SWIG_fail
;
14082 swig_obj
[0] = args
;
14083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14084 if (!SWIG_IsOK(res1
)) {
14085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14087 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (bool)(arg1
)->CanDragRowSize();
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14103 SWIGINTERN PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
= 0;
14105 wxGrid
*arg1
= (wxGrid
*) 0 ;
14106 bool arg2
= (bool) true ;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 char * kwnames
[] = {
14114 (char *) "self",(char *) "enable", NULL
14117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14119 if (!SWIG_IsOK(res1
)) {
14120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14122 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14124 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14125 if (!SWIG_IsOK(ecode2
)) {
14126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColSize" "', expected argument " "2"" of type '" "bool""'");
14128 arg2
= static_cast< bool >(val2
);
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 (arg1
)->EnableDragColSize(arg2
);
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= SWIG_Py_Void();
14143 SWIGINTERN PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14144 PyObject
*resultobj
= 0;
14145 wxGrid
*arg1
= (wxGrid
*) 0 ;
14148 PyObject
*swig_obj
[1] ;
14150 if (!args
) SWIG_fail
;
14151 swig_obj
[0] = args
;
14152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14153 if (!SWIG_IsOK(res1
)) {
14154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14156 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 (arg1
)->DisableDragColSize();
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= SWIG_Py_Void();
14170 SWIGINTERN PyObject
*_wrap_Grid_CanDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14171 PyObject
*resultobj
= 0;
14172 wxGrid
*arg1
= (wxGrid
*) 0 ;
14176 PyObject
*swig_obj
[1] ;
14178 if (!args
) SWIG_fail
;
14179 swig_obj
[0] = args
;
14180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14181 if (!SWIG_IsOK(res1
)) {
14182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14184 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (bool)(arg1
)->CanDragColSize();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14200 SWIGINTERN PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
= 0;
14202 wxGrid
*arg1
= (wxGrid
*) 0 ;
14203 bool arg2
= (bool) true ;
14208 PyObject
* obj0
= 0 ;
14209 PyObject
* obj1
= 0 ;
14210 char * kwnames
[] = {
14211 (char *) "self",(char *) "enable", NULL
14214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14216 if (!SWIG_IsOK(res1
)) {
14217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14219 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14221 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14222 if (!SWIG_IsOK(ecode2
)) {
14223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "2"" of type '" "bool""'");
14225 arg2
= static_cast< bool >(val2
);
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 (arg1
)->EnableDragGridSize(arg2
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= SWIG_Py_Void();
14240 SWIGINTERN PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14241 PyObject
*resultobj
= 0;
14242 wxGrid
*arg1
= (wxGrid
*) 0 ;
14245 PyObject
*swig_obj
[1] ;
14247 if (!args
) SWIG_fail
;
14248 swig_obj
[0] = args
;
14249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14250 if (!SWIG_IsOK(res1
)) {
14251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14253 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 (arg1
)->DisableDragGridSize();
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 resultobj
= SWIG_Py_Void();
14267 SWIGINTERN PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14268 PyObject
*resultobj
= 0;
14269 wxGrid
*arg1
= (wxGrid
*) 0 ;
14273 PyObject
*swig_obj
[1] ;
14275 if (!args
) SWIG_fail
;
14276 swig_obj
[0] = args
;
14277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14278 if (!SWIG_IsOK(res1
)) {
14279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14281 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= (bool)(arg1
)->CanDragGridSize();
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14297 SWIGINTERN PyObject
*_wrap_Grid_EnableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
= 0;
14299 wxGrid
*arg1
= (wxGrid
*) 0 ;
14300 bool arg2
= (bool) true ;
14305 PyObject
* obj0
= 0 ;
14306 PyObject
* obj1
= 0 ;
14307 char * kwnames
[] = {
14308 (char *) "self",(char *) "enable", NULL
14311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14313 if (!SWIG_IsOK(res1
)) {
14314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14316 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14318 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14319 if (!SWIG_IsOK(ecode2
)) {
14320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragCell" "', expected argument " "2"" of type '" "bool""'");
14322 arg2
= static_cast< bool >(val2
);
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 (arg1
)->EnableDragCell(arg2
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= SWIG_Py_Void();
14337 SWIGINTERN PyObject
*_wrap_Grid_DisableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14338 PyObject
*resultobj
= 0;
14339 wxGrid
*arg1
= (wxGrid
*) 0 ;
14342 PyObject
*swig_obj
[1] ;
14344 if (!args
) SWIG_fail
;
14345 swig_obj
[0] = args
;
14346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14347 if (!SWIG_IsOK(res1
)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14350 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 (arg1
)->DisableDragCell();
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= SWIG_Py_Void();
14364 SWIGINTERN PyObject
*_wrap_Grid_CanDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14365 PyObject
*resultobj
= 0;
14366 wxGrid
*arg1
= (wxGrid
*) 0 ;
14370 PyObject
*swig_obj
[1] ;
14372 if (!args
) SWIG_fail
;
14373 swig_obj
[0] = args
;
14374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14375 if (!SWIG_IsOK(res1
)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14378 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (bool)(arg1
)->CanDragCell();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14394 SWIGINTERN PyObject
*_wrap_Grid_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= 0;
14396 wxGrid
*arg1
= (wxGrid
*) 0 ;
14399 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 PyObject
* obj1
= 0 ;
14410 PyObject
* obj2
= 0 ;
14411 PyObject
* obj3
= 0 ;
14412 char * kwnames
[] = {
14413 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
14416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14418 if (!SWIG_IsOK(res1
)) {
14419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14421 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14423 if (!SWIG_IsOK(ecode2
)) {
14424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetAttr" "', expected argument " "2"" of type '" "int""'");
14426 arg2
= static_cast< int >(val2
);
14427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14428 if (!SWIG_IsOK(ecode3
)) {
14429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetAttr" "', expected argument " "3"" of type '" "int""'");
14431 arg3
= static_cast< int >(val3
);
14432 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14433 if (!SWIG_IsOK(res4
)) {
14434 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr *""'");
14436 arg4
= reinterpret_cast< wxGridCellAttr
* >(argp4
);
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= SWIG_Py_Void();
14450 SWIGINTERN PyObject
*_wrap_Grid_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
= 0;
14452 wxGrid
*arg1
= (wxGrid
*) 0 ;
14454 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 PyObject
* obj2
= 0 ;
14464 char * kwnames
[] = {
14465 (char *) "self",(char *) "row",(char *) "attr", NULL
14468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14470 if (!SWIG_IsOK(res1
)) {
14471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14473 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14475 if (!SWIG_IsOK(ecode2
)) {
14476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowAttr" "', expected argument " "2"" of type '" "int""'");
14478 arg2
= static_cast< int >(val2
);
14479 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14480 if (!SWIG_IsOK(res3
)) {
14481 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetRowAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14483 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 (arg1
)->SetRowAttr(arg2
,arg3
);
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= SWIG_Py_Void();
14497 SWIGINTERN PyObject
*_wrap_Grid_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
= 0;
14499 wxGrid
*arg1
= (wxGrid
*) 0 ;
14501 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14508 PyObject
* obj0
= 0 ;
14509 PyObject
* obj1
= 0 ;
14510 PyObject
* obj2
= 0 ;
14511 char * kwnames
[] = {
14512 (char *) "self",(char *) "col",(char *) "attr", NULL
14515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14517 if (!SWIG_IsOK(res1
)) {
14518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14520 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14522 if (!SWIG_IsOK(ecode2
)) {
14523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColAttr" "', expected argument " "2"" of type '" "int""'");
14525 arg2
= static_cast< int >(val2
);
14526 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14527 if (!SWIG_IsOK(res3
)) {
14528 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetColAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14530 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 (arg1
)->SetColAttr(arg2
,arg3
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= SWIG_Py_Void();
14544 SWIGINTERN PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
= 0;
14546 wxGrid
*arg1
= (wxGrid
*) 0 ;
14549 wxGridCellAttr
*result
= 0 ;
14556 PyObject
* obj0
= 0 ;
14557 PyObject
* obj1
= 0 ;
14558 PyObject
* obj2
= 0 ;
14559 char * kwnames
[] = {
14560 (char *) "self",(char *) "row",(char *) "col", NULL
14563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14565 if (!SWIG_IsOK(res1
)) {
14566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "1"" of type '" "wxGrid const *""'");
14568 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14570 if (!SWIG_IsOK(ecode2
)) {
14571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "2"" of type '" "int""'");
14573 arg2
= static_cast< int >(val2
);
14574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14575 if (!SWIG_IsOK(ecode3
)) {
14576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "3"" of type '" "int""'");
14578 arg3
= static_cast< int >(val3
);
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
14594 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
= 0;
14596 wxGrid
*arg1
= (wxGrid
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 PyObject
* obj1
= 0 ;
14604 char * kwnames
[] = {
14605 (char *) "self",(char *) "col", NULL
14608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14610 if (!SWIG_IsOK(res1
)) {
14611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatBool" "', expected argument " "1"" of type '" "wxGrid *""'");
14613 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14615 if (!SWIG_IsOK(ecode2
)) {
14616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatBool" "', expected argument " "2"" of type '" "int""'");
14618 arg2
= static_cast< int >(val2
);
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 (arg1
)->SetColFormatBool(arg2
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= SWIG_Py_Void();
14632 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
= 0;
14634 wxGrid
*arg1
= (wxGrid
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 PyObject
* obj1
= 0 ;
14642 char * kwnames
[] = {
14643 (char *) "self",(char *) "col", NULL
14646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14648 if (!SWIG_IsOK(res1
)) {
14649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "1"" of type '" "wxGrid *""'");
14651 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14653 if (!SWIG_IsOK(ecode2
)) {
14654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "2"" of type '" "int""'");
14656 arg2
= static_cast< int >(val2
);
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 (arg1
)->SetColFormatNumber(arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= SWIG_Py_Void();
14670 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
= 0;
14672 wxGrid
*arg1
= (wxGrid
*) 0 ;
14674 int arg3
= (int) -1 ;
14675 int arg4
= (int) -1 ;
14684 PyObject
* obj0
= 0 ;
14685 PyObject
* obj1
= 0 ;
14686 PyObject
* obj2
= 0 ;
14687 PyObject
* obj3
= 0 ;
14688 char * kwnames
[] = {
14689 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
14692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14694 if (!SWIG_IsOK(res1
)) {
14695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "1"" of type '" "wxGrid *""'");
14697 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14699 if (!SWIG_IsOK(ecode2
)) {
14700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "2"" of type '" "int""'");
14702 arg2
= static_cast< int >(val2
);
14704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14705 if (!SWIG_IsOK(ecode3
)) {
14706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "3"" of type '" "int""'");
14708 arg3
= static_cast< int >(val3
);
14711 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14712 if (!SWIG_IsOK(ecode4
)) {
14713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "4"" of type '" "int""'");
14715 arg4
= static_cast< int >(val4
);
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= SWIG_Py_Void();
14730 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
= 0;
14732 wxGrid
*arg1
= (wxGrid
*) 0 ;
14734 wxString
*arg3
= 0 ;
14739 bool temp3
= false ;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 PyObject
* obj2
= 0 ;
14743 char * kwnames
[] = {
14744 (char *) "self",(char *) "col",(char *) "typeName", NULL
14747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14749 if (!SWIG_IsOK(res1
)) {
14750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "1"" of type '" "wxGrid *""'");
14752 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14754 if (!SWIG_IsOK(ecode2
)) {
14755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "2"" of type '" "int""'");
14757 arg2
= static_cast< int >(val2
);
14759 arg3
= wxString_in_helper(obj2
);
14760 if (arg3
== NULL
) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_Py_Void();
14784 SWIGINTERN PyObject
*_wrap_Grid_EnableGridLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
= 0;
14786 wxGrid
*arg1
= (wxGrid
*) 0 ;
14787 bool arg2
= (bool) true ;
14792 PyObject
* obj0
= 0 ;
14793 PyObject
* obj1
= 0 ;
14794 char * kwnames
[] = {
14795 (char *) "self",(char *) "enable", NULL
14798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14800 if (!SWIG_IsOK(res1
)) {
14801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableGridLines" "', expected argument " "1"" of type '" "wxGrid *""'");
14803 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14805 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14806 if (!SWIG_IsOK(ecode2
)) {
14807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableGridLines" "', expected argument " "2"" of type '" "bool""'");
14809 arg2
= static_cast< bool >(val2
);
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 (arg1
)->EnableGridLines(arg2
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 resultobj
= SWIG_Py_Void();
14824 SWIGINTERN PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14825 PyObject
*resultobj
= 0;
14826 wxGrid
*arg1
= (wxGrid
*) 0 ;
14830 PyObject
*swig_obj
[1] ;
14832 if (!args
) SWIG_fail
;
14833 swig_obj
[0] = args
;
14834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14835 if (!SWIG_IsOK(res1
)) {
14836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GridLinesEnabled" "', expected argument " "1"" of type '" "wxGrid *""'");
14838 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (bool)(arg1
)->GridLinesEnabled();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14854 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14855 PyObject
*resultobj
= 0;
14856 wxGrid
*arg1
= (wxGrid
*) 0 ;
14860 PyObject
*swig_obj
[1] ;
14862 if (!args
) SWIG_fail
;
14863 swig_obj
[0] = args
;
14864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14865 if (!SWIG_IsOK(res1
)) {
14866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14868 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (int)(arg1
)->GetDefaultRowSize();
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= SWIG_From_int(static_cast< int >(result
));
14882 SWIGINTERN PyObject
*_wrap_Grid_GetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
= 0;
14884 wxGrid
*arg1
= (wxGrid
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char * kwnames
[] = {
14894 (char *) "self",(char *) "row", NULL
14897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14902 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14904 if (!SWIG_IsOK(ecode2
)) {
14905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowSize" "', expected argument " "2"" of type '" "int""'");
14907 arg2
= static_cast< int >(val2
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (int)(arg1
)->GetRowSize(arg2
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_From_int(static_cast< int >(result
));
14921 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14922 PyObject
*resultobj
= 0;
14923 wxGrid
*arg1
= (wxGrid
*) 0 ;
14927 PyObject
*swig_obj
[1] ;
14929 if (!args
) SWIG_fail
;
14930 swig_obj
[0] = args
;
14931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14932 if (!SWIG_IsOK(res1
)) {
14933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14935 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (int)(arg1
)->GetDefaultColSize();
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= SWIG_From_int(static_cast< int >(result
));
14949 SWIGINTERN PyObject
*_wrap_Grid_GetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
= 0;
14951 wxGrid
*arg1
= (wxGrid
*) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 PyObject
* obj1
= 0 ;
14960 char * kwnames
[] = {
14961 (char *) "self",(char *) "col", NULL
14964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14966 if (!SWIG_IsOK(res1
)) {
14967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14969 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14971 if (!SWIG_IsOK(ecode2
)) {
14972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColSize" "', expected argument " "2"" of type '" "int""'");
14974 arg2
= static_cast< int >(val2
);
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 result
= (int)(arg1
)->GetColSize(arg2
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= SWIG_From_int(static_cast< int >(result
));
14988 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14989 PyObject
*resultobj
= 0;
14990 wxGrid
*arg1
= (wxGrid
*) 0 ;
14994 PyObject
*swig_obj
[1] ;
14996 if (!args
) SWIG_fail
;
14997 swig_obj
[0] = args
;
14998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14999 if (!SWIG_IsOK(res1
)) {
15000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15002 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (arg1
)->GetDefaultCellBackgroundColour();
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15016 SWIGINTERN PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
= 0;
15018 wxGrid
*arg1
= (wxGrid
*) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 PyObject
* obj2
= 0 ;
15031 char * kwnames
[] = {
15032 (char *) "self",(char *) "row",(char *) "col", NULL
15035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15037 if (!SWIG_IsOK(res1
)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15040 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15042 if (!SWIG_IsOK(ecode2
)) {
15043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
15045 arg2
= static_cast< int >(val2
);
15046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15047 if (!SWIG_IsOK(ecode3
)) {
15048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
15050 arg3
= static_cast< int >(val3
);
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15064 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15065 PyObject
*resultobj
= 0;
15066 wxGrid
*arg1
= (wxGrid
*) 0 ;
15070 PyObject
*swig_obj
[1] ;
15072 if (!args
) SWIG_fail
;
15073 swig_obj
[0] = args
;
15074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15075 if (!SWIG_IsOK(res1
)) {
15076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15078 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (arg1
)->GetDefaultCellTextColour();
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15092 SWIGINTERN PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
= 0;
15094 wxGrid
*arg1
= (wxGrid
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 PyObject
* obj2
= 0 ;
15107 char * kwnames
[] = {
15108 (char *) "self",(char *) "row",(char *) "col", NULL
15111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15113 if (!SWIG_IsOK(res1
)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15116 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15118 if (!SWIG_IsOK(ecode2
)) {
15119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellTextColour" "', expected argument " "2"" of type '" "int""'");
15121 arg2
= static_cast< int >(val2
);
15122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15123 if (!SWIG_IsOK(ecode3
)) {
15124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellTextColour" "', expected argument " "3"" of type '" "int""'");
15126 arg3
= static_cast< int >(val3
);
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15140 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15141 PyObject
*resultobj
= 0;
15142 wxGrid
*arg1
= (wxGrid
*) 0 ;
15146 PyObject
*swig_obj
[1] ;
15148 if (!args
) SWIG_fail
;
15149 swig_obj
[0] = args
;
15150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15151 if (!SWIG_IsOK(res1
)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15154 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (arg1
)->GetDefaultCellFont();
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15168 SWIGINTERN PyObject
*_wrap_Grid_GetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
= 0;
15170 wxGrid
*arg1
= (wxGrid
*) 0 ;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15182 PyObject
* obj2
= 0 ;
15183 char * kwnames
[] = {
15184 (char *) "self",(char *) "row",(char *) "col", NULL
15187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15189 if (!SWIG_IsOK(res1
)) {
15190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15192 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15194 if (!SWIG_IsOK(ecode2
)) {
15195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellFont" "', expected argument " "2"" of type '" "int""'");
15197 arg2
= static_cast< int >(val2
);
15198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15199 if (!SWIG_IsOK(ecode3
)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellFont" "', expected argument " "3"" of type '" "int""'");
15202 arg3
= static_cast< int >(val3
);
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (arg1
)->GetCellFont(arg2
,arg3
);
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15209 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15216 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15217 PyObject
*resultobj
= 0;
15218 wxGrid
*arg1
= (wxGrid
*) 0 ;
15219 int *arg2
= (int *) 0 ;
15220 int *arg3
= (int *) 0 ;
15224 int res2
= SWIG_TMPOBJ
;
15226 int res3
= SWIG_TMPOBJ
;
15227 PyObject
*swig_obj
[1] ;
15231 if (!args
) SWIG_fail
;
15232 swig_obj
[0] = args
;
15233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15234 if (!SWIG_IsOK(res1
)) {
15235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15237 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_Py_Void();
15245 if (SWIG_IsTmpObj(res2
)) {
15246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
15248 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
15251 if (SWIG_IsTmpObj(res3
)) {
15252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
15254 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
15263 SWIGINTERN PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
= 0;
15265 wxGrid
*arg1
= (wxGrid
*) 0 ;
15268 int *arg4
= (int *) 0 ;
15269 int *arg5
= (int *) 0 ;
15277 int res4
= SWIG_TMPOBJ
;
15279 int res5
= SWIG_TMPOBJ
;
15280 PyObject
* obj0
= 0 ;
15281 PyObject
* obj1
= 0 ;
15282 PyObject
* obj2
= 0 ;
15283 char * kwnames
[] = {
15284 (char *) "self",(char *) "row",(char *) "col", NULL
15289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15291 if (!SWIG_IsOK(res1
)) {
15292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15294 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15296 if (!SWIG_IsOK(ecode2
)) {
15297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellAlignment" "', expected argument " "2"" of type '" "int""'");
15299 arg2
= static_cast< int >(val2
);
15300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15301 if (!SWIG_IsOK(ecode3
)) {
15302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellAlignment" "', expected argument " "3"" of type '" "int""'");
15304 arg3
= static_cast< int >(val3
);
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_Py_Void();
15312 if (SWIG_IsTmpObj(res4
)) {
15313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15315 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15318 if (SWIG_IsTmpObj(res5
)) {
15319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15321 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15330 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15331 PyObject
*resultobj
= 0;
15332 wxGrid
*arg1
= (wxGrid
*) 0 ;
15336 PyObject
*swig_obj
[1] ;
15338 if (!args
) SWIG_fail
;
15339 swig_obj
[0] = args
;
15340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15341 if (!SWIG_IsOK(res1
)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15344 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (bool)(arg1
)->GetDefaultCellOverflow();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15360 SWIGINTERN PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
= 0;
15362 wxGrid
*arg1
= (wxGrid
*) 0 ;
15372 PyObject
* obj0
= 0 ;
15373 PyObject
* obj1
= 0 ;
15374 PyObject
* obj2
= 0 ;
15375 char * kwnames
[] = {
15376 (char *) "self",(char *) "row",(char *) "col", NULL
15379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15381 if (!SWIG_IsOK(res1
)) {
15382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15384 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15386 if (!SWIG_IsOK(ecode2
)) {
15387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellOverflow" "', expected argument " "2"" of type '" "int""'");
15389 arg2
= static_cast< int >(val2
);
15390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15391 if (!SWIG_IsOK(ecode3
)) {
15392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellOverflow" "', expected argument " "3"" of type '" "int""'");
15394 arg3
= static_cast< int >(val3
);
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15410 SWIGINTERN PyObject
*_wrap_Grid_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
= 0;
15412 wxGrid
*arg1
= (wxGrid
*) 0 ;
15415 int *arg4
= (int *) 0 ;
15416 int *arg5
= (int *) 0 ;
15424 int res4
= SWIG_TMPOBJ
;
15426 int res5
= SWIG_TMPOBJ
;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 PyObject
* obj2
= 0 ;
15430 char * kwnames
[] = {
15431 (char *) "self",(char *) "row",(char *) "col", NULL
15436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15438 if (!SWIG_IsOK(res1
)) {
15439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15441 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15443 if (!SWIG_IsOK(ecode2
)) {
15444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellSize" "', expected argument " "2"" of type '" "int""'");
15446 arg2
= static_cast< int >(val2
);
15447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15448 if (!SWIG_IsOK(ecode3
)) {
15449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellSize" "', expected argument " "3"" of type '" "int""'");
15451 arg3
= static_cast< int >(val3
);
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_Py_Void();
15459 if (SWIG_IsTmpObj(res4
)) {
15460 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15462 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15463 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15465 if (SWIG_IsTmpObj(res5
)) {
15466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15468 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15477 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
= 0;
15479 wxGrid
*arg1
= (wxGrid
*) 0 ;
15481 bool arg3
= (bool) false ;
15488 PyObject
* obj0
= 0 ;
15489 PyObject
* obj1
= 0 ;
15490 PyObject
* obj2
= 0 ;
15491 char * kwnames
[] = {
15492 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
15495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15497 if (!SWIG_IsOK(res1
)) {
15498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15500 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15502 if (!SWIG_IsOK(ecode2
)) {
15503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "2"" of type '" "int""'");
15505 arg2
= static_cast< int >(val2
);
15507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15508 if (!SWIG_IsOK(ecode3
)) {
15509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "3"" of type '" "bool""'");
15511 arg3
= static_cast< bool >(val3
);
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 resultobj
= SWIG_Py_Void();
15526 SWIGINTERN PyObject
*_wrap_Grid_SetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
= 0;
15528 wxGrid
*arg1
= (wxGrid
*) 0 ;
15537 PyObject
* obj0
= 0 ;
15538 PyObject
* obj1
= 0 ;
15539 PyObject
* obj2
= 0 ;
15540 char * kwnames
[] = {
15541 (char *) "self",(char *) "row",(char *) "height", NULL
15544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15546 if (!SWIG_IsOK(res1
)) {
15547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15549 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15551 if (!SWIG_IsOK(ecode2
)) {
15552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowSize" "', expected argument " "2"" of type '" "int""'");
15554 arg2
= static_cast< int >(val2
);
15555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15556 if (!SWIG_IsOK(ecode3
)) {
15557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowSize" "', expected argument " "3"" of type '" "int""'");
15559 arg3
= static_cast< int >(val3
);
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 (arg1
)->SetRowSize(arg2
,arg3
);
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= SWIG_Py_Void();
15573 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
= 0;
15575 wxGrid
*arg1
= (wxGrid
*) 0 ;
15577 bool arg3
= (bool) false ;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 PyObject
* obj2
= 0 ;
15587 char * kwnames
[] = {
15588 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
15591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",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_SetDefaultColSize" "', 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_SetDefaultColSize" "', expected argument " "2"" of type '" "int""'");
15601 arg2
= static_cast< int >(val2
);
15603 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15604 if (!SWIG_IsOK(ecode3
)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "3"" of type '" "bool""'");
15607 arg3
= static_cast< bool >(val3
);
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 (arg1
)->SetDefaultColSize(arg2
,arg3
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= SWIG_Py_Void();
15622 SWIGINTERN PyObject
*_wrap_Grid_SetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
= 0;
15624 wxGrid
*arg1
= (wxGrid
*) 0 ;
15633 PyObject
* obj0
= 0 ;
15634 PyObject
* obj1
= 0 ;
15635 PyObject
* obj2
= 0 ;
15636 char * kwnames
[] = {
15637 (char *) "self",(char *) "col",(char *) "width", NULL
15640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15642 if (!SWIG_IsOK(res1
)) {
15643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15645 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15647 if (!SWIG_IsOK(ecode2
)) {
15648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColSize" "', expected argument " "2"" of type '" "int""'");
15650 arg2
= static_cast< int >(val2
);
15651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15652 if (!SWIG_IsOK(ecode3
)) {
15653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColSize" "', expected argument " "3"" of type '" "int""'");
15655 arg3
= static_cast< int >(val3
);
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 (arg1
)->SetColSize(arg2
,arg3
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= SWIG_Py_Void();
15669 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
= 0;
15671 wxGrid
*arg1
= (wxGrid
*) 0 ;
15673 bool arg3
= (bool) true ;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 PyObject
* obj2
= 0 ;
15683 char * kwnames
[] = {
15684 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
15687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15689 if (!SWIG_IsOK(res1
)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "1"" of type '" "wxGrid *""'");
15692 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15694 if (!SWIG_IsOK(ecode2
)) {
15695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "2"" of type '" "int""'");
15697 arg2
= static_cast< int >(val2
);
15699 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15700 if (!SWIG_IsOK(ecode3
)) {
15701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "3"" of type '" "bool""'");
15703 arg3
= static_cast< bool >(val3
);
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 (arg1
)->AutoSizeColumn(arg2
,arg3
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_Py_Void();
15718 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
= 0;
15720 wxGrid
*arg1
= (wxGrid
*) 0 ;
15722 bool arg3
= (bool) true ;
15729 PyObject
* obj0
= 0 ;
15730 PyObject
* obj1
= 0 ;
15731 PyObject
* obj2
= 0 ;
15732 char * kwnames
[] = {
15733 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
15736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15738 if (!SWIG_IsOK(res1
)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRow" "', expected argument " "1"" of type '" "wxGrid *""'");
15741 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15743 if (!SWIG_IsOK(ecode2
)) {
15744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRow" "', expected argument " "2"" of type '" "int""'");
15746 arg2
= static_cast< int >(val2
);
15748 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15749 if (!SWIG_IsOK(ecode3
)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeRow" "', expected argument " "3"" of type '" "bool""'");
15752 arg3
= static_cast< bool >(val3
);
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 (arg1
)->AutoSizeRow(arg2
,arg3
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= SWIG_Py_Void();
15767 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
= 0;
15769 wxGrid
*arg1
= (wxGrid
*) 0 ;
15770 bool arg2
= (bool) true ;
15775 PyObject
* obj0
= 0 ;
15776 PyObject
* obj1
= 0 ;
15777 char * kwnames
[] = {
15778 (char *) "self",(char *) "setAsMin", NULL
15781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15783 if (!SWIG_IsOK(res1
)) {
15784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "1"" of type '" "wxGrid *""'");
15786 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15788 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15789 if (!SWIG_IsOK(ecode2
)) {
15790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "2"" of type '" "bool""'");
15792 arg2
= static_cast< bool >(val2
);
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 (arg1
)->AutoSizeColumns(arg2
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= SWIG_Py_Void();
15807 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
= 0;
15809 wxGrid
*arg1
= (wxGrid
*) 0 ;
15810 bool arg2
= (bool) true ;
15815 PyObject
* obj0
= 0 ;
15816 PyObject
* obj1
= 0 ;
15817 char * kwnames
[] = {
15818 (char *) "self",(char *) "setAsMin", NULL
15821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15823 if (!SWIG_IsOK(res1
)) {
15824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRows" "', expected argument " "1"" of type '" "wxGrid *""'");
15826 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15828 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15829 if (!SWIG_IsOK(ecode2
)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRows" "', expected argument " "2"" of type '" "bool""'");
15832 arg2
= static_cast< bool >(val2
);
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 (arg1
)->AutoSizeRows(arg2
);
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= SWIG_Py_Void();
15847 SWIGINTERN PyObject
*_wrap_Grid_AutoSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15848 PyObject
*resultobj
= 0;
15849 wxGrid
*arg1
= (wxGrid
*) 0 ;
15852 PyObject
*swig_obj
[1] ;
15854 if (!args
) SWIG_fail
;
15855 swig_obj
[0] = args
;
15856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15857 if (!SWIG_IsOK(res1
)) {
15858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15860 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 (arg1
)->AutoSize();
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= SWIG_Py_Void();
15874 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
= 0;
15876 wxGrid
*arg1
= (wxGrid
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char * kwnames
[] = {
15885 (char *) "self",(char *) "row", NULL
15888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15893 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15895 if (!SWIG_IsOK(ecode2
)) {
15896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "2"" of type '" "int""'");
15898 arg2
= static_cast< int >(val2
);
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 (arg1
)->AutoSizeRowLabelSize(arg2
);
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= SWIG_Py_Void();
15912 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
= 0;
15914 wxGrid
*arg1
= (wxGrid
*) 0 ;
15920 PyObject
* obj0
= 0 ;
15921 PyObject
* obj1
= 0 ;
15922 char * kwnames
[] = {
15923 (char *) "self",(char *) "col", NULL
15926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15928 if (!SWIG_IsOK(res1
)) {
15929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15931 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15933 if (!SWIG_IsOK(ecode2
)) {
15934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "2"" of type '" "int""'");
15936 arg2
= static_cast< int >(val2
);
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 (arg1
)->AutoSizeColLabelSize(arg2
);
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= SWIG_Py_Void();
15950 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
= 0;
15952 wxGrid
*arg1
= (wxGrid
*) 0 ;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 PyObject
* obj2
= 0 ;
15964 char * kwnames
[] = {
15965 (char *) "self",(char *) "col",(char *) "width", NULL
15968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15970 if (!SWIG_IsOK(res1
)) {
15971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
15973 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15975 if (!SWIG_IsOK(ecode2
)) {
15976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "2"" of type '" "int""'");
15978 arg2
= static_cast< int >(val2
);
15979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15980 if (!SWIG_IsOK(ecode3
)) {
15981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "3"" of type '" "int""'");
15983 arg3
= static_cast< int >(val3
);
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_Py_Void();
15997 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
= 0;
15999 wxGrid
*arg1
= (wxGrid
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 PyObject
* obj2
= 0 ;
16011 char * kwnames
[] = {
16012 (char *) "self",(char *) "row",(char *) "width", NULL
16015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16017 if (!SWIG_IsOK(res1
)) {
16018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16020 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16022 if (!SWIG_IsOK(ecode2
)) {
16023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "2"" of type '" "int""'");
16025 arg2
= static_cast< int >(val2
);
16026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16027 if (!SWIG_IsOK(ecode3
)) {
16028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "3"" of type '" "int""'");
16030 arg3
= static_cast< int >(val3
);
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= SWIG_Py_Void();
16044 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
= 0;
16046 wxGrid
*arg1
= (wxGrid
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 char * kwnames
[] = {
16055 (char *) "self",(char *) "width", NULL
16058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16060 if (!SWIG_IsOK(res1
)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
16063 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16065 if (!SWIG_IsOK(ecode2
)) {
16066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "2"" of type '" "int""'");
16068 arg2
= static_cast< int >(val2
);
16070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= SWIG_Py_Void();
16082 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
= 0;
16084 wxGrid
*arg1
= (wxGrid
*) 0 ;
16090 PyObject
* obj0
= 0 ;
16091 PyObject
* obj1
= 0 ;
16092 char * kwnames
[] = {
16093 (char *) "self",(char *) "width", NULL
16096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16098 if (!SWIG_IsOK(res1
)) {
16099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16101 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16103 if (!SWIG_IsOK(ecode2
)) {
16104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "2"" of type '" "int""'");
16106 arg2
= static_cast< int >(val2
);
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= SWIG_Py_Void();
16120 SWIGINTERN PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16121 PyObject
*resultobj
= 0;
16122 wxGrid
*arg1
= (wxGrid
*) 0 ;
16126 PyObject
*swig_obj
[1] ;
16128 if (!args
) SWIG_fail
;
16129 swig_obj
[0] = args
;
16130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16131 if (!SWIG_IsOK(res1
)) {
16132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid const *""'");
16134 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= SWIG_From_int(static_cast< int >(result
));
16148 SWIGINTERN PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16149 PyObject
*resultobj
= 0;
16150 wxGrid
*arg1
= (wxGrid
*) 0 ;
16154 PyObject
*swig_obj
[1] ;
16156 if (!args
) SWIG_fail
;
16157 swig_obj
[0] = args
;
16158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16159 if (!SWIG_IsOK(res1
)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid const *""'");
16162 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= SWIG_From_int(static_cast< int >(result
));
16176 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
= 0;
16178 wxGrid
*arg1
= (wxGrid
*) 0 ;
16179 wxColour
*arg2
= 0 ;
16183 PyObject
* obj0
= 0 ;
16184 PyObject
* obj1
= 0 ;
16185 char * kwnames
[] = {
16186 (char *) "self",(char *)"arg2", NULL
16189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16191 if (!SWIG_IsOK(res1
)) {
16192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16194 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16197 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= SWIG_Py_Void();
16212 SWIGINTERN PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
= 0;
16214 wxGrid
*arg1
= (wxGrid
*) 0 ;
16217 wxColour
*arg4
= 0 ;
16225 PyObject
* obj0
= 0 ;
16226 PyObject
* obj1
= 0 ;
16227 PyObject
* obj2
= 0 ;
16228 PyObject
* obj3
= 0 ;
16229 char * kwnames
[] = {
16230 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16235 if (!SWIG_IsOK(res1
)) {
16236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16238 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16240 if (!SWIG_IsOK(ecode2
)) {
16241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
16243 arg2
= static_cast< int >(val2
);
16244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16245 if (!SWIG_IsOK(ecode3
)) {
16246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
16248 arg3
= static_cast< int >(val3
);
16251 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= SWIG_Py_Void();
16266 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
= 0;
16268 wxGrid
*arg1
= (wxGrid
*) 0 ;
16269 wxColour
*arg2
= 0 ;
16273 PyObject
* obj0
= 0 ;
16274 PyObject
* obj1
= 0 ;
16275 char * kwnames
[] = {
16276 (char *) "self",(char *)"arg2", NULL
16279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16281 if (!SWIG_IsOK(res1
)) {
16282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16284 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16287 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 resultobj
= SWIG_Py_Void();
16302 SWIGINTERN PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
= 0;
16304 wxGrid
*arg1
= (wxGrid
*) 0 ;
16307 wxColour
*arg4
= 0 ;
16315 PyObject
* obj0
= 0 ;
16316 PyObject
* obj1
= 0 ;
16317 PyObject
* obj2
= 0 ;
16318 PyObject
* obj3
= 0 ;
16319 char * kwnames
[] = {
16320 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16325 if (!SWIG_IsOK(res1
)) {
16326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16328 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16330 if (!SWIG_IsOK(ecode2
)) {
16331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellTextColour" "', expected argument " "2"" of type '" "int""'");
16333 arg2
= static_cast< int >(val2
);
16334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16335 if (!SWIG_IsOK(ecode3
)) {
16336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellTextColour" "', expected argument " "3"" of type '" "int""'");
16338 arg3
= static_cast< int >(val3
);
16341 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= SWIG_Py_Void();
16356 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
= 0;
16358 wxGrid
*arg1
= (wxGrid
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 PyObject
* obj1
= 0 ;
16366 char * kwnames
[] = {
16367 (char *) "self",(char *)"arg2", NULL
16370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16372 if (!SWIG_IsOK(res1
)) {
16373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16375 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
16377 if (!SWIG_IsOK(res2
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16383 arg2
= reinterpret_cast< wxFont
* >(argp2
);
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= SWIG_Py_Void();
16397 SWIGINTERN PyObject
*_wrap_Grid_SetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
= 0;
16399 wxGrid
*arg1
= (wxGrid
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 PyObject
* obj2
= 0 ;
16414 PyObject
* obj3
= 0 ;
16415 char * kwnames
[] = {
16416 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16421 if (!SWIG_IsOK(res1
)) {
16422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16424 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16426 if (!SWIG_IsOK(ecode2
)) {
16427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellFont" "', expected argument " "2"" of type '" "int""'");
16429 arg2
= static_cast< int >(val2
);
16430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16431 if (!SWIG_IsOK(ecode3
)) {
16432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellFont" "', expected argument " "3"" of type '" "int""'");
16434 arg3
= static_cast< int >(val3
);
16435 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
16436 if (!SWIG_IsOK(res4
)) {
16437 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16442 arg4
= reinterpret_cast< wxFont
* >(argp4
);
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= SWIG_Py_Void();
16456 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
= 0;
16458 wxGrid
*arg1
= (wxGrid
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 PyObject
* obj1
= 0 ;
16469 PyObject
* obj2
= 0 ;
16470 char * kwnames
[] = {
16471 (char *) "self",(char *) "horiz",(char *) "vert", NULL
16474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16476 if (!SWIG_IsOK(res1
)) {
16477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16479 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16481 if (!SWIG_IsOK(ecode2
)) {
16482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "2"" of type '" "int""'");
16484 arg2
= static_cast< int >(val2
);
16485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16486 if (!SWIG_IsOK(ecode3
)) {
16487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "3"" of type '" "int""'");
16489 arg3
= static_cast< int >(val3
);
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_Py_Void();
16503 SWIGINTERN PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
= 0;
16505 wxGrid
*arg1
= (wxGrid
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 PyObject
* obj2
= 0 ;
16523 PyObject
* obj3
= 0 ;
16524 PyObject
* obj4
= 0 ;
16525 char * kwnames
[] = {
16526 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
16529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16531 if (!SWIG_IsOK(res1
)) {
16532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16534 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16536 if (!SWIG_IsOK(ecode2
)) {
16537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellAlignment" "', expected argument " "2"" of type '" "int""'");
16539 arg2
= static_cast< int >(val2
);
16540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16541 if (!SWIG_IsOK(ecode3
)) {
16542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellAlignment" "', expected argument " "3"" of type '" "int""'");
16544 arg3
= static_cast< int >(val3
);
16545 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16546 if (!SWIG_IsOK(ecode4
)) {
16547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellAlignment" "', expected argument " "4"" of type '" "int""'");
16549 arg4
= static_cast< int >(val4
);
16550 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16551 if (!SWIG_IsOK(ecode5
)) {
16552 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellAlignment" "', expected argument " "5"" of type '" "int""'");
16554 arg5
= static_cast< int >(val5
);
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= SWIG_Py_Void();
16568 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
= 0;
16570 wxGrid
*arg1
= (wxGrid
*) 0 ;
16576 PyObject
* obj0
= 0 ;
16577 PyObject
* obj1
= 0 ;
16578 char * kwnames
[] = {
16579 (char *) "self",(char *) "allow", NULL
16582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16584 if (!SWIG_IsOK(res1
)) {
16585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16587 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16588 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16589 if (!SWIG_IsOK(ecode2
)) {
16590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "2"" of type '" "bool""'");
16592 arg2
= static_cast< bool >(val2
);
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16595 (arg1
)->SetDefaultCellOverflow(arg2
);
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= SWIG_Py_Void();
16606 SWIGINTERN PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
= 0;
16608 wxGrid
*arg1
= (wxGrid
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 PyObject
* obj2
= 0 ;
16623 PyObject
* obj3
= 0 ;
16624 char * kwnames
[] = {
16625 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
16628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16630 if (!SWIG_IsOK(res1
)) {
16631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16633 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16635 if (!SWIG_IsOK(ecode2
)) {
16636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellOverflow" "', expected argument " "2"" of type '" "int""'");
16638 arg2
= static_cast< int >(val2
);
16639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16640 if (!SWIG_IsOK(ecode3
)) {
16641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellOverflow" "', expected argument " "3"" of type '" "int""'");
16643 arg3
= static_cast< int >(val3
);
16644 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16645 if (!SWIG_IsOK(ecode4
)) {
16646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellOverflow" "', expected argument " "4"" of type '" "bool""'");
16648 arg4
= static_cast< bool >(val4
);
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= SWIG_Py_Void();
16662 SWIGINTERN PyObject
*_wrap_Grid_SetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
= 0;
16664 wxGrid
*arg1
= (wxGrid
*) 0 ;
16679 PyObject
* obj0
= 0 ;
16680 PyObject
* obj1
= 0 ;
16681 PyObject
* obj2
= 0 ;
16682 PyObject
* obj3
= 0 ;
16683 PyObject
* obj4
= 0 ;
16684 char * kwnames
[] = {
16685 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
16688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16690 if (!SWIG_IsOK(res1
)) {
16691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16693 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16695 if (!SWIG_IsOK(ecode2
)) {
16696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellSize" "', expected argument " "2"" of type '" "int""'");
16698 arg2
= static_cast< int >(val2
);
16699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16700 if (!SWIG_IsOK(ecode3
)) {
16701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellSize" "', expected argument " "3"" of type '" "int""'");
16703 arg3
= static_cast< int >(val3
);
16704 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16705 if (!SWIG_IsOK(ecode4
)) {
16706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellSize" "', expected argument " "4"" of type '" "int""'");
16708 arg4
= static_cast< int >(val4
);
16709 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16710 if (!SWIG_IsOK(ecode5
)) {
16711 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellSize" "', expected argument " "5"" of type '" "int""'");
16713 arg5
= static_cast< int >(val5
);
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= SWIG_Py_Void();
16727 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
= 0;
16729 wxGrid
*arg1
= (wxGrid
*) 0 ;
16730 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 char * kwnames
[] = {
16738 (char *) "self",(char *) "renderer", NULL
16741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16743 if (!SWIG_IsOK(res1
)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
16746 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
16748 if (!SWIG_IsOK(res2
)) {
16749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
16751 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 (arg1
)->SetDefaultRenderer(arg2
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= SWIG_Py_Void();
16765 SWIGINTERN PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
= 0;
16767 wxGrid
*arg1
= (wxGrid
*) 0 ;
16770 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
16779 PyObject
* obj0
= 0 ;
16780 PyObject
* obj1
= 0 ;
16781 PyObject
* obj2
= 0 ;
16782 PyObject
* obj3
= 0 ;
16783 char * kwnames
[] = {
16784 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
16787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16789 if (!SWIG_IsOK(res1
)) {
16790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
16792 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16794 if (!SWIG_IsOK(ecode2
)) {
16795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellRenderer" "', expected argument " "2"" of type '" "int""'");
16797 arg2
= static_cast< int >(val2
);
16798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16799 if (!SWIG_IsOK(ecode3
)) {
16800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellRenderer" "', expected argument " "3"" of type '" "int""'");
16802 arg3
= static_cast< int >(val3
);
16803 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
16804 if (!SWIG_IsOK(res4
)) {
16805 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellRenderer" "', expected argument " "4"" of type '" "wxGridCellRenderer *""'");
16807 arg4
= reinterpret_cast< wxGridCellRenderer
* >(argp4
);
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16814 resultobj
= SWIG_Py_Void();
16821 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16822 PyObject
*resultobj
= 0;
16823 wxGrid
*arg1
= (wxGrid
*) 0 ;
16824 wxGridCellRenderer
*result
= 0 ;
16827 PyObject
*swig_obj
[1] ;
16829 if (!args
) SWIG_fail
;
16830 swig_obj
[0] = args
;
16831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16832 if (!SWIG_IsOK(res1
)) {
16833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid const *""'");
16835 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16851 SWIGINTERN PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
= 0;
16853 wxGrid
*arg1
= (wxGrid
*) 0 ;
16856 wxGridCellRenderer
*result
= 0 ;
16863 PyObject
* obj0
= 0 ;
16864 PyObject
* obj1
= 0 ;
16865 PyObject
* obj2
= 0 ;
16866 char * kwnames
[] = {
16867 (char *) "self",(char *) "row",(char *) "col", NULL
16870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16872 if (!SWIG_IsOK(res1
)) {
16873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
16875 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16877 if (!SWIG_IsOK(ecode2
)) {
16878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellRenderer" "', expected argument " "2"" of type '" "int""'");
16880 arg2
= static_cast< int >(val2
);
16881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16882 if (!SWIG_IsOK(ecode3
)) {
16883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellRenderer" "', expected argument " "3"" of type '" "int""'");
16885 arg3
= static_cast< int >(val3
);
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16901 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
= 0;
16903 wxGrid
*arg1
= (wxGrid
*) 0 ;
16904 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 char * kwnames
[] = {
16912 (char *) "self",(char *) "editor", NULL
16915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16917 if (!SWIG_IsOK(res1
)) {
16918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
16920 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
16922 if (!SWIG_IsOK(res2
)) {
16923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
16925 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 (arg1
)->SetDefaultEditor(arg2
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= SWIG_Py_Void();
16939 SWIGINTERN PyObject
*_wrap_Grid_SetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
= 0;
16941 wxGrid
*arg1
= (wxGrid
*) 0 ;
16944 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 PyObject
* obj2
= 0 ;
16956 PyObject
* obj3
= 0 ;
16957 char * kwnames
[] = {
16958 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
16961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16963 if (!SWIG_IsOK(res1
)) {
16964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
16966 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16968 if (!SWIG_IsOK(ecode2
)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellEditor" "', expected argument " "2"" of type '" "int""'");
16971 arg2
= static_cast< int >(val2
);
16972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16973 if (!SWIG_IsOK(ecode3
)) {
16974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellEditor" "', expected argument " "3"" of type '" "int""'");
16976 arg3
= static_cast< int >(val3
);
16977 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
16978 if (!SWIG_IsOK(res4
)) {
16979 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellEditor" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
16981 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= SWIG_Py_Void();
16995 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16996 PyObject
*resultobj
= 0;
16997 wxGrid
*arg1
= (wxGrid
*) 0 ;
16998 wxGridCellEditor
*result
= 0 ;
17001 PyObject
*swig_obj
[1] ;
17003 if (!args
) SWIG_fail
;
17004 swig_obj
[0] = args
;
17005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17006 if (!SWIG_IsOK(res1
)) {
17007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid const *""'");
17009 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17025 SWIGINTERN PyObject
*_wrap_Grid_GetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
= 0;
17027 wxGrid
*arg1
= (wxGrid
*) 0 ;
17030 wxGridCellEditor
*result
= 0 ;
17037 PyObject
* obj0
= 0 ;
17038 PyObject
* obj1
= 0 ;
17039 PyObject
* obj2
= 0 ;
17040 char * kwnames
[] = {
17041 (char *) "self",(char *) "row",(char *) "col", NULL
17044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17046 if (!SWIG_IsOK(res1
)) {
17047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17049 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17051 if (!SWIG_IsOK(ecode2
)) {
17052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellEditor" "', expected argument " "2"" of type '" "int""'");
17054 arg2
= static_cast< int >(val2
);
17055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17056 if (!SWIG_IsOK(ecode3
)) {
17057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellEditor" "', expected argument " "3"" of type '" "int""'");
17059 arg3
= static_cast< int >(val3
);
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17075 SWIGINTERN PyObject
*_wrap_Grid_GetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
= 0;
17077 wxGrid
*arg1
= (wxGrid
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 PyObject
* obj1
= 0 ;
17089 PyObject
* obj2
= 0 ;
17090 char * kwnames
[] = {
17091 (char *) "self",(char *) "row",(char *) "col", NULL
17094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17096 if (!SWIG_IsOK(res1
)) {
17097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17099 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17101 if (!SWIG_IsOK(ecode2
)) {
17102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellValue" "', expected argument " "2"" of type '" "int""'");
17104 arg2
= static_cast< int >(val2
);
17105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17106 if (!SWIG_IsOK(ecode3
)) {
17107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellValue" "', expected argument " "3"" of type '" "int""'");
17109 arg3
= static_cast< int >(val3
);
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (arg1
)->GetCellValue(arg2
,arg3
);
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17129 SWIGINTERN PyObject
*_wrap_Grid_SetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
= 0;
17131 wxGrid
*arg1
= (wxGrid
*) 0 ;
17134 wxString
*arg4
= 0 ;
17141 bool temp4
= false ;
17142 PyObject
* obj0
= 0 ;
17143 PyObject
* obj1
= 0 ;
17144 PyObject
* obj2
= 0 ;
17145 PyObject
* obj3
= 0 ;
17146 char * kwnames
[] = {
17147 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
17150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17152 if (!SWIG_IsOK(res1
)) {
17153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17155 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17157 if (!SWIG_IsOK(ecode2
)) {
17158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellValue" "', expected argument " "2"" of type '" "int""'");
17160 arg2
= static_cast< int >(val2
);
17161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17162 if (!SWIG_IsOK(ecode3
)) {
17163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellValue" "', expected argument " "3"" of type '" "int""'");
17165 arg3
= static_cast< int >(val3
);
17167 arg4
= wxString_in_helper(obj3
);
17168 if (arg4
== NULL
) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_Py_Void();
17192 SWIGINTERN PyObject
*_wrap_Grid_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
= 0;
17194 wxGrid
*arg1
= (wxGrid
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 PyObject
* obj1
= 0 ;
17206 PyObject
* obj2
= 0 ;
17207 char * kwnames
[] = {
17208 (char *) "self",(char *) "row",(char *) "col", NULL
17211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17213 if (!SWIG_IsOK(res1
)) {
17214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
17216 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17218 if (!SWIG_IsOK(ecode2
)) {
17219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsReadOnly" "', expected argument " "2"" of type '" "int""'");
17221 arg2
= static_cast< int >(val2
);
17222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17223 if (!SWIG_IsOK(ecode3
)) {
17224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsReadOnly" "', expected argument " "3"" of type '" "int""'");
17226 arg3
= static_cast< int >(val3
);
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17242 SWIGINTERN PyObject
*_wrap_Grid_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
= 0;
17244 wxGrid
*arg1
= (wxGrid
*) 0 ;
17247 bool arg4
= (bool) true ;
17256 PyObject
* obj0
= 0 ;
17257 PyObject
* obj1
= 0 ;
17258 PyObject
* obj2
= 0 ;
17259 PyObject
* obj3
= 0 ;
17260 char * kwnames
[] = {
17261 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
17264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17266 if (!SWIG_IsOK(res1
)) {
17267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetReadOnly" "', expected argument " "1"" of type '" "wxGrid *""'");
17269 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17271 if (!SWIG_IsOK(ecode2
)) {
17272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetReadOnly" "', expected argument " "2"" of type '" "int""'");
17274 arg2
= static_cast< int >(val2
);
17275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17276 if (!SWIG_IsOK(ecode3
)) {
17277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetReadOnly" "', expected argument " "3"" of type '" "int""'");
17279 arg3
= static_cast< int >(val3
);
17281 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17282 if (!SWIG_IsOK(ecode4
)) {
17283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetReadOnly" "', expected argument " "4"" of type '" "bool""'");
17285 arg4
= static_cast< bool >(val4
);
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= SWIG_Py_Void();
17300 SWIGINTERN PyObject
*_wrap_Grid_SelectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
= 0;
17302 wxGrid
*arg1
= (wxGrid
*) 0 ;
17304 bool arg3
= (bool) false ;
17311 PyObject
* obj0
= 0 ;
17312 PyObject
* obj1
= 0 ;
17313 PyObject
* obj2
= 0 ;
17314 char * kwnames
[] = {
17315 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
17318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17320 if (!SWIG_IsOK(res1
)) {
17321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectRow" "', expected argument " "1"" of type '" "wxGrid *""'");
17323 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17325 if (!SWIG_IsOK(ecode2
)) {
17326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectRow" "', expected argument " "2"" of type '" "int""'");
17328 arg2
= static_cast< int >(val2
);
17330 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17331 if (!SWIG_IsOK(ecode3
)) {
17332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectRow" "', expected argument " "3"" of type '" "bool""'");
17334 arg3
= static_cast< bool >(val3
);
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 (arg1
)->SelectRow(arg2
,arg3
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= SWIG_Py_Void();
17349 SWIGINTERN PyObject
*_wrap_Grid_SelectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
= 0;
17351 wxGrid
*arg1
= (wxGrid
*) 0 ;
17353 bool arg3
= (bool) false ;
17360 PyObject
* obj0
= 0 ;
17361 PyObject
* obj1
= 0 ;
17362 PyObject
* obj2
= 0 ;
17363 char * kwnames
[] = {
17364 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
17367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17369 if (!SWIG_IsOK(res1
)) {
17370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
17372 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17374 if (!SWIG_IsOK(ecode2
)) {
17375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectCol" "', expected argument " "2"" of type '" "int""'");
17377 arg2
= static_cast< int >(val2
);
17379 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17380 if (!SWIG_IsOK(ecode3
)) {
17381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectCol" "', expected argument " "3"" of type '" "bool""'");
17383 arg3
= static_cast< bool >(val3
);
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 (arg1
)->SelectCol(arg2
,arg3
);
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= SWIG_Py_Void();
17398 SWIGINTERN PyObject
*_wrap_Grid_SelectBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
= 0;
17400 wxGrid
*arg1
= (wxGrid
*) 0 ;
17405 bool arg6
= (bool) false ;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 PyObject
* obj2
= 0 ;
17421 PyObject
* obj3
= 0 ;
17422 PyObject
* obj4
= 0 ;
17423 PyObject
* obj5
= 0 ;
17424 char * kwnames
[] = {
17425 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
17428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17430 if (!SWIG_IsOK(res1
)) {
17431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
17433 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17435 if (!SWIG_IsOK(ecode2
)) {
17436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectBlock" "', expected argument " "2"" of type '" "int""'");
17438 arg2
= static_cast< int >(val2
);
17439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17440 if (!SWIG_IsOK(ecode3
)) {
17441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectBlock" "', expected argument " "3"" of type '" "int""'");
17443 arg3
= static_cast< int >(val3
);
17444 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17445 if (!SWIG_IsOK(ecode4
)) {
17446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SelectBlock" "', expected argument " "4"" of type '" "int""'");
17448 arg4
= static_cast< int >(val4
);
17449 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17450 if (!SWIG_IsOK(ecode5
)) {
17451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SelectBlock" "', expected argument " "5"" of type '" "int""'");
17453 arg5
= static_cast< int >(val5
);
17455 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
17456 if (!SWIG_IsOK(ecode6
)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_SelectBlock" "', expected argument " "6"" of type '" "bool""'");
17459 arg6
= static_cast< bool >(val6
);
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= SWIG_Py_Void();
17474 SWIGINTERN PyObject
*_wrap_Grid_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17475 PyObject
*resultobj
= 0;
17476 wxGrid
*arg1
= (wxGrid
*) 0 ;
17479 PyObject
*swig_obj
[1] ;
17481 if (!args
) SWIG_fail
;
17482 swig_obj
[0] = args
;
17483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17484 if (!SWIG_IsOK(res1
)) {
17485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectAll" "', expected argument " "1"" of type '" "wxGrid *""'");
17487 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 (arg1
)->SelectAll();
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= SWIG_Py_Void();
17501 SWIGINTERN PyObject
*_wrap_Grid_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17502 PyObject
*resultobj
= 0;
17503 wxGrid
*arg1
= (wxGrid
*) 0 ;
17507 PyObject
*swig_obj
[1] ;
17509 if (!args
) SWIG_fail
;
17510 swig_obj
[0] = args
;
17511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17512 if (!SWIG_IsOK(res1
)) {
17513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17515 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= (bool)(arg1
)->IsSelection();
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17531 SWIGINTERN PyObject
*_wrap_Grid_ClearSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17532 PyObject
*resultobj
= 0;
17533 wxGrid
*arg1
= (wxGrid
*) 0 ;
17536 PyObject
*swig_obj
[1] ;
17538 if (!args
) SWIG_fail
;
17539 swig_obj
[0] = args
;
17540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17541 if (!SWIG_IsOK(res1
)) {
17542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17544 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 (arg1
)->ClearSelection();
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 resultobj
= SWIG_Py_Void();
17558 SWIGINTERN PyObject
*_wrap_Grid_IsInSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
= 0;
17560 wxGrid
*arg1
= (wxGrid
*) 0 ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 PyObject
* obj2
= 0 ;
17573 char * kwnames
[] = {
17574 (char *) "self",(char *) "row",(char *) "col", NULL
17577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17579 if (!SWIG_IsOK(res1
)) {
17580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsInSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17582 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17584 if (!SWIG_IsOK(ecode2
)) {
17585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsInSelection" "', expected argument " "2"" of type '" "int""'");
17587 arg2
= static_cast< int >(val2
);
17588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17589 if (!SWIG_IsOK(ecode3
)) {
17590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsInSelection" "', expected argument " "3"" of type '" "int""'");
17592 arg3
= static_cast< int >(val3
);
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17608 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17609 PyObject
*resultobj
= 0;
17610 wxGrid
*arg1
= (wxGrid
*) 0 ;
17611 wxGridCellCoordsArray result
;
17614 PyObject
*swig_obj
[1] ;
17616 if (!args
) SWIG_fail
;
17617 swig_obj
[0] = args
;
17618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17619 if (!SWIG_IsOK(res1
)) {
17620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCells" "', expected argument " "1"" of type '" "wxGrid const *""'");
17622 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= wxGridCellCoordsArray_helper(result
);
17638 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17639 PyObject
*resultobj
= 0;
17640 wxGrid
*arg1
= (wxGrid
*) 0 ;
17641 wxGridCellCoordsArray result
;
17644 PyObject
*swig_obj
[1] ;
17646 if (!args
) SWIG_fail
;
17647 swig_obj
[0] = args
;
17648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17649 if (!SWIG_IsOK(res1
)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockTopLeft" "', expected argument " "1"" of type '" "wxGrid const *""'");
17652 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= wxGridCellCoordsArray_helper(result
);
17668 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17669 PyObject
*resultobj
= 0;
17670 wxGrid
*arg1
= (wxGrid
*) 0 ;
17671 wxGridCellCoordsArray result
;
17674 PyObject
*swig_obj
[1] ;
17676 if (!args
) SWIG_fail
;
17677 swig_obj
[0] = args
;
17678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17679 if (!SWIG_IsOK(res1
)) {
17680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockBottomRight" "', expected argument " "1"" of type '" "wxGrid const *""'");
17682 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= wxGridCellCoordsArray_helper(result
);
17698 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17699 PyObject
*resultobj
= 0;
17700 wxGrid
*arg1
= (wxGrid
*) 0 ;
17704 PyObject
*swig_obj
[1] ;
17706 if (!args
) SWIG_fail
;
17707 swig_obj
[0] = args
;
17708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17709 if (!SWIG_IsOK(res1
)) {
17710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedRows" "', expected argument " "1"" of type '" "wxGrid const *""'");
17712 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= PyList_New(0);
17722 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
17723 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
17724 PyList_Append(resultobj
, val
);
17734 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17735 PyObject
*resultobj
= 0;
17736 wxGrid
*arg1
= (wxGrid
*) 0 ;
17740 PyObject
*swig_obj
[1] ;
17742 if (!args
) SWIG_fail
;
17743 swig_obj
[0] = args
;
17744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17745 if (!SWIG_IsOK(res1
)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCols" "', expected argument " "1"" of type '" "wxGrid const *""'");
17748 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= PyList_New(0);
17758 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
17759 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
17760 PyList_Append(resultobj
, val
);
17770 SWIGINTERN PyObject
*_wrap_Grid_DeselectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
= 0;
17772 wxGrid
*arg1
= (wxGrid
*) 0 ;
17778 PyObject
* obj0
= 0 ;
17779 PyObject
* obj1
= 0 ;
17780 char * kwnames
[] = {
17781 (char *) "self",(char *) "row", NULL
17784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17786 if (!SWIG_IsOK(res1
)) {
17787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectRow" "', expected argument " "1"" of type '" "wxGrid *""'");
17789 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17791 if (!SWIG_IsOK(ecode2
)) {
17792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectRow" "', expected argument " "2"" of type '" "int""'");
17794 arg2
= static_cast< int >(val2
);
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 (arg1
)->DeselectRow(arg2
);
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 resultobj
= SWIG_Py_Void();
17808 SWIGINTERN PyObject
*_wrap_Grid_DeselectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
= 0;
17810 wxGrid
*arg1
= (wxGrid
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 PyObject
* obj1
= 0 ;
17818 char * kwnames
[] = {
17819 (char *) "self",(char *) "col", NULL
17822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17824 if (!SWIG_IsOK(res1
)) {
17825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
17827 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17829 if (!SWIG_IsOK(ecode2
)) {
17830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCol" "', expected argument " "2"" of type '" "int""'");
17832 arg2
= static_cast< int >(val2
);
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 (arg1
)->DeselectCol(arg2
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= SWIG_Py_Void();
17846 SWIGINTERN PyObject
*_wrap_Grid_DeselectCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
= 0;
17848 wxGrid
*arg1
= (wxGrid
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 PyObject
* obj2
= 0 ;
17860 char * kwnames
[] = {
17861 (char *) "self",(char *) "row",(char *) "col", NULL
17864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17866 if (!SWIG_IsOK(res1
)) {
17867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCell" "', expected argument " "1"" of type '" "wxGrid *""'");
17869 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17871 if (!SWIG_IsOK(ecode2
)) {
17872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCell" "', expected argument " "2"" of type '" "int""'");
17874 arg2
= static_cast< int >(val2
);
17875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17876 if (!SWIG_IsOK(ecode3
)) {
17877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeselectCell" "', expected argument " "3"" of type '" "int""'");
17879 arg3
= static_cast< int >(val3
);
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 (arg1
)->DeselectCell(arg2
,arg3
);
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= SWIG_Py_Void();
17893 SWIGINTERN PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
= 0;
17895 wxGrid
*arg1
= (wxGrid
*) 0 ;
17896 wxGridCellCoords
*arg2
= 0 ;
17897 wxGridCellCoords
*arg3
= 0 ;
17901 wxGridCellCoords temp2
;
17902 wxGridCellCoords temp3
;
17903 PyObject
* obj0
= 0 ;
17904 PyObject
* obj1
= 0 ;
17905 PyObject
* obj2
= 0 ;
17906 char * kwnames
[] = {
17907 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
17910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17912 if (!SWIG_IsOK(res1
)) {
17913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BlockToDeviceRect" "', expected argument " "1"" of type '" "wxGrid *""'");
17915 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17918 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
17922 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17937 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17938 PyObject
*resultobj
= 0;
17939 wxGrid
*arg1
= (wxGrid
*) 0 ;
17943 PyObject
*swig_obj
[1] ;
17945 if (!args
) SWIG_fail
;
17946 swig_obj
[0] = args
;
17947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17948 if (!SWIG_IsOK(res1
)) {
17949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid const *""'");
17951 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17965 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17966 PyObject
*resultobj
= 0;
17967 wxGrid
*arg1
= (wxGrid
*) 0 ;
17971 PyObject
*swig_obj
[1] ;
17973 if (!args
) SWIG_fail
;
17974 swig_obj
[0] = args
;
17975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17976 if (!SWIG_IsOK(res1
)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid const *""'");
17979 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17993 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
= 0;
17995 wxGrid
*arg1
= (wxGrid
*) 0 ;
17996 wxColour
*arg2
= 0 ;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 char * kwnames
[] = {
18003 (char *) "self",(char *) "c", NULL
18006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18008 if (!SWIG_IsOK(res1
)) {
18009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid *""'");
18011 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18014 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= SWIG_Py_Void();
18029 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
= 0;
18031 wxGrid
*arg1
= (wxGrid
*) 0 ;
18032 wxColour
*arg2
= 0 ;
18036 PyObject
* obj0
= 0 ;
18037 PyObject
* obj1
= 0 ;
18038 char * kwnames
[] = {
18039 (char *) "self",(char *) "c", NULL
18042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18044 if (!SWIG_IsOK(res1
)) {
18045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid *""'");
18047 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18050 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= SWIG_Py_Void();
18065 SWIGINTERN PyObject
*_wrap_Grid_RegisterDataType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
= 0;
18067 wxGrid
*arg1
= (wxGrid
*) 0 ;
18068 wxString
*arg2
= 0 ;
18069 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
18070 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
18073 bool temp2
= false ;
18078 PyObject
* obj0
= 0 ;
18079 PyObject
* obj1
= 0 ;
18080 PyObject
* obj2
= 0 ;
18081 PyObject
* obj3
= 0 ;
18082 char * kwnames
[] = {
18083 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
18086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18088 if (!SWIG_IsOK(res1
)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_RegisterDataType" "', expected argument " "1"" of type '" "wxGrid *""'");
18091 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18093 arg2
= wxString_in_helper(obj1
);
18094 if (arg2
== NULL
) SWIG_fail
;
18097 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
18098 if (!SWIG_IsOK(res3
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_RegisterDataType" "', expected argument " "3"" of type '" "wxGridCellRenderer *""'");
18101 arg3
= reinterpret_cast< wxGridCellRenderer
* >(argp3
);
18102 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
18103 if (!SWIG_IsOK(res4
)) {
18104 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_RegisterDataType" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
18106 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= SWIG_Py_Void();
18128 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
= 0;
18130 wxGrid
*arg1
= (wxGrid
*) 0 ;
18133 wxGridCellEditor
*result
= 0 ;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 PyObject
* obj2
= 0 ;
18143 char * kwnames
[] = {
18144 (char *) "self",(char *) "row",(char *) "col", NULL
18147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18149 if (!SWIG_IsOK(res1
)) {
18150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18152 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18154 if (!SWIG_IsOK(ecode2
)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "2"" of type '" "int""'");
18157 arg2
= static_cast< int >(val2
);
18158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18159 if (!SWIG_IsOK(ecode3
)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "3"" of type '" "int""'");
18162 arg3
= static_cast< int >(val3
);
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18178 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
= 0;
18180 wxGrid
*arg1
= (wxGrid
*) 0 ;
18183 wxGridCellRenderer
*result
= 0 ;
18190 PyObject
* obj0
= 0 ;
18191 PyObject
* obj1
= 0 ;
18192 PyObject
* obj2
= 0 ;
18193 char * kwnames
[] = {
18194 (char *) "self",(char *) "row",(char *) "col", NULL
18197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18199 if (!SWIG_IsOK(res1
)) {
18200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18202 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18204 if (!SWIG_IsOK(ecode2
)) {
18205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "2"" of type '" "int""'");
18207 arg2
= static_cast< int >(val2
);
18208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18209 if (!SWIG_IsOK(ecode3
)) {
18210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "3"" of type '" "int""'");
18212 arg3
= static_cast< int >(val3
);
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18228 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
= 0;
18230 wxGrid
*arg1
= (wxGrid
*) 0 ;
18231 wxString
*arg2
= 0 ;
18232 wxGridCellEditor
*result
= 0 ;
18235 bool temp2
= false ;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 char * kwnames
[] = {
18239 (char *) "self",(char *) "typeName", NULL
18242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18244 if (!SWIG_IsOK(res1
)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18247 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18249 arg2
= wxString_in_helper(obj1
);
18250 if (arg2
== NULL
) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18276 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
= 0;
18278 wxGrid
*arg1
= (wxGrid
*) 0 ;
18279 wxString
*arg2
= 0 ;
18280 wxGridCellRenderer
*result
= 0 ;
18283 bool temp2
= false ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 char * kwnames
[] = {
18287 (char *) "self",(char *) "typeName", NULL
18290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18292 if (!SWIG_IsOK(res1
)) {
18293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18295 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18297 arg2
= wxString_in_helper(obj1
);
18298 if (arg2
== NULL
) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18324 SWIGINTERN PyObject
*_wrap_Grid_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
= 0;
18326 wxGrid
*arg1
= (wxGrid
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 PyObject
* obj1
= 0 ;
18337 PyObject
* obj2
= 0 ;
18338 char * kwnames
[] = {
18339 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
18342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18344 if (!SWIG_IsOK(res1
)) {
18345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetMargins" "', expected argument " "1"" of type '" "wxGrid *""'");
18347 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18349 if (!SWIG_IsOK(ecode2
)) {
18350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetMargins" "', expected argument " "2"" of type '" "int""'");
18352 arg2
= static_cast< int >(val2
);
18353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18354 if (!SWIG_IsOK(ecode3
)) {
18355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetMargins" "', expected argument " "3"" of type '" "int""'");
18357 arg3
= static_cast< int >(val3
);
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 (arg1
)->SetMargins(arg2
,arg3
);
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= SWIG_Py_Void();
18371 SWIGINTERN PyObject
*_wrap_Grid_GetGridWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18372 PyObject
*resultobj
= 0;
18373 wxGrid
*arg1
= (wxGrid
*) 0 ;
18374 wxWindow
*result
= 0 ;
18377 PyObject
*swig_obj
[1] ;
18379 if (!args
) SWIG_fail
;
18380 swig_obj
[0] = args
;
18381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18382 if (!SWIG_IsOK(res1
)) {
18383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18385 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (wxWindow
*)(arg1
)->GetGridWindow();
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= wxPyMake_wxObject(result
, 0);
18401 SWIGINTERN PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18402 PyObject
*resultobj
= 0;
18403 wxGrid
*arg1
= (wxGrid
*) 0 ;
18404 wxWindow
*result
= 0 ;
18407 PyObject
*swig_obj
[1] ;
18409 if (!args
) SWIG_fail
;
18410 swig_obj
[0] = args
;
18411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18412 if (!SWIG_IsOK(res1
)) {
18413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridRowLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18415 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= wxPyMake_wxObject(result
, 0);
18431 SWIGINTERN PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18432 PyObject
*resultobj
= 0;
18433 wxGrid
*arg1
= (wxGrid
*) 0 ;
18434 wxWindow
*result
= 0 ;
18437 PyObject
*swig_obj
[1] ;
18439 if (!args
) SWIG_fail
;
18440 swig_obj
[0] = args
;
18441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18442 if (!SWIG_IsOK(res1
)) {
18443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridColLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18445 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= wxPyMake_wxObject(result
, 0);
18461 SWIGINTERN PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18462 PyObject
*resultobj
= 0;
18463 wxGrid
*arg1
= (wxGrid
*) 0 ;
18464 wxWindow
*result
= 0 ;
18467 PyObject
*swig_obj
[1] ;
18469 if (!args
) SWIG_fail
;
18470 swig_obj
[0] = args
;
18471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18472 if (!SWIG_IsOK(res1
)) {
18473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCornerLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18475 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= wxPyMake_wxObject(result
, 0);
18491 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
= 0;
18493 wxGrid
*arg1
= (wxGrid
*) 0 ;
18499 PyObject
* obj0
= 0 ;
18500 PyObject
* obj1
= 0 ;
18501 char * kwnames
[] = {
18502 (char *) "self",(char *) "x", NULL
18505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18507 if (!SWIG_IsOK(res1
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineX" "', expected argument " "1"" of type '" "wxGrid *""'");
18510 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18512 if (!SWIG_IsOK(ecode2
)) {
18513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineX" "', expected argument " "2"" of type '" "int""'");
18515 arg2
= static_cast< int >(val2
);
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 (arg1
)->SetScrollLineX(arg2
);
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_Py_Void();
18529 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
= 0;
18531 wxGrid
*arg1
= (wxGrid
*) 0 ;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 char * kwnames
[] = {
18540 (char *) "self",(char *) "y", NULL
18543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18545 if (!SWIG_IsOK(res1
)) {
18546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineY" "', expected argument " "1"" of type '" "wxGrid *""'");
18548 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18550 if (!SWIG_IsOK(ecode2
)) {
18551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineY" "', expected argument " "2"" of type '" "int""'");
18553 arg2
= static_cast< int >(val2
);
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 (arg1
)->SetScrollLineY(arg2
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_Py_Void();
18567 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18568 PyObject
*resultobj
= 0;
18569 wxGrid
*arg1
= (wxGrid
*) 0 ;
18573 PyObject
*swig_obj
[1] ;
18575 if (!args
) SWIG_fail
;
18576 swig_obj
[0] = args
;
18577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18578 if (!SWIG_IsOK(res1
)) {
18579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18581 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_From_int(static_cast< int >(result
));
18595 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18596 PyObject
*resultobj
= 0;
18597 wxGrid
*arg1
= (wxGrid
*) 0 ;
18601 PyObject
*swig_obj
[1] ;
18603 if (!args
) SWIG_fail
;
18604 swig_obj
[0] = args
;
18605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18606 if (!SWIG_IsOK(res1
)) {
18607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineY" "', expected argument " "1"" of type '" "wxGrid const *""'");
18609 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= SWIG_From_int(static_cast< int >(result
));
18623 SWIGINTERN PyObject
*_wrap_Grid_GetScrollX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
= 0;
18625 wxGrid
*arg1
= (wxGrid
*) 0 ;
18632 PyObject
* obj0
= 0 ;
18633 PyObject
* obj1
= 0 ;
18634 char * kwnames
[] = {
18635 (char *) "self",(char *) "x", NULL
18638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18640 if (!SWIG_IsOK(res1
)) {
18641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18643 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18645 if (!SWIG_IsOK(ecode2
)) {
18646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollX" "', expected argument " "2"" of type '" "int""'");
18648 arg2
= static_cast< int >(val2
);
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= SWIG_From_int(static_cast< int >(result
));
18662 SWIGINTERN PyObject
*_wrap_Grid_GetScrollY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
= 0;
18664 wxGrid
*arg1
= (wxGrid
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 PyObject
* obj1
= 0 ;
18673 char * kwnames
[] = {
18674 (char *) "self",(char *) "y", NULL
18677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18679 if (!SWIG_IsOK(res1
)) {
18680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollY" "', expected argument " "1"" of type '" "wxGrid const *""'");
18682 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18684 if (!SWIG_IsOK(ecode2
)) {
18685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollY" "', expected argument " "2"" of type '" "int""'");
18687 arg2
= static_cast< int >(val2
);
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= SWIG_From_int(static_cast< int >(result
));
18701 SWIGINTERN PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
= 0;
18703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18704 SwigValueWrapper
<wxVisualAttributes
> result
;
18707 PyObject
* obj0
= 0 ;
18708 char * kwnames
[] = {
18709 (char *) "variant", NULL
18712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18715 if (!SWIG_IsOK(ecode1
)) {
18716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Grid_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18718 arg1
= static_cast< wxWindowVariant
>(val1
);
18721 if (!wxPyCheckForApp()) SWIG_fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= wxGrid::GetClassDefaultAttributes(arg1
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18734 SWIGINTERN PyObject
*Grid_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18737 SWIG_TypeNewClientData(SWIGTYPE_p_wxGrid
, SWIG_NewClientData(obj
));
18738 return SWIG_Py_Void();
18741 SWIGINTERN PyObject
*Grid_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18742 return SWIG_Python_InitShadowInstance(args
);
18745 SWIGINTERN PyObject
*_wrap_new_GridEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
= 0;
18749 wxGrid
*arg3
= (wxGrid
*) 0 ;
18750 int arg4
= (int) -1 ;
18751 int arg5
= (int) -1 ;
18752 int arg6
= (int) -1 ;
18753 int arg7
= (int) -1 ;
18754 bool arg8
= (bool) true ;
18755 bool arg9
= (bool) false ;
18756 bool arg10
= (bool) false ;
18757 bool arg11
= (bool) false ;
18758 bool arg12
= (bool) false ;
18759 wxGridEvent
*result
= 0 ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 PyObject
* obj2
= 0 ;
18787 PyObject
* obj3
= 0 ;
18788 PyObject
* obj4
= 0 ;
18789 PyObject
* obj5
= 0 ;
18790 PyObject
* obj6
= 0 ;
18791 PyObject
* obj7
= 0 ;
18792 PyObject
* obj8
= 0 ;
18793 PyObject
* obj9
= 0 ;
18794 PyObject
* obj10
= 0 ;
18795 PyObject
* obj11
= 0 ;
18796 char * kwnames
[] = {
18797 (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
18800 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
;
18801 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18802 if (!SWIG_IsOK(ecode1
)) {
18803 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEvent" "', expected argument " "1"" of type '" "int""'");
18805 arg1
= static_cast< int >(val1
);
18806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18807 if (!SWIG_IsOK(ecode2
)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEvent" "', expected argument " "2"" of type '" "wxEventType""'");
18810 arg2
= static_cast< wxEventType
>(val2
);
18811 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18812 if (!SWIG_IsOK(res3
)) {
18813 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
18815 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
18817 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18818 if (!SWIG_IsOK(ecode4
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEvent" "', expected argument " "4"" of type '" "int""'");
18821 arg4
= static_cast< int >(val4
);
18824 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18825 if (!SWIG_IsOK(ecode5
)) {
18826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEvent" "', expected argument " "5"" of type '" "int""'");
18828 arg5
= static_cast< int >(val5
);
18831 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18832 if (!SWIG_IsOK(ecode6
)) {
18833 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridEvent" "', expected argument " "6"" of type '" "int""'");
18835 arg6
= static_cast< int >(val6
);
18838 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18839 if (!SWIG_IsOK(ecode7
)) {
18840 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridEvent" "', expected argument " "7"" of type '" "int""'");
18842 arg7
= static_cast< int >(val7
);
18845 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
18846 if (!SWIG_IsOK(ecode8
)) {
18847 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridEvent" "', expected argument " "8"" of type '" "bool""'");
18849 arg8
= static_cast< bool >(val8
);
18852 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
18853 if (!SWIG_IsOK(ecode9
)) {
18854 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridEvent" "', expected argument " "9"" of type '" "bool""'");
18856 arg9
= static_cast< bool >(val9
);
18859 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
18860 if (!SWIG_IsOK(ecode10
)) {
18861 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridEvent" "', expected argument " "10"" of type '" "bool""'");
18863 arg10
= static_cast< bool >(val10
);
18866 ecode11
= SWIG_AsVal_bool(obj10
, &val11
);
18867 if (!SWIG_IsOK(ecode11
)) {
18868 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "new_GridEvent" "', expected argument " "11"" of type '" "bool""'");
18870 arg11
= static_cast< bool >(val11
);
18873 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
18874 if (!SWIG_IsOK(ecode12
)) {
18875 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "new_GridEvent" "', expected argument " "12"" of type '" "bool""'");
18877 arg12
= static_cast< bool >(val12
);
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_NEW
| 0 );
18892 SWIGINTERN PyObject
*_wrap_GridEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18893 PyObject
*resultobj
= 0;
18894 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18898 PyObject
*swig_obj
[1] ;
18900 if (!args
) SWIG_fail
;
18901 swig_obj
[0] = args
;
18902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18903 if (!SWIG_IsOK(res1
)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18906 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 result
= (int)(arg1
)->GetRow();
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= SWIG_From_int(static_cast< int >(result
));
18920 SWIGINTERN PyObject
*_wrap_GridEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18921 PyObject
*resultobj
= 0;
18922 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18926 PyObject
*swig_obj
[1] ;
18928 if (!args
) SWIG_fail
;
18929 swig_obj
[0] = args
;
18930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18931 if (!SWIG_IsOK(res1
)) {
18932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18934 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 result
= (int)(arg1
)->GetCol();
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= SWIG_From_int(static_cast< int >(result
));
18948 SWIGINTERN PyObject
*_wrap_GridEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18949 PyObject
*resultobj
= 0;
18950 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18954 PyObject
*swig_obj
[1] ;
18956 if (!args
) SWIG_fail
;
18957 swig_obj
[0] = args
;
18958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18959 if (!SWIG_IsOK(res1
)) {
18960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18962 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 result
= (arg1
)->GetPosition();
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
18976 SWIGINTERN PyObject
*_wrap_GridEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18977 PyObject
*resultobj
= 0;
18978 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18982 PyObject
*swig_obj
[1] ;
18984 if (!args
) SWIG_fail
;
18985 swig_obj
[0] = args
;
18986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18987 if (!SWIG_IsOK(res1
)) {
18988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_Selecting" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18990 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 result
= (bool)(arg1
)->Selecting();
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19006 SWIGINTERN PyObject
*_wrap_GridEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19007 PyObject
*resultobj
= 0;
19008 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19012 PyObject
*swig_obj
[1] ;
19014 if (!args
) SWIG_fail
;
19015 swig_obj
[0] = args
;
19016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19017 if (!SWIG_IsOK(res1
)) {
19018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19020 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 result
= (bool)(arg1
)->ControlDown();
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19036 SWIGINTERN PyObject
*_wrap_GridEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19037 PyObject
*resultobj
= 0;
19038 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19042 PyObject
*swig_obj
[1] ;
19044 if (!args
) SWIG_fail
;
19045 swig_obj
[0] = args
;
19046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19047 if (!SWIG_IsOK(res1
)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19050 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (bool)(arg1
)->MetaDown();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19066 SWIGINTERN PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19067 PyObject
*resultobj
= 0;
19068 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19072 PyObject
*swig_obj
[1] ;
19074 if (!args
) SWIG_fail
;
19075 swig_obj
[0] = args
;
19076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19077 if (!SWIG_IsOK(res1
)) {
19078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19080 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= (bool)(arg1
)->ShiftDown();
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19096 SWIGINTERN PyObject
*_wrap_GridEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19097 PyObject
*resultobj
= 0;
19098 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19102 PyObject
*swig_obj
[1] ;
19104 if (!args
) SWIG_fail
;
19105 swig_obj
[0] = args
;
19106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19107 if (!SWIG_IsOK(res1
)) {
19108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_AltDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19110 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 result
= (bool)(arg1
)->AltDown();
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19126 SWIGINTERN PyObject
*GridEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19129 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEvent
, SWIG_NewClientData(obj
));
19130 return SWIG_Py_Void();
19133 SWIGINTERN PyObject
*GridEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19134 return SWIG_Python_InitShadowInstance(args
);
19137 SWIGINTERN PyObject
*_wrap_new_GridSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
= 0;
19141 wxGrid
*arg3
= (wxGrid
*) 0 ;
19142 int arg4
= (int) -1 ;
19143 int arg5
= (int) -1 ;
19144 int arg6
= (int) -1 ;
19145 bool arg7
= (bool) false ;
19146 bool arg8
= (bool) false ;
19147 bool arg9
= (bool) false ;
19148 bool arg10
= (bool) false ;
19149 wxGridSizeEvent
*result
= 0 ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 PyObject
* obj2
= 0 ;
19173 PyObject
* obj3
= 0 ;
19174 PyObject
* obj4
= 0 ;
19175 PyObject
* obj5
= 0 ;
19176 PyObject
* obj6
= 0 ;
19177 PyObject
* obj7
= 0 ;
19178 PyObject
* obj8
= 0 ;
19179 PyObject
* obj9
= 0 ;
19180 char * kwnames
[] = {
19181 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19186 if (!SWIG_IsOK(ecode1
)) {
19187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizeEvent" "', expected argument " "1"" of type '" "int""'");
19189 arg1
= static_cast< int >(val1
);
19190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19191 if (!SWIG_IsOK(ecode2
)) {
19192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizeEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19194 arg2
= static_cast< wxEventType
>(val2
);
19195 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19196 if (!SWIG_IsOK(res3
)) {
19197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridSizeEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19199 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19201 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19202 if (!SWIG_IsOK(ecode4
)) {
19203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizeEvent" "', expected argument " "4"" of type '" "int""'");
19205 arg4
= static_cast< int >(val4
);
19208 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19209 if (!SWIG_IsOK(ecode5
)) {
19210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridSizeEvent" "', expected argument " "5"" of type '" "int""'");
19212 arg5
= static_cast< int >(val5
);
19215 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19216 if (!SWIG_IsOK(ecode6
)) {
19217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridSizeEvent" "', expected argument " "6"" of type '" "int""'");
19219 arg6
= static_cast< int >(val6
);
19222 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19223 if (!SWIG_IsOK(ecode7
)) {
19224 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridSizeEvent" "', expected argument " "7"" of type '" "bool""'");
19226 arg7
= static_cast< bool >(val7
);
19229 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19230 if (!SWIG_IsOK(ecode8
)) {
19231 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridSizeEvent" "', expected argument " "8"" of type '" "bool""'");
19233 arg8
= static_cast< bool >(val8
);
19236 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19237 if (!SWIG_IsOK(ecode9
)) {
19238 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridSizeEvent" "', expected argument " "9"" of type '" "bool""'");
19240 arg9
= static_cast< bool >(val9
);
19243 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19244 if (!SWIG_IsOK(ecode10
)) {
19245 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridSizeEvent" "', expected argument " "10"" of type '" "bool""'");
19247 arg10
= static_cast< bool >(val10
);
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_NEW
| 0 );
19262 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19263 PyObject
*resultobj
= 0;
19264 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19268 PyObject
*swig_obj
[1] ;
19270 if (!args
) SWIG_fail
;
19271 swig_obj
[0] = args
;
19272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19273 if (!SWIG_IsOK(res1
)) {
19274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetRowOrCol" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19276 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 result
= (int)(arg1
)->GetRowOrCol();
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= SWIG_From_int(static_cast< int >(result
));
19290 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19291 PyObject
*resultobj
= 0;
19292 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19296 PyObject
*swig_obj
[1] ;
19298 if (!args
) SWIG_fail
;
19299 swig_obj
[0] = args
;
19300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19301 if (!SWIG_IsOK(res1
)) {
19302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19304 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 result
= (arg1
)->GetPosition();
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19318 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19319 PyObject
*resultobj
= 0;
19320 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19324 PyObject
*swig_obj
[1] ;
19326 if (!args
) SWIG_fail
;
19327 swig_obj
[0] = args
;
19328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19329 if (!SWIG_IsOK(res1
)) {
19330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19332 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (bool)(arg1
)->ControlDown();
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19348 SWIGINTERN PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19349 PyObject
*resultobj
= 0;
19350 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19354 PyObject
*swig_obj
[1] ;
19356 if (!args
) SWIG_fail
;
19357 swig_obj
[0] = args
;
19358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19359 if (!SWIG_IsOK(res1
)) {
19360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19362 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (bool)(arg1
)->MetaDown();
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19378 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19379 PyObject
*resultobj
= 0;
19380 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19384 PyObject
*swig_obj
[1] ;
19386 if (!args
) SWIG_fail
;
19387 swig_obj
[0] = args
;
19388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19389 if (!SWIG_IsOK(res1
)) {
19390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19392 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 result
= (bool)(arg1
)->ShiftDown();
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19408 SWIGINTERN PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19409 PyObject
*resultobj
= 0;
19410 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19414 PyObject
*swig_obj
[1] ;
19416 if (!args
) SWIG_fail
;
19417 swig_obj
[0] = args
;
19418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19419 if (!SWIG_IsOK(res1
)) {
19420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_AltDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19422 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (bool)(arg1
)->AltDown();
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19438 SWIGINTERN PyObject
*GridSizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19441 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizeEvent
, SWIG_NewClientData(obj
));
19442 return SWIG_Py_Void();
19445 SWIGINTERN PyObject
*GridSizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19446 return SWIG_Python_InitShadowInstance(args
);
19449 SWIGINTERN PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
= 0;
19453 wxGrid
*arg3
= (wxGrid
*) 0 ;
19454 wxGridCellCoords
*arg4
= 0 ;
19455 wxGridCellCoords
*arg5
= 0 ;
19456 bool arg6
= (bool) true ;
19457 bool arg7
= (bool) false ;
19458 bool arg8
= (bool) false ;
19459 bool arg9
= (bool) false ;
19460 bool arg10
= (bool) false ;
19461 wxGridRangeSelectEvent
*result
= 0 ;
19468 wxGridCellCoords temp4
;
19469 wxGridCellCoords temp5
;
19480 PyObject
* obj0
= 0 ;
19481 PyObject
* obj1
= 0 ;
19482 PyObject
* obj2
= 0 ;
19483 PyObject
* obj3
= 0 ;
19484 PyObject
* obj4
= 0 ;
19485 PyObject
* obj5
= 0 ;
19486 PyObject
* obj6
= 0 ;
19487 PyObject
* obj7
= 0 ;
19488 PyObject
* obj8
= 0 ;
19489 PyObject
* obj9
= 0 ;
19490 char * kwnames
[] = {
19491 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19495 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19496 if (!SWIG_IsOK(ecode1
)) {
19497 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "1"" of type '" "int""'");
19499 arg1
= static_cast< int >(val1
);
19500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19501 if (!SWIG_IsOK(ecode2
)) {
19502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19504 arg2
= static_cast< wxEventType
>(val2
);
19505 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19506 if (!SWIG_IsOK(res3
)) {
19507 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19509 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19512 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
19516 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
19519 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
19520 if (!SWIG_IsOK(ecode6
)) {
19521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "6"" of type '" "bool""'");
19523 arg6
= static_cast< bool >(val6
);
19526 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19527 if (!SWIG_IsOK(ecode7
)) {
19528 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "7"" of type '" "bool""'");
19530 arg7
= static_cast< bool >(val7
);
19533 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19534 if (!SWIG_IsOK(ecode8
)) {
19535 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "8"" of type '" "bool""'");
19537 arg8
= static_cast< bool >(val8
);
19540 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19541 if (!SWIG_IsOK(ecode9
)) {
19542 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "9"" of type '" "bool""'");
19544 arg9
= static_cast< bool >(val9
);
19547 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19548 if (!SWIG_IsOK(ecode10
)) {
19549 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "10"" of type '" "bool""'");
19551 arg10
= static_cast< bool >(val10
);
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_NEW
| 0 );
19566 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19567 PyObject
*resultobj
= 0;
19568 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19569 wxGridCellCoords result
;
19572 PyObject
*swig_obj
[1] ;
19574 if (!args
) SWIG_fail
;
19575 swig_obj
[0] = args
;
19576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19577 if (!SWIG_IsOK(res1
)) {
19578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopLeftCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19580 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= (arg1
)->GetTopLeftCoords();
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
19594 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19595 PyObject
*resultobj
= 0;
19596 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19597 wxGridCellCoords result
;
19600 PyObject
*swig_obj
[1] ;
19602 if (!args
) SWIG_fail
;
19603 swig_obj
[0] = args
;
19604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19605 if (!SWIG_IsOK(res1
)) {
19606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRightCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19608 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= (arg1
)->GetBottomRightCoords();
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
19622 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19623 PyObject
*resultobj
= 0;
19624 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19628 PyObject
*swig_obj
[1] ;
19630 if (!args
) SWIG_fail
;
19631 swig_obj
[0] = args
;
19632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19633 if (!SWIG_IsOK(res1
)) {
19634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19636 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 result
= (int)(arg1
)->GetTopRow();
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= SWIG_From_int(static_cast< int >(result
));
19650 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19651 PyObject
*resultobj
= 0;
19652 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19656 PyObject
*swig_obj
[1] ;
19658 if (!args
) SWIG_fail
;
19659 swig_obj
[0] = args
;
19660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19661 if (!SWIG_IsOK(res1
)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19664 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (int)(arg1
)->GetBottomRow();
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= SWIG_From_int(static_cast< int >(result
));
19678 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19679 PyObject
*resultobj
= 0;
19680 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19684 PyObject
*swig_obj
[1] ;
19686 if (!args
) SWIG_fail
;
19687 swig_obj
[0] = args
;
19688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19689 if (!SWIG_IsOK(res1
)) {
19690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetLeftCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19692 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 result
= (int)(arg1
)->GetLeftCol();
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19699 resultobj
= SWIG_From_int(static_cast< int >(result
));
19706 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19707 PyObject
*resultobj
= 0;
19708 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19712 PyObject
*swig_obj
[1] ;
19714 if (!args
) SWIG_fail
;
19715 swig_obj
[0] = args
;
19716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19717 if (!SWIG_IsOK(res1
)) {
19718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetRightCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19720 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (int)(arg1
)->GetRightCol();
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= SWIG_From_int(static_cast< int >(result
));
19734 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19735 PyObject
*resultobj
= 0;
19736 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19740 PyObject
*swig_obj
[1] ;
19742 if (!args
) SWIG_fail
;
19743 swig_obj
[0] = args
;
19744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19745 if (!SWIG_IsOK(res1
)) {
19746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_Selecting" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19748 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (bool)(arg1
)->Selecting();
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19764 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19765 PyObject
*resultobj
= 0;
19766 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19770 PyObject
*swig_obj
[1] ;
19772 if (!args
) SWIG_fail
;
19773 swig_obj
[0] = args
;
19774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19775 if (!SWIG_IsOK(res1
)) {
19776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19778 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (bool)(arg1
)->ControlDown();
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19794 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19795 PyObject
*resultobj
= 0;
19796 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19800 PyObject
*swig_obj
[1] ;
19802 if (!args
) SWIG_fail
;
19803 swig_obj
[0] = args
;
19804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19805 if (!SWIG_IsOK(res1
)) {
19806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19808 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (bool)(arg1
)->MetaDown();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19824 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19825 PyObject
*resultobj
= 0;
19826 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19830 PyObject
*swig_obj
[1] ;
19832 if (!args
) SWIG_fail
;
19833 swig_obj
[0] = args
;
19834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19835 if (!SWIG_IsOK(res1
)) {
19836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19838 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (bool)(arg1
)->ShiftDown();
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19854 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19855 PyObject
*resultobj
= 0;
19856 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19860 PyObject
*swig_obj
[1] ;
19862 if (!args
) SWIG_fail
;
19863 swig_obj
[0] = args
;
19864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19865 if (!SWIG_IsOK(res1
)) {
19866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_AltDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19868 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (bool)(arg1
)->AltDown();
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19884 SWIGINTERN PyObject
*GridRangeSelectEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19886 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19887 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_NewClientData(obj
));
19888 return SWIG_Py_Void();
19891 SWIGINTERN PyObject
*GridRangeSelectEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19892 return SWIG_Python_InitShadowInstance(args
);
19895 SWIGINTERN PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
= 0;
19899 wxObject
*arg3
= (wxObject
*) 0 ;
19902 wxControl
*arg6
= (wxControl
*) 0 ;
19903 wxGridEditorCreatedEvent
*result
= 0 ;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19918 PyObject
* obj2
= 0 ;
19919 PyObject
* obj3
= 0 ;
19920 PyObject
* obj4
= 0 ;
19921 PyObject
* obj5
= 0 ;
19922 char * kwnames
[] = {
19923 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
19926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19927 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19928 if (!SWIG_IsOK(ecode1
)) {
19929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "1"" of type '" "int""'");
19931 arg1
= static_cast< int >(val1
);
19932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19933 if (!SWIG_IsOK(ecode2
)) {
19934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19936 arg2
= static_cast< wxEventType
>(val2
);
19937 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxObject
, 0 | 0 );
19938 if (!SWIG_IsOK(res3
)) {
19939 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "3"" of type '" "wxObject *""'");
19941 arg3
= reinterpret_cast< wxObject
* >(argp3
);
19942 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19943 if (!SWIG_IsOK(ecode4
)) {
19944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "4"" of type '" "int""'");
19946 arg4
= static_cast< int >(val4
);
19947 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19948 if (!SWIG_IsOK(ecode5
)) {
19949 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "5"" of type '" "int""'");
19951 arg5
= static_cast< int >(val5
);
19952 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxControl
, 0 | 0 );
19953 if (!SWIG_IsOK(res6
)) {
19954 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "6"" of type '" "wxControl *""'");
19956 arg6
= reinterpret_cast< wxControl
* >(argp6
);
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_NEW
| 0 );
19970 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19971 PyObject
*resultobj
= 0;
19972 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
19976 PyObject
*swig_obj
[1] ;
19978 if (!args
) SWIG_fail
;
19979 swig_obj
[0] = args
;
19980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
19981 if (!SWIG_IsOK(res1
)) {
19982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
19984 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 result
= (int)(arg1
)->GetRow();
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= SWIG_From_int(static_cast< int >(result
));
19998 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19999 PyObject
*resultobj
= 0;
20000 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20004 PyObject
*swig_obj
[1] ;
20006 if (!args
) SWIG_fail
;
20007 swig_obj
[0] = args
;
20008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20009 if (!SWIG_IsOK(res1
)) {
20010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20012 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 result
= (int)(arg1
)->GetCol();
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= SWIG_From_int(static_cast< int >(result
));
20026 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20027 PyObject
*resultobj
= 0;
20028 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20029 wxControl
*result
= 0 ;
20032 PyObject
*swig_obj
[1] ;
20034 if (!args
) SWIG_fail
;
20035 swig_obj
[0] = args
;
20036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20037 if (!SWIG_IsOK(res1
)) {
20038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20040 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20043 result
= (wxControl
*)(arg1
)->GetControl();
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= wxPyMake_wxObject(result
, 0);
20056 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
= 0;
20058 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20066 char * kwnames
[] = {
20067 (char *) "self",(char *) "row", NULL
20070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20072 if (!SWIG_IsOK(res1
)) {
20073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20075 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20077 if (!SWIG_IsOK(ecode2
)) {
20078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "2"" of type '" "int""'");
20080 arg2
= static_cast< int >(val2
);
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 (arg1
)->SetRow(arg2
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= SWIG_Py_Void();
20094 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
= 0;
20096 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 char * kwnames
[] = {
20105 (char *) "self",(char *) "col", NULL
20108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20110 if (!SWIG_IsOK(res1
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20113 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20115 if (!SWIG_IsOK(ecode2
)) {
20116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "2"" of type '" "int""'");
20118 arg2
= static_cast< int >(val2
);
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 (arg1
)->SetCol(arg2
);
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= SWIG_Py_Void();
20132 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
= 0;
20134 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20135 wxControl
*arg2
= (wxControl
*) 0 ;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char * kwnames
[] = {
20143 (char *) "self",(char *) "ctrl", NULL
20146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20148 if (!SWIG_IsOK(res1
)) {
20149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20151 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
20153 if (!SWIG_IsOK(res2
)) {
20154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
20156 arg2
= reinterpret_cast< wxControl
* >(argp2
);
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 (arg1
)->SetControl(arg2
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_Py_Void();
20170 SWIGINTERN PyObject
*GridEditorCreatedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20173 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_NewClientData(obj
));
20174 return SWIG_Py_Void();
20177 SWIGINTERN PyObject
*GridEditorCreatedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20178 return SWIG_Python_InitShadowInstance(args
);
20181 static PyMethodDef SwigMethods
[] = {
20182 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20183 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20184 { (char *)"GridCellRenderer_IncRef", (PyCFunction
)_wrap_GridCellRenderer_IncRef
, METH_O
, NULL
},
20185 { (char *)"GridCellRenderer_DecRef", (PyCFunction
)_wrap_GridCellRenderer_DecRef
, METH_O
, NULL
},
20186 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20187 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20188 { (char *)"GridCellRenderer_Clone", (PyCFunction
)_wrap_GridCellRenderer_Clone
, METH_O
, NULL
},
20189 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20190 { (char *)"new_PyGridCellRenderer", (PyCFunction
)_wrap_new_PyGridCellRenderer
, METH_NOARGS
, NULL
},
20191 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20192 { (char *)"PyGridCellRenderer_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20193 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20194 { (char *)"PyGridCellRenderer_swiginit", PyGridCellRenderer_swiginit
, METH_VARARGS
, NULL
},
20195 { (char *)"new_GridCellStringRenderer", (PyCFunction
)_wrap_new_GridCellStringRenderer
, METH_NOARGS
, NULL
},
20196 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20197 { (char *)"GridCellStringRenderer_swiginit", GridCellStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20198 { (char *)"new_GridCellNumberRenderer", (PyCFunction
)_wrap_new_GridCellNumberRenderer
, METH_NOARGS
, NULL
},
20199 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
20200 { (char *)"GridCellNumberRenderer_swiginit", GridCellNumberRenderer_swiginit
, METH_VARARGS
, NULL
},
20201 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20202 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
)_wrap_GridCellFloatRenderer_GetWidth
, METH_O
, NULL
},
20203 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20204 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
)_wrap_GridCellFloatRenderer_GetPrecision
, METH_O
, NULL
},
20205 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20206 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
20207 { (char *)"GridCellFloatRenderer_swiginit", GridCellFloatRenderer_swiginit
, METH_VARARGS
, NULL
},
20208 { (char *)"new_GridCellBoolRenderer", (PyCFunction
)_wrap_new_GridCellBoolRenderer
, METH_NOARGS
, NULL
},
20209 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
20210 { (char *)"GridCellBoolRenderer_swiginit", GridCellBoolRenderer_swiginit
, METH_VARARGS
, NULL
},
20211 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20212 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
20213 { (char *)"GridCellDateTimeRenderer_swiginit", GridCellDateTimeRenderer_swiginit
, METH_VARARGS
, NULL
},
20214 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20215 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
20216 { (char *)"GridCellEnumRenderer_swiginit", GridCellEnumRenderer_swiginit
, METH_VARARGS
, NULL
},
20217 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
)_wrap_new_GridCellAutoWrapStringRenderer
, METH_NOARGS
, NULL
},
20218 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20219 { (char *)"GridCellAutoWrapStringRenderer_swiginit", GridCellAutoWrapStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20220 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20221 { (char *)"GridCellEditor_IsCreated", (PyCFunction
)_wrap_GridCellEditor_IsCreated
, METH_O
, NULL
},
20222 { (char *)"GridCellEditor_GetControl", (PyCFunction
)_wrap_GridCellEditor_GetControl
, METH_O
, NULL
},
20223 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20224 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
)_wrap_GridCellEditor_GetCellAttr
, METH_O
, NULL
},
20225 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20226 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20227 { (char *)"GridCellEditor_IncRef", (PyCFunction
)_wrap_GridCellEditor_IncRef
, METH_O
, NULL
},
20228 { (char *)"GridCellEditor_DecRef", (PyCFunction
)_wrap_GridCellEditor_DecRef
, METH_O
, NULL
},
20229 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20230 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20231 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20232 { (char *)"GridCellEditor_Reset", (PyCFunction
)_wrap_GridCellEditor_Reset
, METH_O
, NULL
},
20233 { (char *)"GridCellEditor_Clone", (PyCFunction
)_wrap_GridCellEditor_Clone
, METH_O
, NULL
},
20234 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20235 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20236 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20237 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20238 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20239 { (char *)"GridCellEditor_StartingClick", (PyCFunction
)_wrap_GridCellEditor_StartingClick
, METH_O
, NULL
},
20240 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20241 { (char *)"GridCellEditor_Destroy", (PyCFunction
)_wrap_GridCellEditor_Destroy
, METH_O
, NULL
},
20242 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20243 { (char *)"new_PyGridCellEditor", (PyCFunction
)_wrap_new_PyGridCellEditor
, METH_NOARGS
, NULL
},
20244 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20245 { (char *)"PyGridCellEditor_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20246 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20247 { (char *)"PyGridCellEditor_swiginit", PyGridCellEditor_swiginit
, METH_VARARGS
, NULL
},
20248 { (char *)"new_GridCellTextEditor", (PyCFunction
)_wrap_new_GridCellTextEditor
, METH_NOARGS
, NULL
},
20249 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
)_wrap_GridCellTextEditor_GetValue
, METH_O
, NULL
},
20250 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
20251 { (char *)"GridCellTextEditor_swiginit", GridCellTextEditor_swiginit
, METH_VARARGS
, NULL
},
20252 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20253 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
20254 { (char *)"GridCellNumberEditor_swiginit", GridCellNumberEditor_swiginit
, METH_VARARGS
, NULL
},
20255 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20256 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
20257 { (char *)"GridCellFloatEditor_swiginit", GridCellFloatEditor_swiginit
, METH_VARARGS
, NULL
},
20258 { (char *)"new_GridCellBoolEditor", (PyCFunction
)_wrap_new_GridCellBoolEditor
, METH_NOARGS
, NULL
},
20259 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
)_wrap_GridCellBoolEditor_GetValue
, METH_O
, NULL
},
20260 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
20261 { (char *)"GridCellBoolEditor_swiginit", GridCellBoolEditor_swiginit
, METH_VARARGS
, NULL
},
20262 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20263 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
)_wrap_GridCellChoiceEditor_GetValue
, METH_O
, NULL
},
20264 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
20265 { (char *)"GridCellChoiceEditor_swiginit", GridCellChoiceEditor_swiginit
, METH_VARARGS
, NULL
},
20266 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20267 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
20268 { (char *)"GridCellEnumEditor_swiginit", GridCellEnumEditor_swiginit
, METH_VARARGS
, NULL
},
20269 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
)_wrap_new_GridCellAutoWrapStringEditor
, METH_NOARGS
, NULL
},
20270 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
20271 { (char *)"GridCellAutoWrapStringEditor_swiginit", GridCellAutoWrapStringEditor_swiginit
, METH_VARARGS
, NULL
},
20272 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20273 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20274 { (char *)"GridCellAttr_Clone", (PyCFunction
)_wrap_GridCellAttr_Clone
, METH_O
, NULL
},
20275 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20276 { (char *)"GridCellAttr_IncRef", (PyCFunction
)_wrap_GridCellAttr_IncRef
, METH_O
, NULL
},
20277 { (char *)"GridCellAttr_DecRef", (PyCFunction
)_wrap_GridCellAttr_DecRef
, METH_O
, NULL
},
20278 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20279 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20280 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20281 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20282 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20283 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20284 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20285 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20286 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20287 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20288 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
)_wrap_GridCellAttr_HasTextColour
, METH_O
, NULL
},
20289 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_HasBackgroundColour
, METH_O
, NULL
},
20290 { (char *)"GridCellAttr_HasFont", (PyCFunction
)_wrap_GridCellAttr_HasFont
, METH_O
, NULL
},
20291 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
)_wrap_GridCellAttr_HasAlignment
, METH_O
, NULL
},
20292 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
)_wrap_GridCellAttr_HasRenderer
, METH_O
, NULL
},
20293 { (char *)"GridCellAttr_HasEditor", (PyCFunction
)_wrap_GridCellAttr_HasEditor
, METH_O
, NULL
},
20294 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
)_wrap_GridCellAttr_HasReadWriteMode
, METH_O
, NULL
},
20295 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
)_wrap_GridCellAttr_HasOverflowMode
, METH_O
, NULL
},
20296 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
)_wrap_GridCellAttr_GetTextColour
, METH_O
, NULL
},
20297 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_GetBackgroundColour
, METH_O
, NULL
},
20298 { (char *)"GridCellAttr_GetFont", (PyCFunction
)_wrap_GridCellAttr_GetFont
, METH_O
, NULL
},
20299 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
)_wrap_GridCellAttr_GetAlignment
, METH_O
, NULL
},
20300 { (char *)"GridCellAttr_GetSize", (PyCFunction
)_wrap_GridCellAttr_GetSize
, METH_O
, NULL
},
20301 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
)_wrap_GridCellAttr_GetOverflow
, METH_O
, NULL
},
20302 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20303 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20304 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
)_wrap_GridCellAttr_IsReadOnly
, METH_O
, NULL
},
20305 { (char *)"GridCellAttr_GetKind", (PyCFunction
)_wrap_GridCellAttr_GetKind
, METH_O
, NULL
},
20306 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20307 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
20308 { (char *)"GridCellAttr_swiginit", GridCellAttr_swiginit
, METH_VARARGS
, NULL
},
20309 { (char *)"new_GridCellAttrProvider", (PyCFunction
)_wrap_new_GridCellAttrProvider
, METH_NOARGS
, NULL
},
20310 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20311 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20312 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20313 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20314 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20315 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20316 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20317 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20318 { (char *)"GridCellAttrProvider_swiginit", GridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20319 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
)_wrap_new_PyGridCellAttrProvider
, METH_NOARGS
, NULL
},
20320 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20321 { (char *)"PyGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20322 { (char *)"PyGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20323 { (char *)"PyGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20324 { (char *)"PyGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20325 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20326 { (char *)"PyGridCellAttrProvider_swiginit", PyGridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20327 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20328 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20329 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
)_wrap_GridTableBase_GetAttrProvider
, METH_O
, NULL
},
20330 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20331 { (char *)"GridTableBase_GetView", (PyCFunction
)_wrap_GridTableBase_GetView
, METH_O
, NULL
},
20332 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
)_wrap_GridTableBase_GetNumberRows
, METH_O
, NULL
},
20333 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
)_wrap_GridTableBase_GetNumberCols
, METH_O
, NULL
},
20334 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20335 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20336 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20337 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20338 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20339 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20340 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20341 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20342 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20343 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20344 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20345 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20346 { (char *)"GridTableBase_Clear", (PyCFunction
)_wrap_GridTableBase_Clear
, METH_O
, NULL
},
20347 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20348 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20349 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20350 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20351 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20352 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20353 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20354 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20355 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20356 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20357 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
)_wrap_GridTableBase_CanHaveAttributes
, METH_O
, NULL
},
20358 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20359 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20360 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20361 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20362 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
20363 { (char *)"new_PyGridTableBase", (PyCFunction
)_wrap_new_PyGridTableBase
, METH_NOARGS
, NULL
},
20364 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20365 { (char *)"PyGridTableBase_Destroy", (PyCFunction
)_wrap_PyGridTableBase_Destroy
, METH_O
, NULL
},
20366 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
20367 { (char *)"PyGridTableBase_swiginit", PyGridTableBase_swiginit
, METH_VARARGS
, NULL
},
20368 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20369 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
20370 { (char *)"GridStringTable_swiginit", GridStringTable_swiginit
, METH_VARARGS
, NULL
},
20371 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20372 { (char *)"delete_GridTableMessage", (PyCFunction
)_wrap_delete_GridTableMessage
, METH_O
, NULL
},
20373 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20374 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
)_wrap_GridTableMessage_GetTableObject
, METH_O
, NULL
},
20375 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20376 { (char *)"GridTableMessage_GetId", (PyCFunction
)_wrap_GridTableMessage_GetId
, METH_O
, NULL
},
20377 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20378 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt
, METH_O
, NULL
},
20379 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20380 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt2
, METH_O
, NULL
},
20381 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
20382 { (char *)"GridTableMessage_swiginit", GridTableMessage_swiginit
, METH_VARARGS
, NULL
},
20383 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20384 { (char *)"delete_GridCellCoords", (PyCFunction
)_wrap_delete_GridCellCoords
, METH_O
, NULL
},
20385 { (char *)"GridCellCoords_GetRow", (PyCFunction
)_wrap_GridCellCoords_GetRow
, METH_O
, NULL
},
20386 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20387 { (char *)"GridCellCoords_GetCol", (PyCFunction
)_wrap_GridCellCoords_GetCol
, METH_O
, NULL
},
20388 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20389 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20390 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20391 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20392 { (char *)"GridCellCoords_Get", (PyCFunction
)_wrap_GridCellCoords_Get
, METH_O
, NULL
},
20393 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
20394 { (char *)"GridCellCoords_swiginit", GridCellCoords_swiginit
, METH_VARARGS
, NULL
},
20395 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20396 { (char *)"new_PreGrid", (PyCFunction
)_wrap_new_PreGrid
, METH_NOARGS
, NULL
},
20397 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20398 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20399 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20400 { (char *)"Grid_GetSelectionMode", (PyCFunction
)_wrap_Grid_GetSelectionMode
, METH_O
, NULL
},
20401 { (char *)"Grid_GetNumberRows", (PyCFunction
)_wrap_Grid_GetNumberRows
, METH_O
, NULL
},
20402 { (char *)"Grid_GetNumberCols", (PyCFunction
)_wrap_Grid_GetNumberCols
, METH_O
, NULL
},
20403 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20404 { (char *)"Grid_GetTable", (PyCFunction
)_wrap_Grid_GetTable
, METH_O
, NULL
},
20405 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20406 { (char *)"Grid_ClearGrid", (PyCFunction
)_wrap_Grid_ClearGrid
, METH_O
, NULL
},
20407 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20408 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20409 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20410 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20411 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20412 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20413 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20414 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20415 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20416 { (char *)"Grid_BeginBatch", (PyCFunction
)_wrap_Grid_BeginBatch
, METH_O
, NULL
},
20417 { (char *)"Grid_EndBatch", (PyCFunction
)_wrap_Grid_EndBatch
, METH_O
, NULL
},
20418 { (char *)"Grid_GetBatchCount", (PyCFunction
)_wrap_Grid_GetBatchCount
, METH_O
, NULL
},
20419 { (char *)"Grid_ForceRefresh", (PyCFunction
)_wrap_Grid_ForceRefresh
, METH_O
, NULL
},
20420 { (char *)"Grid_IsEditable", (PyCFunction
)_wrap_Grid_IsEditable
, METH_O
, NULL
},
20421 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20422 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20423 { (char *)"Grid_DisableCellEditControl", (PyCFunction
)_wrap_Grid_DisableCellEditControl
, METH_O
, NULL
},
20424 { (char *)"Grid_CanEnableCellControl", (PyCFunction
)_wrap_Grid_CanEnableCellControl
, METH_O
, NULL
},
20425 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
)_wrap_Grid_IsCellEditControlEnabled
, METH_O
, NULL
},
20426 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
)_wrap_Grid_IsCellEditControlShown
, METH_O
, NULL
},
20427 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
)_wrap_Grid_IsCurrentCellReadOnly
, METH_O
, NULL
},
20428 { (char *)"Grid_ShowCellEditControl", (PyCFunction
)_wrap_Grid_ShowCellEditControl
, METH_O
, NULL
},
20429 { (char *)"Grid_HideCellEditControl", (PyCFunction
)_wrap_Grid_HideCellEditControl
, METH_O
, NULL
},
20430 { (char *)"Grid_SaveEditControlValue", (PyCFunction
)_wrap_Grid_SaveEditControlValue
, METH_O
, NULL
},
20431 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20432 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20433 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20434 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20435 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20436 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20437 { (char *)"Grid_GetGridCursorRow", (PyCFunction
)_wrap_Grid_GetGridCursorRow
, METH_O
, NULL
},
20438 { (char *)"Grid_GetGridCursorCol", (PyCFunction
)_wrap_Grid_GetGridCursorCol
, METH_O
, NULL
},
20439 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20440 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20441 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20442 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20443 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20444 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20445 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20446 { (char *)"Grid_MovePageDown", (PyCFunction
)_wrap_Grid_MovePageDown
, METH_O
, NULL
},
20447 { (char *)"Grid_MovePageUp", (PyCFunction
)_wrap_Grid_MovePageUp
, METH_O
, NULL
},
20448 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20449 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20450 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20451 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20452 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultRowLabelSize
, METH_O
, NULL
},
20453 { (char *)"Grid_GetRowLabelSize", (PyCFunction
)_wrap_Grid_GetRowLabelSize
, METH_O
, NULL
},
20454 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultColLabelSize
, METH_O
, NULL
},
20455 { (char *)"Grid_GetColLabelSize", (PyCFunction
)_wrap_Grid_GetColLabelSize
, METH_O
, NULL
},
20456 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
)_wrap_Grid_GetLabelBackgroundColour
, METH_O
, NULL
},
20457 { (char *)"Grid_GetLabelTextColour", (PyCFunction
)_wrap_Grid_GetLabelTextColour
, METH_O
, NULL
},
20458 { (char *)"Grid_GetLabelFont", (PyCFunction
)_wrap_Grid_GetLabelFont
, METH_O
, NULL
},
20459 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
)_wrap_Grid_GetRowLabelAlignment
, METH_O
, NULL
},
20460 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
)_wrap_Grid_GetColLabelAlignment
, METH_O
, NULL
},
20461 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
)_wrap_Grid_GetColLabelTextOrientation
, METH_O
, NULL
},
20462 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20463 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20464 { (char *)"Grid_GetGridLineColour", (PyCFunction
)_wrap_Grid_GetGridLineColour
, METH_O
, NULL
},
20465 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
)_wrap_Grid_GetCellHighlightColour
, METH_O
, NULL
},
20466 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightPenWidth
, METH_O
, NULL
},
20467 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightROPenWidth
, METH_O
, NULL
},
20468 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20469 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20470 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20471 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20472 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20473 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20474 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20475 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20476 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20477 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20478 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20479 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20480 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20481 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20482 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20483 { (char *)"Grid_DisableDragRowSize", (PyCFunction
)_wrap_Grid_DisableDragRowSize
, METH_O
, NULL
},
20484 { (char *)"Grid_CanDragRowSize", (PyCFunction
)_wrap_Grid_CanDragRowSize
, METH_O
, NULL
},
20485 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20486 { (char *)"Grid_DisableDragColSize", (PyCFunction
)_wrap_Grid_DisableDragColSize
, METH_O
, NULL
},
20487 { (char *)"Grid_CanDragColSize", (PyCFunction
)_wrap_Grid_CanDragColSize
, METH_O
, NULL
},
20488 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20489 { (char *)"Grid_DisableDragGridSize", (PyCFunction
)_wrap_Grid_DisableDragGridSize
, METH_O
, NULL
},
20490 { (char *)"Grid_CanDragGridSize", (PyCFunction
)_wrap_Grid_CanDragGridSize
, METH_O
, NULL
},
20491 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20492 { (char *)"Grid_DisableDragCell", (PyCFunction
)_wrap_Grid_DisableDragCell
, METH_O
, NULL
},
20493 { (char *)"Grid_CanDragCell", (PyCFunction
)_wrap_Grid_CanDragCell
, METH_O
, NULL
},
20494 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20495 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20496 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20497 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20498 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20499 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20500 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20501 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20502 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20503 { (char *)"Grid_GridLinesEnabled", (PyCFunction
)_wrap_Grid_GridLinesEnabled
, METH_O
, NULL
},
20504 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
)_wrap_Grid_GetDefaultRowSize
, METH_O
, NULL
},
20505 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20506 { (char *)"Grid_GetDefaultColSize", (PyCFunction
)_wrap_Grid_GetDefaultColSize
, METH_O
, NULL
},
20507 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20508 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
)_wrap_Grid_GetDefaultCellBackgroundColour
, METH_O
, NULL
},
20509 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20510 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
)_wrap_Grid_GetDefaultCellTextColour
, METH_O
, NULL
},
20511 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20512 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
)_wrap_Grid_GetDefaultCellFont
, METH_O
, NULL
},
20513 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20514 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
)_wrap_Grid_GetDefaultCellAlignment
, METH_O
, NULL
},
20515 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20516 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
)_wrap_Grid_GetDefaultCellOverflow
, METH_O
, NULL
},
20517 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20518 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20519 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20520 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20521 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20522 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20523 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20524 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20525 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20526 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20527 { (char *)"Grid_AutoSize", (PyCFunction
)_wrap_Grid_AutoSize
, METH_O
, NULL
},
20528 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20529 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20530 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20531 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20532 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20533 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20534 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
)_wrap_Grid_GetColMinimalAcceptableWidth
, METH_O
, NULL
},
20535 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
)_wrap_Grid_GetRowMinimalAcceptableHeight
, METH_O
, NULL
},
20536 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20537 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20538 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20539 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20540 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20541 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20542 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20543 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20544 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20545 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20546 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20547 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20548 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20549 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
)_wrap_Grid_GetDefaultRenderer
, METH_O
, NULL
},
20550 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20551 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20552 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20553 { (char *)"Grid_GetDefaultEditor", (PyCFunction
)_wrap_Grid_GetDefaultEditor
, METH_O
, NULL
},
20554 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20555 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20556 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20557 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20558 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20559 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20560 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20561 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20562 { (char *)"Grid_SelectAll", (PyCFunction
)_wrap_Grid_SelectAll
, METH_O
, NULL
},
20563 { (char *)"Grid_IsSelection", (PyCFunction
)_wrap_Grid_IsSelection
, METH_O
, NULL
},
20564 { (char *)"Grid_ClearSelection", (PyCFunction
)_wrap_Grid_ClearSelection
, METH_O
, NULL
},
20565 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20566 { (char *)"Grid_GetSelectedCells", (PyCFunction
)_wrap_Grid_GetSelectedCells
, METH_O
, NULL
},
20567 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
)_wrap_Grid_GetSelectionBlockTopLeft
, METH_O
, NULL
},
20568 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
)_wrap_Grid_GetSelectionBlockBottomRight
, METH_O
, NULL
},
20569 { (char *)"Grid_GetSelectedRows", (PyCFunction
)_wrap_Grid_GetSelectedRows
, METH_O
, NULL
},
20570 { (char *)"Grid_GetSelectedCols", (PyCFunction
)_wrap_Grid_GetSelectedCols
, METH_O
, NULL
},
20571 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20572 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20573 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20574 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20575 { (char *)"Grid_GetSelectionBackground", (PyCFunction
)_wrap_Grid_GetSelectionBackground
, METH_O
, NULL
},
20576 { (char *)"Grid_GetSelectionForeground", (PyCFunction
)_wrap_Grid_GetSelectionForeground
, METH_O
, NULL
},
20577 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20578 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20579 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20580 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20581 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20582 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20583 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20584 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20585 { (char *)"Grid_GetGridWindow", (PyCFunction
)_wrap_Grid_GetGridWindow
, METH_O
, NULL
},
20586 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
)_wrap_Grid_GetGridRowLabelWindow
, METH_O
, NULL
},
20587 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
)_wrap_Grid_GetGridColLabelWindow
, METH_O
, NULL
},
20588 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
)_wrap_Grid_GetGridCornerLabelWindow
, METH_O
, NULL
},
20589 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20590 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20591 { (char *)"Grid_GetScrollLineX", (PyCFunction
)_wrap_Grid_GetScrollLineX
, METH_O
, NULL
},
20592 { (char *)"Grid_GetScrollLineY", (PyCFunction
)_wrap_Grid_GetScrollLineY
, METH_O
, NULL
},
20593 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20594 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20595 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20596 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
20597 { (char *)"Grid_swiginit", Grid_swiginit
, METH_VARARGS
, NULL
},
20598 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20599 { (char *)"GridEvent_GetRow", (PyCFunction
)_wrap_GridEvent_GetRow
, METH_O
, NULL
},
20600 { (char *)"GridEvent_GetCol", (PyCFunction
)_wrap_GridEvent_GetCol
, METH_O
, NULL
},
20601 { (char *)"GridEvent_GetPosition", (PyCFunction
)_wrap_GridEvent_GetPosition
, METH_O
, NULL
},
20602 { (char *)"GridEvent_Selecting", (PyCFunction
)_wrap_GridEvent_Selecting
, METH_O
, NULL
},
20603 { (char *)"GridEvent_ControlDown", (PyCFunction
)_wrap_GridEvent_ControlDown
, METH_O
, NULL
},
20604 { (char *)"GridEvent_MetaDown", (PyCFunction
)_wrap_GridEvent_MetaDown
, METH_O
, NULL
},
20605 { (char *)"GridEvent_ShiftDown", (PyCFunction
)_wrap_GridEvent_ShiftDown
, METH_O
, NULL
},
20606 { (char *)"GridEvent_AltDown", (PyCFunction
)_wrap_GridEvent_AltDown
, METH_O
, NULL
},
20607 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
20608 { (char *)"GridEvent_swiginit", GridEvent_swiginit
, METH_VARARGS
, NULL
},
20609 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20610 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
)_wrap_GridSizeEvent_GetRowOrCol
, METH_O
, NULL
},
20611 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
)_wrap_GridSizeEvent_GetPosition
, METH_O
, NULL
},
20612 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
)_wrap_GridSizeEvent_ControlDown
, METH_O
, NULL
},
20613 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
)_wrap_GridSizeEvent_MetaDown
, METH_O
, NULL
},
20614 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
)_wrap_GridSizeEvent_ShiftDown
, METH_O
, NULL
},
20615 { (char *)"GridSizeEvent_AltDown", (PyCFunction
)_wrap_GridSizeEvent_AltDown
, METH_O
, NULL
},
20616 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
20617 { (char *)"GridSizeEvent_swiginit", GridSizeEvent_swiginit
, METH_VARARGS
, NULL
},
20618 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20619 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_O
, NULL
},
20620 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_O
, NULL
},
20621 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopRow
, METH_O
, NULL
},
20622 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRow
, METH_O
, NULL
},
20623 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetLeftCol
, METH_O
, NULL
},
20624 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetRightCol
, METH_O
, NULL
},
20625 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
)_wrap_GridRangeSelectEvent_Selecting
, METH_O
, NULL
},
20626 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ControlDown
, METH_O
, NULL
},
20627 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
)_wrap_GridRangeSelectEvent_MetaDown
, METH_O
, NULL
},
20628 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ShiftDown
, METH_O
, NULL
},
20629 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
)_wrap_GridRangeSelectEvent_AltDown
, METH_O
, NULL
},
20630 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
20631 { (char *)"GridRangeSelectEvent_swiginit", GridRangeSelectEvent_swiginit
, METH_VARARGS
, NULL
},
20632 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20633 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetRow
, METH_O
, NULL
},
20634 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetCol
, METH_O
, NULL
},
20635 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetControl
, METH_O
, NULL
},
20636 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20637 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20638 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20639 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
20640 { (char *)"GridEditorCreatedEvent_swiginit", GridEditorCreatedEvent_swiginit
, METH_VARARGS
, NULL
},
20641 { NULL
, NULL
, 0, NULL
}
20645 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
20647 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
20648 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
20650 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
20651 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
20653 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
20654 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
20656 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
20657 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
20659 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
20660 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
20662 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
20663 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
20665 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
20666 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
20668 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
20669 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
20671 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
20672 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
20674 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
20675 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
20677 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
20678 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
20680 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
20681 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
20683 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
20684 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
20686 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
20687 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
20689 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
20690 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
20692 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
20693 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
20695 static void *_p_wxGridTo_p_wxPanel(void *x
) {
20696 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
20698 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
20699 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
20701 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
20702 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
20704 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
20705 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
20707 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
20708 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
20710 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
20711 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
20713 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
20714 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
20716 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
20717 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
20719 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
20720 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
20722 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
20723 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
20725 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
20726 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
20728 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
20729 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
20731 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
20732 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
20734 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
20735 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
20737 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
20738 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
20740 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
20741 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
20743 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
20744 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
20746 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
20747 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
20749 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
20750 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
20752 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
20753 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
20755 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
20756 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
20758 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
20759 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
20761 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
20762 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
20764 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
20765 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
20767 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
20768 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
20770 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
20771 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
20773 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
20774 return (void *)((wxWindow
*) ((wxPanel
*) x
));
20776 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
20777 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
20779 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
20780 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
20782 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
20783 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
20785 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
20786 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
20788 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
20789 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
20791 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
20792 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
20794 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
20795 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
20797 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
20798 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
20800 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
20801 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
20803 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
20804 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
20806 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
20807 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
20809 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
20810 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
20812 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
20813 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
20815 static void *_p_wxControlTo_p_wxWindow(void *x
) {
20816 return (void *)((wxWindow
*) ((wxControl
*) x
));
20818 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
20819 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
20821 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
20822 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
20824 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
20825 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
20827 static void *_p_wxGridTo_p_wxWindow(void *x
) {
20828 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
20830 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
20831 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
20833 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
20834 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
20836 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
20837 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
20839 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
20840 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
20842 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
20843 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
20845 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
20846 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
20848 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
20849 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
20851 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
20852 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
20854 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
20855 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
20857 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
20858 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
20860 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
20861 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
20863 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
20864 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
20866 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
20867 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
20869 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
20870 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
20872 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
20873 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
20875 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
20876 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
20878 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
20879 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
20881 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
20882 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
20884 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
20885 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
20887 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
20888 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
20890 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
20891 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
20893 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
20894 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
20896 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
20897 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
20899 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
20900 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
20902 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
20903 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
20905 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
20906 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
20908 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
20909 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
20911 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
20912 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
20914 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
20915 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
20917 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
20918 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
20920 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
20921 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
20923 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
20924 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
20926 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
20927 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
20929 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
20930 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
20932 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
20933 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
20935 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
20936 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
20938 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
20939 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
20941 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
20942 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
20944 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
20945 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
20947 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
20948 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
20950 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
20951 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
20953 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
20954 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
20956 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
20957 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
20959 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
20960 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
20962 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
20963 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
20965 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
20966 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
20968 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
20969 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
20971 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
20972 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
20974 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
20975 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
20977 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
20978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
20980 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
20981 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
20983 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
20984 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
20986 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
20987 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
20989 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
20990 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
20992 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
20993 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
20995 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
20996 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
20998 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
20999 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21001 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21002 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21004 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21005 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21007 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21008 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21010 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21011 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21013 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21014 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21016 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21019 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21022 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21023 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21025 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21026 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21028 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21031 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21032 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21034 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21035 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21037 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21038 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21040 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21041 return (void *)((wxObject
*) ((wxSizer
*) x
));
21043 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21044 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21046 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21047 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21049 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21052 static void *_p_wxEventTo_p_wxObject(void *x
) {
21053 return (void *)((wxObject
*) ((wxEvent
*) x
));
21055 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21056 return (void *)((wxObject
*) ((wxFontData
*) x
));
21058 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21059 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21061 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21062 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21064 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21065 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21067 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21068 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21070 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21071 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21073 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
21074 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
21076 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21079 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
21080 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
21082 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21083 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21085 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21086 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21088 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21089 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21091 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21092 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21094 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21095 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21097 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21098 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21100 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21103 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
21104 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
21106 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
21107 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21109 static void *_p_wxControlTo_p_wxObject(void *x
) {
21110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21112 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21113 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21115 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21118 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21119 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21121 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21122 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21124 static void *_p_wxGridTo_p_wxObject(void *x
) {
21125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21127 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21128 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21130 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21133 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
21134 return (void *)((wxObject
*) ((wxColourData
*) x
));
21136 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21137 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21139 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21140 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21142 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
21143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
21145 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
21146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21148 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
21149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21151 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
21152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21154 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
21155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21157 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
21158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21160 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
21161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21163 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
21164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21166 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
21167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21169 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
21170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21172 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21173 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21175 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
21176 return (void *)((wxObject
*) ((wxPrinter
*) x
));
21178 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21179 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21181 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
21182 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
21184 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21185 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21187 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21190 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21191 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21193 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21194 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21196 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21197 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21199 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21200 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21202 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21203 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21205 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21206 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21208 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
21209 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21211 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21212 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21214 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21215 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21217 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21218 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21220 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21221 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21223 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21224 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21226 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21227 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21229 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21230 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21232 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21233 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21235 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21236 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21238 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
21239 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
21241 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21242 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21244 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21245 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21247 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21248 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21250 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21251 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21253 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
21254 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21256 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
21257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21259 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
21260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21262 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
21263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21265 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
21266 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
21268 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21269 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21271 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
21272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21274 static void *_p_wxImageTo_p_wxObject(void *x
) {
21275 return (void *)((wxObject
*) ((wxImage
*) x
));
21277 static void *_p_wxFrameTo_p_wxObject(void *x
) {
21278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21280 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
21281 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
21283 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21284 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21286 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
21287 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21289 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
21290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
21292 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
21293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21295 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21296 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21298 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21299 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21301 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21302 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21304 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21305 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21307 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21308 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21310 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21313 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
21314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21316 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
21317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
21319 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
21320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
21322 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
21323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
21325 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
21326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
21328 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
21329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21331 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
21332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
21334 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
21335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21337 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
21338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21340 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
21341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21343 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
21344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
21346 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
21347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21349 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
21350 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
21352 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
21353 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
21355 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
21356 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
21358 static void *_p_wxPanelTo_p_wxObject(void *x
) {
21359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
21361 static void *_p_wxDialogTo_p_wxObject(void *x
) {
21362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21364 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
21365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21367 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
21368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21370 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
21371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21373 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
21374 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
21376 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
21377 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
21379 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21380 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21382 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21383 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21385 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21386 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21388 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21389 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21391 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21392 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21394 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21395 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21397 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21398 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21400 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
21401 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
21403 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
21404 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
21406 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21409 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21410 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21412 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
21413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21415 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
21416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21418 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21419 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21421 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21422 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21424 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21427 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21430 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
21431 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
21433 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
21434 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
21436 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21439 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21440 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21442 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21445 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21448 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21451 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21452 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21454 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21455 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21457 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21458 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21460 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21461 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21463 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
21464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21466 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21469 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21472 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21475 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21478 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21481 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21484 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21487 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21488 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21490 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21491 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21493 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21496 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21497 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21499 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21502 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21503 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21505 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21508 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21509 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21511 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21512 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21514 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21515 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21517 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21518 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21520 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21523 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21524 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21526 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21527 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21529 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
21530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21532 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21533 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21535 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21538 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21539 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21541 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21542 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21544 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21545 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21547 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
21548 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21550 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21553 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21554 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21556 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21557 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21559 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21560 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21562 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21563 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21565 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21566 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21568 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21569 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21571 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
21572 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
21574 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21577 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21578 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21580 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21581 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21583 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21584 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21586 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21589 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21592 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
21593 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
21595 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
21596 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
21598 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
21599 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
21601 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
21602 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
21604 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
21605 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
21607 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
21608 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
21610 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
21611 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
21613 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
21614 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
21616 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
21617 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
21619 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
21620 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
21622 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
21623 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
21625 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
21626 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
21628 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
21629 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
21631 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
21632 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
21634 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
21635 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21637 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
21638 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21640 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
21641 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
21643 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
21644 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21646 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
21647 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21649 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
21650 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21652 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
21653 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21655 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
21656 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
21658 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
21659 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21661 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
21662 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21664 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
21665 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
21667 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
21668 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21670 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
21671 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21673 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
21674 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21676 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
21677 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21679 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
21680 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
21682 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
21683 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
21685 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
21686 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};
21687 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
21688 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
21689 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
21690 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
21691 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
21692 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
21693 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
21694 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
21695 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
21696 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
21697 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
21698 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
21699 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
21700 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
21701 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
21702 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
21703 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
21704 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
21705 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
21706 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
21707 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
21708 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
21709 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
21710 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
21711 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
21712 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
21713 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
21714 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
21715 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
21716 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
21717 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
21718 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
21719 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
21720 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
21721 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
21722 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
21723 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
21724 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
21725 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
21726 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
21727 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
21728 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
21729 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
21730 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
21731 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
21732 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
21733 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
21734 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
21735 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
21736 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
21737 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
21738 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
21739 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
21740 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
21741 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
21742 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
21743 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
21744 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
21745 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
21746 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
21747 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
21748 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
21749 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
21750 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
21751 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
21752 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
21753 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
21754 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
21755 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
21756 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
21757 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
21758 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
21759 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
21760 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
21761 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
21762 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
21763 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
21764 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
21765 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
21766 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
21767 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
21768 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
21769 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
21770 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
21771 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
21772 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
21773 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
21774 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
21775 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
21776 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
21777 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
21778 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
21779 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
21780 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
21781 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
21782 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
21783 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
21784 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
21785 static swig_type_info _swigt__p_wxGrid
= {"_p_wxGrid", "wxGrid *", 0, 0, (void*)0, 0};
21786 static swig_type_info _swigt__p_wxGridCellAttr
= {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, (void*)0, 0};
21787 static swig_type_info _swigt__p_wxGridCellAttrProvider
= {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, (void*)0, 0};
21788 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
= {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, (void*)0, 0};
21789 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
= {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, (void*)0, 0};
21790 static swig_type_info _swigt__p_wxGridCellBoolEditor
= {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, (void*)0, 0};
21791 static swig_type_info _swigt__p_wxGridCellBoolRenderer
= {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, (void*)0, 0};
21792 static swig_type_info _swigt__p_wxGridCellChoiceEditor
= {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, (void*)0, 0};
21793 static swig_type_info _swigt__p_wxGridCellCoords
= {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, (void*)0, 0};
21794 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
= {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, (void*)0, 0};
21795 static swig_type_info _swigt__p_wxGridCellEditor
= {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, (void*)0, 0};
21796 static swig_type_info _swigt__p_wxGridCellEnumEditor
= {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, (void*)0, 0};
21797 static swig_type_info _swigt__p_wxGridCellEnumRenderer
= {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, (void*)0, 0};
21798 static swig_type_info _swigt__p_wxGridCellFloatEditor
= {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, (void*)0, 0};
21799 static swig_type_info _swigt__p_wxGridCellFloatRenderer
= {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, (void*)0, 0};
21800 static swig_type_info _swigt__p_wxGridCellNumberEditor
= {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, (void*)0, 0};
21801 static swig_type_info _swigt__p_wxGridCellNumberRenderer
= {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, (void*)0, 0};
21802 static swig_type_info _swigt__p_wxGridCellRenderer
= {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, (void*)0, 0};
21803 static swig_type_info _swigt__p_wxGridCellStringRenderer
= {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, (void*)0, 0};
21804 static swig_type_info _swigt__p_wxGridCellTextEditor
= {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, (void*)0, 0};
21805 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
= {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, (void*)0, 0};
21806 static swig_type_info _swigt__p_wxGridEvent
= {"_p_wxGridEvent", "wxGridEvent *", 0, 0, (void*)0, 0};
21807 static swig_type_info _swigt__p_wxGridRangeSelectEvent
= {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, (void*)0, 0};
21808 static swig_type_info _swigt__p_wxGridSizeEvent
= {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, (void*)0, 0};
21809 static swig_type_info _swigt__p_wxGridStringTable
= {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, (void*)0, 0};
21810 static swig_type_info _swigt__p_wxGridTableBase
= {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, (void*)0, 0};
21811 static swig_type_info _swigt__p_wxGridTableMessage
= {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, (void*)0, 0};
21812 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
21813 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
21814 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
21815 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
21816 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
21817 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
21818 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
21819 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
21820 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
21821 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
21822 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
21823 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
21824 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
21825 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
21826 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
21827 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
21828 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
21829 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
21830 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
21831 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
21832 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
21833 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
21834 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
21835 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
21836 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
21837 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
21838 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
21839 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
21840 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
21841 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
21842 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
21843 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
21844 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
21845 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
21846 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
21847 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
21848 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
21849 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
21850 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
21851 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
21852 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
21853 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
21854 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
21855 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
21856 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
21857 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
21858 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
21859 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
21860 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
21861 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
= {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, (void*)0, 0};
21862 static swig_type_info _swigt__p_wxPyGridCellEditor
= {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, (void*)0, 0};
21863 static swig_type_info _swigt__p_wxPyGridCellRenderer
= {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, (void*)0, 0};
21864 static swig_type_info _swigt__p_wxPyGridTableBase
= {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, (void*)0, 0};
21865 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
21866 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
21867 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
21868 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
21869 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
21870 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
21872 static swig_type_info
*swig_type_initial
[] = {
21874 &_swigt__p_form_ops_t
,
21877 &_swigt__p_unsigned_char
,
21878 &_swigt__p_unsigned_int
,
21879 &_swigt__p_unsigned_long
,
21880 &_swigt__p_wxANIHandler
,
21881 &_swigt__p_wxAcceleratorTable
,
21882 &_swigt__p_wxActivateEvent
,
21883 &_swigt__p_wxArrayString
,
21884 &_swigt__p_wxBMPHandler
,
21885 &_swigt__p_wxBoxSizer
,
21886 &_swigt__p_wxCURHandler
,
21887 &_swigt__p_wxCalculateLayoutEvent
,
21888 &_swigt__p_wxChildFocusEvent
,
21889 &_swigt__p_wxCloseEvent
,
21890 &_swigt__p_wxColour
,
21891 &_swigt__p_wxColourData
,
21892 &_swigt__p_wxColourDialog
,
21893 &_swigt__p_wxCommandEvent
,
21894 &_swigt__p_wxContextMenuEvent
,
21895 &_swigt__p_wxControl
,
21896 &_swigt__p_wxControlWithItems
,
21898 &_swigt__p_wxDateEvent
,
21899 &_swigt__p_wxDialog
,
21900 &_swigt__p_wxDirDialog
,
21901 &_swigt__p_wxDisplayChangedEvent
,
21902 &_swigt__p_wxDropFilesEvent
,
21903 &_swigt__p_wxDuplexMode
,
21904 &_swigt__p_wxEraseEvent
,
21905 &_swigt__p_wxEvent
,
21906 &_swigt__p_wxEvtHandler
,
21907 &_swigt__p_wxFSFile
,
21908 &_swigt__p_wxFileDialog
,
21909 &_swigt__p_wxFileSystem
,
21910 &_swigt__p_wxFindDialogEvent
,
21911 &_swigt__p_wxFindReplaceData
,
21912 &_swigt__p_wxFindReplaceDialog
,
21913 &_swigt__p_wxFlexGridSizer
,
21914 &_swigt__p_wxFocusEvent
,
21916 &_swigt__p_wxFontData
,
21917 &_swigt__p_wxFontDialog
,
21918 &_swigt__p_wxFrame
,
21919 &_swigt__p_wxGBSizerItem
,
21920 &_swigt__p_wxGIFHandler
,
21922 &_swigt__p_wxGridBagSizer
,
21923 &_swigt__p_wxGridCellAttr
,
21924 &_swigt__p_wxGridCellAttrProvider
,
21925 &_swigt__p_wxGridCellAutoWrapStringEditor
,
21926 &_swigt__p_wxGridCellAutoWrapStringRenderer
,
21927 &_swigt__p_wxGridCellBoolEditor
,
21928 &_swigt__p_wxGridCellBoolRenderer
,
21929 &_swigt__p_wxGridCellChoiceEditor
,
21930 &_swigt__p_wxGridCellCoords
,
21931 &_swigt__p_wxGridCellDateTimeRenderer
,
21932 &_swigt__p_wxGridCellEditor
,
21933 &_swigt__p_wxGridCellEnumEditor
,
21934 &_swigt__p_wxGridCellEnumRenderer
,
21935 &_swigt__p_wxGridCellFloatEditor
,
21936 &_swigt__p_wxGridCellFloatRenderer
,
21937 &_swigt__p_wxGridCellNumberEditor
,
21938 &_swigt__p_wxGridCellNumberRenderer
,
21939 &_swigt__p_wxGridCellRenderer
,
21940 &_swigt__p_wxGridCellStringRenderer
,
21941 &_swigt__p_wxGridCellTextEditor
,
21942 &_swigt__p_wxGridEditorCreatedEvent
,
21943 &_swigt__p_wxGridEvent
,
21944 &_swigt__p_wxGridRangeSelectEvent
,
21945 &_swigt__p_wxGridSizeEvent
,
21946 &_swigt__p_wxGridSizer
,
21947 &_swigt__p_wxGridStringTable
,
21948 &_swigt__p_wxGridTableBase
,
21949 &_swigt__p_wxGridTableMessage
,
21950 &_swigt__p_wxICOHandler
,
21951 &_swigt__p_wxIconizeEvent
,
21952 &_swigt__p_wxIdleEvent
,
21953 &_swigt__p_wxImage
,
21954 &_swigt__p_wxImageHandler
,
21955 &_swigt__p_wxIndividualLayoutConstraint
,
21956 &_swigt__p_wxInitDialogEvent
,
21957 &_swigt__p_wxJPEGHandler
,
21958 &_swigt__p_wxKeyEvent
,
21959 &_swigt__p_wxLayoutAlgorithm
,
21960 &_swigt__p_wxLayoutConstraints
,
21961 &_swigt__p_wxMDIChildFrame
,
21962 &_swigt__p_wxMDIClientWindow
,
21963 &_swigt__p_wxMDIParentFrame
,
21964 &_swigt__p_wxMaximizeEvent
,
21966 &_swigt__p_wxMenuBar
,
21967 &_swigt__p_wxMenuEvent
,
21968 &_swigt__p_wxMenuItem
,
21969 &_swigt__p_wxMessageDialog
,
21970 &_swigt__p_wxMiniFrame
,
21971 &_swigt__p_wxMouseCaptureChangedEvent
,
21972 &_swigt__p_wxMouseEvent
,
21973 &_swigt__p_wxMoveEvent
,
21974 &_swigt__p_wxMultiChoiceDialog
,
21975 &_swigt__p_wxNavigationKeyEvent
,
21976 &_swigt__p_wxNcPaintEvent
,
21977 &_swigt__p_wxNotifyEvent
,
21978 &_swigt__p_wxObject
,
21979 &_swigt__p_wxPCXHandler
,
21980 &_swigt__p_wxPNGHandler
,
21981 &_swigt__p_wxPNMHandler
,
21982 &_swigt__p_wxPageSetupDialog
,
21983 &_swigt__p_wxPageSetupDialogData
,
21984 &_swigt__p_wxPaintEvent
,
21985 &_swigt__p_wxPaletteChangedEvent
,
21986 &_swigt__p_wxPanel
,
21987 &_swigt__p_wxPaperSize
,
21988 &_swigt__p_wxPasswordEntryDialog
,
21989 &_swigt__p_wxPoint
,
21990 &_swigt__p_wxPopupWindow
,
21991 &_swigt__p_wxPreviewCanvas
,
21992 &_swigt__p_wxPreviewControlBar
,
21993 &_swigt__p_wxPreviewFrame
,
21994 &_swigt__p_wxPrintData
,
21995 &_swigt__p_wxPrintDialog
,
21996 &_swigt__p_wxPrintDialogData
,
21997 &_swigt__p_wxPrintPreview
,
21998 &_swigt__p_wxPrinter
,
21999 &_swigt__p_wxProgressDialog
,
22000 &_swigt__p_wxPyApp
,
22001 &_swigt__p_wxPyCommandEvent
,
22002 &_swigt__p_wxPyEvent
,
22003 &_swigt__p_wxPyGridCellAttrProvider
,
22004 &_swigt__p_wxPyGridCellEditor
,
22005 &_swigt__p_wxPyGridCellRenderer
,
22006 &_swigt__p_wxPyGridTableBase
,
22007 &_swigt__p_wxPyHtmlListBox
,
22008 &_swigt__p_wxPyImageHandler
,
22009 &_swigt__p_wxPyPanel
,
22010 &_swigt__p_wxPyPopupTransientWindow
,
22011 &_swigt__p_wxPyPreviewControlBar
,
22012 &_swigt__p_wxPyPreviewFrame
,
22013 &_swigt__p_wxPyPrintPreview
,
22014 &_swigt__p_wxPyPrintout
,
22015 &_swigt__p_wxPyScrolledWindow
,
22016 &_swigt__p_wxPySizer
,
22017 &_swigt__p_wxPyTaskBarIcon
,
22018 &_swigt__p_wxPyVListBox
,
22019 &_swigt__p_wxPyVScrolledWindow
,
22020 &_swigt__p_wxPyValidator
,
22021 &_swigt__p_wxPyWindow
,
22022 &_swigt__p_wxQueryLayoutInfoEvent
,
22023 &_swigt__p_wxQueryNewPaletteEvent
,
22025 &_swigt__p_wxSashEvent
,
22026 &_swigt__p_wxSashLayoutWindow
,
22027 &_swigt__p_wxSashWindow
,
22028 &_swigt__p_wxScrollEvent
,
22029 &_swigt__p_wxScrollWinEvent
,
22030 &_swigt__p_wxScrolledWindow
,
22031 &_swigt__p_wxSetCursorEvent
,
22032 &_swigt__p_wxShowEvent
,
22033 &_swigt__p_wxSingleChoiceDialog
,
22035 &_swigt__p_wxSizeEvent
,
22036 &_swigt__p_wxSizer
,
22037 &_swigt__p_wxSizerItem
,
22038 &_swigt__p_wxSplashScreen
,
22039 &_swigt__p_wxSplashScreenWindow
,
22040 &_swigt__p_wxSplitterEvent
,
22041 &_swigt__p_wxSplitterWindow
,
22042 &_swigt__p_wxStaticBoxSizer
,
22043 &_swigt__p_wxStatusBar
,
22044 &_swigt__p_wxStdDialogButtonSizer
,
22045 &_swigt__p_wxString
,
22046 &_swigt__p_wxSysColourChangedEvent
,
22047 &_swigt__p_wxTIFFHandler
,
22048 &_swigt__p_wxTaskBarIconEvent
,
22049 &_swigt__p_wxTextEntryDialog
,
22050 &_swigt__p_wxTipWindow
,
22051 &_swigt__p_wxTopLevelWindow
,
22052 &_swigt__p_wxUpdateUIEvent
,
22053 &_swigt__p_wxValidator
,
22054 &_swigt__p_wxVisualAttributes
,
22055 &_swigt__p_wxWindow
,
22056 &_swigt__p_wxWindowCreateEvent
,
22057 &_swigt__p_wxWindowDestroyEvent
,
22058 &_swigt__p_wxXPMHandler
,
22061 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
22062 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
22063 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
22064 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
22065 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
22066 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
22067 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
22068 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
22069 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
22070 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
22071 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22072 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
22073 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
22074 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
22075 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22076 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22077 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22078 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22079 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22080 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
22081 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
22082 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
22083 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}};
22084 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
22085 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
22086 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22087 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22088 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22089 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22090 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
22091 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22092 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22093 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
22094 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
22095 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
22096 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22097 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22098 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22099 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22100 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
22101 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22102 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22103 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22104 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22105 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22106 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22107 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
22108 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22109 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
22110 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
22111 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22112 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
22113 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
22114 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
22115 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
22116 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
22117 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
22118 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
22119 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
22120 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
22121 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
22122 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
22123 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22124 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
22125 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22126 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22127 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22128 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22129 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
22130 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
22131 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
22132 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
22133 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
22134 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
22135 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
22136 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22137 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22138 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22139 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22140 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
22141 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22142 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22143 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
22144 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
22145 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
22146 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
22147 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
22148 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
22149 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22150 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22151 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
22152 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
22153 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
22154 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
22155 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
22156 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
22157 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
22158 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
22159 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
22160 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
22161 static swig_cast_info _swigc__p_wxGrid
[] = { {&_swigt__p_wxGrid
, 0, 0, 0},{0, 0, 0, 0}};
22162 static swig_cast_info _swigc__p_wxGridCellAttr
[] = { {&_swigt__p_wxGridCellAttr
, 0, 0, 0},{0, 0, 0, 0}};
22163 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}};
22164 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor
[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor
, 0, 0, 0},{0, 0, 0, 0}};
22165 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer
[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22166 static swig_cast_info _swigc__p_wxGridCellBoolEditor
[] = { {&_swigt__p_wxGridCellBoolEditor
, 0, 0, 0},{0, 0, 0, 0}};
22167 static swig_cast_info _swigc__p_wxGridCellBoolRenderer
[] = { {&_swigt__p_wxGridCellBoolRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22168 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}};
22169 static swig_cast_info _swigc__p_wxGridCellCoords
[] = { {&_swigt__p_wxGridCellCoords
, 0, 0, 0},{0, 0, 0, 0}};
22170 static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer
[] = { {&_swigt__p_wxGridCellDateTimeRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22171 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}};
22172 static swig_cast_info _swigc__p_wxGridCellEnumEditor
[] = { {&_swigt__p_wxGridCellEnumEditor
, 0, 0, 0},{0, 0, 0, 0}};
22173 static swig_cast_info _swigc__p_wxGridCellEnumRenderer
[] = { {&_swigt__p_wxGridCellEnumRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22174 static swig_cast_info _swigc__p_wxGridCellFloatEditor
[] = { {&_swigt__p_wxGridCellFloatEditor
, 0, 0, 0},{0, 0, 0, 0}};
22175 static swig_cast_info _swigc__p_wxGridCellFloatRenderer
[] = { {&_swigt__p_wxGridCellFloatRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22176 static swig_cast_info _swigc__p_wxGridCellNumberEditor
[] = { {&_swigt__p_wxGridCellNumberEditor
, 0, 0, 0},{0, 0, 0, 0}};
22177 static swig_cast_info _swigc__p_wxGridCellNumberRenderer
[] = { {&_swigt__p_wxGridCellNumberRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22178 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}};
22179 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}};
22180 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}};
22181 static swig_cast_info _swigc__p_wxGridEditorCreatedEvent
[] = { {&_swigt__p_wxGridEditorCreatedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22182 static swig_cast_info _swigc__p_wxGridEvent
[] = { {&_swigt__p_wxGridEvent
, 0, 0, 0},{0, 0, 0, 0}};
22183 static swig_cast_info _swigc__p_wxGridRangeSelectEvent
[] = { {&_swigt__p_wxGridRangeSelectEvent
, 0, 0, 0},{0, 0, 0, 0}};
22184 static swig_cast_info _swigc__p_wxGridSizeEvent
[] = { {&_swigt__p_wxGridSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22185 static swig_cast_info _swigc__p_wxGridStringTable
[] = { {&_swigt__p_wxGridStringTable
, 0, 0, 0},{0, 0, 0, 0}};
22186 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}};
22187 static swig_cast_info _swigc__p_wxGridTableMessage
[] = { {&_swigt__p_wxGridTableMessage
, 0, 0, 0},{0, 0, 0, 0}};
22188 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22189 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}};
22190 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
22191 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22192 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22193 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
22194 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22195 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22196 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22197 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
22198 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
22199 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
22200 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22201 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22202 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
22203 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
22204 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
22205 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
22206 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
22207 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
22208 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
22209 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
22210 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22211 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22212 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
22213 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22214 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22215 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
22216 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
22217 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
22218 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22219 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22220 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22221 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22222 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
22223 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
22224 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
22225 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
22226 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22227 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22228 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
22229 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
22230 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
22231 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22232 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22233 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridStringTable
, _p_wxGridStringTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridTableBase
, _p_wxGridTableBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyGridTableBase
, _p_wxPyGridTableBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
22234 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}};
22235 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
22236 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
22237 static swig_cast_info _swigc__p_wxPyGridCellAttrProvider
[] = { {&_swigt__p_wxPyGridCellAttrProvider
, 0, 0, 0},{0, 0, 0, 0}};
22238 static swig_cast_info _swigc__p_wxPyGridCellEditor
[] = { {&_swigt__p_wxPyGridCellEditor
, 0, 0, 0},{0, 0, 0, 0}};
22239 static swig_cast_info _swigc__p_wxPyGridCellRenderer
[] = { {&_swigt__p_wxPyGridCellRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22240 static swig_cast_info _swigc__p_wxPyGridTableBase
[] = { {&_swigt__p_wxPyGridTableBase
, 0, 0, 0},{0, 0, 0, 0}};
22241 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
22242 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}};
22243 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
22244 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
22245 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
22246 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
22248 static swig_cast_info
*swig_cast_initial
[] = {
22250 _swigc__p_form_ops_t
,
22253 _swigc__p_unsigned_char
,
22254 _swigc__p_unsigned_int
,
22255 _swigc__p_unsigned_long
,
22256 _swigc__p_wxANIHandler
,
22257 _swigc__p_wxAcceleratorTable
,
22258 _swigc__p_wxActivateEvent
,
22259 _swigc__p_wxArrayString
,
22260 _swigc__p_wxBMPHandler
,
22261 _swigc__p_wxBoxSizer
,
22262 _swigc__p_wxCURHandler
,
22263 _swigc__p_wxCalculateLayoutEvent
,
22264 _swigc__p_wxChildFocusEvent
,
22265 _swigc__p_wxCloseEvent
,
22266 _swigc__p_wxColour
,
22267 _swigc__p_wxColourData
,
22268 _swigc__p_wxColourDialog
,
22269 _swigc__p_wxCommandEvent
,
22270 _swigc__p_wxContextMenuEvent
,
22271 _swigc__p_wxControl
,
22272 _swigc__p_wxControlWithItems
,
22274 _swigc__p_wxDateEvent
,
22275 _swigc__p_wxDialog
,
22276 _swigc__p_wxDirDialog
,
22277 _swigc__p_wxDisplayChangedEvent
,
22278 _swigc__p_wxDropFilesEvent
,
22279 _swigc__p_wxDuplexMode
,
22280 _swigc__p_wxEraseEvent
,
22282 _swigc__p_wxEvtHandler
,
22283 _swigc__p_wxFSFile
,
22284 _swigc__p_wxFileDialog
,
22285 _swigc__p_wxFileSystem
,
22286 _swigc__p_wxFindDialogEvent
,
22287 _swigc__p_wxFindReplaceData
,
22288 _swigc__p_wxFindReplaceDialog
,
22289 _swigc__p_wxFlexGridSizer
,
22290 _swigc__p_wxFocusEvent
,
22292 _swigc__p_wxFontData
,
22293 _swigc__p_wxFontDialog
,
22295 _swigc__p_wxGBSizerItem
,
22296 _swigc__p_wxGIFHandler
,
22298 _swigc__p_wxGridBagSizer
,
22299 _swigc__p_wxGridCellAttr
,
22300 _swigc__p_wxGridCellAttrProvider
,
22301 _swigc__p_wxGridCellAutoWrapStringEditor
,
22302 _swigc__p_wxGridCellAutoWrapStringRenderer
,
22303 _swigc__p_wxGridCellBoolEditor
,
22304 _swigc__p_wxGridCellBoolRenderer
,
22305 _swigc__p_wxGridCellChoiceEditor
,
22306 _swigc__p_wxGridCellCoords
,
22307 _swigc__p_wxGridCellDateTimeRenderer
,
22308 _swigc__p_wxGridCellEditor
,
22309 _swigc__p_wxGridCellEnumEditor
,
22310 _swigc__p_wxGridCellEnumRenderer
,
22311 _swigc__p_wxGridCellFloatEditor
,
22312 _swigc__p_wxGridCellFloatRenderer
,
22313 _swigc__p_wxGridCellNumberEditor
,
22314 _swigc__p_wxGridCellNumberRenderer
,
22315 _swigc__p_wxGridCellRenderer
,
22316 _swigc__p_wxGridCellStringRenderer
,
22317 _swigc__p_wxGridCellTextEditor
,
22318 _swigc__p_wxGridEditorCreatedEvent
,
22319 _swigc__p_wxGridEvent
,
22320 _swigc__p_wxGridRangeSelectEvent
,
22321 _swigc__p_wxGridSizeEvent
,
22322 _swigc__p_wxGridSizer
,
22323 _swigc__p_wxGridStringTable
,
22324 _swigc__p_wxGridTableBase
,
22325 _swigc__p_wxGridTableMessage
,
22326 _swigc__p_wxICOHandler
,
22327 _swigc__p_wxIconizeEvent
,
22328 _swigc__p_wxIdleEvent
,
22330 _swigc__p_wxImageHandler
,
22331 _swigc__p_wxIndividualLayoutConstraint
,
22332 _swigc__p_wxInitDialogEvent
,
22333 _swigc__p_wxJPEGHandler
,
22334 _swigc__p_wxKeyEvent
,
22335 _swigc__p_wxLayoutAlgorithm
,
22336 _swigc__p_wxLayoutConstraints
,
22337 _swigc__p_wxMDIChildFrame
,
22338 _swigc__p_wxMDIClientWindow
,
22339 _swigc__p_wxMDIParentFrame
,
22340 _swigc__p_wxMaximizeEvent
,
22342 _swigc__p_wxMenuBar
,
22343 _swigc__p_wxMenuEvent
,
22344 _swigc__p_wxMenuItem
,
22345 _swigc__p_wxMessageDialog
,
22346 _swigc__p_wxMiniFrame
,
22347 _swigc__p_wxMouseCaptureChangedEvent
,
22348 _swigc__p_wxMouseEvent
,
22349 _swigc__p_wxMoveEvent
,
22350 _swigc__p_wxMultiChoiceDialog
,
22351 _swigc__p_wxNavigationKeyEvent
,
22352 _swigc__p_wxNcPaintEvent
,
22353 _swigc__p_wxNotifyEvent
,
22354 _swigc__p_wxObject
,
22355 _swigc__p_wxPCXHandler
,
22356 _swigc__p_wxPNGHandler
,
22357 _swigc__p_wxPNMHandler
,
22358 _swigc__p_wxPageSetupDialog
,
22359 _swigc__p_wxPageSetupDialogData
,
22360 _swigc__p_wxPaintEvent
,
22361 _swigc__p_wxPaletteChangedEvent
,
22363 _swigc__p_wxPaperSize
,
22364 _swigc__p_wxPasswordEntryDialog
,
22366 _swigc__p_wxPopupWindow
,
22367 _swigc__p_wxPreviewCanvas
,
22368 _swigc__p_wxPreviewControlBar
,
22369 _swigc__p_wxPreviewFrame
,
22370 _swigc__p_wxPrintData
,
22371 _swigc__p_wxPrintDialog
,
22372 _swigc__p_wxPrintDialogData
,
22373 _swigc__p_wxPrintPreview
,
22374 _swigc__p_wxPrinter
,
22375 _swigc__p_wxProgressDialog
,
22377 _swigc__p_wxPyCommandEvent
,
22378 _swigc__p_wxPyEvent
,
22379 _swigc__p_wxPyGridCellAttrProvider
,
22380 _swigc__p_wxPyGridCellEditor
,
22381 _swigc__p_wxPyGridCellRenderer
,
22382 _swigc__p_wxPyGridTableBase
,
22383 _swigc__p_wxPyHtmlListBox
,
22384 _swigc__p_wxPyImageHandler
,
22385 _swigc__p_wxPyPanel
,
22386 _swigc__p_wxPyPopupTransientWindow
,
22387 _swigc__p_wxPyPreviewControlBar
,
22388 _swigc__p_wxPyPreviewFrame
,
22389 _swigc__p_wxPyPrintPreview
,
22390 _swigc__p_wxPyPrintout
,
22391 _swigc__p_wxPyScrolledWindow
,
22392 _swigc__p_wxPySizer
,
22393 _swigc__p_wxPyTaskBarIcon
,
22394 _swigc__p_wxPyVListBox
,
22395 _swigc__p_wxPyVScrolledWindow
,
22396 _swigc__p_wxPyValidator
,
22397 _swigc__p_wxPyWindow
,
22398 _swigc__p_wxQueryLayoutInfoEvent
,
22399 _swigc__p_wxQueryNewPaletteEvent
,
22401 _swigc__p_wxSashEvent
,
22402 _swigc__p_wxSashLayoutWindow
,
22403 _swigc__p_wxSashWindow
,
22404 _swigc__p_wxScrollEvent
,
22405 _swigc__p_wxScrollWinEvent
,
22406 _swigc__p_wxScrolledWindow
,
22407 _swigc__p_wxSetCursorEvent
,
22408 _swigc__p_wxShowEvent
,
22409 _swigc__p_wxSingleChoiceDialog
,
22411 _swigc__p_wxSizeEvent
,
22413 _swigc__p_wxSizerItem
,
22414 _swigc__p_wxSplashScreen
,
22415 _swigc__p_wxSplashScreenWindow
,
22416 _swigc__p_wxSplitterEvent
,
22417 _swigc__p_wxSplitterWindow
,
22418 _swigc__p_wxStaticBoxSizer
,
22419 _swigc__p_wxStatusBar
,
22420 _swigc__p_wxStdDialogButtonSizer
,
22421 _swigc__p_wxString
,
22422 _swigc__p_wxSysColourChangedEvent
,
22423 _swigc__p_wxTIFFHandler
,
22424 _swigc__p_wxTaskBarIconEvent
,
22425 _swigc__p_wxTextEntryDialog
,
22426 _swigc__p_wxTipWindow
,
22427 _swigc__p_wxTopLevelWindow
,
22428 _swigc__p_wxUpdateUIEvent
,
22429 _swigc__p_wxValidator
,
22430 _swigc__p_wxVisualAttributes
,
22431 _swigc__p_wxWindow
,
22432 _swigc__p_wxWindowCreateEvent
,
22433 _swigc__p_wxWindowDestroyEvent
,
22434 _swigc__p_wxXPMHandler
,
22438 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22440 static swig_const_info swig_const_table
[] = {
22441 {0, 0, 0, 0.0, 0, 0}};
22446 /* -----------------------------------------------------------------------------
22447 * Type initialization:
22448 * This problem is tough by the requirement that no dynamic
22449 * memory is used. Also, since swig_type_info structures store pointers to
22450 * swig_cast_info structures and swig_cast_info structures store pointers back
22451 * to swig_type_info structures, we need some lookup code at initialization.
22452 * The idea is that swig generates all the structures that are needed.
22453 * The runtime then collects these partially filled structures.
22454 * The SWIG_InitializeModule function takes these initial arrays out of
22455 * swig_module, and does all the lookup, filling in the swig_module.types
22456 * array with the correct data and linking the correct swig_cast_info
22457 * structures together.
22459 * The generated swig_type_info structures are assigned staticly to an initial
22460 * array. We just loop though that array, and handle each type individually.
22461 * First we lookup if this type has been already loaded, and if so, use the
22462 * loaded structure instead of the generated one. Then we have to fill in the
22463 * cast linked list. The cast data is initially stored in something like a
22464 * two-dimensional array. Each row corresponds to a type (there are the same
22465 * number of rows as there are in the swig_type_initial array). Each entry in
22466 * a column is one of the swig_cast_info structures for that type.
22467 * The cast_initial array is actually an array of arrays, because each row has
22468 * a variable number of columns. So to actually build the cast linked list,
22469 * we find the array of casts associated with the type, and loop through it
22470 * adding the casts to the list. The one last trick we need to do is making
22471 * sure the type pointer in the swig_cast_info struct is correct.
22473 * First off, we lookup the cast->type name to see if it is already loaded.
22474 * There are three cases to handle:
22475 * 1) If the cast->type has already been loaded AND the type we are adding
22476 * casting info to has not been loaded (it is in this module), THEN we
22477 * replace the cast->type pointer with the type pointer that has already
22479 * 2) If BOTH types (the one we are adding casting info to, and the
22480 * cast->type) are loaded, THEN the cast info has already been loaded by
22481 * the previous module so we just ignore it.
22482 * 3) Finally, if cast->type has not already been loaded, then we add that
22483 * swig_cast_info to the linked list (because the cast->type) pointer will
22485 * ----------------------------------------------------------------------------- */
22495 #define SWIGRUNTIME_DEBUG
22499 SWIG_InitializeModule(void *clientdata
) {
22501 swig_module_info
*module_head
;
22502 static int init_run
= 0;
22504 clientdata
= clientdata
;
22506 if (init_run
) return;
22509 /* Initialize the swig_module */
22510 swig_module
.type_initial
= swig_type_initial
;
22511 swig_module
.cast_initial
= swig_cast_initial
;
22513 /* Try and load any already created modules */
22514 module_head
= SWIG_GetModule(clientdata
);
22516 swig_module
.next
= module_head
->next
;
22517 module_head
->next
= &swig_module
;
22519 /* This is the first module loaded */
22520 swig_module
.next
= &swig_module
;
22521 SWIG_SetModule(clientdata
, &swig_module
);
22524 /* Now work on filling in swig_module.types */
22525 #ifdef SWIGRUNTIME_DEBUG
22526 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
22528 for (i
= 0; i
< swig_module
.size
; ++i
) {
22529 swig_type_info
*type
= 0;
22530 swig_type_info
*ret
;
22531 swig_cast_info
*cast
;
22533 #ifdef SWIGRUNTIME_DEBUG
22534 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
22537 /* if there is another module already loaded */
22538 if (swig_module
.next
!= &swig_module
) {
22539 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
22542 /* Overwrite clientdata field */
22543 #ifdef SWIGRUNTIME_DEBUG
22544 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
22546 if (swig_module
.type_initial
[i
]->clientdata
) {
22547 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
22548 #ifdef SWIGRUNTIME_DEBUG
22549 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
22553 type
= swig_module
.type_initial
[i
];
22556 /* Insert casting types */
22557 cast
= swig_module
.cast_initial
[i
];
22558 while (cast
->type
) {
22559 /* Don't need to add information already in the list */
22561 #ifdef SWIGRUNTIME_DEBUG
22562 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
22564 if (swig_module
.next
!= &swig_module
) {
22565 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
22566 #ifdef SWIGRUNTIME_DEBUG
22567 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
22571 if (type
== swig_module
.type_initial
[i
]) {
22572 #ifdef SWIGRUNTIME_DEBUG
22573 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
22578 /* Check for casting already in the list */
22579 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
22580 #ifdef SWIGRUNTIME_DEBUG
22581 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
22583 if (!ocast
) ret
= 0;
22588 #ifdef SWIGRUNTIME_DEBUG
22589 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
22592 type
->cast
->prev
= cast
;
22593 cast
->next
= type
->cast
;
22599 /* Set entry in modules->types array equal to the type */
22600 swig_module
.types
[i
] = type
;
22602 swig_module
.types
[i
] = 0;
22604 #ifdef SWIGRUNTIME_DEBUG
22605 printf("**** SWIG_InitializeModule: Cast List ******\n");
22606 for (i
= 0; i
< swig_module
.size
; ++i
) {
22608 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
22609 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
22610 while (cast
->type
) {
22611 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
22615 printf("---- Total casts: %d\n",j
);
22617 printf("**** SWIG_InitializeModule: Cast List ******\n");
22621 /* This function will propagate the clientdata field of type to
22622 * any new swig_type_info structures that have been added into the list
22623 * of equivalent types. It is like calling
22624 * SWIG_TypeClientData(type, clientdata) a second time.
22627 SWIG_PropagateClientData(void) {
22629 swig_cast_info
*equiv
;
22630 static int init_run
= 0;
22632 if (init_run
) return;
22635 for (i
= 0; i
< swig_module
.size
; i
++) {
22636 if (swig_module
.types
[i
]->clientdata
) {
22637 equiv
= swig_module
.types
[i
]->cast
;
22639 if (!equiv
->converter
) {
22640 if (equiv
->type
&& !equiv
->type
->clientdata
)
22641 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
22643 equiv
= equiv
->next
;
22663 /* Python-specific SWIG API */
22664 #define SWIG_newvarlink() SWIG_Python_newvarlink()
22665 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22666 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22668 /* -----------------------------------------------------------------------------
22669 * global variable support code.
22670 * ----------------------------------------------------------------------------- */
22672 typedef struct swig_globalvar
{
22673 char *name
; /* Name of global variable */
22674 PyObject
*(*get_attr
)(void); /* Return the current value */
22675 int (*set_attr
)(PyObject
*); /* Set the value */
22676 struct swig_globalvar
*next
;
22679 typedef struct swig_varlinkobject
{
22681 swig_globalvar
*vars
;
22682 } swig_varlinkobject
;
22684 SWIGINTERN PyObject
*
22685 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
22686 return PyString_FromString("<Swig global variables>");
22689 SWIGINTERN PyObject
*
22690 swig_varlink_str(swig_varlinkobject
*v
) {
22691 PyObject
*str
= PyString_FromString("(");
22692 swig_globalvar
*var
;
22693 for (var
= v
->vars
; var
; var
=var
->next
) {
22694 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
22695 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
22697 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
22702 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
22703 PyObject
*str
= swig_varlink_str(v
);
22704 fprintf(fp
,"Swig global variables ");
22705 fprintf(fp
,"%s\n", PyString_AsString(str
));
22711 swig_varlink_dealloc(swig_varlinkobject
*v
) {
22712 swig_globalvar
*var
= v
->vars
;
22714 swig_globalvar
*n
= var
->next
;
22721 SWIGINTERN PyObject
*
22722 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
22723 PyObject
*res
= NULL
;
22724 swig_globalvar
*var
= v
->vars
;
22726 if (strcmp(var
->name
,n
) == 0) {
22727 res
= (*var
->get_attr
)();
22732 if (res
== NULL
&& !PyErr_Occurred()) {
22733 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22739 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
22741 swig_globalvar
*var
= v
->vars
;
22743 if (strcmp(var
->name
,n
) == 0) {
22744 res
= (*var
->set_attr
)(p
);
22749 if (res
== 1 && !PyErr_Occurred()) {
22750 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22755 SWIGINTERN PyTypeObject
*
22756 swig_varlink_type(void) {
22757 static char varlink__doc__
[] = "Swig var link object";
22758 static PyTypeObject varlink_type
;
22759 static int type_init
= 0;
22761 const PyTypeObject tmp
22763 PyObject_HEAD_INIT(NULL
)
22764 0, /* Number of items in variable part (ob_size) */
22765 (char *)"swigvarlink", /* Type name (tp_name) */
22766 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
22767 0, /* Itemsize (tp_itemsize) */
22768 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
22769 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
22770 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
22771 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
22772 0, /* tp_compare */
22773 (reprfunc
) swig_varlink_repr
, /* tp_repr */
22774 0, /* tp_as_number */
22775 0, /* tp_as_sequence */
22776 0, /* tp_as_mapping */
22779 (reprfunc
)swig_varlink_str
, /* tp_str */
22780 0, /* tp_getattro */
22781 0, /* tp_setattro */
22782 0, /* tp_as_buffer */
22784 varlink__doc__
, /* tp_doc */
22785 0, /* tp_traverse */
22787 0, /* tp_richcompare */
22788 0, /* tp_weaklistoffset */
22789 #if PY_VERSION_HEX >= 0x02020000
22790 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
22792 #if PY_VERSION_HEX >= 0x02030000
22795 #ifdef COUNT_ALLOCS
22796 0,0,0,0 /* tp_alloc -> tp_next */
22799 varlink_type
= tmp
;
22800 varlink_type
.ob_type
= &PyType_Type
;
22803 return &varlink_type
;
22806 /* Create a variable linking object for use later */
22807 SWIGINTERN PyObject
*
22808 SWIG_Python_newvarlink(void) {
22809 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
22813 return ((PyObject
*) result
);
22817 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
22818 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
22819 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
22821 size_t size
= strlen(name
)+1;
22822 gv
->name
= (char *)malloc(size
);
22824 strncpy(gv
->name
,name
,size
);
22825 gv
->get_attr
= get_attr
;
22826 gv
->set_attr
= set_attr
;
22827 gv
->next
= v
->vars
;
22833 SWIGINTERN PyObject
*
22835 static PyObject
*_SWIG_globals
= 0;
22836 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
22837 return _SWIG_globals
;
22840 /* -----------------------------------------------------------------------------
22841 * constants/methods manipulation
22842 * ----------------------------------------------------------------------------- */
22844 /* Install Constants */
22846 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
22849 for (i
= 0; constants
[i
].type
; ++i
) {
22850 switch(constants
[i
].type
) {
22851 case SWIG_PY_POINTER
:
22852 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
22854 case SWIG_PY_BINARY
:
22855 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
22862 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
22868 /* -----------------------------------------------------------------------------*/
22869 /* Fix SwigMethods to carry the callback ptrs when needed */
22870 /* -----------------------------------------------------------------------------*/
22873 SWIG_Python_FixMethods(PyMethodDef
*methods
,
22874 swig_const_info
*const_table
,
22875 swig_type_info
**types
,
22876 swig_type_info
**types_initial
) {
22878 for (i
= 0; methods
[i
].ml_name
; ++i
) {
22879 char *c
= methods
[i
].ml_doc
;
22880 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
22882 swig_const_info
*ci
= 0;
22883 char *name
= c
+ 10;
22884 for (j
= 0; const_table
[j
].type
; ++j
) {
22885 if (strncmp(const_table
[j
].name
, name
,
22886 strlen(const_table
[j
].name
)) == 0) {
22887 ci
= &(const_table
[j
]);
22892 size_t shift
= (ci
->ptype
) - types
;
22893 swig_type_info
*ty
= types_initial
[shift
];
22894 size_t ldoc
= (c
- methods
[i
].ml_doc
);
22895 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
22896 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
22899 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
22901 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
22903 strncpy(buff
, "swig_ptr: ", 10);
22905 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
22906 methods
[i
].ml_doc
= ndoc
;
22918 /* -----------------------------------------------------------------------------*
22919 * Partial Init method
22920 * -----------------------------------------------------------------------------*/
22925 SWIGEXPORT
void SWIG_init(void) {
22928 /* Fix SwigMethods to carry the callback ptrs when needed */
22929 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
22931 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22932 d
= PyModule_GetDict(m
);
22934 SWIG_InitializeModule(0);
22935 SWIG_InstallConstants(d
,swig_const_table
);
22938 SWIG_Python_SetConstant(d
, "GRID_VALUE_STRING",SWIG_FromCharPtr("string"));
22939 SWIG_Python_SetConstant(d
, "GRID_VALUE_BOOL",SWIG_FromCharPtr("bool"));
22940 SWIG_Python_SetConstant(d
, "GRID_VALUE_NUMBER",SWIG_FromCharPtr("long"));
22941 SWIG_Python_SetConstant(d
, "GRID_VALUE_FLOAT",SWIG_FromCharPtr("double"));
22942 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICE",SWIG_FromCharPtr("choice"));
22943 SWIG_Python_SetConstant(d
, "GRID_VALUE_TEXT",SWIG_FromCharPtr("string"));
22944 SWIG_Python_SetConstant(d
, "GRID_VALUE_LONG",SWIG_FromCharPtr("long"));
22945 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICEINT",SWIG_FromCharPtr("choiceint"));
22946 SWIG_Python_SetConstant(d
, "GRID_VALUE_DATETIME",SWIG_FromCharPtr("datetime"));
22947 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
22948 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellCoords",GridNoCellCoords_get
, GridNoCellCoords_set
);
22949 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellRect",GridNoCellRect_get
, GridNoCellRect_set
);
22950 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_ROWS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_ROWS
)));
22951 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_COLS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_COLS
)));
22952 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_HEIGHT
)));
22953 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_WIDTH
)));
22954 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_LABEL_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
22955 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_LABEL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
22956 SWIG_Python_SetConstant(d
, "GRID_LABEL_EDGE_ZONE",SWIG_From_int(static_cast< int >(wxGRID_LABEL_EDGE_ZONE
)));
22957 SWIG_Python_SetConstant(d
, "GRID_MIN_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_MIN_ROW_HEIGHT
)));
22958 SWIG_Python_SetConstant(d
, "GRID_MIN_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_MIN_COL_WIDTH
)));
22959 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_SCROLLBAR_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
22960 SWIG_Python_SetConstant(d
, "GridCellAttr_Any",SWIG_From_int(static_cast< int >(wxGridCellAttr::Any
)));
22961 SWIG_Python_SetConstant(d
, "GridCellAttr_Default",SWIG_From_int(static_cast< int >(wxGridCellAttr::Default
)));
22962 SWIG_Python_SetConstant(d
, "GridCellAttr_Cell",SWIG_From_int(static_cast< int >(wxGridCellAttr::Cell
)));
22963 SWIG_Python_SetConstant(d
, "GridCellAttr_Row",SWIG_From_int(static_cast< int >(wxGridCellAttr::Row
)));
22964 SWIG_Python_SetConstant(d
, "GridCellAttr_Col",SWIG_From_int(static_cast< int >(wxGridCellAttr::Col
)));
22965 SWIG_Python_SetConstant(d
, "GridCellAttr_Merged",SWIG_From_int(static_cast< int >(wxGridCellAttr::Merged
)));
22966 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_GET_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
22967 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_SEND_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
22968 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
22969 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
22970 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
22971 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
22972 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
22973 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
22974 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells
)));
22975 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows
)));
22976 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns
)));
22977 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
22978 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
22979 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
22980 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
22981 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
22982 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
22983 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
22984 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
22985 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
22986 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
22987 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
22988 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
22989 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
22990 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
22991 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
22992 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
22993 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));