1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_long swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2480 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2481 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2482 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[16]
2483 #define SWIGTYPE_p_wxCloseEvent swig_types[17]
2484 #define SWIGTYPE_p_wxColour swig_types[18]
2485 #define SWIGTYPE_p_wxColourData swig_types[19]
2486 #define SWIGTYPE_p_wxColourDialog swig_types[20]
2487 #define SWIGTYPE_p_wxCommandEvent swig_types[21]
2488 #define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
2489 #define SWIGTYPE_p_wxControl swig_types[23]
2490 #define SWIGTYPE_p_wxControlWithItems swig_types[24]
2491 #define SWIGTYPE_p_wxDC swig_types[25]
2492 #define SWIGTYPE_p_wxDateEvent swig_types[26]
2493 #define SWIGTYPE_p_wxDialog swig_types[27]
2494 #define SWIGTYPE_p_wxDirDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[29]
2496 #define SWIGTYPE_p_wxDropFilesEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDuplexMode swig_types[31]
2498 #define SWIGTYPE_p_wxEraseEvent swig_types[32]
2499 #define SWIGTYPE_p_wxEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[34]
2501 #define SWIGTYPE_p_wxFSFile swig_types[35]
2502 #define SWIGTYPE_p_wxFileDialog swig_types[36]
2503 #define SWIGTYPE_p_wxFileSystem swig_types[37]
2504 #define SWIGTYPE_p_wxFindDialogEvent swig_types[38]
2505 #define SWIGTYPE_p_wxFindReplaceData swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[40]
2507 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2508 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
2509 #define SWIGTYPE_p_wxFont swig_types[43]
2510 #define SWIGTYPE_p_wxFontData swig_types[44]
2511 #define SWIGTYPE_p_wxFontDialog swig_types[45]
2512 #define SWIGTYPE_p_wxFrame swig_types[46]
2513 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2514 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
2515 #define SWIGTYPE_p_wxGrid swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridCellAttr swig_types[51]
2518 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[52]
2519 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[53]
2520 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[54]
2521 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[55]
2522 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[56]
2523 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[57]
2524 #define SWIGTYPE_p_wxGridCellCoords swig_types[58]
2525 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[59]
2526 #define SWIGTYPE_p_wxGridCellEditor swig_types[60]
2527 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[61]
2528 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[62]
2529 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[63]
2530 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[64]
2531 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[65]
2532 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[66]
2533 #define SWIGTYPE_p_wxGridCellRenderer swig_types[67]
2534 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[68]
2535 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[69]
2536 #define SWIGTYPE_p_wxGridCellWorker swig_types[70]
2537 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[71]
2538 #define SWIGTYPE_p_wxGridEvent swig_types[72]
2539 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[73]
2540 #define SWIGTYPE_p_wxGridSizeEvent swig_types[74]
2541 #define SWIGTYPE_p_wxGridSizer swig_types[75]
2542 #define SWIGTYPE_p_wxGridStringTable swig_types[76]
2543 #define SWIGTYPE_p_wxGridTableBase swig_types[77]
2544 #define SWIGTYPE_p_wxGridTableMessage swig_types[78]
2545 #define SWIGTYPE_p_wxICOHandler swig_types[79]
2546 #define SWIGTYPE_p_wxIconizeEvent swig_types[80]
2547 #define SWIGTYPE_p_wxIdleEvent swig_types[81]
2548 #define SWIGTYPE_p_wxImage swig_types[82]
2549 #define SWIGTYPE_p_wxImageHandler swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxMDIChildFrame swig_types[90]
2557 #define SWIGTYPE_p_wxMDIClientWindow swig_types[91]
2558 #define SWIGTYPE_p_wxMDIParentFrame swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMessageDialog swig_types[98]
2565 #define SWIGTYPE_p_wxMiniFrame swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[108]
2575 #define SWIGTYPE_p_wxObject swig_types[109]
2576 #define SWIGTYPE_p_wxPCXHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNGHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNMHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPageSetupDialog swig_types[113]
2580 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[114]
2581 #define SWIGTYPE_p_wxPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPanel swig_types[117]
2584 #define SWIGTYPE_p_wxPaperSize swig_types[118]
2585 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[119]
2586 #define SWIGTYPE_p_wxPen swig_types[120]
2587 #define SWIGTYPE_p_wxPoint swig_types[121]
2588 #define SWIGTYPE_p_wxPopupWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPreviewCanvas swig_types[123]
2590 #define SWIGTYPE_p_wxPreviewControlBar swig_types[124]
2591 #define SWIGTYPE_p_wxPreviewFrame swig_types[125]
2592 #define SWIGTYPE_p_wxPrintData swig_types[126]
2593 #define SWIGTYPE_p_wxPrintDialog swig_types[127]
2594 #define SWIGTYPE_p_wxPrintDialogData swig_types[128]
2595 #define SWIGTYPE_p_wxPrintPreview swig_types[129]
2596 #define SWIGTYPE_p_wxPrinter swig_types[130]
2597 #define SWIGTYPE_p_wxProgressDialog swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[135]
2602 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[136]
2603 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[137]
2604 #define SWIGTYPE_p_wxPyGridTableBase swig_types[138]
2605 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[139]
2606 #define SWIGTYPE_p_wxPyImageHandler swig_types[140]
2607 #define SWIGTYPE_p_wxPyPanel swig_types[141]
2608 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[142]
2609 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[143]
2610 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[144]
2611 #define SWIGTYPE_p_wxPyPrintPreview swig_types[145]
2612 #define SWIGTYPE_p_wxPyPrintout swig_types[146]
2613 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[147]
2614 #define SWIGTYPE_p_wxPySizer swig_types[148]
2615 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[149]
2616 #define SWIGTYPE_p_wxPyVListBox swig_types[150]
2617 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[151]
2618 #define SWIGTYPE_p_wxPyValidator swig_types[152]
2619 #define SWIGTYPE_p_wxPyWindow swig_types[153]
2620 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[154]
2621 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[155]
2622 #define SWIGTYPE_p_wxRect swig_types[156]
2623 #define SWIGTYPE_p_wxSashEvent swig_types[157]
2624 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[158]
2625 #define SWIGTYPE_p_wxSashWindow swig_types[159]
2626 #define SWIGTYPE_p_wxScrollEvent swig_types[160]
2627 #define SWIGTYPE_p_wxScrollWinEvent swig_types[161]
2628 #define SWIGTYPE_p_wxScrolledWindow swig_types[162]
2629 #define SWIGTYPE_p_wxSetCursorEvent swig_types[163]
2630 #define SWIGTYPE_p_wxShowEvent swig_types[164]
2631 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[165]
2632 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[166]
2633 #define SWIGTYPE_p_wxSize swig_types[167]
2634 #define SWIGTYPE_p_wxSizeEvent swig_types[168]
2635 #define SWIGTYPE_p_wxSizer swig_types[169]
2636 #define SWIGTYPE_p_wxSizerItem swig_types[170]
2637 #define SWIGTYPE_p_wxSplashScreen swig_types[171]
2638 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[172]
2639 #define SWIGTYPE_p_wxSplitterEvent swig_types[173]
2640 #define SWIGTYPE_p_wxSplitterWindow swig_types[174]
2641 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[175]
2642 #define SWIGTYPE_p_wxStatusBar swig_types[176]
2643 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[177]
2644 #define SWIGTYPE_p_wxString swig_types[178]
2645 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[179]
2646 #define SWIGTYPE_p_wxTGAHandler swig_types[180]
2647 #define SWIGTYPE_p_wxTIFFHandler swig_types[181]
2648 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[182]
2649 #define SWIGTYPE_p_wxTextEntryDialog swig_types[183]
2650 #define SWIGTYPE_p_wxTipWindow swig_types[184]
2651 #define SWIGTYPE_p_wxTopLevelWindow swig_types[185]
2652 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[186]
2653 #define SWIGTYPE_p_wxValidator swig_types[187]
2654 #define SWIGTYPE_p_wxVisualAttributes swig_types[188]
2655 #define SWIGTYPE_p_wxWindow swig_types[189]
2656 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[190]
2657 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[191]
2658 #define SWIGTYPE_p_wxXPMHandler swig_types[192]
2659 static swig_type_info
*swig_types
[194];
2660 static swig_module_info swig_module
= {swig_types
, 193, 0, 0, 0, 0};
2661 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2662 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2664 /* -------- TYPES TABLE (END) -------- */
2666 #if (PY_VERSION_HEX <= 0x02000000)
2667 # if !defined(SWIG_PYTHON_CLASSIC)
2668 # error "This python version requires to use swig with the '-classic' option"
2671 #if (PY_VERSION_HEX <= 0x02020000)
2672 # error "This python version requires to use swig with the '-nomodern' option"
2674 #if (PY_VERSION_HEX <= 0x02020000)
2675 # error "This python version requires to use swig with the '-nomodernargs' option"
2678 # error "This python version requires to use swig with the '-nofastunpack' option"
2681 /*-----------------------------------------------
2682 @(target):= _grid.so
2683 ------------------------------------------------*/
2684 #define SWIG_init init_grid
2686 #define SWIG_name "_grid"
2688 #define SWIGVERSION 0x010329
2691 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2692 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2695 #include <stdexcept>
2699 class PyObject_ptr
{
2704 PyObject_ptr() :_obj(0)
2708 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2713 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2715 if (initial_ref
) Py_XINCREF(_obj
);
2718 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2720 Py_XINCREF(item
._obj
);
2731 operator PyObject
*() const
2736 PyObject
*operator->() const
2745 struct PyObject_var
: PyObject_ptr
{
2746 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2748 PyObject_var
& operator = (PyObject
* obj
)
2758 #include "wx/wxPython/wxPython.h"
2759 #include "wx/wxPython/pyclasses.h"
2760 #include "wx/wxPython/printfw.h"
2762 #include <wx/grid.h>
2763 #include <wx/generic/gridctrl.h>
2766 static const wxString
wxPyEmptyString(wxEmptyString
);
2767 static const wxString
wxPyGridNameStr(wxGridNameStr
);
2768 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2771 #define wxPyMake_TEMPLATE(TYPE) \
2772 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
2773 PyObject* target = NULL; \
2775 /* Check if there is already a pointer to a Python object in the \
2776 OOR data that we can use. */ \
2777 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
2779 target = data->m_obj; \
2781 Py_INCREF(target); \
2783 /* Otherwise make a new wrapper for it the old fashioned way and \
2784 give it the OOR treatment */ \
2786 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
2788 source->SetClientObject(new wxPyOORClientData(target)); \
2790 } else { /* source was NULL so return None. */ \
2791 Py_INCREF(Py_None); target = Py_None; \
2797 wxPyMake_TEMPLATE(wxGridCellRenderer)
2798 wxPyMake_TEMPLATE(wxGridCellEditor
)
2799 wxPyMake_TEMPLATE(wxGridCellAttr
)
2800 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
2801 wxPyMake_TEMPLATE(wxGridTableBase
)
2805 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
2806 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
2807 wxGridCellAttr* rval = NULL; \
2809 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2810 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2812 wxGridCellAttr* ptr; \
2813 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
2815 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
2820 wxPyEndBlockThreads(blocked); \
2822 rval = PCLASS::CBNAME(a, b, c); \
2827 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
2828 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
2829 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2831 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2832 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
2833 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
2836 wxPyEndBlockThreads(blocked); \
2838 PCLASS::CBNAME(attr, a, b); \
2843 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
2844 void CBNAME(wxGridCellAttr *attr, int val) { \
2845 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2847 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2848 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
2849 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
2852 wxPyEndBlockThreads(blocked); \
2854 PCLASS::CBNAME(attr, val); \
2859 #define PYCALLBACK_INT__pure(CBNAME) \
2861 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2863 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
2864 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
2865 wxPyEndBlockThreads(blocked); \
2871 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
2872 bool CBNAME(int a, int b) { \
2873 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2875 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
2876 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
2877 wxPyEndBlockThreads(blocked); \
2882 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
2883 wxString CBNAME(int a, int b) { \
2884 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2886 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
2888 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2890 rval = Py2wxString(ro); \
2894 wxPyEndBlockThreads(blocked); \
2899 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
2900 void CBNAME(int a, int b, const wxString& c) { \
2901 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2902 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
2903 PyObject* s = wx2PyString(c); \
2904 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
2907 wxPyEndBlockThreads(blocked); \
2911 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
2912 wxString CBNAME(int a, int b) { \
2914 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2916 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2918 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2920 rval = Py2wxString(ro); \
2924 wxPyEndBlockThreads(blocked); \
2926 rval = PCLASS::CBNAME(a, b); \
2931 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
2932 bool CBNAME(int a, int b, const wxString& c) { \
2935 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2936 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2937 PyObject* s = wx2PyString(c); \
2938 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
2941 wxPyEndBlockThreads(blocked); \
2943 rval = PCLASS::CBNAME(a,b,c); \
2950 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
2951 long CBNAME(int a, int b) { \
2954 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2955 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2956 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
2957 wxPyEndBlockThreads(blocked); \
2959 rval = PCLASS::CBNAME(a,b); \
2964 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
2965 bool CBNAME(int a, int b) { \
2968 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2969 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2970 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
2971 wxPyEndBlockThreads(blocked); \
2973 rval = PCLASS::CBNAME(a,b); \
2979 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
2980 double CBNAME(int a, int b) { \
2982 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2984 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2986 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2988 PyObject* str = PyObject_Str(ro); \
2989 rval = PyFloat_AsDouble(str); \
2990 Py_DECREF(ro); Py_DECREF(str); \
2993 wxPyEndBlockThreads(blocked); \
2995 rval = PCLASS::CBNAME(a, b); \
3001 #define PYCALLBACK__(PCLASS, CBNAME) \
3004 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3005 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3006 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
3007 wxPyEndBlockThreads(blocked); \
3014 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
3015 bool CBNAME(size_t a, size_t b) { \
3018 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3019 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3020 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
3021 wxPyEndBlockThreads(blocked); \
3023 rval = PCLASS::CBNAME(a,b); \
3029 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
3030 bool CBNAME(size_t a) { \
3033 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3034 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3035 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
3036 wxPyEndBlockThreads(blocked); \
3038 rval = PCLASS::CBNAME(a); \
3043 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
3044 wxString CBNAME(int a) { \
3046 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3048 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3050 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
3052 rval = Py2wxString(ro); \
3056 wxPyEndBlockThreads(blocked); \
3058 rval = PCLASS::CBNAME(a); \
3063 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
3064 void CBNAME(int a, const wxString& c) { \
3066 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3067 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3068 PyObject* s = wx2PyString(c); \
3069 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
3072 wxPyEndBlockThreads(blocked); \
3074 PCLASS::CBNAME(a,c); \
3080 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
3084 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3085 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3086 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
3087 wxPyEndBlockThreads(blocked); \
3089 rval = PCLASS::CBNAME(); \
3095 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
3096 void CBNAME(size_t a, int b) { \
3098 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3099 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3100 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
3101 wxPyEndBlockThreads(blocked); \
3103 PCLASS::CBNAME(a,b); \
3109 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
3110 void CBNAME(int a, int b, long c) { \
3112 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3113 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3114 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
3115 wxPyEndBlockThreads(blocked); \
3117 PCLASS::CBNAME(a,b,c); \
3123 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
3124 void CBNAME(int a, int b, double c) { \
3126 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3127 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3128 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
3129 wxPyEndBlockThreads(blocked); \
3131 PCLASS::CBNAME(a,b,c); \
3136 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
3137 void CBNAME(int a, int b, bool c) { \
3139 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3140 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3141 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
3142 wxPyEndBlockThreads(blocked); \
3144 PCLASS::CBNAME(a,b,c); \
3151 SWIGINTERN swig_type_info
*
3152 SWIG_pchar_descriptor()
3154 static int init
= 0;
3155 static swig_type_info
* info
= 0;
3157 info
= SWIG_TypeQuery("_p_char");
3164 SWIGINTERNINLINE PyObject
*
3165 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3168 if (size
> INT_MAX
) {
3169 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3170 return pchar_descriptor
?
3171 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3173 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3176 return SWIG_Py_Void();
3181 SWIGINTERNINLINE PyObject
*
3182 SWIG_FromCharPtr(const char *cptr
)
3184 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3188 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
3189 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
3190 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
3191 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
3192 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
3193 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
3194 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
3195 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
3196 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
3197 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
3200 #define SWIG_From_long PyInt_FromLong
3203 SWIGINTERNINLINE PyObject
*
3204 SWIG_From_int (int value
)
3206 return SWIG_From_long (value
);
3209 SWIGINTERN
void wxGridCellWorker__setOORInfo(wxGridCellWorker
*self
,PyObject
*_self
){
3210 if (!self
->GetClientObject())
3211 self
->SetClientObject(new wxPyOORClientData(_self
));
3213 SWIGINTERN
void delete_wxGridCellWorker(wxGridCellWorker
*self
){
3218 # define LLONG_MIN LONG_LONG_MIN
3221 # define LLONG_MAX LONG_LONG_MAX
3224 # define ULLONG_MAX ULONG_LONG_MAX
3229 SWIG_AsVal_long (PyObject
* obj
, long* val
)
3231 if (PyNumber_Check(obj
)) {
3232 if (val
) *val
= PyInt_AsLong(obj
);
3235 return SWIG_TypeError
;
3240 SWIG_AsVal_int (PyObject
* obj
, int *val
)
3243 int res
= SWIG_AsVal_long (obj
, &v
);
3244 if (SWIG_IsOK(res
)) {
3245 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
3246 return SWIG_OverflowError
;
3248 if (val
) *val
= static_cast< int >(v
);
3256 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3258 if (obj
== Py_True
) {
3259 if (val
) *val
= true;
3261 } else if (obj
== Py_False
) {
3262 if (val
) *val
= false;
3266 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3267 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3273 class wxPyGridCellRenderer
: public wxGridCellRenderer
3276 wxPyGridCellRenderer() : wxGridCellRenderer() {};
3278 // Implement Python callback aware virtual methods
3279 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
3280 wxDC
& dc
, const wxRect
& rect
,
3281 int row
, int col
, bool isSelected
) {
3282 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3283 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
3284 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
3285 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
3286 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
3287 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
3289 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
3290 row
, col
, isSelected
));
3296 wxPyEndBlockThreads(blocked
);
3299 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
3302 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3303 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
3306 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
3307 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
3308 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
3310 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
3318 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
3319 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
3322 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
3323 PyErr_Clear(); // Clear the exception left over from wxPyConvertSwigPtr
3324 PyObject
* o1
= PySequence_GetItem(ro
, 0);
3325 PyObject
* o2
= PySequence_GetItem(ro
, 1);
3326 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
3327 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3329 PyErr_SetString(PyExc_TypeError
, errmsg
);
3334 PyErr_SetString(PyExc_TypeError
, errmsg
);
3339 wxPyEndBlockThreads(blocked
);
3344 wxGridCellRenderer
*Clone() const {
3345 wxGridCellRenderer
* rval
= NULL
;
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3349 wxGridCellRenderer
* ptr
;
3350 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3352 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
3357 wxPyEndBlockThreads(blocked
);
3361 DEC_PYCALLBACK__STRING(SetParameters
);
3366 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
3370 class wxPyGridCellEditor
: public wxGridCellEditor
3373 wxPyGridCellEditor() : wxGridCellEditor() {}
3375 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
3376 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3377 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
3378 PyObject
* po
= wxPyMake_wxObject(parent
,false);
3379 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
3381 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
3385 wxPyEndBlockThreads(blocked
);
3389 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
3390 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3391 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
3392 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3393 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3396 wxPyEndBlockThreads(blocked
);
3400 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
3402 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3403 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
3404 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3405 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3408 wxPyEndBlockThreads(blocked
);
3413 wxGridCellEditor
* Clone() const {
3414 wxGridCellEditor
* rval
= NULL
;
3415 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3416 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3418 wxGridCellEditor
* ptr
;
3419 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3421 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
3426 wxPyEndBlockThreads(blocked
);
3431 void Show(bool show
, wxGridCellAttr
*attr
) {
3433 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3434 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
3435 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3436 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
3439 wxPyEndBlockThreads(blocked
);
3441 wxGridCellEditor::Show(show
, attr
);
3445 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
3447 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3448 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
3449 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3450 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
3452 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
3457 wxPyEndBlockThreads(blocked
);
3459 wxGridCellEditor::PaintBackground(rectCell
, attr
);
3463 DEC_PYCALLBACK___pure(Reset
);
3464 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
3465 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
3466 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
3467 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
3468 DEC_PYCALLBACK__(StartingClick
);
3469 DEC_PYCALLBACK__(Destroy
);
3470 DEC_PYCALLBACK__STRING(SetParameters
);
3471 DEC_PYCALLBACK_STRING__constpure(GetValue
);
3477 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
3478 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
3479 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
3480 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
3481 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
3482 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
3483 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
3484 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
3485 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
3488 static const wxString
wxPyOneString(_T("1"));
3489 SWIGINTERN
void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
3490 if (!self
->GetClientObject())
3491 self
->SetClientObject(new wxPyOORClientData(_self
));
3493 SWIGINTERN
void delete_wxGridCellAttr(wxGridCellAttr
*self
){
3495 SWIGINTERN
void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
3496 if (!self
->GetClientObject())
3497 self
->SetClientObject(new wxPyOORClientData(_self
));
3501 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3504 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3505 return SWIG_TypeError
;
3508 *val
= (unsigned long)v
;
3513 SWIGINTERNINLINE
int
3514 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3517 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3518 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3523 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
3526 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
3528 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
3529 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
3530 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
3531 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
3536 SWIGINTERN
void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
3537 if (!self
->GetClientObject())
3538 self
->SetClientObject(new wxPyOORClientData(_self
));
3541 #define SWIG_From_double PyFloat_FromDouble
3545 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3547 if (PyNumber_Check(obj
)) {
3548 if (val
) *val
= PyFloat_AsDouble(obj
);
3551 return SWIG_TypeError
;
3555 class wxPyGridTableBase
: public wxGridTableBase
3558 wxPyGridTableBase() : wxGridTableBase() {}
3560 PYCALLBACK_INT__pure(GetNumberRows
);
3561 PYCALLBACK_INT__pure(GetNumberCols
);
3562 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
3563 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
3564 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
3565 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
3566 PYCALLBACK__(wxGridTableBase
, Clear
);
3567 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
3568 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
3569 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
3570 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
3571 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
3572 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
3573 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
3574 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
3575 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
3576 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
3577 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
3578 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
3579 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
3580 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
3581 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
3584 wxString
GetValue(int row
, int col
) {
3585 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3587 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3589 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
3591 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
3593 ro
= PyObject_Str(ro
);
3596 rval
= Py2wxString(ro
);
3600 wxPyEndBlockThreads(blocked
);
3604 void SetValue(int row
, int col
, const wxString
& val
) {
3605 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3606 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3607 PyObject
* s
= wx2PyString(val
);
3608 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
3611 wxPyEndBlockThreads(blocked
);
3615 // Map the Get/Set methods for the standard non-string types to
3616 // the GetValue and SetValue python methods.
3617 long GetValueAsLong( int row
, int col
) {
3619 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3620 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3623 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3624 if (ro
&& PyNumber_Check(ro
)) {
3625 num
= PyNumber_Int(ro
);
3627 rval
= PyInt_AsLong(num
);
3633 wxPyEndBlockThreads(blocked
);
3637 double GetValueAsDouble( int row
, int col
) {
3639 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3640 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3643 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3644 if (ro
&& PyNumber_Check(ro
)) {
3645 num
= PyNumber_Float(ro
);
3647 rval
= PyFloat_AsDouble(num
);
3653 wxPyEndBlockThreads(blocked
);
3657 bool GetValueAsBool( int row
, int col
) {
3658 return (bool)GetValueAsLong(row
, col
);
3661 void SetValueAsLong( int row
, int col
, long value
) {
3662 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3663 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3664 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
3666 wxPyEndBlockThreads(blocked
);
3669 void SetValueAsDouble( int row
, int col
, double value
) {
3670 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3671 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3672 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
3674 wxPyEndBlockThreads(blocked
);
3677 void SetValueAsBool( int row
, int col
, bool value
) {
3678 SetValueAsLong( row
, col
, (long)value
);
3685 SWIGINTERN
void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
3687 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
3689 if (source
== Py_None
) {
3690 **obj
= wxGridCellCoords(-1,-1);
3694 // If source is an object instance then it may already be the right type
3695 if (wxPySwigInstance_Check(source
)) {
3696 wxGridCellCoords
* ptr
;
3697 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3702 // otherwise a 2-tuple of integers is expected
3703 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
3704 PyObject
* o1
= PySequence_GetItem(source
, 0);
3705 PyObject
* o2
= PySequence_GetItem(source
, 1);
3706 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
3711 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3718 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
3723 bool wxGridCellCoords_typecheck(PyObject
* source
) {
3726 if (wxPySwigInstance_Check(source
) &&
3727 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3731 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
3738 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
3740 PyObject
* list
= PyList_New(0);
3742 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
3743 wxGridCellCoords
& coord
= source
.Item(idx
);
3744 PyObject
* tup
= PyTuple_New(2);
3745 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
3746 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
3747 PyList_Append(list
, tup
);
3753 SWIGINTERN
bool wxGridCellCoords___eq__(wxGridCellCoords
*self
,PyObject
*other
){
3754 wxGridCellCoords temp
, *obj
= &temp
;
3755 if ( other
== Py_None
) return false;
3756 if ( ! wxGridCellCoords_helper(other
, &obj
) ) {
3760 return self
->operator==(*obj
);
3762 SWIGINTERN
bool wxGridCellCoords___ne__(wxGridCellCoords
*self
,PyObject
*other
){
3763 wxGridCellCoords temp
, *obj
= &temp
;
3764 if ( other
== Py_None
) return true;
3765 if ( ! wxGridCellCoords_helper(other
, &obj
)) {
3769 return self
->operator!=(*obj
);
3771 SWIGINTERN PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
3772 PyObject
* tup
= PyTuple_New(2);
3773 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3774 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3778 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
3780 SWIGINTERN wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
3781 wxGridCellCoords rv
;
3782 self
->XYToCell(x
, y
, rv
);
3788 SWIGINTERN
int GridNoCellCoords_set(PyObject
*) {
3789 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellCoords is read-only.");
3794 SWIGINTERN PyObject
*GridNoCellCoords_get(void) {
3795 PyObject
*pyobj
= 0;
3797 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0 );
3802 SWIGINTERN
int GridNoCellRect_set(PyObject
*) {
3803 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellRect is read-only.");
3808 SWIGINTERN PyObject
*GridNoCellRect_get(void) {
3809 PyObject
*pyobj
= 0;
3811 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0 );
3816 SWIGINTERN PyObject
*_wrap_GridCellWorker__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
= 0;
3818 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3819 PyObject
*arg2
= (PyObject
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3823 PyObject
* obj1
= 0 ;
3824 char * kwnames
[] = {
3825 (char *) "self",(char *) "_self", NULL
3828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3830 if (!SWIG_IsOK(res1
)) {
3831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3833 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 wxGridCellWorker__setOORInfo(arg1
,arg2
);
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 resultobj
= SWIG_Py_Void();
3848 SWIGINTERN PyObject
*_wrap_delete_GridCellWorker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3849 PyObject
*resultobj
= 0;
3850 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3853 PyObject
*swig_obj
[1] ;
3855 if (!args
) SWIG_fail
;
3857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, SWIG_POINTER_DISOWN
| 0 );
3858 if (!SWIG_IsOK(res1
)) {
3859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellWorker" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3861 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 delete_wxGridCellWorker(arg1
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= SWIG_Py_Void();
3876 SWIGINTERN PyObject
*_wrap_GridCellWorker_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
= 0;
3878 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3879 wxString
*arg2
= 0 ;
3882 bool temp2
= false ;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3885 char * kwnames
[] = {
3886 (char *) "self",(char *) "params", NULL
3889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3891 if (!SWIG_IsOK(res1
)) {
3892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_SetParameters" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3894 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3896 arg2
= wxString_in_helper(obj1
);
3897 if (arg2
== NULL
) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetParameters((wxString
const &)*arg2
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_Py_Void();
3921 SWIGINTERN PyObject
*_wrap_GridCellWorker_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3922 PyObject
*resultobj
= 0;
3923 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3926 PyObject
*swig_obj
[1] ;
3928 if (!args
) SWIG_fail
;
3930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3931 if (!SWIG_IsOK(res1
)) {
3932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_IncRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3934 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3941 resultobj
= SWIG_Py_Void();
3948 SWIGINTERN PyObject
*_wrap_GridCellWorker_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3949 PyObject
*resultobj
= 0;
3950 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3953 PyObject
*swig_obj
[1] ;
3955 if (!args
) SWIG_fail
;
3957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3958 if (!SWIG_IsOK(res1
)) {
3959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_DecRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3961 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 resultobj
= SWIG_Py_Void();
3975 SWIGINTERN PyObject
*GridCellWorker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3978 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellWorker
, SWIG_NewClientData(obj
));
3979 return SWIG_Py_Void();
3982 SWIGINTERN PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
= 0;
3984 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3986 wxGridCellAttr
*arg3
= 0 ;
4007 PyObject
* obj0
= 0 ;
4008 PyObject
* obj1
= 0 ;
4009 PyObject
* obj2
= 0 ;
4010 PyObject
* obj3
= 0 ;
4011 PyObject
* obj4
= 0 ;
4012 PyObject
* obj5
= 0 ;
4013 PyObject
* obj6
= 0 ;
4014 PyObject
* obj7
= 0 ;
4015 char * kwnames
[] = {
4016 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
4019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
4021 if (!SWIG_IsOK(res1
)) {
4022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_Draw" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
4024 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
4025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGrid
, 0 );
4026 if (!SWIG_IsOK(res2
)) {
4027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellRenderer_Draw" "', expected argument " "2"" of type '" "wxGrid &""'");
4030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "2"" of type '" "wxGrid &""'");
4032 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
4033 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxGridCellAttr
, 0 );
4034 if (!SWIG_IsOK(res3
)) {
4035 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellRenderer_Draw" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4040 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
4041 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDC
, 0 );
4042 if (!SWIG_IsOK(res4
)) {
4043 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellRenderer_Draw" "', expected argument " "4"" of type '" "wxDC &""'");
4046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "4"" of type '" "wxDC &""'");
4048 arg4
= reinterpret_cast< wxDC
* >(argp4
);
4051 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
4053 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4054 if (!SWIG_IsOK(ecode6
)) {
4055 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridCellRenderer_Draw" "', expected argument " "6"" of type '" "int""'");
4057 arg6
= static_cast< int >(val6
);
4058 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4059 if (!SWIG_IsOK(ecode7
)) {
4060 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GridCellRenderer_Draw" "', expected argument " "7"" of type '" "int""'");
4062 arg7
= static_cast< int >(val7
);
4063 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4064 if (!SWIG_IsOK(ecode8
)) {
4065 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GridCellRenderer_Draw" "', expected argument " "8"" of type '" "bool""'");
4067 arg8
= static_cast< bool >(val8
);
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 resultobj
= SWIG_Py_Void();
4081 SWIGINTERN PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
= 0;
4083 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
4085 wxGridCellAttr
*arg3
= 0 ;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4104 PyObject
* obj2
= 0 ;
4105 PyObject
* obj3
= 0 ;
4106 PyObject
* obj4
= 0 ;
4107 PyObject
* obj5
= 0 ;
4108 char * kwnames
[] = {
4109 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
4112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
4114 if (!SWIG_IsOK(res1
)) {
4115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
4117 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
4118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGrid
, 0 );
4119 if (!SWIG_IsOK(res2
)) {
4120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "2"" of type '" "wxGrid &""'");
4123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "2"" of type '" "wxGrid &""'");
4125 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
4126 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxGridCellAttr
, 0 );
4127 if (!SWIG_IsOK(res3
)) {
4128 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4133 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
4134 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDC
, 0 );
4135 if (!SWIG_IsOK(res4
)) {
4136 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "4"" of type '" "wxDC &""'");
4139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "4"" of type '" "wxDC &""'");
4141 arg4
= reinterpret_cast< wxDC
* >(argp4
);
4142 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4143 if (!SWIG_IsOK(ecode5
)) {
4144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "5"" of type '" "int""'");
4146 arg5
= static_cast< int >(val5
);
4147 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4148 if (!SWIG_IsOK(ecode6
)) {
4149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "6"" of type '" "int""'");
4151 arg6
= static_cast< int >(val6
);
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4165 SWIGINTERN PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4166 PyObject
*resultobj
= 0;
4167 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
4168 wxGridCellRenderer
*result
= 0 ;
4171 PyObject
*swig_obj
[1] ;
4173 if (!args
) SWIG_fail
;
4175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
4176 if (!SWIG_IsOK(res1
)) {
4177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_Clone" "', expected argument " "1"" of type '" "wxGridCellRenderer const *""'");
4179 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4187 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
4195 SWIGINTERN PyObject
*GridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4198 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellRenderer
, SWIG_NewClientData(obj
));
4199 return SWIG_Py_Void();
4202 SWIGINTERN PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4203 PyObject
*resultobj
= 0;
4204 wxPyGridCellRenderer
*result
= 0 ;
4206 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellRenderer",0,0,0)) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_NEW
| 0 );
4220 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
= 0;
4222 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
4223 PyObject
*arg2
= (PyObject
*) 0 ;
4224 PyObject
*arg3
= (PyObject
*) 0 ;
4227 PyObject
* obj0
= 0 ;
4228 PyObject
* obj1
= 0 ;
4229 PyObject
* obj2
= 0 ;
4230 char * kwnames
[] = {
4231 (char *) "self",(char *) "self",(char *) "_class", NULL
4234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4236 if (!SWIG_IsOK(res1
)) {
4237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4239 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= SWIG_Py_Void();
4255 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
= 0;
4257 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
4258 wxString
*arg2
= 0 ;
4261 bool temp2
= false ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4264 char * kwnames
[] = {
4265 (char *) "self",(char *) "params", NULL
4268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4270 if (!SWIG_IsOK(res1
)) {
4271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4273 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4275 arg2
= wxString_in_helper(obj1
);
4276 if (arg2
== NULL
) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 (arg1
)->SetParameters((wxString
const &)*arg2
);
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 resultobj
= SWIG_Py_Void();
4300 SWIGINTERN PyObject
*PyGridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4303 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_NewClientData(obj
));
4304 return SWIG_Py_Void();
4307 SWIGINTERN PyObject
*PyGridCellRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4308 return SWIG_Python_InitShadowInstance(args
);
4311 SWIGINTERN PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4312 PyObject
*resultobj
= 0;
4313 wxGridCellStringRenderer
*result
= 0 ;
4315 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellStringRenderer",0,0,0)) SWIG_fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_POINTER_NEW
| 0 );
4329 SWIGINTERN PyObject
*GridCellStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4332 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_NewClientData(obj
));
4333 return SWIG_Py_Void();
4336 SWIGINTERN PyObject
*GridCellStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4337 return SWIG_Python_InitShadowInstance(args
);
4340 SWIGINTERN PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4341 PyObject
*resultobj
= 0;
4342 wxGridCellNumberRenderer
*result
= 0 ;
4344 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellNumberRenderer",0,0,0)) SWIG_fail
;
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_POINTER_NEW
| 0 );
4358 SWIGINTERN PyObject
*GridCellNumberRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4361 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_NewClientData(obj
));
4362 return SWIG_Py_Void();
4365 SWIGINTERN PyObject
*GridCellNumberRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4366 return SWIG_Python_InitShadowInstance(args
);
4369 SWIGINTERN PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
= 0;
4371 int arg1
= (int) -1 ;
4372 int arg2
= (int) -1 ;
4373 wxGridCellFloatRenderer
*result
= 0 ;
4378 PyObject
* obj0
= 0 ;
4379 PyObject
* obj1
= 0 ;
4380 char * kwnames
[] = {
4381 (char *) "width",(char *) "precision", NULL
4384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4386 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4387 if (!SWIG_IsOK(ecode1
)) {
4388 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "1"" of type '" "int""'");
4390 arg1
= static_cast< int >(val1
);
4393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4394 if (!SWIG_IsOK(ecode2
)) {
4395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "2"" of type '" "int""'");
4397 arg2
= static_cast< int >(val2
);
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_NEW
| 0 );
4412 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetWidth(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_GetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4426 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_From_int(static_cast< int >(result
));
4440 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetWidth(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 *) "width", NULL
4454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",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_SetWidth" "', 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_SetWidth" "', expected argument " "2"" of type '" "int""'");
4464 arg2
= static_cast< int >(val2
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->SetWidth(arg2
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_Py_Void();
4478 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4479 PyObject
*resultobj
= 0;
4480 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4484 PyObject
*swig_obj
[1] ;
4486 if (!args
) SWIG_fail
;
4488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4489 if (!SWIG_IsOK(res1
)) {
4490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4492 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 resultobj
= SWIG_From_int(static_cast< int >(result
));
4506 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
= 0;
4508 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4514 PyObject
* obj0
= 0 ;
4515 PyObject
* obj1
= 0 ;
4516 char * kwnames
[] = {
4517 (char *) "self",(char *) "precision", NULL
4520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4522 if (!SWIG_IsOK(res1
)) {
4523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");
4525 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4527 if (!SWIG_IsOK(ecode2
)) {
4528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "2"" of type '" "int""'");
4530 arg2
= static_cast< int >(val2
);
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 (arg1
)->SetPrecision(arg2
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= SWIG_Py_Void();
4544 SWIGINTERN PyObject
*GridCellFloatRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4547 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_NewClientData(obj
));
4548 return SWIG_Py_Void();
4551 SWIGINTERN PyObject
*GridCellFloatRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4552 return SWIG_Python_InitShadowInstance(args
);
4555 SWIGINTERN PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4556 PyObject
*resultobj
= 0;
4557 wxGridCellBoolRenderer
*result
= 0 ;
4559 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolRenderer",0,0,0)) SWIG_fail
;
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_POINTER_NEW
| 0 );
4573 SWIGINTERN PyObject
*GridCellBoolRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4576 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_NewClientData(obj
));
4577 return SWIG_Py_Void();
4580 SWIGINTERN PyObject
*GridCellBoolRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4581 return SWIG_Python_InitShadowInstance(args
);
4584 SWIGINTERN PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
= 0;
4586 wxString arg1
= (wxString
) wxPyDefaultDateTimeFormat
;
4587 wxString arg2
= (wxString
) wxPyDefaultDateTimeFormat
;
4588 wxGridCellDateTimeRenderer
*result
= 0 ;
4589 PyObject
* obj0
= 0 ;
4590 PyObject
* obj1
= 0 ;
4591 char * kwnames
[] = {
4592 (char *) "outformat",(char *) "informat", NULL
4595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4598 wxString
* sptr
= wxString_in_helper(obj0
);
4599 if (sptr
== NULL
) SWIG_fail
;
4606 wxString
* sptr
= wxString_in_helper(obj1
);
4607 if (sptr
== NULL
) SWIG_fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_POINTER_NEW
| 0 );
4625 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4628 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_NewClientData(obj
));
4629 return SWIG_Py_Void();
4632 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4633 return SWIG_Python_InitShadowInstance(args
);
4636 SWIGINTERN PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
= 0;
4638 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4639 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4640 wxGridCellEnumRenderer
*result
= 0 ;
4641 bool temp1
= false ;
4642 PyObject
* obj0
= 0 ;
4643 char * kwnames
[] = {
4644 (char *) "choices", NULL
4647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) SWIG_fail
;
4650 arg1
= wxString_in_helper(obj0
);
4651 if (arg1
== NULL
) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_POINTER_NEW
| 0 );
4676 SWIGINTERN PyObject
*GridCellEnumRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4679 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_NewClientData(obj
));
4680 return SWIG_Py_Void();
4683 SWIGINTERN PyObject
*GridCellEnumRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4684 return SWIG_Python_InitShadowInstance(args
);
4687 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4688 PyObject
*resultobj
= 0;
4689 wxGridCellAutoWrapStringRenderer
*result
= 0 ;
4691 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringRenderer",0,0,0)) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_POINTER_NEW
| 0 );
4705 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4708 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_NewClientData(obj
));
4709 return SWIG_Py_Void();
4712 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 return SWIG_Python_InitShadowInstance(args
);
4716 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4717 PyObject
*resultobj
= 0;
4718 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4722 PyObject
*swig_obj
[1] ;
4724 if (!args
) SWIG_fail
;
4726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4727 if (!SWIG_IsOK(res1
)) {
4728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsCreated" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4730 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 result
= (bool)(arg1
)->IsCreated();
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4746 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4747 PyObject
*resultobj
= 0;
4748 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4749 wxControl
*result
= 0 ;
4752 PyObject
*swig_obj
[1] ;
4754 if (!args
) SWIG_fail
;
4756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4757 if (!SWIG_IsOK(res1
)) {
4758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4760 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 result
= (wxControl
*)(arg1
)->GetControl();
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4768 resultobj
= wxPyMake_wxObject(result
, 0);
4776 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
= 0;
4778 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4779 wxControl
*arg2
= (wxControl
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4785 PyObject
* obj1
= 0 ;
4786 char * kwnames
[] = {
4787 (char *) "self",(char *) "control", NULL
4790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4792 if (!SWIG_IsOK(res1
)) {
4793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4795 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
4797 if (!SWIG_IsOK(res2
)) {
4798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
4800 arg2
= reinterpret_cast< wxControl
* >(argp2
);
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 (arg1
)->SetControl(arg2
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_Py_Void();
4814 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4815 PyObject
*resultobj
= 0;
4816 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4817 wxGridCellAttr
*result
= 0 ;
4820 PyObject
*swig_obj
[1] ;
4822 if (!args
) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4828 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
4844 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
= 0;
4846 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4847 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4854 char * kwnames
[] = {
4855 (char *) "self",(char *) "attr", NULL
4858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4860 if (!SWIG_IsOK(res1
)) {
4861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4863 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
4865 if (!SWIG_IsOK(res2
)) {
4866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
4868 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 (arg1
)->SetCellAttr(arg2
);
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4875 resultobj
= SWIG_Py_Void();
4882 SWIGINTERN PyObject
*_wrap_GridCellEditor_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
*resultobj
= 0;
4884 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4885 wxWindow
*arg2
= (wxWindow
*) 0 ;
4887 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
4896 PyObject
* obj0
= 0 ;
4897 PyObject
* obj1
= 0 ;
4898 PyObject
* obj2
= 0 ;
4899 PyObject
* obj3
= 0 ;
4900 char * kwnames
[] = {
4901 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
4904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4906 if (!SWIG_IsOK(res1
)) {
4907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Create" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4909 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4911 if (!SWIG_IsOK(res2
)) {
4912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4914 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4916 if (!SWIG_IsOK(ecode3
)) {
4917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_Create" "', expected argument " "3"" of type '" "int""'");
4919 arg3
= static_cast< int >(val3
);
4920 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
4921 if (!SWIG_IsOK(res4
)) {
4922 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_Create" "', expected argument " "4"" of type '" "wxEvtHandler *""'");
4924 arg4
= reinterpret_cast< wxEvtHandler
* >(argp4
);
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 (arg1
)->Create(arg2
,arg3
,arg4
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= SWIG_Py_Void();
4938 SWIGINTERN PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
= 0;
4940 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4943 wxGrid
*arg4
= (wxGrid
*) 0 ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4954 PyObject
* obj2
= 0 ;
4955 PyObject
* obj3
= 0 ;
4956 char * kwnames
[] = {
4957 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
4960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4962 if (!SWIG_IsOK(res1
)) {
4963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4965 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4967 if (!SWIG_IsOK(ecode2
)) {
4968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "2"" of type '" "int""'");
4970 arg2
= static_cast< int >(val2
);
4971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4972 if (!SWIG_IsOK(ecode3
)) {
4973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "3"" of type '" "int""'");
4975 arg3
= static_cast< int >(val3
);
4976 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
4977 if (!SWIG_IsOK(res4
)) {
4978 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
4980 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= SWIG_Py_Void();
4994 SWIGINTERN PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
= 0;
4996 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4999 wxGrid
*arg4
= (wxGrid
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5011 PyObject
* obj2
= 0 ;
5012 PyObject
* obj3
= 0 ;
5013 char * kwnames
[] = {
5014 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
5017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5019 if (!SWIG_IsOK(res1
)) {
5020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5022 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5024 if (!SWIG_IsOK(ecode2
)) {
5025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "2"" of type '" "int""'");
5027 arg2
= static_cast< int >(val2
);
5028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5029 if (!SWIG_IsOK(ecode3
)) {
5030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "3"" of type '" "int""'");
5032 arg3
= static_cast< int >(val3
);
5033 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
5034 if (!SWIG_IsOK(res4
)) {
5035 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
5037 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5053 SWIGINTERN PyObject
*_wrap_GridCellEditor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5054 PyObject
*resultobj
= 0;
5055 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5058 PyObject
*swig_obj
[1] ;
5060 if (!args
) SWIG_fail
;
5062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5063 if (!SWIG_IsOK(res1
)) {
5064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Reset" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5066 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= SWIG_Py_Void();
5080 SWIGINTERN PyObject
*_wrap_GridCellEditor_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5081 PyObject
*resultobj
= 0;
5082 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5083 wxGridCellEditor
*result
= 0 ;
5086 PyObject
*swig_obj
[1] ;
5088 if (!args
) SWIG_fail
;
5090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5091 if (!SWIG_IsOK(res1
)) {
5092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Clone" "', expected argument " "1"" of type '" "wxGridCellEditor const *""'");
5094 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
5110 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
= 0;
5112 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 char * kwnames
[] = {
5120 (char *) "self",(char *) "rect", NULL
5123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5125 if (!SWIG_IsOK(res1
)) {
5126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetSize" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5128 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5131 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 (arg1
)->SetSize((wxRect
const &)*arg2
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= SWIG_Py_Void();
5146 SWIGINTERN PyObject
*_wrap_GridCellEditor_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
= 0;
5148 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5150 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
5157 PyObject
* obj0
= 0 ;
5158 PyObject
* obj1
= 0 ;
5159 PyObject
* obj2
= 0 ;
5160 char * kwnames
[] = {
5161 (char *) "self",(char *) "show",(char *) "attr", NULL
5164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5166 if (!SWIG_IsOK(res1
)) {
5167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Show" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5169 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5170 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5171 if (!SWIG_IsOK(ecode2
)) {
5172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_Show" "', expected argument " "2"" of type '" "bool""'");
5174 arg2
= static_cast< bool >(val2
);
5176 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5177 if (!SWIG_IsOK(res3
)) {
5178 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_Show" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
5180 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 (arg1
)->Show(arg2
,arg3
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_Py_Void();
5195 SWIGINTERN PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
= 0;
5197 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5199 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
5205 PyObject
* obj0
= 0 ;
5206 PyObject
* obj1
= 0 ;
5207 PyObject
* obj2
= 0 ;
5208 char * kwnames
[] = {
5209 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
5212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5214 if (!SWIG_IsOK(res1
)) {
5215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5217 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5220 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5222 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5223 if (!SWIG_IsOK(res3
)) {
5224 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
5226 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SWIG_Py_Void();
5240 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
= 0;
5242 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5243 wxKeyEvent
*arg2
= 0 ;
5249 PyObject
* obj0
= 0 ;
5250 PyObject
* obj1
= 0 ;
5251 char * kwnames
[] = {
5252 (char *) "self",(char *) "event", NULL
5255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5257 if (!SWIG_IsOK(res1
)) {
5258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5260 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5262 if (!SWIG_IsOK(res2
)) {
5263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5268 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5284 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
= 0;
5286 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5287 wxKeyEvent
*arg2
= 0 ;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5294 char * kwnames
[] = {
5295 (char *) "self",(char *) "event", NULL
5298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5300 if (!SWIG_IsOK(res1
)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5303 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5305 if (!SWIG_IsOK(res2
)) {
5306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5311 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 (arg1
)->StartingKey(*arg2
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= SWIG_Py_Void();
5325 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5326 PyObject
*resultobj
= 0;
5327 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5330 PyObject
*swig_obj
[1] ;
5332 if (!args
) SWIG_fail
;
5334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5335 if (!SWIG_IsOK(res1
)) {
5336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingClick" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5338 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 (arg1
)->StartingClick();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= SWIG_Py_Void();
5352 SWIGINTERN PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
= 0;
5354 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5355 wxKeyEvent
*arg2
= 0 ;
5360 PyObject
* obj0
= 0 ;
5361 PyObject
* obj1
= 0 ;
5362 char * kwnames
[] = {
5363 (char *) "self",(char *) "event", NULL
5366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5368 if (!SWIG_IsOK(res1
)) {
5369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5371 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5373 if (!SWIG_IsOK(res2
)) {
5374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5379 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 (arg1
)->HandleReturn(*arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 resultobj
= SWIG_Py_Void();
5393 SWIGINTERN PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5394 PyObject
*resultobj
= 0;
5395 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5398 PyObject
*swig_obj
[1] ;
5400 if (!args
) SWIG_fail
;
5402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5403 if (!SWIG_IsOK(res1
)) {
5404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Destroy" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5406 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= SWIG_Py_Void();
5420 SWIGINTERN PyObject
*GridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5423 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEditor
, SWIG_NewClientData(obj
));
5424 return SWIG_Py_Void();
5427 SWIGINTERN PyObject
*_wrap_new_PyGridCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5428 PyObject
*resultobj
= 0;
5429 wxPyGridCellEditor
*result
= 0 ;
5431 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellEditor",0,0,0)) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_NEW
| 0 );
5445 SWIGINTERN PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= 0;
5447 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5448 PyObject
*arg2
= (PyObject
*) 0 ;
5449 PyObject
*arg3
= (PyObject
*) 0 ;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5454 PyObject
* obj2
= 0 ;
5455 char * kwnames
[] = {
5456 (char *) "self",(char *) "self",(char *) "_class", NULL
5459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5461 if (!SWIG_IsOK(res1
)) {
5462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5464 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_Py_Void();
5480 SWIGINTERN PyObject
*_wrap_PyGridCellEditor_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
= 0;
5482 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5483 wxString
*arg2
= 0 ;
5486 bool temp2
= false ;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5489 char * kwnames
[] = {
5490 (char *) "self",(char *) "params", NULL
5493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5495 if (!SWIG_IsOK(res1
)) {
5496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5498 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5500 arg2
= wxString_in_helper(obj1
);
5501 if (arg2
== NULL
) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 (arg1
)->SetParameters((wxString
const &)*arg2
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= SWIG_Py_Void();
5525 SWIGINTERN PyObject
*PyGridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5528 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellEditor
, SWIG_NewClientData(obj
));
5529 return SWIG_Py_Void();
5532 SWIGINTERN PyObject
*PyGridCellEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5533 return SWIG_Python_InitShadowInstance(args
);
5536 SWIGINTERN PyObject
*_wrap_new_GridCellTextEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5537 PyObject
*resultobj
= 0;
5538 wxGridCellTextEditor
*result
= 0 ;
5540 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellTextEditor",0,0,0)) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_NEW
| 0 );
5554 SWIGINTERN PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5555 PyObject
*resultobj
= 0;
5556 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
5560 PyObject
*swig_obj
[1] ;
5562 if (!args
) SWIG_fail
;
5564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellTextEditor
, 0 | 0 );
5565 if (!SWIG_IsOK(res1
)) {
5566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellTextEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellTextEditor *""'");
5568 arg1
= reinterpret_cast< wxGridCellTextEditor
* >(argp1
);
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 result
= (arg1
)->GetValue();
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5588 SWIGINTERN PyObject
*GridCellTextEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5591 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellTextEditor
, SWIG_NewClientData(obj
));
5592 return SWIG_Py_Void();
5595 SWIGINTERN PyObject
*GridCellTextEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5596 return SWIG_Python_InitShadowInstance(args
);
5599 SWIGINTERN PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
= 0;
5601 int arg1
= (int) -1 ;
5602 int arg2
= (int) -1 ;
5603 wxGridCellNumberEditor
*result
= 0 ;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5610 char * kwnames
[] = {
5611 (char *) "min",(char *) "max", NULL
5614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5616 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5617 if (!SWIG_IsOK(ecode1
)) {
5618 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellNumberEditor" "', expected argument " "1"" of type '" "int""'");
5620 arg1
= static_cast< int >(val1
);
5623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5624 if (!SWIG_IsOK(ecode2
)) {
5625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellNumberEditor" "', expected argument " "2"" of type '" "int""'");
5627 arg2
= static_cast< int >(val2
);
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_NEW
| 0 );
5642 SWIGINTERN PyObject
*GridCellNumberEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5645 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_NewClientData(obj
));
5646 return SWIG_Py_Void();
5649 SWIGINTERN PyObject
*GridCellNumberEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5650 return SWIG_Python_InitShadowInstance(args
);
5653 SWIGINTERN PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
= 0;
5655 int arg1
= (int) -1 ;
5656 int arg2
= (int) -1 ;
5657 wxGridCellFloatEditor
*result
= 0 ;
5662 PyObject
* obj0
= 0 ;
5663 PyObject
* obj1
= 0 ;
5664 char * kwnames
[] = {
5665 (char *) "width",(char *) "precision", NULL
5668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5670 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5671 if (!SWIG_IsOK(ecode1
)) {
5672 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatEditor" "', expected argument " "1"" of type '" "int""'");
5674 arg1
= static_cast< int >(val1
);
5677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5678 if (!SWIG_IsOK(ecode2
)) {
5679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatEditor" "', expected argument " "2"" of type '" "int""'");
5681 arg2
= static_cast< int >(val2
);
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_NEW
| 0 );
5696 SWIGINTERN PyObject
*GridCellFloatEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5698 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5699 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_NewClientData(obj
));
5700 return SWIG_Py_Void();
5703 SWIGINTERN PyObject
*GridCellFloatEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5704 return SWIG_Python_InitShadowInstance(args
);
5707 SWIGINTERN
int OneString_set(PyObject
*) {
5708 SWIG_Error(SWIG_AttributeError
,"Variable OneString is read-only.");
5713 SWIGINTERN PyObject
*OneString_get(void) {
5714 PyObject
*pyobj
= 0;
5718 pyobj
= PyUnicode_FromWideChar((&wxPyOneString
)->c_str(), (&wxPyOneString
)->Len());
5720 pyobj
= PyString_FromStringAndSize((&wxPyOneString
)->c_str(), (&wxPyOneString
)->Len());
5727 SWIGINTERN PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5728 PyObject
*resultobj
= 0;
5729 wxGridCellBoolEditor
*result
= 0 ;
5731 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolEditor",0,0,0)) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_NEW
| 0 );
5745 SWIGINTERN PyObject
*_wrap_GridCellBoolEditor_UseStringValues(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
= 0;
5747 wxString
const &arg1_defvalue
= wxPyOneString
;
5748 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5749 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5750 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5751 bool temp1
= false ;
5752 bool temp2
= false ;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5755 char * kwnames
[] = {
5756 (char *) "valueTrue",(char *) "valueFalse", NULL
5759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:GridCellBoolEditor_UseStringValues",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5762 arg1
= wxString_in_helper(obj0
);
5763 if (arg1
== NULL
) SWIG_fail
;
5769 arg2
= wxString_in_helper(obj1
);
5770 if (arg2
== NULL
) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 wxGridCellBoolEditor::UseStringValues((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= SWIG_Py_Void();
5803 SWIGINTERN PyObject
*_wrap_GridCellBoolEditor_IsTrueValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
= 0;
5805 wxString
*arg1
= 0 ;
5807 bool temp1
= false ;
5808 PyObject
* obj0
= 0 ;
5809 char * kwnames
[] = {
5810 (char *) "value", NULL
5813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_IsTrueValue",kwnames
,&obj0
)) SWIG_fail
;
5815 arg1
= wxString_in_helper(obj0
);
5816 if (arg1
== NULL
) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (bool)wxGridCellBoolEditor::IsTrueValue((wxString
const &)*arg1
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5842 SWIGINTERN PyObject
*GridCellBoolEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5845 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_NewClientData(obj
));
5846 return SWIG_Py_Void();
5849 SWIGINTERN PyObject
*GridCellBoolEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5850 return SWIG_Python_InitShadowInstance(args
);
5853 SWIGINTERN PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
= 0;
5855 int arg1
= (int) 0 ;
5856 wxString
*arg2
= (wxString
*) NULL
;
5857 bool arg3
= (bool) false ;
5858 wxGridCellChoiceEditor
*result
= 0 ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5863 char * kwnames
[] = {
5864 (char *) "choices",(char *) "allowOthers", NULL
5867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5870 arg1
= PyList_Size(obj0
);
5871 arg2
= wxString_LIST_helper(obj0
);
5872 if (arg2
== NULL
) SWIG_fail
;
5876 ecode3
= SWIG_AsVal_bool(obj1
, &val3
);
5877 if (!SWIG_IsOK(ecode3
)) {
5878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridCellChoiceEditor" "', expected argument " "3"" of type '" "bool""'");
5880 arg3
= static_cast< bool >(val3
);
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_NEW
| 0 );
5890 if (arg2
) delete [] arg2
;
5895 if (arg2
) delete [] arg2
;
5901 SWIGINTERN PyObject
*GridCellChoiceEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5904 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_NewClientData(obj
));
5905 return SWIG_Py_Void();
5908 SWIGINTERN PyObject
*GridCellChoiceEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5909 return SWIG_Python_InitShadowInstance(args
);
5912 SWIGINTERN PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
= 0;
5914 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5915 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5916 wxGridCellEnumEditor
*result
= 0 ;
5917 bool temp1
= false ;
5918 PyObject
* obj0
= 0 ;
5919 char * kwnames
[] = {
5920 (char *) "choices", NULL
5923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) SWIG_fail
;
5926 arg1
= wxString_in_helper(obj0
);
5927 if (arg1
== NULL
) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_NEW
| 0 );
5952 SWIGINTERN PyObject
*GridCellEnumEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5955 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_NewClientData(obj
));
5956 return SWIG_Py_Void();
5959 SWIGINTERN PyObject
*GridCellEnumEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5960 return SWIG_Python_InitShadowInstance(args
);
5963 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5964 PyObject
*resultobj
= 0;
5965 wxGridCellAutoWrapStringEditor
*result
= 0 ;
5967 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringEditor",0,0,0)) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_NEW
| 0 );
5981 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5984 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_NewClientData(obj
));
5985 return SWIG_Py_Void();
5988 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5989 return SWIG_Python_InitShadowInstance(args
);
5992 SWIGINTERN PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
= 0;
5994 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5995 PyObject
*arg2
= (PyObject
*) 0 ;
5998 PyObject
* obj0
= 0 ;
5999 PyObject
* obj1
= 0 ;
6000 char * kwnames
[] = {
6001 (char *) "self",(char *) "_self", NULL
6004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6006 if (!SWIG_IsOK(res1
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6009 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 wxGridCellAttr__setOORInfo(arg1
,arg2
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= SWIG_Py_Void();
6024 SWIGINTERN PyObject
*_wrap_new_GridCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
= 0;
6026 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
6027 wxGridCellAttr
*result
= 0 ;
6030 PyObject
* obj0
= 0 ;
6031 char * kwnames
[] = {
6032 (char *) "attrDefault", NULL
6035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) SWIG_fail
;
6037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6038 if (!SWIG_IsOK(res1
)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6041 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)SWIG_POINTER_NEW
);
6058 SWIGINTERN PyObject
*_wrap_delete_GridCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6059 PyObject
*resultobj
= 0;
6060 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6063 PyObject
*swig_obj
[1] ;
6065 if (!args
) SWIG_fail
;
6067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_DISOWN
| 0 );
6068 if (!SWIG_IsOK(res1
)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6071 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 delete_wxGridCellAttr(arg1
);
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= SWIG_Py_Void();
6086 SWIGINTERN PyObject
*_wrap_GridCellAttr_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6087 PyObject
*resultobj
= 0;
6088 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6089 wxGridCellAttr
*result
= 0 ;
6092 PyObject
*swig_obj
[1] ;
6094 if (!args
) SWIG_fail
;
6096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6097 if (!SWIG_IsOK(res1
)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_Clone" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6100 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
6116 SWIGINTERN PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
= 0;
6118 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6119 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6124 PyObject
* obj0
= 0 ;
6125 PyObject
* obj1
= 0 ;
6126 char * kwnames
[] = {
6127 (char *) "self",(char *) "mergefrom", NULL
6130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6132 if (!SWIG_IsOK(res1
)) {
6133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6135 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6137 if (!SWIG_IsOK(res2
)) {
6138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
6140 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 (arg1
)->MergeWith(arg2
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= SWIG_Py_Void();
6154 SWIGINTERN PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6155 PyObject
*resultobj
= 0;
6156 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6159 PyObject
*swig_obj
[1] ;
6161 if (!args
) SWIG_fail
;
6163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6164 if (!SWIG_IsOK(res1
)) {
6165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IncRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6167 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_Py_Void();
6181 SWIGINTERN PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6182 PyObject
*resultobj
= 0;
6183 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6186 PyObject
*swig_obj
[1] ;
6188 if (!args
) SWIG_fail
;
6190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6191 if (!SWIG_IsOK(res1
)) {
6192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_DecRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6194 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= SWIG_Py_Void();
6208 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
= 0;
6210 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6211 wxColour
*arg2
= 0 ;
6215 PyObject
* obj0
= 0 ;
6216 PyObject
* obj1
= 0 ;
6217 char * kwnames
[] = {
6218 (char *) "self",(char *) "colText", NULL
6221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6223 if (!SWIG_IsOK(res1
)) {
6224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6226 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6229 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= SWIG_Py_Void();
6244 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
= 0;
6246 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6247 wxColour
*arg2
= 0 ;
6251 PyObject
* obj0
= 0 ;
6252 PyObject
* obj1
= 0 ;
6253 char * kwnames
[] = {
6254 (char *) "self",(char *) "colBack", NULL
6257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6259 if (!SWIG_IsOK(res1
)) {
6260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6262 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= SWIG_Py_Void();
6280 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
= 0;
6282 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6290 char * kwnames
[] = {
6291 (char *) "self",(char *) "font", NULL
6294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetFont" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6299 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
6301 if (!SWIG_IsOK(res2
)) {
6302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6307 arg2
= reinterpret_cast< wxFont
* >(argp2
);
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 (arg1
)->SetFont((wxFont
const &)*arg2
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_Py_Void();
6321 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
= 0;
6323 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6334 PyObject
* obj2
= 0 ;
6335 char * kwnames
[] = {
6336 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
6339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6341 if (!SWIG_IsOK(res1
)) {
6342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6344 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6346 if (!SWIG_IsOK(ecode2
)) {
6347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "2"" of type '" "int""'");
6349 arg2
= static_cast< int >(val2
);
6350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6351 if (!SWIG_IsOK(ecode3
)) {
6352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "3"" of type '" "int""'");
6354 arg3
= static_cast< int >(val3
);
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 (arg1
)->SetAlignment(arg2
,arg3
);
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= SWIG_Py_Void();
6368 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
= 0;
6370 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6379 PyObject
* obj0
= 0 ;
6380 PyObject
* obj1
= 0 ;
6381 PyObject
* obj2
= 0 ;
6382 char * kwnames
[] = {
6383 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
6386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6388 if (!SWIG_IsOK(res1
)) {
6389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetSize" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6391 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6393 if (!SWIG_IsOK(ecode2
)) {
6394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetSize" "', expected argument " "2"" of type '" "int""'");
6396 arg2
= static_cast< int >(val2
);
6397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6398 if (!SWIG_IsOK(ecode3
)) {
6399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetSize" "', expected argument " "3"" of type '" "int""'");
6401 arg3
= static_cast< int >(val3
);
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 (arg1
)->SetSize(arg2
,arg3
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= SWIG_Py_Void();
6415 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
= 0;
6417 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6418 bool arg2
= (bool) true ;
6423 PyObject
* obj0
= 0 ;
6424 PyObject
* obj1
= 0 ;
6425 char * kwnames
[] = {
6426 (char *) "self",(char *) "allow", NULL
6429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6431 if (!SWIG_IsOK(res1
)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6434 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6436 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6437 if (!SWIG_IsOK(ecode2
)) {
6438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "2"" of type '" "bool""'");
6440 arg2
= static_cast< bool >(val2
);
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 (arg1
)->SetOverflow(arg2
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_Py_Void();
6455 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
= 0;
6457 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6458 bool arg2
= (bool) true ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 char * kwnames
[] = {
6466 (char *) "self",(char *) "isReadOnly", NULL
6469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6471 if (!SWIG_IsOK(res1
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6474 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6476 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6477 if (!SWIG_IsOK(ecode2
)) {
6478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
6480 arg2
= static_cast< bool >(val2
);
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 (arg1
)->SetReadOnly(arg2
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 resultobj
= SWIG_Py_Void();
6495 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
= 0;
6497 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6498 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
6503 PyObject
* obj0
= 0 ;
6504 PyObject
* obj1
= 0 ;
6505 char * kwnames
[] = {
6506 (char *) "self",(char *) "renderer", NULL
6509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6511 if (!SWIG_IsOK(res1
)) {
6512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6514 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
6516 if (!SWIG_IsOK(res2
)) {
6517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
6519 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 (arg1
)->SetRenderer(arg2
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_Py_Void();
6533 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
= 0;
6535 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6536 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6543 char * kwnames
[] = {
6544 (char *) "self",(char *) "editor", NULL
6547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6552 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6553 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
6554 if (!SWIG_IsOK(res2
)) {
6555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
6557 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 (arg1
)->SetEditor(arg2
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_Py_Void();
6571 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
= 0;
6573 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6574 wxGridCellAttr::wxAttrKind arg2
;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6581 char * kwnames
[] = {
6582 (char *) "self",(char *) "kind", NULL
6585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6587 if (!SWIG_IsOK(res1
)) {
6588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6590 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6592 if (!SWIG_IsOK(ecode2
)) {
6593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetKind" "', expected argument " "2"" of type '" "wxGridCellAttr::wxAttrKind""'");
6595 arg2
= static_cast< wxGridCellAttr::wxAttrKind
>(val2
);
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 (arg1
)->SetKind(arg2
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= SWIG_Py_Void();
6609 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6610 PyObject
*resultobj
= 0;
6611 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6615 PyObject
*swig_obj
[1] ;
6617 if (!args
) SWIG_fail
;
6619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6620 if (!SWIG_IsOK(res1
)) {
6621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6623 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6639 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6640 PyObject
*resultobj
= 0;
6641 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6645 PyObject
*swig_obj
[1] ;
6647 if (!args
) SWIG_fail
;
6649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6650 if (!SWIG_IsOK(res1
)) {
6651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6653 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6669 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6670 PyObject
*resultobj
= 0;
6671 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6675 PyObject
*swig_obj
[1] ;
6677 if (!args
) SWIG_fail
;
6679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6680 if (!SWIG_IsOK(res1
)) {
6681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6683 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6699 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6700 PyObject
*resultobj
= 0;
6701 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6705 PyObject
*swig_obj
[1] ;
6707 if (!args
) SWIG_fail
;
6709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6710 if (!SWIG_IsOK(res1
)) {
6711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6713 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6729 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6730 PyObject
*resultobj
= 0;
6731 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6735 PyObject
*swig_obj
[1] ;
6737 if (!args
) SWIG_fail
;
6739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6740 if (!SWIG_IsOK(res1
)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6743 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6759 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6760 PyObject
*resultobj
= 0;
6761 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6765 PyObject
*swig_obj
[1] ;
6767 if (!args
) SWIG_fail
;
6769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6770 if (!SWIG_IsOK(res1
)) {
6771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6773 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6789 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6790 PyObject
*resultobj
= 0;
6791 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6795 PyObject
*swig_obj
[1] ;
6797 if (!args
) SWIG_fail
;
6799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6800 if (!SWIG_IsOK(res1
)) {
6801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasReadWriteMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6803 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6819 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6820 PyObject
*resultobj
= 0;
6821 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6825 PyObject
*swig_obj
[1] ;
6827 if (!args
) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasOverflowMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6833 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6849 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6850 PyObject
*resultobj
= 0;
6851 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6855 PyObject
*swig_obj
[1] ;
6857 if (!args
) SWIG_fail
;
6859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6860 if (!SWIG_IsOK(res1
)) {
6861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6863 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6877 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6878 PyObject
*resultobj
= 0;
6879 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6883 PyObject
*swig_obj
[1] ;
6885 if (!args
) SWIG_fail
;
6887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6888 if (!SWIG_IsOK(res1
)) {
6889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6891 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6905 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6906 PyObject
*resultobj
= 0;
6907 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6911 PyObject
*swig_obj
[1] ;
6913 if (!args
) SWIG_fail
;
6915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6916 if (!SWIG_IsOK(res1
)) {
6917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6919 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
6933 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6934 PyObject
*resultobj
= 0;
6935 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6936 int *arg2
= (int *) 0 ;
6937 int *arg3
= (int *) 0 ;
6941 int res2
= SWIG_TMPOBJ
;
6943 int res3
= SWIG_TMPOBJ
;
6944 PyObject
*swig_obj
[1] ;
6948 if (!args
) SWIG_fail
;
6950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6951 if (!SWIG_IsOK(res1
)) {
6952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6954 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_Py_Void();
6962 if (SWIG_IsTmpObj(res2
)) {
6963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6965 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6968 if (SWIG_IsTmpObj(res3
)) {
6969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6971 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6980 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6981 PyObject
*resultobj
= 0;
6982 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6983 int *arg2
= (int *) 0 ;
6984 int *arg3
= (int *) 0 ;
6988 int res2
= SWIG_TMPOBJ
;
6990 int res3
= SWIG_TMPOBJ
;
6991 PyObject
*swig_obj
[1] ;
6995 if (!args
) SWIG_fail
;
6997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6998 if (!SWIG_IsOK(res1
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetSize" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7001 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_Py_Void();
7009 if (SWIG_IsTmpObj(res2
)) {
7010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
7012 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
7015 if (SWIG_IsTmpObj(res3
)) {
7016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
7018 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
7027 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7028 PyObject
*resultobj
= 0;
7029 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7033 PyObject
*swig_obj
[1] ;
7035 if (!args
) SWIG_fail
;
7037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7038 if (!SWIG_IsOK(res1
)) {
7039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7041 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7057 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
= 0;
7059 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7060 wxGrid
*arg2
= (wxGrid
*) 0 ;
7063 wxGridCellRenderer
*result
= 0 ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7074 PyObject
* obj2
= 0 ;
7075 PyObject
* obj3
= 0 ;
7076 char * kwnames
[] = {
7077 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
7080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7082 if (!SWIG_IsOK(res1
)) {
7083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7085 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
7087 if (!SWIG_IsOK(res2
)) {
7088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "2"" of type '" "wxGrid *""'");
7090 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
7091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7092 if (!SWIG_IsOK(ecode3
)) {
7093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "3"" of type '" "int""'");
7095 arg3
= static_cast< int >(val3
);
7096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7097 if (!SWIG_IsOK(ecode4
)) {
7098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "4"" of type '" "int""'");
7100 arg4
= static_cast< int >(val4
);
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7108 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
7116 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
= 0;
7118 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7119 wxGrid
*arg2
= (wxGrid
*) 0 ;
7122 wxGridCellEditor
*result
= 0 ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 PyObject
* obj2
= 0 ;
7134 PyObject
* obj3
= 0 ;
7135 char * kwnames
[] = {
7136 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
7139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7141 if (!SWIG_IsOK(res1
)) {
7142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7144 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
7146 if (!SWIG_IsOK(res2
)) {
7147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "2"" of type '" "wxGrid *""'");
7149 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
7150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7151 if (!SWIG_IsOK(ecode3
)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "3"" of type '" "int""'");
7154 arg3
= static_cast< int >(val3
);
7155 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7156 if (!SWIG_IsOK(ecode4
)) {
7157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "4"" of type '" "int""'");
7159 arg4
= static_cast< int >(val4
);
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
7175 SWIGINTERN PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7176 PyObject
*resultobj
= 0;
7177 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7181 PyObject
*swig_obj
[1] ;
7183 if (!args
) SWIG_fail
;
7185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7186 if (!SWIG_IsOK(res1
)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IsReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7189 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7205 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7206 PyObject
*resultobj
= 0;
7207 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7208 wxGridCellAttr::wxAttrKind result
;
7211 PyObject
*swig_obj
[1] ;
7213 if (!args
) SWIG_fail
;
7215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7216 if (!SWIG_IsOK(res1
)) {
7217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
7219 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= SWIG_From_int(static_cast< int >(result
));
7233 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
= 0;
7235 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7236 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7241 PyObject
* obj0
= 0 ;
7242 PyObject
* obj1
= 0 ;
7243 char * kwnames
[] = {
7244 (char *) "self",(char *) "defAttr", NULL
7247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7249 if (!SWIG_IsOK(res1
)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
7252 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7254 if (!SWIG_IsOK(res2
)) {
7255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7257 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 (arg1
)->SetDefAttr(arg2
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= SWIG_Py_Void();
7271 SWIGINTERN PyObject
*GridCellAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7274 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttr
, SWIG_NewClientData(obj
));
7275 return SWIG_Py_Void();
7278 SWIGINTERN PyObject
*GridCellAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7279 return SWIG_Python_InitShadowInstance(args
);
7282 SWIGINTERN PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7283 PyObject
*resultobj
= 0;
7284 wxGridCellAttrProvider
*result
= 0 ;
7286 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAttrProvider",0,0,0)) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)SWIG_POINTER_NEW
);
7302 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
= 0;
7304 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7305 PyObject
*arg2
= (PyObject
*) 0 ;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7310 char * kwnames
[] = {
7311 (char *) "self",(char *) "_self", NULL
7314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7316 if (!SWIG_IsOK(res1
)) {
7317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7319 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= SWIG_Py_Void();
7334 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
= 0;
7336 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7339 wxGridCellAttr::wxAttrKind arg4
;
7340 wxGridCellAttr
*result
= 0 ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7351 PyObject
* obj2
= 0 ;
7352 PyObject
* obj3
= 0 ;
7353 char * kwnames
[] = {
7354 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7359 if (!SWIG_IsOK(res1
)) {
7360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider const *""'");
7362 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7364 if (!SWIG_IsOK(ecode2
)) {
7365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7367 arg2
= static_cast< int >(val2
);
7368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7369 if (!SWIG_IsOK(ecode3
)) {
7370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7372 arg3
= static_cast< int >(val3
);
7373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7374 if (!SWIG_IsOK(ecode4
)) {
7375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7377 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,arg4
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7393 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
= 0;
7395 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7396 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7407 PyObject
* obj0
= 0 ;
7408 PyObject
* obj1
= 0 ;
7409 PyObject
* obj2
= 0 ;
7410 PyObject
* obj3
= 0 ;
7411 char * kwnames
[] = {
7412 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7417 if (!SWIG_IsOK(res1
)) {
7418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7420 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7422 if (!SWIG_IsOK(res2
)) {
7423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7425 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7427 if (!SWIG_IsOK(ecode3
)) {
7428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7430 arg3
= static_cast< int >(val3
);
7431 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7432 if (!SWIG_IsOK(ecode4
)) {
7433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7435 arg4
= static_cast< int >(val4
);
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= SWIG_Py_Void();
7449 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
= 0;
7451 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7452 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 PyObject
* obj2
= 0 ;
7463 char * kwnames
[] = {
7464 (char *) "self",(char *) "attr",(char *) "row", NULL
7467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7469 if (!SWIG_IsOK(res1
)) {
7470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7472 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7474 if (!SWIG_IsOK(res2
)) {
7475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7477 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7479 if (!SWIG_IsOK(ecode3
)) {
7480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7482 arg3
= static_cast< int >(val3
);
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 (arg1
)->SetRowAttr(arg2
,arg3
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_Py_Void();
7496 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
= 0;
7498 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7499 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7509 PyObject
* obj2
= 0 ;
7510 char * kwnames
[] = {
7511 (char *) "self",(char *) "attr",(char *) "col", NULL
7514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7516 if (!SWIG_IsOK(res1
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7519 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7521 if (!SWIG_IsOK(res2
)) {
7522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7524 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7526 if (!SWIG_IsOK(ecode3
)) {
7527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7529 arg3
= static_cast< int >(val3
);
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 (arg1
)->SetColAttr(arg2
,arg3
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_Py_Void();
7543 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
= 0;
7545 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7556 PyObject
* obj2
= 0 ;
7557 char * kwnames
[] = {
7558 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7563 if (!SWIG_IsOK(res1
)) {
7564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7566 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7567 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7568 if (!SWIG_IsOK(ecode2
)) {
7569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "2"" of type '" "size_t""'");
7571 arg2
= static_cast< size_t >(val2
);
7572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7573 if (!SWIG_IsOK(ecode3
)) {
7574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "3"" of type '" "int""'");
7576 arg3
= static_cast< int >(val3
);
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 (arg1
)->UpdateAttrRows(arg2
,arg3
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 resultobj
= SWIG_Py_Void();
7590 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
= 0;
7592 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7601 PyObject
* obj0
= 0 ;
7602 PyObject
* obj1
= 0 ;
7603 PyObject
* obj2
= 0 ;
7604 char * kwnames
[] = {
7605 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7610 if (!SWIG_IsOK(res1
)) {
7611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7613 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7614 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7615 if (!SWIG_IsOK(ecode2
)) {
7616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "2"" of type '" "size_t""'");
7618 arg2
= static_cast< size_t >(val2
);
7619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7620 if (!SWIG_IsOK(ecode3
)) {
7621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "3"" of type '" "int""'");
7623 arg3
= static_cast< int >(val3
);
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 (arg1
)->UpdateAttrCols(arg2
,arg3
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_Py_Void();
7637 SWIGINTERN PyObject
*GridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7640 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_NewClientData(obj
));
7641 return SWIG_Py_Void();
7644 SWIGINTERN PyObject
*GridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7645 return SWIG_Python_InitShadowInstance(args
);
7648 SWIGINTERN PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7649 PyObject
*resultobj
= 0;
7650 wxPyGridCellAttrProvider
*result
= 0 ;
7652 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellAttrProvider",0,0,0)) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_NEW
| 0 );
7666 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
= 0;
7668 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7669 PyObject
*arg2
= (PyObject
*) 0 ;
7670 PyObject
*arg3
= (PyObject
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7674 PyObject
* obj1
= 0 ;
7675 PyObject
* obj2
= 0 ;
7676 char * kwnames
[] = {
7677 (char *) "self",(char *) "self",(char *) "_class", NULL
7680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7682 if (!SWIG_IsOK(res1
)) {
7683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7685 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_Py_Void();
7701 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
= 0;
7703 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7706 wxGridCellAttr::wxAttrKind arg4
;
7707 wxGridCellAttr
*result
= 0 ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7718 PyObject
* obj2
= 0 ;
7719 PyObject
* obj3
= 0 ;
7720 char * kwnames
[] = {
7721 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7726 if (!SWIG_IsOK(res1
)) {
7727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7729 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7731 if (!SWIG_IsOK(ecode2
)) {
7732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7734 arg2
= static_cast< int >(val2
);
7735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7736 if (!SWIG_IsOK(ecode3
)) {
7737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7739 arg3
= static_cast< int >(val3
);
7740 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7741 if (!SWIG_IsOK(ecode4
)) {
7742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7744 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7760 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
= 0;
7762 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7763 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7776 PyObject
* obj2
= 0 ;
7777 PyObject
* obj3
= 0 ;
7778 char * kwnames
[] = {
7779 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7784 if (!SWIG_IsOK(res1
)) {
7785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7787 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7789 if (!SWIG_IsOK(res2
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7792 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7794 if (!SWIG_IsOK(ecode3
)) {
7795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7797 arg3
= static_cast< int >(val3
);
7798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7799 if (!SWIG_IsOK(ecode4
)) {
7800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7802 arg4
= static_cast< int >(val4
);
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7809 resultobj
= SWIG_Py_Void();
7816 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
= 0;
7818 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7819 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7828 PyObject
* obj1
= 0 ;
7829 PyObject
* obj2
= 0 ;
7830 char * kwnames
[] = {
7831 (char *) "self",(char *) "attr",(char *) "row", NULL
7834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7839 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7840 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7841 if (!SWIG_IsOK(res2
)) {
7842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7844 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7846 if (!SWIG_IsOK(ecode3
)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7849 arg3
= static_cast< int >(val3
);
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 (arg1
)->SetRowAttr(arg2
,arg3
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= SWIG_Py_Void();
7863 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
= 0;
7865 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7866 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7876 PyObject
* obj2
= 0 ;
7877 char * kwnames
[] = {
7878 (char *) "self",(char *) "attr",(char *) "col", NULL
7881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7883 if (!SWIG_IsOK(res1
)) {
7884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7886 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7887 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7888 if (!SWIG_IsOK(res2
)) {
7889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7891 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7893 if (!SWIG_IsOK(ecode3
)) {
7894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7896 arg3
= static_cast< int >(val3
);
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 (arg1
)->SetColAttr(arg2
,arg3
);
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= SWIG_Py_Void();
7910 SWIGINTERN PyObject
*PyGridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7913 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_NewClientData(obj
));
7914 return SWIG_Py_Void();
7917 SWIGINTERN PyObject
*PyGridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7918 return SWIG_Python_InitShadowInstance(args
);
7921 SWIGINTERN PyObject
*_wrap_delete_GridTableBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7922 PyObject
*resultobj
= 0;
7923 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7926 PyObject
*swig_obj
[1] ;
7928 if (!args
) SWIG_fail
;
7930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN
| 0 );
7931 if (!SWIG_IsOK(res1
)) {
7932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableBase" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7934 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_Py_Void();
7949 SWIGINTERN PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
= 0;
7951 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7952 PyObject
*arg2
= (PyObject
*) 0 ;
7955 PyObject
* obj0
= 0 ;
7956 PyObject
* obj1
= 0 ;
7957 char * kwnames
[] = {
7958 (char *) "self",(char *) "_self", NULL
7961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7963 if (!SWIG_IsOK(res1
)) {
7964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase__setOORInfo" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7966 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 wxGridTableBase__setOORInfo(arg1
,arg2
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_Py_Void();
7981 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
= 0;
7983 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7984 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7991 char * kwnames
[] = {
7992 (char *) "self",(char *) "attrProvider", NULL
7995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7997 if (!SWIG_IsOK(res1
)) {
7998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8000 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8001 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
8002 if (!SWIG_IsOK(res2
)) {
8003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "2"" of type '" "wxGridCellAttrProvider *""'");
8005 arg2
= reinterpret_cast< wxGridCellAttrProvider
* >(argp2
);
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 (arg1
)->SetAttrProvider(arg2
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= SWIG_Py_Void();
8019 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8020 PyObject
*resultobj
= 0;
8021 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8022 wxGridCellAttrProvider
*result
= 0 ;
8025 PyObject
*swig_obj
[1] ;
8027 if (!args
) SWIG_fail
;
8029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8030 if (!SWIG_IsOK(res1
)) {
8031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
8033 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)0);
8049 SWIGINTERN PyObject
*_wrap_GridTableBase_SetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
= 0;
8051 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8052 wxGrid
*arg2
= (wxGrid
*) 0 ;
8057 PyObject
* obj0
= 0 ;
8058 PyObject
* obj1
= 0 ;
8059 char * kwnames
[] = {
8060 (char *) "self",(char *) "grid", NULL
8063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8065 if (!SWIG_IsOK(res1
)) {
8066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetView" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8068 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8069 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
8070 if (!SWIG_IsOK(res2
)) {
8071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetView" "', expected argument " "2"" of type '" "wxGrid *""'");
8073 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 (arg1
)->SetView(arg2
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_Py_Void();
8087 SWIGINTERN PyObject
*_wrap_GridTableBase_GetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8088 PyObject
*resultobj
= 0;
8089 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8090 wxGrid
*result
= 0 ;
8093 PyObject
*swig_obj
[1] ;
8095 if (!args
) SWIG_fail
;
8097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8098 if (!SWIG_IsOK(res1
)) {
8099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetView" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
8101 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= wxPyMake_wxObject(result
, (bool)0);
8117 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8118 PyObject
*resultobj
= 0;
8119 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8123 PyObject
*swig_obj
[1] ;
8125 if (!args
) SWIG_fail
;
8127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8128 if (!SWIG_IsOK(res1
)) {
8129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8131 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= (int)(arg1
)->GetNumberRows();
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_From_int(static_cast< int >(result
));
8145 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8146 PyObject
*resultobj
= 0;
8147 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8151 PyObject
*swig_obj
[1] ;
8153 if (!args
) SWIG_fail
;
8155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8156 if (!SWIG_IsOK(res1
)) {
8157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8159 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 result
= (int)(arg1
)->GetNumberCols();
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8166 resultobj
= SWIG_From_int(static_cast< int >(result
));
8173 SWIGINTERN PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
= 0;
8175 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8185 PyObject
* obj0
= 0 ;
8186 PyObject
* obj1
= 0 ;
8187 PyObject
* obj2
= 0 ;
8188 char * kwnames
[] = {
8189 (char *) "self",(char *) "row",(char *) "col", NULL
8192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8194 if (!SWIG_IsOK(res1
)) {
8195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8197 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8199 if (!SWIG_IsOK(ecode2
)) {
8200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "2"" of type '" "int""'");
8202 arg2
= static_cast< int >(val2
);
8203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8204 if (!SWIG_IsOK(ecode3
)) {
8205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "3"" of type '" "int""'");
8207 arg3
= static_cast< int >(val3
);
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8223 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
= 0;
8225 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8235 PyObject
* obj0
= 0 ;
8236 PyObject
* obj1
= 0 ;
8237 PyObject
* obj2
= 0 ;
8238 char * kwnames
[] = {
8239 (char *) "self",(char *) "row",(char *) "col", NULL
8242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8244 if (!SWIG_IsOK(res1
)) {
8245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8247 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8249 if (!SWIG_IsOK(ecode2
)) {
8250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValue" "', expected argument " "2"" of type '" "int""'");
8252 arg2
= static_cast< int >(val2
);
8253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8254 if (!SWIG_IsOK(ecode3
)) {
8255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValue" "', expected argument " "3"" of type '" "int""'");
8257 arg3
= static_cast< int >(val3
);
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 result
= (arg1
)->GetValue(arg2
,arg3
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8277 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
= 0;
8279 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8282 wxString
*arg4
= 0 ;
8289 bool temp4
= false ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8292 PyObject
* obj2
= 0 ;
8293 PyObject
* obj3
= 0 ;
8294 char * kwnames
[] = {
8295 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8300 if (!SWIG_IsOK(res1
)) {
8301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8303 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8305 if (!SWIG_IsOK(ecode2
)) {
8306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValue" "', expected argument " "2"" of type '" "int""'");
8308 arg2
= static_cast< int >(val2
);
8309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8310 if (!SWIG_IsOK(ecode3
)) {
8311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValue" "', expected argument " "3"" of type '" "int""'");
8313 arg3
= static_cast< int >(val3
);
8315 arg4
= wxString_in_helper(obj3
);
8316 if (arg4
== NULL
) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= SWIG_Py_Void();
8340 SWIGINTERN PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
= 0;
8342 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8354 PyObject
* obj2
= 0 ;
8355 char * kwnames
[] = {
8356 (char *) "self",(char *) "row",(char *) "col", NULL
8359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8361 if (!SWIG_IsOK(res1
)) {
8362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8364 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8366 if (!SWIG_IsOK(ecode2
)) {
8367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "2"" of type '" "int""'");
8369 arg2
= static_cast< int >(val2
);
8370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8371 if (!SWIG_IsOK(ecode3
)) {
8372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "3"" of type '" "int""'");
8374 arg3
= static_cast< int >(val3
);
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 result
= (arg1
)->GetTypeName(arg2
,arg3
);
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8394 SWIGINTERN PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
= 0;
8396 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8399 wxString
*arg4
= 0 ;
8407 bool temp4
= false ;
8408 PyObject
* obj0
= 0 ;
8409 PyObject
* obj1
= 0 ;
8410 PyObject
* obj2
= 0 ;
8411 PyObject
* obj3
= 0 ;
8412 char * kwnames
[] = {
8413 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8418 if (!SWIG_IsOK(res1
)) {
8419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8421 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8423 if (!SWIG_IsOK(ecode2
)) {
8424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "2"" of type '" "int""'");
8426 arg2
= static_cast< int >(val2
);
8427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8428 if (!SWIG_IsOK(ecode3
)) {
8429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "3"" of type '" "int""'");
8431 arg3
= static_cast< int >(val3
);
8433 arg4
= wxString_in_helper(obj3
);
8434 if (arg4
== NULL
) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8460 SWIGINTERN PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
= 0;
8462 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8465 wxString
*arg4
= 0 ;
8473 bool temp4
= false ;
8474 PyObject
* obj0
= 0 ;
8475 PyObject
* obj1
= 0 ;
8476 PyObject
* obj2
= 0 ;
8477 PyObject
* obj3
= 0 ;
8478 char * kwnames
[] = {
8479 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8484 if (!SWIG_IsOK(res1
)) {
8485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8487 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8489 if (!SWIG_IsOK(ecode2
)) {
8490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "2"" of type '" "int""'");
8492 arg2
= static_cast< int >(val2
);
8493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8494 if (!SWIG_IsOK(ecode3
)) {
8495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "3"" of type '" "int""'");
8497 arg3
= static_cast< int >(val3
);
8499 arg4
= wxString_in_helper(obj3
);
8500 if (arg4
== NULL
) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8526 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
= 0;
8528 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8540 PyObject
* obj2
= 0 ;
8541 char * kwnames
[] = {
8542 (char *) "self",(char *) "row",(char *) "col", NULL
8545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8547 if (!SWIG_IsOK(res1
)) {
8548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8550 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8552 if (!SWIG_IsOK(ecode2
)) {
8553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8555 arg2
= static_cast< int >(val2
);
8556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8557 if (!SWIG_IsOK(ecode3
)) {
8558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8560 arg3
= static_cast< int >(val3
);
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= SWIG_From_long(static_cast< long >(result
));
8574 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
= 0;
8576 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8588 PyObject
* obj2
= 0 ;
8589 char * kwnames
[] = {
8590 (char *) "self",(char *) "row",(char *) "col", NULL
8593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8595 if (!SWIG_IsOK(res1
)) {
8596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8598 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8600 if (!SWIG_IsOK(ecode2
)) {
8601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8603 arg2
= static_cast< int >(val2
);
8604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8605 if (!SWIG_IsOK(ecode3
)) {
8606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8608 arg3
= static_cast< int >(val3
);
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 resultobj
= SWIG_From_double(static_cast< double >(result
));
8622 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
= 0;
8624 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8636 PyObject
* obj2
= 0 ;
8637 char * kwnames
[] = {
8638 (char *) "self",(char *) "row",(char *) "col", NULL
8641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8643 if (!SWIG_IsOK(res1
)) {
8644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8646 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8648 if (!SWIG_IsOK(ecode2
)) {
8649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8651 arg2
= static_cast< int >(val2
);
8652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8653 if (!SWIG_IsOK(ecode3
)) {
8654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8656 arg3
= static_cast< int >(val3
);
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8672 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
= 0;
8674 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8686 PyObject
* obj0
= 0 ;
8687 PyObject
* obj1
= 0 ;
8688 PyObject
* obj2
= 0 ;
8689 PyObject
* obj3
= 0 ;
8690 char * kwnames
[] = {
8691 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8696 if (!SWIG_IsOK(res1
)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8699 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8701 if (!SWIG_IsOK(ecode2
)) {
8702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8704 arg2
= static_cast< int >(val2
);
8705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8706 if (!SWIG_IsOK(ecode3
)) {
8707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8709 arg3
= static_cast< int >(val3
);
8710 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8711 if (!SWIG_IsOK(ecode4
)) {
8712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "4"" of type '" "long""'");
8714 arg4
= static_cast< long >(val4
);
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_Py_Void();
8728 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= 0;
8730 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 PyObject
* obj2
= 0 ;
8745 PyObject
* obj3
= 0 ;
8746 char * kwnames
[] = {
8747 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8752 if (!SWIG_IsOK(res1
)) {
8753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8755 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8757 if (!SWIG_IsOK(ecode2
)) {
8758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8760 arg2
= static_cast< int >(val2
);
8761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8762 if (!SWIG_IsOK(ecode3
)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8765 arg3
= static_cast< int >(val3
);
8766 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
8767 if (!SWIG_IsOK(ecode4
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "4"" of type '" "double""'");
8770 arg4
= static_cast< double >(val4
);
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= SWIG_Py_Void();
8784 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
= 0;
8786 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8798 PyObject
* obj0
= 0 ;
8799 PyObject
* obj1
= 0 ;
8800 PyObject
* obj2
= 0 ;
8801 PyObject
* obj3
= 0 ;
8802 char * kwnames
[] = {
8803 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8808 if (!SWIG_IsOK(res1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8811 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8813 if (!SWIG_IsOK(ecode2
)) {
8814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8816 arg2
= static_cast< int >(val2
);
8817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8818 if (!SWIG_IsOK(ecode3
)) {
8819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8821 arg3
= static_cast< int >(val3
);
8822 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
8823 if (!SWIG_IsOK(ecode4
)) {
8824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "4"" of type '" "bool""'");
8826 arg4
= static_cast< bool >(val4
);
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 resultobj
= SWIG_Py_Void();
8840 SWIGINTERN PyObject
*_wrap_GridTableBase_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8841 PyObject
*resultobj
= 0;
8842 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8845 PyObject
*swig_obj
[1] ;
8847 if (!args
) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_Clear" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8853 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= SWIG_Py_Void();
8867 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
= 0;
8869 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8870 size_t arg2
= (size_t) 0 ;
8871 size_t arg3
= (size_t) 1 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 PyObject
* obj2
= 0 ;
8882 char * kwnames
[] = {
8883 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8888 if (!SWIG_IsOK(res1
)) {
8889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8891 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8893 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8894 if (!SWIG_IsOK(ecode2
)) {
8895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertRows" "', expected argument " "2"" of type '" "size_t""'");
8897 arg2
= static_cast< size_t >(val2
);
8900 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8901 if (!SWIG_IsOK(ecode3
)) {
8902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertRows" "', expected argument " "3"" of type '" "size_t""'");
8904 arg3
= static_cast< size_t >(val3
);
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8921 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
= 0;
8923 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8924 size_t arg2
= (size_t) 1 ;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 char * kwnames
[] = {
8933 (char *) "self",(char *) "numRows", NULL
8936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8938 if (!SWIG_IsOK(res1
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8941 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8943 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8944 if (!SWIG_IsOK(ecode2
)) {
8945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendRows" "', expected argument " "2"" of type '" "size_t""'");
8947 arg2
= static_cast< size_t >(val2
);
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 result
= (bool)(arg1
)->AppendRows(arg2
);
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8964 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
= 0;
8966 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8967 size_t arg2
= (size_t) 0 ;
8968 size_t arg3
= (size_t) 1 ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj2
= 0 ;
8979 char * kwnames
[] = {
8980 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8985 if (!SWIG_IsOK(res1
)) {
8986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8988 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8990 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8991 if (!SWIG_IsOK(ecode2
)) {
8992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "2"" of type '" "size_t""'");
8994 arg2
= static_cast< size_t >(val2
);
8997 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8998 if (!SWIG_IsOK(ecode3
)) {
8999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "3"" of type '" "size_t""'");
9001 arg3
= static_cast< size_t >(val3
);
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9018 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
= 0;
9020 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9021 size_t arg2
= (size_t) 0 ;
9022 size_t arg3
= (size_t) 1 ;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9032 PyObject
* obj2
= 0 ;
9033 char * kwnames
[] = {
9034 (char *) "self",(char *) "pos",(char *) "numCols", NULL
9037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9039 if (!SWIG_IsOK(res1
)) {
9040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9042 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9044 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
9045 if (!SWIG_IsOK(ecode2
)) {
9046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertCols" "', expected argument " "2"" of type '" "size_t""'");
9048 arg2
= static_cast< size_t >(val2
);
9051 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
9052 if (!SWIG_IsOK(ecode3
)) {
9053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertCols" "', expected argument " "3"" of type '" "size_t""'");
9055 arg3
= static_cast< size_t >(val3
);
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9072 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
= 0;
9074 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9075 size_t arg2
= (size_t) 1 ;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9083 char * kwnames
[] = {
9084 (char *) "self",(char *) "numCols", NULL
9087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9089 if (!SWIG_IsOK(res1
)) {
9090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9092 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9094 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
9095 if (!SWIG_IsOK(ecode2
)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendCols" "', expected argument " "2"" of type '" "size_t""'");
9098 arg2
= static_cast< size_t >(val2
);
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (bool)(arg1
)->AppendCols(arg2
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9115 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
= 0;
9117 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9118 size_t arg2
= (size_t) 0 ;
9119 size_t arg3
= (size_t) 1 ;
9127 PyObject
* obj0
= 0 ;
9128 PyObject
* obj1
= 0 ;
9129 PyObject
* obj2
= 0 ;
9130 char * kwnames
[] = {
9131 (char *) "self",(char *) "pos",(char *) "numCols", NULL
9134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9136 if (!SWIG_IsOK(res1
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9139 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9141 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
9142 if (!SWIG_IsOK(ecode2
)) {
9143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "2"" of type '" "size_t""'");
9145 arg2
= static_cast< size_t >(val2
);
9148 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
9149 if (!SWIG_IsOK(ecode3
)) {
9150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "3"" of type '" "size_t""'");
9152 arg3
= static_cast< size_t >(val3
);
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9169 SWIGINTERN PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
= 0;
9171 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9180 char * kwnames
[] = {
9181 (char *) "self",(char *) "row", NULL
9184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9186 if (!SWIG_IsOK(res1
)) {
9187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9189 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9191 if (!SWIG_IsOK(ecode2
)) {
9192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
9194 arg2
= static_cast< int >(val2
);
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (arg1
)->GetRowLabelValue(arg2
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9214 SWIGINTERN PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
= 0;
9216 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9225 char * kwnames
[] = {
9226 (char *) "self",(char *) "col", NULL
9229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9231 if (!SWIG_IsOK(res1
)) {
9232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9234 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9236 if (!SWIG_IsOK(ecode2
)) {
9237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
9239 arg2
= static_cast< int >(val2
);
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (arg1
)->GetColLabelValue(arg2
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9259 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
= 0;
9261 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9263 wxString
*arg3
= 0 ;
9268 bool temp3
= false ;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 PyObject
* obj2
= 0 ;
9272 char * kwnames
[] = {
9273 (char *) "self",(char *) "row",(char *) "value", NULL
9276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9281 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9283 if (!SWIG_IsOK(ecode2
)) {
9284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
9286 arg2
= static_cast< int >(val2
);
9288 arg3
= wxString_in_helper(obj2
);
9289 if (arg3
== NULL
) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= SWIG_Py_Void();
9313 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
= 0;
9315 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9317 wxString
*arg3
= 0 ;
9322 bool temp3
= false ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 PyObject
* obj2
= 0 ;
9326 char * kwnames
[] = {
9327 (char *) "self",(char *) "col",(char *) "value", NULL
9330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9332 if (!SWIG_IsOK(res1
)) {
9333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9335 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9337 if (!SWIG_IsOK(ecode2
)) {
9338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
9340 arg2
= static_cast< int >(val2
);
9342 arg3
= wxString_in_helper(obj2
);
9343 if (arg3
== NULL
) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_Py_Void();
9367 SWIGINTERN PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9368 PyObject
*resultobj
= 0;
9369 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9373 PyObject
*swig_obj
[1] ;
9375 if (!args
) SWIG_fail
;
9377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9378 if (!SWIG_IsOK(res1
)) {
9379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanHaveAttributes" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9381 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= (bool)(arg1
)->CanHaveAttributes();
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9397 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
= 0;
9399 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9402 wxGridCellAttr::wxAttrKind arg4
;
9403 wxGridCellAttr
*result
= 0 ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9414 PyObject
* obj2
= 0 ;
9415 PyObject
* obj3
= 0 ;
9416 char * kwnames
[] = {
9417 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
9420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9422 if (!SWIG_IsOK(res1
)) {
9423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9425 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9427 if (!SWIG_IsOK(ecode2
)) {
9428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetAttr" "', expected argument " "2"" of type '" "int""'");
9430 arg2
= static_cast< int >(val2
);
9431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9432 if (!SWIG_IsOK(ecode3
)) {
9433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetAttr" "', expected argument " "3"" of type '" "int""'");
9435 arg3
= static_cast< int >(val3
);
9436 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9437 if (!SWIG_IsOK(ecode4
)) {
9438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
9440 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
9456 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
= 0;
9458 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9459 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9471 PyObject
* obj1
= 0 ;
9472 PyObject
* obj2
= 0 ;
9473 PyObject
* obj3
= 0 ;
9474 char * kwnames
[] = {
9475 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
9478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9480 if (!SWIG_IsOK(res1
)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9483 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9485 if (!SWIG_IsOK(res2
)) {
9486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9488 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9490 if (!SWIG_IsOK(ecode3
)) {
9491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetAttr" "', expected argument " "3"" of type '" "int""'");
9493 arg3
= static_cast< int >(val3
);
9494 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9495 if (!SWIG_IsOK(ecode4
)) {
9496 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetAttr" "', expected argument " "4"" of type '" "int""'");
9498 arg4
= static_cast< int >(val4
);
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 resultobj
= SWIG_Py_Void();
9512 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
= 0;
9514 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9515 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9524 PyObject
* obj1
= 0 ;
9525 PyObject
* obj2
= 0 ;
9526 char * kwnames
[] = {
9527 (char *) "self",(char *) "attr",(char *) "row", NULL
9530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9532 if (!SWIG_IsOK(res1
)) {
9533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9535 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9537 if (!SWIG_IsOK(res2
)) {
9538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9540 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9542 if (!SWIG_IsOK(ecode3
)) {
9543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
9545 arg3
= static_cast< int >(val3
);
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 (arg1
)->SetRowAttr(arg2
,arg3
);
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= SWIG_Py_Void();
9559 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
= 0;
9561 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9562 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9571 PyObject
* obj1
= 0 ;
9572 PyObject
* obj2
= 0 ;
9573 char * kwnames
[] = {
9574 (char *) "self",(char *) "attr",(char *) "col", NULL
9577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9579 if (!SWIG_IsOK(res1
)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9582 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9584 if (!SWIG_IsOK(res2
)) {
9585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9587 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9589 if (!SWIG_IsOK(ecode3
)) {
9590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "3"" of type '" "int""'");
9592 arg3
= static_cast< int >(val3
);
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 (arg1
)->SetColAttr(arg2
,arg3
);
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= SWIG_Py_Void();
9606 SWIGINTERN PyObject
*GridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9609 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableBase
, SWIG_NewClientData(obj
));
9610 return SWIG_Py_Void();
9613 SWIGINTERN PyObject
*_wrap_new_PyGridTableBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9614 PyObject
*resultobj
= 0;
9615 wxPyGridTableBase
*result
= 0 ;
9617 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridTableBase",0,0,0)) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_NEW
| 0 );
9631 SWIGINTERN PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
= 0;
9633 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9634 PyObject
*arg2
= (PyObject
*) 0 ;
9635 PyObject
*arg3
= (PyObject
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9640 PyObject
* obj2
= 0 ;
9641 char * kwnames
[] = {
9642 (char *) "self",(char *) "self",(char *) "_class", NULL
9645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9647 if (!SWIG_IsOK(res1
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9650 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_Py_Void();
9666 SWIGINTERN PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9667 PyObject
*resultobj
= 0;
9668 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9671 PyObject
*swig_obj
[1] ;
9673 if (!args
) SWIG_fail
;
9675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9676 if (!SWIG_IsOK(res1
)) {
9677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase_Destroy" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9679 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 wxPyGridTableBase_Destroy(arg1
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= SWIG_Py_Void();
9693 SWIGINTERN PyObject
*PyGridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9696 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridTableBase
, SWIG_NewClientData(obj
));
9697 return SWIG_Py_Void();
9700 SWIGINTERN PyObject
*PyGridTableBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9701 return SWIG_Python_InitShadowInstance(args
);
9704 SWIGINTERN PyObject
*_wrap_new_GridStringTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
= 0;
9706 int arg1
= (int) 0 ;
9707 int arg2
= (int) 0 ;
9708 wxGridStringTable
*result
= 0 ;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9715 char * kwnames
[] = {
9716 (char *) "numRows",(char *) "numCols", NULL
9719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9722 if (!SWIG_IsOK(ecode1
)) {
9723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridStringTable" "', expected argument " "1"" of type '" "int""'");
9725 arg1
= static_cast< int >(val1
);
9728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9729 if (!SWIG_IsOK(ecode2
)) {
9730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridStringTable" "', expected argument " "2"" of type '" "int""'");
9732 arg2
= static_cast< int >(val2
);
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridStringTable
, SWIG_POINTER_NEW
| 0 );
9747 SWIGINTERN PyObject
*GridStringTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9750 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridStringTable
, SWIG_NewClientData(obj
));
9751 return SWIG_Py_Void();
9754 SWIGINTERN PyObject
*GridStringTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9755 return SWIG_Python_InitShadowInstance(args
);
9758 SWIGINTERN PyObject
*_wrap_new_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
= 0;
9760 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9762 int arg3
= (int) -1 ;
9763 int arg4
= (int) -1 ;
9764 wxGridTableMessage
*result
= 0 ;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj1
= 0 ;
9775 PyObject
* obj2
= 0 ;
9776 PyObject
* obj3
= 0 ;
9777 char * kwnames
[] = {
9778 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
9781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9783 if (!SWIG_IsOK(res1
)) {
9784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9786 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9788 if (!SWIG_IsOK(ecode2
)) {
9789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridTableMessage" "', expected argument " "2"" of type '" "int""'");
9791 arg2
= static_cast< int >(val2
);
9793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9794 if (!SWIG_IsOK(ecode3
)) {
9795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridTableMessage" "', expected argument " "3"" of type '" "int""'");
9797 arg3
= static_cast< int >(val3
);
9800 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9801 if (!SWIG_IsOK(ecode4
)) {
9802 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridTableMessage" "', expected argument " "4"" of type '" "int""'");
9804 arg4
= static_cast< int >(val4
);
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_NEW
| 0 );
9819 SWIGINTERN PyObject
*_wrap_delete_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9820 PyObject
*resultobj
= 0;
9821 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9824 PyObject
*swig_obj
[1] ;
9826 if (!args
) SWIG_fail
;
9828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_DISOWN
| 0 );
9829 if (!SWIG_IsOK(res1
)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9832 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_Py_Void();
9847 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
*resultobj
= 0;
9849 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9850 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9855 PyObject
* obj0
= 0 ;
9856 PyObject
* obj1
= 0 ;
9857 char * kwnames
[] = {
9858 (char *) "self",(char *) "table", NULL
9861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9863 if (!SWIG_IsOK(res1
)) {
9864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9866 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9867 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9868 if (!SWIG_IsOK(res2
)) {
9869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
9871 arg2
= reinterpret_cast< wxGridTableBase
* >(argp2
);
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 (arg1
)->SetTableObject(arg2
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 resultobj
= SWIG_Py_Void();
9885 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9886 PyObject
*resultobj
= 0;
9887 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9888 wxGridTableBase
*result
= 0 ;
9891 PyObject
*swig_obj
[1] ;
9893 if (!args
) SWIG_fail
;
9895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9896 if (!SWIG_IsOK(res1
)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage const *""'");
9899 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
9915 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
= 0;
9917 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9924 PyObject
* obj1
= 0 ;
9925 char * kwnames
[] = {
9926 (char *) "self",(char *) "id", NULL
9929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9931 if (!SWIG_IsOK(res1
)) {
9932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9934 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9936 if (!SWIG_IsOK(ecode2
)) {
9937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetId" "', expected argument " "2"" of type '" "int""'");
9939 arg2
= static_cast< int >(val2
);
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 (arg1
)->SetId(arg2
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_Py_Void();
9953 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9954 PyObject
*resultobj
= 0;
9955 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9959 PyObject
*swig_obj
[1] ;
9961 if (!args
) SWIG_fail
;
9963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9964 if (!SWIG_IsOK(res1
)) {
9965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9967 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 result
= (int)(arg1
)->GetId();
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= SWIG_From_int(static_cast< int >(result
));
9981 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
= 0;
9983 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9990 PyObject
* obj1
= 0 ;
9991 char * kwnames
[] = {
9992 (char *) "self",(char *) "comInt1", NULL
9995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9997 if (!SWIG_IsOK(res1
)) {
9998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
10000 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
10001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10002 if (!SWIG_IsOK(ecode2
)) {
10003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "2"" of type '" "int""'");
10005 arg2
= static_cast< int >(val2
);
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 (arg1
)->SetCommandInt(arg2
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= SWIG_Py_Void();
10019 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10020 PyObject
*resultobj
= 0;
10021 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
10025 PyObject
*swig_obj
[1] ;
10027 if (!args
) SWIG_fail
;
10028 swig_obj
[0] = args
;
10029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
10030 if (!SWIG_IsOK(res1
)) {
10031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
10033 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= (int)(arg1
)->GetCommandInt();
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= SWIG_From_int(static_cast< int >(result
));
10047 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
= 0;
10049 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 char * kwnames
[] = {
10058 (char *) "self",(char *) "comInt2", NULL
10061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
10063 if (!SWIG_IsOK(res1
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
10066 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
10067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10068 if (!SWIG_IsOK(ecode2
)) {
10069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "2"" of type '" "int""'");
10071 arg2
= static_cast< int >(val2
);
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 (arg1
)->SetCommandInt2(arg2
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= SWIG_Py_Void();
10085 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10086 PyObject
*resultobj
= 0;
10087 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
10091 PyObject
*swig_obj
[1] ;
10093 if (!args
) SWIG_fail
;
10094 swig_obj
[0] = args
;
10095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
10096 if (!SWIG_IsOK(res1
)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
10099 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (int)(arg1
)->GetCommandInt2();
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_From_int(static_cast< int >(result
));
10113 SWIGINTERN PyObject
*GridTableMessage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10116 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableMessage
, SWIG_NewClientData(obj
));
10117 return SWIG_Py_Void();
10120 SWIGINTERN PyObject
*GridTableMessage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10121 return SWIG_Python_InitShadowInstance(args
);
10124 SWIGINTERN PyObject
*_wrap_new_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
= 0;
10126 int arg1
= (int) -1 ;
10127 int arg2
= (int) -1 ;
10128 wxGridCellCoords
*result
= 0 ;
10133 PyObject
* obj0
= 0 ;
10134 PyObject
* obj1
= 0 ;
10135 char * kwnames
[] = {
10136 (char *) "r",(char *) "c", NULL
10139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10141 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10142 if (!SWIG_IsOK(ecode1
)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellCoords" "', expected argument " "1"" of type '" "int""'");
10145 arg1
= static_cast< int >(val1
);
10148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10149 if (!SWIG_IsOK(ecode2
)) {
10150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellCoords" "', expected argument " "2"" of type '" "int""'");
10152 arg2
= static_cast< int >(val2
);
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_NEW
| 0 );
10167 SWIGINTERN PyObject
*_wrap_delete_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10168 PyObject
*resultobj
= 0;
10169 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10172 PyObject
*swig_obj
[1] ;
10174 if (!args
) SWIG_fail
;
10175 swig_obj
[0] = args
;
10176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_DISOWN
| 0 );
10177 if (!SWIG_IsOK(res1
)) {
10178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellCoords" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10180 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= SWIG_Py_Void();
10195 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10196 PyObject
*resultobj
= 0;
10197 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10201 PyObject
*swig_obj
[1] ;
10203 if (!args
) SWIG_fail
;
10204 swig_obj
[0] = args
;
10205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10206 if (!SWIG_IsOK(res1
)) {
10207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetRow" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10209 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 resultobj
= SWIG_From_int(static_cast< int >(result
));
10223 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
= 0;
10225 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 char * kwnames
[] = {
10234 (char *) "self",(char *) "n", NULL
10237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10239 if (!SWIG_IsOK(res1
)) {
10240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetRow" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10242 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10244 if (!SWIG_IsOK(ecode2
)) {
10245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetRow" "', expected argument " "2"" of type '" "int""'");
10247 arg2
= static_cast< int >(val2
);
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 (arg1
)->SetRow(arg2
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= SWIG_Py_Void();
10261 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10262 PyObject
*resultobj
= 0;
10263 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10267 PyObject
*swig_obj
[1] ;
10269 if (!args
) SWIG_fail
;
10270 swig_obj
[0] = args
;
10271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10272 if (!SWIG_IsOK(res1
)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetCol" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10275 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= SWIG_From_int(static_cast< int >(result
));
10289 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
= 0;
10291 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10297 PyObject
* obj0
= 0 ;
10298 PyObject
* obj1
= 0 ;
10299 char * kwnames
[] = {
10300 (char *) "self",(char *) "n", NULL
10303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10305 if (!SWIG_IsOK(res1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetCol" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10308 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10310 if (!SWIG_IsOK(ecode2
)) {
10311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetCol" "', expected argument " "2"" of type '" "int""'");
10313 arg2
= static_cast< int >(val2
);
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 (arg1
)->SetCol(arg2
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 resultobj
= SWIG_Py_Void();
10327 SWIGINTERN PyObject
*_wrap_GridCellCoords_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10328 PyObject
*resultobj
= 0;
10329 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 PyObject
* obj1
= 0 ;
10340 PyObject
* obj2
= 0 ;
10341 char * kwnames
[] = {
10342 (char *) "self",(char *) "row",(char *) "col", NULL
10345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10347 if (!SWIG_IsOK(res1
)) {
10348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Set" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10350 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10352 if (!SWIG_IsOK(ecode2
)) {
10353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_Set" "', expected argument " "2"" of type '" "int""'");
10355 arg2
= static_cast< int >(val2
);
10356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10357 if (!SWIG_IsOK(ecode3
)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellCoords_Set" "', expected argument " "3"" of type '" "int""'");
10360 arg3
= static_cast< int >(val3
);
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 (arg1
)->Set(arg2
,arg3
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= SWIG_Py_Void();
10374 SWIGINTERN PyObject
*_wrap_GridCellCoords___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
= 0;
10376 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10377 PyObject
*arg2
= (PyObject
*) 0 ;
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___eq__",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___eq__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10392 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10395 result
= (bool)wxGridCellCoords___eq__(arg1
,arg2
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10407 SWIGINTERN PyObject
*_wrap_GridCellCoords___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
= 0;
10409 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10410 PyObject
*arg2
= (PyObject
*) 0 ;
10414 PyObject
* obj0
= 0 ;
10415 PyObject
* obj1
= 0 ;
10416 char * kwnames
[] = {
10417 (char *) "self",(char *) "other", NULL
10420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10422 if (!SWIG_IsOK(res1
)) {
10423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___ne__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10425 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10428 result
= (bool)wxGridCellCoords___ne__(arg1
,arg2
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10440 SWIGINTERN PyObject
*_wrap_GridCellCoords_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10441 PyObject
*resultobj
= 0;
10442 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10443 PyObject
*result
= 0 ;
10446 PyObject
*swig_obj
[1] ;
10448 if (!args
) SWIG_fail
;
10449 swig_obj
[0] = args
;
10450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10451 if (!SWIG_IsOK(res1
)) {
10452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Get" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10454 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 resultobj
= result
;
10468 SWIGINTERN PyObject
*GridCellCoords_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10471 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellCoords
, SWIG_NewClientData(obj
));
10472 return SWIG_Py_Void();
10475 SWIGINTERN PyObject
*GridCellCoords_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10476 return SWIG_Python_InitShadowInstance(args
);
10479 SWIGINTERN PyObject
*_wrap_new_Grid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
= 0;
10481 wxWindow
*arg1
= (wxWindow
*) 0 ;
10482 int arg2
= (int) -1 ;
10483 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10484 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10485 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10486 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10487 long arg5
= (long) wxWANTS_CHARS
;
10488 wxString
const &arg6_defvalue
= wxPyGridNameStr
;
10489 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10490 wxGrid
*result
= 0 ;
10499 bool temp6
= false ;
10500 PyObject
* obj0
= 0 ;
10501 PyObject
* obj1
= 0 ;
10502 PyObject
* obj2
= 0 ;
10503 PyObject
* obj3
= 0 ;
10504 PyObject
* obj4
= 0 ;
10505 PyObject
* obj5
= 0 ;
10506 char * kwnames
[] = {
10507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10512 if (!SWIG_IsOK(res1
)) {
10513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Grid" "', expected argument " "1"" of type '" "wxWindow *""'");
10515 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10518 if (!SWIG_IsOK(ecode2
)) {
10519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Grid" "', expected argument " "2"" of type '" "int""'");
10521 arg2
= static_cast< int >(val2
);
10526 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10532 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10536 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10537 if (!SWIG_IsOK(ecode5
)) {
10538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Grid" "', expected argument " "5"" of type '" "long""'");
10540 arg5
= static_cast< long >(val5
);
10544 arg6
= wxString_in_helper(obj5
);
10545 if (arg6
== NULL
) SWIG_fail
;
10550 if (!wxPyCheckForApp()) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_NEW
| 0 );
10571 SWIGINTERN PyObject
*_wrap_new_PreGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10572 PyObject
*resultobj
= 0;
10573 wxGrid
*result
= 0 ;
10575 if (!SWIG_Python_UnpackTuple(args
,"new_PreGrid",0,0,0)) SWIG_fail
;
10577 if (!wxPyCheckForApp()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (wxGrid
*)new wxGrid();
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_OWN
| 0 );
10590 SWIGINTERN PyObject
*_wrap_Grid_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
= 0;
10592 wxGrid
*arg1
= (wxGrid
*) 0 ;
10593 wxWindow
*arg2
= (wxWindow
*) 0 ;
10594 int arg3
= (int) -1 ;
10595 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10596 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10597 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10598 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10599 long arg6
= (long) wxWANTS_CHARS
;
10600 wxString
const &arg7_defvalue
= wxPyGridNameStr
;
10601 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10613 bool temp7
= false ;
10614 PyObject
* obj0
= 0 ;
10615 PyObject
* obj1
= 0 ;
10616 PyObject
* obj2
= 0 ;
10617 PyObject
* obj3
= 0 ;
10618 PyObject
* obj4
= 0 ;
10619 PyObject
* obj5
= 0 ;
10620 PyObject
* obj6
= 0 ;
10621 char * kwnames
[] = {
10622 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10627 if (!SWIG_IsOK(res1
)) {
10628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_Create" "', expected argument " "1"" of type '" "wxGrid *""'");
10630 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10631 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10632 if (!SWIG_IsOK(res2
)) {
10633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10635 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10638 if (!SWIG_IsOK(ecode3
)) {
10639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_Create" "', expected argument " "3"" of type '" "int""'");
10641 arg3
= static_cast< int >(val3
);
10646 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10652 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10656 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10657 if (!SWIG_IsOK(ecode6
)) {
10658 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_Create" "', expected argument " "6"" of type '" "long""'");
10660 arg6
= static_cast< long >(val6
);
10664 arg7
= wxString_in_helper(obj6
);
10665 if (arg7
== NULL
) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10692 SWIGINTERN PyObject
*_wrap_Grid_CreateGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
= 0;
10694 wxGrid
*arg1
= (wxGrid
*) 0 ;
10697 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10709 PyObject
* obj2
= 0 ;
10710 PyObject
* obj3
= 0 ;
10711 char * kwnames
[] = {
10712 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
10715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10717 if (!SWIG_IsOK(res1
)) {
10718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CreateGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
10720 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10722 if (!SWIG_IsOK(ecode2
)) {
10723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CreateGrid" "', expected argument " "2"" of type '" "int""'");
10725 arg2
= static_cast< int >(val2
);
10726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10727 if (!SWIG_IsOK(ecode3
)) {
10728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CreateGrid" "', expected argument " "3"" of type '" "int""'");
10730 arg3
= static_cast< int >(val3
);
10732 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10733 if (!SWIG_IsOK(ecode4
)) {
10734 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_CreateGrid" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10736 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10753 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
= 0;
10755 wxGrid
*arg1
= (wxGrid
*) 0 ;
10756 WXGRIDSELECTIONMODES arg2
;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 char * kwnames
[] = {
10764 (char *) "self",(char *) "selmode", NULL
10767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10769 if (!SWIG_IsOK(res1
)) {
10770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10772 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10774 if (!SWIG_IsOK(ecode2
)) {
10775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetSelectionMode" "', expected argument " "2"" of type '" "WXGRIDSELECTIONMODES""'");
10777 arg2
= static_cast< WXGRIDSELECTIONMODES
>(val2
);
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 (arg1
)->SetSelectionMode(arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_Py_Void();
10791 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10792 PyObject
*resultobj
= 0;
10793 wxGrid
*arg1
= (wxGrid
*) 0 ;
10794 WXGRIDSELECTIONMODES result
;
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_GetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10805 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= SWIG_From_int(static_cast< int >(result
));
10819 SWIGINTERN PyObject
*_wrap_Grid_GetNumberRows(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_GetNumberRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10833 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 result
= (int)(arg1
)->GetNumberRows();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_From_int(static_cast< int >(result
));
10847 SWIGINTERN PyObject
*_wrap_Grid_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10848 PyObject
*resultobj
= 0;
10849 wxGrid
*arg1
= (wxGrid
*) 0 ;
10853 PyObject
*swig_obj
[1] ;
10855 if (!args
) SWIG_fail
;
10856 swig_obj
[0] = args
;
10857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberCols" "', expected argument " "1"" of type '" "wxGrid *""'");
10861 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (int)(arg1
)->GetNumberCols();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 resultobj
= SWIG_From_int(static_cast< int >(result
));
10875 SWIGINTERN PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
= 0;
10877 wxGrid
*arg1
= (wxGrid
*) 0 ;
10878 wxGridTableMessage
*arg2
= 0 ;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 char * kwnames
[] = {
10887 (char *) "self",(char *)"arg2", NULL
10890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10892 if (!SWIG_IsOK(res1
)) {
10893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "1"" of type '" "wxGrid *""'");
10895 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGridTableMessage
, 0 );
10897 if (!SWIG_IsOK(res2
)) {
10898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10903 arg2
= reinterpret_cast< wxGridTableMessage
* >(argp2
);
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10919 SWIGINTERN PyObject
*_wrap_Grid_GetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10920 PyObject
*resultobj
= 0;
10921 wxGrid
*arg1
= (wxGrid
*) 0 ;
10922 wxGridTableBase
*result
= 0 ;
10925 PyObject
*swig_obj
[1] ;
10927 if (!args
) SWIG_fail
;
10928 swig_obj
[0] = args
;
10929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10930 if (!SWIG_IsOK(res1
)) {
10931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTable" "', expected argument " "1"" of type '" "wxGrid const *""'");
10933 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
10949 SWIGINTERN PyObject
*_wrap_Grid_SetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
= 0;
10951 wxGrid
*arg1
= (wxGrid
*) 0 ;
10952 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
10953 bool arg3
= (bool) false ;
10954 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 PyObject
* obj2
= 0 ;
10966 PyObject
* obj3
= 0 ;
10967 char * kwnames
[] = {
10968 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
10971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10973 if (!SWIG_IsOK(res1
)) {
10974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetTable" "', expected argument " "1"" of type '" "wxGrid *""'");
10976 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10977 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN
| 0 );
10978 if (!SWIG_IsOK(res2
)) {
10979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetTable" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
10982 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10983 if (!SWIG_IsOK(ecode3
)) {
10984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetTable" "', expected argument " "3"" of type '" "bool""'");
10986 arg3
= static_cast< bool >(val3
);
10989 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10990 if (!SWIG_IsOK(ecode4
)) {
10991 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetTable" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10993 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11010 SWIGINTERN PyObject
*_wrap_Grid_ClearGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11011 PyObject
*resultobj
= 0;
11012 wxGrid
*arg1
= (wxGrid
*) 0 ;
11015 PyObject
*swig_obj
[1] ;
11017 if (!args
) SWIG_fail
;
11018 swig_obj
[0] = args
;
11019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11020 if (!SWIG_IsOK(res1
)) {
11021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
11023 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 (arg1
)->ClearGrid();
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= SWIG_Py_Void();
11037 SWIGINTERN PyObject
*_wrap_Grid_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
= 0;
11039 wxGrid
*arg1
= (wxGrid
*) 0 ;
11040 int arg2
= (int) 0 ;
11041 int arg3
= (int) 1 ;
11042 bool arg4
= (bool) true ;
11052 PyObject
* obj0
= 0 ;
11053 PyObject
* obj1
= 0 ;
11054 PyObject
* obj2
= 0 ;
11055 PyObject
* obj3
= 0 ;
11056 char * kwnames
[] = {
11057 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
11060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11062 if (!SWIG_IsOK(res1
)) {
11063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertRows" "', expected argument " "1"" of type '" "wxGrid *""'");
11065 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11068 if (!SWIG_IsOK(ecode2
)) {
11069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertRows" "', expected argument " "2"" of type '" "int""'");
11071 arg2
= static_cast< int >(val2
);
11074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11075 if (!SWIG_IsOK(ecode3
)) {
11076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertRows" "', expected argument " "3"" of type '" "int""'");
11078 arg3
= static_cast< int >(val3
);
11081 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11082 if (!SWIG_IsOK(ecode4
)) {
11083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertRows" "', expected argument " "4"" of type '" "bool""'");
11085 arg4
= static_cast< bool >(val4
);
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11102 SWIGINTERN PyObject
*_wrap_Grid_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
= 0;
11104 wxGrid
*arg1
= (wxGrid
*) 0 ;
11105 int arg2
= (int) 1 ;
11106 bool arg3
= (bool) true ;
11114 PyObject
* obj0
= 0 ;
11115 PyObject
* obj1
= 0 ;
11116 PyObject
* obj2
= 0 ;
11117 char * kwnames
[] = {
11118 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
11121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11123 if (!SWIG_IsOK(res1
)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendRows" "', expected argument " "1"" of type '" "wxGrid *""'");
11126 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11129 if (!SWIG_IsOK(ecode2
)) {
11130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendRows" "', expected argument " "2"" of type '" "int""'");
11132 arg2
= static_cast< int >(val2
);
11135 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11136 if (!SWIG_IsOK(ecode3
)) {
11137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendRows" "', expected argument " "3"" of type '" "bool""'");
11139 arg3
= static_cast< bool >(val3
);
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11156 SWIGINTERN PyObject
*_wrap_Grid_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
= 0;
11158 wxGrid
*arg1
= (wxGrid
*) 0 ;
11159 int arg2
= (int) 0 ;
11160 int arg3
= (int) 1 ;
11161 bool arg4
= (bool) true ;
11171 PyObject
* obj0
= 0 ;
11172 PyObject
* obj1
= 0 ;
11173 PyObject
* obj2
= 0 ;
11174 PyObject
* obj3
= 0 ;
11175 char * kwnames
[] = {
11176 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
11179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11181 if (!SWIG_IsOK(res1
)) {
11182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteRows" "', expected argument " "1"" of type '" "wxGrid *""'");
11184 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11187 if (!SWIG_IsOK(ecode2
)) {
11188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteRows" "', expected argument " "2"" of type '" "int""'");
11190 arg2
= static_cast< int >(val2
);
11193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11194 if (!SWIG_IsOK(ecode3
)) {
11195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteRows" "', expected argument " "3"" of type '" "int""'");
11197 arg3
= static_cast< int >(val3
);
11200 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11201 if (!SWIG_IsOK(ecode4
)) {
11202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteRows" "', expected argument " "4"" of type '" "bool""'");
11204 arg4
= static_cast< bool >(val4
);
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11221 SWIGINTERN PyObject
*_wrap_Grid_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
= 0;
11223 wxGrid
*arg1
= (wxGrid
*) 0 ;
11224 int arg2
= (int) 0 ;
11225 int arg3
= (int) 1 ;
11226 bool arg4
= (bool) true ;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 PyObject
* obj2
= 0 ;
11239 PyObject
* obj3
= 0 ;
11240 char * kwnames
[] = {
11241 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
11244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11246 if (!SWIG_IsOK(res1
)) {
11247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11249 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11252 if (!SWIG_IsOK(ecode2
)) {
11253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertCols" "', expected argument " "2"" of type '" "int""'");
11255 arg2
= static_cast< int >(val2
);
11258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11259 if (!SWIG_IsOK(ecode3
)) {
11260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertCols" "', expected argument " "3"" of type '" "int""'");
11262 arg3
= static_cast< int >(val3
);
11265 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11266 if (!SWIG_IsOK(ecode4
)) {
11267 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertCols" "', expected argument " "4"" of type '" "bool""'");
11269 arg4
= static_cast< bool >(val4
);
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11286 SWIGINTERN PyObject
*_wrap_Grid_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
= 0;
11288 wxGrid
*arg1
= (wxGrid
*) 0 ;
11289 int arg2
= (int) 1 ;
11290 bool arg3
= (bool) true ;
11298 PyObject
* obj0
= 0 ;
11299 PyObject
* obj1
= 0 ;
11300 PyObject
* obj2
= 0 ;
11301 char * kwnames
[] = {
11302 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
11305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11307 if (!SWIG_IsOK(res1
)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11310 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11313 if (!SWIG_IsOK(ecode2
)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendCols" "', expected argument " "2"" of type '" "int""'");
11316 arg2
= static_cast< int >(val2
);
11319 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11320 if (!SWIG_IsOK(ecode3
)) {
11321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendCols" "', expected argument " "3"" of type '" "bool""'");
11323 arg3
= static_cast< bool >(val3
);
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11340 SWIGINTERN PyObject
*_wrap_Grid_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
= 0;
11342 wxGrid
*arg1
= (wxGrid
*) 0 ;
11343 int arg2
= (int) 0 ;
11344 int arg3
= (int) 1 ;
11345 bool arg4
= (bool) true ;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 PyObject
* obj2
= 0 ;
11358 PyObject
* obj3
= 0 ;
11359 char * kwnames
[] = {
11360 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
11363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11365 if (!SWIG_IsOK(res1
)) {
11366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11368 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11371 if (!SWIG_IsOK(ecode2
)) {
11372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteCols" "', expected argument " "2"" of type '" "int""'");
11374 arg2
= static_cast< int >(val2
);
11377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11378 if (!SWIG_IsOK(ecode3
)) {
11379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteCols" "', expected argument " "3"" of type '" "int""'");
11381 arg3
= static_cast< int >(val3
);
11384 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11385 if (!SWIG_IsOK(ecode4
)) {
11386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteCols" "', expected argument " "4"" of type '" "bool""'");
11388 arg4
= static_cast< bool >(val4
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11405 SWIGINTERN PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
= 0;
11407 wxGrid
*arg1
= (wxGrid
*) 0 ;
11409 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11416 PyObject
* obj0
= 0 ;
11417 PyObject
* obj1
= 0 ;
11418 PyObject
* obj2
= 0 ;
11419 char * kwnames
[] = {
11420 (char *) "self",(char *) "dc",(char *) "attr", NULL
11423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11425 if (!SWIG_IsOK(res1
)) {
11426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "1"" of type '" "wxGrid *""'");
11428 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11429 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11430 if (!SWIG_IsOK(res2
)) {
11431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11436 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11437 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
11438 if (!SWIG_IsOK(res3
)) {
11439 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "3"" of type '" "wxGridCellAttr const *""'");
11441 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_Py_Void();
11455 SWIGINTERN PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
= 0;
11457 wxGrid
*arg1
= (wxGrid
*) 0 ;
11459 wxString
*arg3
= 0 ;
11461 int arg5
= (int) wxLEFT
;
11462 int arg6
= (int) wxTOP
;
11463 int arg7
= (int) wxHORIZONTAL
;
11468 bool temp3
= false ;
11476 PyObject
* obj0
= 0 ;
11477 PyObject
* obj1
= 0 ;
11478 PyObject
* obj2
= 0 ;
11479 PyObject
* obj3
= 0 ;
11480 PyObject
* obj4
= 0 ;
11481 PyObject
* obj5
= 0 ;
11482 PyObject
* obj6
= 0 ;
11483 char * kwnames
[] = {
11484 (char *) "self",(char *) "dc",(char *)"arg3",(char *)"arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
11487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11489 if (!SWIG_IsOK(res1
)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "1"" of type '" "wxGrid *""'");
11492 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11494 if (!SWIG_IsOK(res2
)) {
11495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11500 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11502 arg3
= wxString_in_helper(obj2
);
11503 if (arg3
== NULL
) SWIG_fail
;
11508 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11511 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11512 if (!SWIG_IsOK(ecode5
)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "5"" of type '" "int""'");
11515 arg5
= static_cast< int >(val5
);
11518 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11519 if (!SWIG_IsOK(ecode6
)) {
11520 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "6"" of type '" "int""'");
11522 arg6
= static_cast< int >(val6
);
11525 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11526 if (!SWIG_IsOK(ecode7
)) {
11527 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "7"" of type '" "int""'");
11529 arg7
= static_cast< int >(val7
);
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_Py_Void();
11552 SWIGINTERN PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
= 0;
11554 wxGrid
*arg1
= (wxGrid
*) 0 ;
11556 wxArrayString
*arg3
= 0 ;
11557 long *arg4
= (long *) 0 ;
11558 long *arg5
= (long *) 0 ;
11563 bool temp3
= false ;
11565 int res4
= SWIG_TMPOBJ
;
11567 int res5
= SWIG_TMPOBJ
;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 PyObject
* obj2
= 0 ;
11571 char * kwnames
[] = {
11572 (char *) "self",(char *) "dc",(char *) "lines", NULL
11577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11579 if (!SWIG_IsOK(res1
)) {
11580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "1"" of type '" "wxGrid *""'");
11582 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11584 if (!SWIG_IsOK(res2
)) {
11585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11590 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11592 if (! PySequence_Check(obj2
)) {
11593 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11596 arg3
= new wxArrayString
;
11598 int i
, len
=PySequence_Length(obj2
);
11599 for (i
=0; i
<len
; i
++) {
11600 PyObject
* item
= PySequence_GetItem(obj2
, i
);
11601 wxString
* s
= wxString_in_helper(item
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_Py_Void();
11615 if (SWIG_IsTmpObj(res4
)) {
11616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
11618 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
11621 if (SWIG_IsTmpObj(res5
)) {
11622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg5
)));
11624 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, new_flags
));
11628 if (temp3
) delete arg3
;
11633 if (temp3
) delete arg3
;
11639 SWIGINTERN PyObject
*_wrap_Grid_BeginBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11640 PyObject
*resultobj
= 0;
11641 wxGrid
*arg1
= (wxGrid
*) 0 ;
11644 PyObject
*swig_obj
[1] ;
11646 if (!args
) SWIG_fail
;
11647 swig_obj
[0] = args
;
11648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11649 if (!SWIG_IsOK(res1
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BeginBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11652 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 (arg1
)->BeginBatch();
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_Py_Void();
11666 SWIGINTERN PyObject
*_wrap_Grid_EndBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11667 PyObject
*resultobj
= 0;
11668 wxGrid
*arg1
= (wxGrid
*) 0 ;
11671 PyObject
*swig_obj
[1] ;
11673 if (!args
) SWIG_fail
;
11674 swig_obj
[0] = args
;
11675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11676 if (!SWIG_IsOK(res1
)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EndBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11679 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 (arg1
)->EndBatch();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_Py_Void();
11693 SWIGINTERN PyObject
*_wrap_Grid_GetBatchCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11694 PyObject
*resultobj
= 0;
11695 wxGrid
*arg1
= (wxGrid
*) 0 ;
11699 PyObject
*swig_obj
[1] ;
11701 if (!args
) SWIG_fail
;
11702 swig_obj
[0] = args
;
11703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11704 if (!SWIG_IsOK(res1
)) {
11705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetBatchCount" "', expected argument " "1"" of type '" "wxGrid *""'");
11707 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (int)(arg1
)->GetBatchCount();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_From_int(static_cast< int >(result
));
11721 SWIGINTERN PyObject
*_wrap_Grid_ForceRefresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11722 PyObject
*resultobj
= 0;
11723 wxGrid
*arg1
= (wxGrid
*) 0 ;
11726 PyObject
*swig_obj
[1] ;
11728 if (!args
) SWIG_fail
;
11729 swig_obj
[0] = args
;
11730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11731 if (!SWIG_IsOK(res1
)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ForceRefresh" "', expected argument " "1"" of type '" "wxGrid *""'");
11734 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 (arg1
)->ForceRefresh();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_Py_Void();
11748 SWIGINTERN PyObject
*_wrap_Grid_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11749 PyObject
*resultobj
= 0;
11750 wxGrid
*arg1
= (wxGrid
*) 0 ;
11754 PyObject
*swig_obj
[1] ;
11756 if (!args
) SWIG_fail
;
11757 swig_obj
[0] = args
;
11758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11759 if (!SWIG_IsOK(res1
)) {
11760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsEditable" "', expected argument " "1"" of type '" "wxGrid *""'");
11762 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (bool)(arg1
)->IsEditable();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11778 SWIGINTERN PyObject
*_wrap_Grid_EnableEditing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
= 0;
11780 wxGrid
*arg1
= (wxGrid
*) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 PyObject
* obj1
= 0 ;
11788 char * kwnames
[] = {
11789 (char *) "self",(char *) "edit", NULL
11792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11794 if (!SWIG_IsOK(res1
)) {
11795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableEditing" "', expected argument " "1"" of type '" "wxGrid *""'");
11797 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11798 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11799 if (!SWIG_IsOK(ecode2
)) {
11800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableEditing" "', expected argument " "2"" of type '" "bool""'");
11802 arg2
= static_cast< bool >(val2
);
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 (arg1
)->EnableEditing(arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= SWIG_Py_Void();
11816 SWIGINTERN PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
= 0;
11818 wxGrid
*arg1
= (wxGrid
*) 0 ;
11819 bool arg2
= (bool) true ;
11824 PyObject
* obj0
= 0 ;
11825 PyObject
* obj1
= 0 ;
11826 char * kwnames
[] = {
11827 (char *) "self",(char *) "enable", NULL
11830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11832 if (!SWIG_IsOK(res1
)) {
11833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11835 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11837 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11838 if (!SWIG_IsOK(ecode2
)) {
11839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "2"" of type '" "bool""'");
11841 arg2
= static_cast< bool >(val2
);
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->EnableCellEditControl(arg2
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_Py_Void();
11856 SWIGINTERN PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11857 PyObject
*resultobj
= 0;
11858 wxGrid
*arg1
= (wxGrid
*) 0 ;
11861 PyObject
*swig_obj
[1] ;
11863 if (!args
) SWIG_fail
;
11864 swig_obj
[0] = args
;
11865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11866 if (!SWIG_IsOK(res1
)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11869 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 (arg1
)->DisableCellEditControl();
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11876 resultobj
= SWIG_Py_Void();
11883 SWIGINTERN PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11884 PyObject
*resultobj
= 0;
11885 wxGrid
*arg1
= (wxGrid
*) 0 ;
11889 PyObject
*swig_obj
[1] ;
11891 if (!args
) SWIG_fail
;
11892 swig_obj
[0] = args
;
11893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11894 if (!SWIG_IsOK(res1
)) {
11895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanEnableCellControl" "', expected argument " "1"" of type '" "wxGrid const *""'");
11897 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11913 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11914 PyObject
*resultobj
= 0;
11915 wxGrid
*arg1
= (wxGrid
*) 0 ;
11919 PyObject
*swig_obj
[1] ;
11921 if (!args
) SWIG_fail
;
11922 swig_obj
[0] = args
;
11923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11924 if (!SWIG_IsOK(res1
)) {
11925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlEnabled" "', expected argument " "1"" of type '" "wxGrid const *""'");
11927 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11943 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11944 PyObject
*resultobj
= 0;
11945 wxGrid
*arg1
= (wxGrid
*) 0 ;
11949 PyObject
*swig_obj
[1] ;
11951 if (!args
) SWIG_fail
;
11952 swig_obj
[0] = args
;
11953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11954 if (!SWIG_IsOK(res1
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlShown" "', expected argument " "1"" of type '" "wxGrid const *""'");
11957 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11973 SWIGINTERN PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11974 PyObject
*resultobj
= 0;
11975 wxGrid
*arg1
= (wxGrid
*) 0 ;
11979 PyObject
*swig_obj
[1] ;
11981 if (!args
) SWIG_fail
;
11982 swig_obj
[0] = args
;
11983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11984 if (!SWIG_IsOK(res1
)) {
11985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCurrentCellReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
11987 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12003 SWIGINTERN PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12004 PyObject
*resultobj
= 0;
12005 wxGrid
*arg1
= (wxGrid
*) 0 ;
12008 PyObject
*swig_obj
[1] ;
12010 if (!args
) SWIG_fail
;
12011 swig_obj
[0] = args
;
12012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ShowCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
12016 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 (arg1
)->ShowCellEditControl();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_Py_Void();
12030 SWIGINTERN PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 PyObject
*resultobj
= 0;
12032 wxGrid
*arg1
= (wxGrid
*) 0 ;
12035 PyObject
*swig_obj
[1] ;
12037 if (!args
) SWIG_fail
;
12038 swig_obj
[0] = args
;
12039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12040 if (!SWIG_IsOK(res1
)) {
12041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_HideCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
12043 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 (arg1
)->HideCellEditControl();
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= SWIG_Py_Void();
12057 SWIGINTERN PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12058 PyObject
*resultobj
= 0;
12059 wxGrid
*arg1
= (wxGrid
*) 0 ;
12062 PyObject
*swig_obj
[1] ;
12064 if (!args
) SWIG_fail
;
12065 swig_obj
[0] = args
;
12066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12067 if (!SWIG_IsOK(res1
)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SaveEditControlValue" "', expected argument " "1"" of type '" "wxGrid *""'");
12070 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 (arg1
)->SaveEditControlValue();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= SWIG_Py_Void();
12084 SWIGINTERN PyObject
*_wrap_Grid_XYToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
= 0;
12086 wxGrid
*arg1
= (wxGrid
*) 0 ;
12089 wxGridCellCoords result
;
12096 PyObject
* obj0
= 0 ;
12097 PyObject
* obj1
= 0 ;
12098 PyObject
* obj2
= 0 ;
12099 char * kwnames
[] = {
12100 (char *) "self",(char *) "x",(char *) "y", NULL
12103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12105 if (!SWIG_IsOK(res1
)) {
12106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XYToCell" "', expected argument " "1"" of type '" "wxGrid *""'");
12108 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12110 if (!SWIG_IsOK(ecode2
)) {
12111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XYToCell" "', expected argument " "2"" of type '" "int""'");
12113 arg2
= static_cast< int >(val2
);
12114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12115 if (!SWIG_IsOK(ecode3
)) {
12116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XYToCell" "', expected argument " "3"" of type '" "int""'");
12118 arg3
= static_cast< int >(val3
);
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
12132 SWIGINTERN PyObject
*_wrap_Grid_YToRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
= 0;
12134 wxGrid
*arg1
= (wxGrid
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char * kwnames
[] = {
12144 (char *) "self",(char *) "y", NULL
12147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12149 if (!SWIG_IsOK(res1
)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12152 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12154 if (!SWIG_IsOK(ecode2
)) {
12155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToRow" "', expected argument " "2"" of type '" "int""'");
12157 arg2
= static_cast< int >(val2
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (int)(arg1
)->YToRow(arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_From_int(static_cast< int >(result
));
12171 SWIGINTERN PyObject
*_wrap_Grid_XToCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
= 0;
12173 wxGrid
*arg1
= (wxGrid
*) 0 ;
12175 bool arg3
= (bool) false ;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 PyObject
* obj2
= 0 ;
12186 char * kwnames
[] = {
12187 (char *) "self",(char *) "x",(char *) "clipToMinMax", NULL
12190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_XToCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12192 if (!SWIG_IsOK(res1
)) {
12193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12195 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12197 if (!SWIG_IsOK(ecode2
)) {
12198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToCol" "', expected argument " "2"" of type '" "int""'");
12200 arg2
= static_cast< int >(val2
);
12202 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12203 if (!SWIG_IsOK(ecode3
)) {
12204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XToCol" "', expected argument " "3"" of type '" "bool""'");
12206 arg3
= static_cast< bool >(val3
);
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= (int)(arg1
)->XToCol(arg2
,arg3
);
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= SWIG_From_int(static_cast< int >(result
));
12221 SWIGINTERN PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
= 0;
12223 wxGrid
*arg1
= (wxGrid
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 char * kwnames
[] = {
12233 (char *) "self",(char *) "y", NULL
12236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12238 if (!SWIG_IsOK(res1
)) {
12239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12241 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12243 if (!SWIG_IsOK(ecode2
)) {
12244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "2"" of type '" "int""'");
12246 arg2
= static_cast< int >(val2
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= SWIG_From_int(static_cast< int >(result
));
12260 SWIGINTERN PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
= 0;
12262 wxGrid
*arg1
= (wxGrid
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 PyObject
* obj1
= 0 ;
12271 char * kwnames
[] = {
12272 (char *) "self",(char *) "x", NULL
12275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12277 if (!SWIG_IsOK(res1
)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12280 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12282 if (!SWIG_IsOK(ecode2
)) {
12283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "2"" of type '" "int""'");
12285 arg2
= static_cast< int >(val2
);
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= SWIG_From_int(static_cast< int >(result
));
12299 SWIGINTERN PyObject
*_wrap_Grid_CellToRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
= 0;
12301 wxGrid
*arg1
= (wxGrid
*) 0 ;
12311 PyObject
* obj0
= 0 ;
12312 PyObject
* obj1
= 0 ;
12313 PyObject
* obj2
= 0 ;
12314 char * kwnames
[] = {
12315 (char *) "self",(char *) "row",(char *) "col", NULL
12318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12320 if (!SWIG_IsOK(res1
)) {
12321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CellToRect" "', expected argument " "1"" of type '" "wxGrid *""'");
12323 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12325 if (!SWIG_IsOK(ecode2
)) {
12326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CellToRect" "', expected argument " "2"" of type '" "int""'");
12328 arg2
= static_cast< int >(val2
);
12329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12330 if (!SWIG_IsOK(ecode3
)) {
12331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CellToRect" "', expected argument " "3"" of type '" "int""'");
12333 arg3
= static_cast< int >(val3
);
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (arg1
)->CellToRect(arg2
,arg3
);
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12347 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12348 PyObject
*resultobj
= 0;
12349 wxGrid
*arg1
= (wxGrid
*) 0 ;
12353 PyObject
*swig_obj
[1] ;
12355 if (!args
) SWIG_fail
;
12356 swig_obj
[0] = args
;
12357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12358 if (!SWIG_IsOK(res1
)) {
12359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12361 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (int)(arg1
)->GetGridCursorRow();
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_From_int(static_cast< int >(result
));
12375 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12376 PyObject
*resultobj
= 0;
12377 wxGrid
*arg1
= (wxGrid
*) 0 ;
12381 PyObject
*swig_obj
[1] ;
12383 if (!args
) SWIG_fail
;
12384 swig_obj
[0] = args
;
12385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12386 if (!SWIG_IsOK(res1
)) {
12387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12389 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (int)(arg1
)->GetGridCursorCol();
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 resultobj
= SWIG_From_int(static_cast< int >(result
));
12403 SWIGINTERN PyObject
*_wrap_Grid_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
= 0;
12405 wxGrid
*arg1
= (wxGrid
*) 0 ;
12408 bool arg4
= (bool) true ;
12418 PyObject
* obj0
= 0 ;
12419 PyObject
* obj1
= 0 ;
12420 PyObject
* obj2
= 0 ;
12421 PyObject
* obj3
= 0 ;
12422 char * kwnames
[] = {
12423 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
12426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12428 if (!SWIG_IsOK(res1
)) {
12429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12431 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12433 if (!SWIG_IsOK(ecode2
)) {
12434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsVisible" "', expected argument " "2"" of type '" "int""'");
12436 arg2
= static_cast< int >(val2
);
12437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12438 if (!SWIG_IsOK(ecode3
)) {
12439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsVisible" "', expected argument " "3"" of type '" "int""'");
12441 arg3
= static_cast< int >(val3
);
12443 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12444 if (!SWIG_IsOK(ecode4
)) {
12445 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_IsVisible" "', expected argument " "4"" of type '" "bool""'");
12447 arg4
= static_cast< bool >(val4
);
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12464 SWIGINTERN PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
= 0;
12466 wxGrid
*arg1
= (wxGrid
*) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 PyObject
* obj2
= 0 ;
12478 char * kwnames
[] = {
12479 (char *) "self",(char *) "row",(char *) "col", NULL
12482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12484 if (!SWIG_IsOK(res1
)) {
12485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MakeCellVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12487 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12489 if (!SWIG_IsOK(ecode2
)) {
12490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MakeCellVisible" "', expected argument " "2"" of type '" "int""'");
12492 arg2
= static_cast< int >(val2
);
12493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12494 if (!SWIG_IsOK(ecode3
)) {
12495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_MakeCellVisible" "', expected argument " "3"" of type '" "int""'");
12497 arg3
= static_cast< int >(val3
);
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 (arg1
)->MakeCellVisible(arg2
,arg3
);
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= SWIG_Py_Void();
12511 SWIGINTERN PyObject
*_wrap_Grid_SetGridCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
= 0;
12513 wxGrid
*arg1
= (wxGrid
*) 0 ;
12522 PyObject
* obj0
= 0 ;
12523 PyObject
* obj1
= 0 ;
12524 PyObject
* obj2
= 0 ;
12525 char * kwnames
[] = {
12526 (char *) "self",(char *) "row",(char *) "col", NULL
12529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12531 if (!SWIG_IsOK(res1
)) {
12532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridCursor" "', expected argument " "1"" of type '" "wxGrid *""'");
12534 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12536 if (!SWIG_IsOK(ecode2
)) {
12537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetGridCursor" "', expected argument " "2"" of type '" "int""'");
12539 arg2
= static_cast< int >(val2
);
12540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12541 if (!SWIG_IsOK(ecode3
)) {
12542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetGridCursor" "', expected argument " "3"" of type '" "int""'");
12544 arg3
= static_cast< int >(val3
);
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 (arg1
)->SetGridCursor(arg2
,arg3
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= SWIG_Py_Void();
12558 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
= 0;
12560 wxGrid
*arg1
= (wxGrid
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 PyObject
* obj1
= 0 ;
12569 char * kwnames
[] = {
12570 (char *) "self",(char *) "expandSelection", NULL
12573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12575 if (!SWIG_IsOK(res1
)) {
12576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12578 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12579 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12580 if (!SWIG_IsOK(ecode2
)) {
12581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUp" "', expected argument " "2"" of type '" "bool""'");
12583 arg2
= static_cast< bool >(val2
);
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12599 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
= 0;
12601 wxGrid
*arg1
= (wxGrid
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 char * kwnames
[] = {
12611 (char *) "self",(char *) "expandSelection", NULL
12614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12616 if (!SWIG_IsOK(res1
)) {
12617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12619 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12620 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12621 if (!SWIG_IsOK(ecode2
)) {
12622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDown" "', expected argument " "2"" of type '" "bool""'");
12624 arg2
= static_cast< bool >(val2
);
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12640 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
= 0;
12642 wxGrid
*arg1
= (wxGrid
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 char * kwnames
[] = {
12652 (char *) "self",(char *) "expandSelection", NULL
12655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12657 if (!SWIG_IsOK(res1
)) {
12658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "1"" of type '" "wxGrid *""'");
12660 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12661 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12662 if (!SWIG_IsOK(ecode2
)) {
12663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "2"" of type '" "bool""'");
12665 arg2
= static_cast< bool >(val2
);
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12681 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
= 0;
12683 wxGrid
*arg1
= (wxGrid
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 PyObject
* obj1
= 0 ;
12692 char * kwnames
[] = {
12693 (char *) "self",(char *) "expandSelection", NULL
12696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRight" "', expected argument " "1"" of type '" "wxGrid *""'");
12701 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12702 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12703 if (!SWIG_IsOK(ecode2
)) {
12704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRight" "', expected argument " "2"" of type '" "bool""'");
12706 arg2
= static_cast< bool >(val2
);
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12722 SWIGINTERN PyObject
*_wrap_Grid_MovePageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12723 PyObject
*resultobj
= 0;
12724 wxGrid
*arg1
= (wxGrid
*) 0 ;
12728 PyObject
*swig_obj
[1] ;
12730 if (!args
) SWIG_fail
;
12731 swig_obj
[0] = args
;
12732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12733 if (!SWIG_IsOK(res1
)) {
12734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12736 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= (bool)(arg1
)->MovePageDown();
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12752 SWIGINTERN PyObject
*_wrap_Grid_MovePageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12753 PyObject
*resultobj
= 0;
12754 wxGrid
*arg1
= (wxGrid
*) 0 ;
12758 PyObject
*swig_obj
[1] ;
12760 if (!args
) SWIG_fail
;
12761 swig_obj
[0] = args
;
12762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12763 if (!SWIG_IsOK(res1
)) {
12764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12766 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (bool)(arg1
)->MovePageUp();
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12782 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
= 0;
12784 wxGrid
*arg1
= (wxGrid
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 PyObject
* obj1
= 0 ;
12793 char * kwnames
[] = {
12794 (char *) "self",(char *) "expandSelection", NULL
12797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12799 if (!SWIG_IsOK(res1
)) {
12800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12802 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12803 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12804 if (!SWIG_IsOK(ecode2
)) {
12805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "2"" of type '" "bool""'");
12807 arg2
= static_cast< bool >(val2
);
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12823 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
= 0;
12825 wxGrid
*arg1
= (wxGrid
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 PyObject
* obj1
= 0 ;
12834 char * kwnames
[] = {
12835 (char *) "self",(char *) "expandSelection", NULL
12838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12840 if (!SWIG_IsOK(res1
)) {
12841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12843 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12844 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12845 if (!SWIG_IsOK(ecode2
)) {
12846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "2"" of type '" "bool""'");
12848 arg2
= static_cast< bool >(val2
);
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12864 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
= 0;
12866 wxGrid
*arg1
= (wxGrid
*) 0 ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 char * kwnames
[] = {
12876 (char *) "self",(char *) "expandSelection", NULL
12879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12881 if (!SWIG_IsOK(res1
)) {
12882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12884 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12885 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12886 if (!SWIG_IsOK(ecode2
)) {
12887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "2"" of type '" "bool""'");
12889 arg2
= static_cast< bool >(val2
);
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12905 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
= 0;
12907 wxGrid
*arg1
= (wxGrid
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 PyObject
* obj1
= 0 ;
12916 char * kwnames
[] = {
12917 (char *) "self",(char *) "expandSelection", NULL
12920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12922 if (!SWIG_IsOK(res1
)) {
12923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12925 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12926 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12927 if (!SWIG_IsOK(ecode2
)) {
12928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "2"" of type '" "bool""'");
12930 arg2
= static_cast< bool >(val2
);
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12946 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12947 PyObject
*resultobj
= 0;
12948 wxGrid
*arg1
= (wxGrid
*) 0 ;
12952 PyObject
*swig_obj
[1] ;
12954 if (!args
) SWIG_fail
;
12955 swig_obj
[0] = args
;
12956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12957 if (!SWIG_IsOK(res1
)) {
12958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12960 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (int)(arg1
)->GetDefaultRowLabelSize();
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_From_int(static_cast< int >(result
));
12974 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 PyObject
*resultobj
= 0;
12976 wxGrid
*arg1
= (wxGrid
*) 0 ;
12980 PyObject
*swig_obj
[1] ;
12982 if (!args
) SWIG_fail
;
12983 swig_obj
[0] = args
;
12984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12985 if (!SWIG_IsOK(res1
)) {
12986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12988 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= (int)(arg1
)->GetRowLabelSize();
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= SWIG_From_int(static_cast< int >(result
));
13002 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13003 PyObject
*resultobj
= 0;
13004 wxGrid
*arg1
= (wxGrid
*) 0 ;
13008 PyObject
*swig_obj
[1] ;
13010 if (!args
) SWIG_fail
;
13011 swig_obj
[0] = args
;
13012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13013 if (!SWIG_IsOK(res1
)) {
13014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13016 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 result
= (int)(arg1
)->GetDefaultColLabelSize();
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= SWIG_From_int(static_cast< int >(result
));
13030 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13031 PyObject
*resultobj
= 0;
13032 wxGrid
*arg1
= (wxGrid
*) 0 ;
13036 PyObject
*swig_obj
[1] ;
13038 if (!args
) SWIG_fail
;
13039 swig_obj
[0] = args
;
13040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13041 if (!SWIG_IsOK(res1
)) {
13042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13044 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (int)(arg1
)->GetColLabelSize();
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= SWIG_From_int(static_cast< int >(result
));
13058 SWIGINTERN PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13059 PyObject
*resultobj
= 0;
13060 wxGrid
*arg1
= (wxGrid
*) 0 ;
13064 PyObject
*swig_obj
[1] ;
13066 if (!args
) SWIG_fail
;
13067 swig_obj
[0] = args
;
13068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13069 if (!SWIG_IsOK(res1
)) {
13070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13072 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (arg1
)->GetLabelBackgroundColour();
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13086 SWIGINTERN PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13087 PyObject
*resultobj
= 0;
13088 wxGrid
*arg1
= (wxGrid
*) 0 ;
13092 PyObject
*swig_obj
[1] ;
13094 if (!args
) SWIG_fail
;
13095 swig_obj
[0] = args
;
13096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13097 if (!SWIG_IsOK(res1
)) {
13098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13100 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (arg1
)->GetLabelTextColour();
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13114 SWIGINTERN PyObject
*_wrap_Grid_GetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13115 PyObject
*resultobj
= 0;
13116 wxGrid
*arg1
= (wxGrid
*) 0 ;
13120 PyObject
*swig_obj
[1] ;
13122 if (!args
) SWIG_fail
;
13123 swig_obj
[0] = args
;
13124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13125 if (!SWIG_IsOK(res1
)) {
13126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
13128 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (arg1
)->GetLabelFont();
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13142 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13143 PyObject
*resultobj
= 0;
13144 wxGrid
*arg1
= (wxGrid
*) 0 ;
13145 int *arg2
= (int *) 0 ;
13146 int *arg3
= (int *) 0 ;
13150 int res2
= SWIG_TMPOBJ
;
13152 int res3
= SWIG_TMPOBJ
;
13153 PyObject
*swig_obj
[1] ;
13157 if (!args
) SWIG_fail
;
13158 swig_obj
[0] = args
;
13159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13163 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= SWIG_Py_Void();
13171 if (SWIG_IsTmpObj(res2
)) {
13172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
13174 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
13177 if (SWIG_IsTmpObj(res3
)) {
13178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
13180 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
13189 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13190 PyObject
*resultobj
= 0;
13191 wxGrid
*arg1
= (wxGrid
*) 0 ;
13192 int *arg2
= (int *) 0 ;
13193 int *arg3
= (int *) 0 ;
13197 int res2
= SWIG_TMPOBJ
;
13199 int res3
= SWIG_TMPOBJ
;
13200 PyObject
*swig_obj
[1] ;
13204 if (!args
) SWIG_fail
;
13205 swig_obj
[0] = args
;
13206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13207 if (!SWIG_IsOK(res1
)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13210 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_Py_Void();
13218 if (SWIG_IsTmpObj(res2
)) {
13219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
13221 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
13224 if (SWIG_IsTmpObj(res3
)) {
13225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
13227 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
13236 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13237 PyObject
*resultobj
= 0;
13238 wxGrid
*arg1
= (wxGrid
*) 0 ;
13242 PyObject
*swig_obj
[1] ;
13244 if (!args
) SWIG_fail
;
13245 swig_obj
[0] = args
;
13246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13247 if (!SWIG_IsOK(res1
)) {
13248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
13250 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (int)(arg1
)->GetColLabelTextOrientation();
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= SWIG_From_int(static_cast< int >(result
));
13264 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
= 0;
13266 wxGrid
*arg1
= (wxGrid
*) 0 ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char * kwnames
[] = {
13276 (char *) "self",(char *) "row", NULL
13279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13281 if (!SWIG_IsOK(res1
)) {
13282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13284 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13286 if (!SWIG_IsOK(ecode2
)) {
13287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13289 arg2
= static_cast< int >(val2
);
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (arg1
)->GetRowLabelValue(arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13309 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
= 0;
13311 wxGrid
*arg1
= (wxGrid
*) 0 ;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 char * kwnames
[] = {
13321 (char *) "self",(char *) "col", NULL
13324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13326 if (!SWIG_IsOK(res1
)) {
13327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13329 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13331 if (!SWIG_IsOK(ecode2
)) {
13332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13334 arg2
= static_cast< int >(val2
);
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (arg1
)->GetColLabelValue(arg2
);
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13354 SWIGINTERN PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13355 PyObject
*resultobj
= 0;
13356 wxGrid
*arg1
= (wxGrid
*) 0 ;
13360 PyObject
*swig_obj
[1] ;
13362 if (!args
) SWIG_fail
;
13363 swig_obj
[0] = args
;
13364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13365 if (!SWIG_IsOK(res1
)) {
13366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13368 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (arg1
)->GetGridLineColour();
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13382 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultGridLinePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxGrid
*arg1
= (wxGrid
*) 0 ;
13388 PyObject
*swig_obj
[1] ;
13390 if (!args
) SWIG_fail
;
13391 swig_obj
[0] = args
;
13392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13393 if (!SWIG_IsOK(res1
)) {
13394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");
13396 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (arg1
)->GetDefaultGridLinePen();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN
| 0 );
13410 SWIGINTERN PyObject
*_wrap_Grid_GetRowGridLinePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
= 0;
13412 wxGrid
*arg1
= (wxGrid
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 char * kwnames
[] = {
13422 (char *) "self",(char *) "row", NULL
13425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowGridLinePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13427 if (!SWIG_IsOK(res1
)) {
13428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");
13430 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13432 if (!SWIG_IsOK(ecode2
)) {
13433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowGridLinePen" "', expected argument " "2"" of type '" "int""'");
13435 arg2
= static_cast< int >(val2
);
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (arg1
)->GetRowGridLinePen(arg2
);
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN
| 0 );
13449 SWIGINTERN PyObject
*_wrap_Grid_GetColGridLinePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
= 0;
13451 wxGrid
*arg1
= (wxGrid
*) 0 ;
13458 PyObject
* obj0
= 0 ;
13459 PyObject
* obj1
= 0 ;
13460 char * kwnames
[] = {
13461 (char *) "self",(char *) "col", NULL
13464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColGridLinePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13466 if (!SWIG_IsOK(res1
)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");
13469 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13471 if (!SWIG_IsOK(ecode2
)) {
13472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColGridLinePen" "', expected argument " "2"" of type '" "int""'");
13474 arg2
= static_cast< int >(val2
);
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (arg1
)->GetColGridLinePen(arg2
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN
| 0 );
13488 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13489 PyObject
*resultobj
= 0;
13490 wxGrid
*arg1
= (wxGrid
*) 0 ;
13494 PyObject
*swig_obj
[1] ;
13496 if (!args
) SWIG_fail
;
13497 swig_obj
[0] = args
;
13498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13499 if (!SWIG_IsOK(res1
)) {
13500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13502 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= (arg1
)->GetCellHighlightColour();
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13516 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13517 PyObject
*resultobj
= 0;
13518 wxGrid
*arg1
= (wxGrid
*) 0 ;
13522 PyObject
*swig_obj
[1] ;
13524 if (!args
) SWIG_fail
;
13525 swig_obj
[0] = args
;
13526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13527 if (!SWIG_IsOK(res1
)) {
13528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13530 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 result
= (int)(arg1
)->GetCellHighlightPenWidth();
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= SWIG_From_int(static_cast< int >(result
));
13544 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13545 PyObject
*resultobj
= 0;
13546 wxGrid
*arg1
= (wxGrid
*) 0 ;
13550 PyObject
*swig_obj
[1] ;
13552 if (!args
) SWIG_fail
;
13553 swig_obj
[0] = args
;
13554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13555 if (!SWIG_IsOK(res1
)) {
13556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13558 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= SWIG_From_int(static_cast< int >(result
));
13572 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
= 0;
13574 wxGrid
*arg1
= (wxGrid
*) 0 ;
13580 PyObject
* obj0
= 0 ;
13581 PyObject
* obj1
= 0 ;
13582 char * kwnames
[] = {
13583 (char *) "self",(char *) "width", NULL
13586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13588 if (!SWIG_IsOK(res1
)) {
13589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13591 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13593 if (!SWIG_IsOK(ecode2
)) {
13594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "2"" of type '" "int""'");
13596 arg2
= static_cast< int >(val2
);
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 (arg1
)->SetRowLabelSize(arg2
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_Py_Void();
13610 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
= 0;
13612 wxGrid
*arg1
= (wxGrid
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 PyObject
* obj1
= 0 ;
13620 char * kwnames
[] = {
13621 (char *) "self",(char *) "height", NULL
13624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13626 if (!SWIG_IsOK(res1
)) {
13627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13629 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13631 if (!SWIG_IsOK(ecode2
)) {
13632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelSize" "', expected argument " "2"" of type '" "int""'");
13634 arg2
= static_cast< int >(val2
);
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 (arg1
)->SetColLabelSize(arg2
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_Py_Void();
13648 SWIGINTERN PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
= 0;
13650 wxGrid
*arg1
= (wxGrid
*) 0 ;
13651 wxColour
*arg2
= 0 ;
13655 PyObject
* obj0
= 0 ;
13656 PyObject
* obj1
= 0 ;
13657 char * kwnames
[] = {
13658 (char *) "self",(char *)"arg2", NULL
13661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13663 if (!SWIG_IsOK(res1
)) {
13664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13666 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13669 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= SWIG_Py_Void();
13684 SWIGINTERN PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
= 0;
13686 wxGrid
*arg1
= (wxGrid
*) 0 ;
13687 wxColour
*arg2
= 0 ;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 char * kwnames
[] = {
13694 (char *) "self",(char *)"arg2", NULL
13697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13702 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_Py_Void();
13720 SWIGINTERN PyObject
*_wrap_Grid_SetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
= 0;
13722 wxGrid
*arg1
= (wxGrid
*) 0 ;
13728 PyObject
* obj0
= 0 ;
13729 PyObject
* obj1
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "self",(char *)"arg2", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13736 if (!SWIG_IsOK(res1
)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
13739 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
13741 if (!SWIG_IsOK(res2
)) {
13742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13747 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_Py_Void();
13761 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
= 0;
13763 wxGrid
*arg1
= (wxGrid
*) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 char * kwnames
[] = {
13776 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13781 if (!SWIG_IsOK(res1
)) {
13782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13784 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13786 if (!SWIG_IsOK(ecode2
)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13789 arg2
= static_cast< int >(val2
);
13790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13791 if (!SWIG_IsOK(ecode3
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13794 arg3
= static_cast< int >(val3
);
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_Py_Void();
13808 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
= 0;
13810 wxGrid
*arg1
= (wxGrid
*) 0 ;
13819 PyObject
* obj0
= 0 ;
13820 PyObject
* obj1
= 0 ;
13821 PyObject
* obj2
= 0 ;
13822 char * kwnames
[] = {
13823 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13828 if (!SWIG_IsOK(res1
)) {
13829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13831 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13833 if (!SWIG_IsOK(ecode2
)) {
13834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13836 arg2
= static_cast< int >(val2
);
13837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13838 if (!SWIG_IsOK(ecode3
)) {
13839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13841 arg3
= static_cast< int >(val3
);
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_Py_Void();
13855 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
= 0;
13857 wxGrid
*arg1
= (wxGrid
*) 0 ;
13863 PyObject
* obj0
= 0 ;
13864 PyObject
* obj1
= 0 ;
13865 char * kwnames
[] = {
13866 (char *) "self",(char *) "textOrientation", NULL
13869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13871 if (!SWIG_IsOK(res1
)) {
13872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
13874 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13876 if (!SWIG_IsOK(ecode2
)) {
13877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "2"" of type '" "int""'");
13879 arg2
= static_cast< int >(val2
);
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 (arg1
)->SetColLabelTextOrientation(arg2
);
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= SWIG_Py_Void();
13893 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
= 0;
13895 wxGrid
*arg1
= (wxGrid
*) 0 ;
13897 wxString
*arg3
= 0 ;
13902 bool temp3
= false ;
13903 PyObject
* obj0
= 0 ;
13904 PyObject
* obj1
= 0 ;
13905 PyObject
* obj2
= 0 ;
13906 char * kwnames
[] = {
13907 (char *) "self",(char *) "row",(char *)"arg3", NULL
13910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13912 if (!SWIG_IsOK(res1
)) {
13913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13915 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13917 if (!SWIG_IsOK(ecode2
)) {
13918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13920 arg2
= static_cast< int >(val2
);
13922 arg3
= wxString_in_helper(obj2
);
13923 if (arg3
== NULL
) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_Py_Void();
13947 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
= 0;
13949 wxGrid
*arg1
= (wxGrid
*) 0 ;
13951 wxString
*arg3
= 0 ;
13956 bool temp3
= false ;
13957 PyObject
* obj0
= 0 ;
13958 PyObject
* obj1
= 0 ;
13959 PyObject
* obj2
= 0 ;
13960 char * kwnames
[] = {
13961 (char *) "self",(char *) "col",(char *)"arg3", NULL
13964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13966 if (!SWIG_IsOK(res1
)) {
13967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13969 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13971 if (!SWIG_IsOK(ecode2
)) {
13972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13974 arg2
= static_cast< int >(val2
);
13976 arg3
= wxString_in_helper(obj2
);
13977 if (arg3
== NULL
) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= SWIG_Py_Void();
14001 SWIGINTERN PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
= 0;
14003 wxGrid
*arg1
= (wxGrid
*) 0 ;
14004 wxColour
*arg2
= 0 ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char * kwnames
[] = {
14011 (char *) "self",(char *)"arg2", NULL
14014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14016 if (!SWIG_IsOK(res1
)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14019 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14022 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_Py_Void();
14037 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
= 0;
14039 wxGrid
*arg1
= (wxGrid
*) 0 ;
14040 wxColour
*arg2
= 0 ;
14044 PyObject
* obj0
= 0 ;
14045 PyObject
* obj1
= 0 ;
14046 char * kwnames
[] = {
14047 (char *) "self",(char *)"arg2", NULL
14050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14052 if (!SWIG_IsOK(res1
)) {
14053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14055 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14058 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_Py_Void();
14073 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
= 0;
14075 wxGrid
*arg1
= (wxGrid
*) 0 ;
14081 PyObject
* obj0
= 0 ;
14082 PyObject
* obj1
= 0 ;
14083 char * kwnames
[] = {
14084 (char *) "self",(char *) "width", NULL
14087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14089 if (!SWIG_IsOK(res1
)) {
14090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
14092 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14094 if (!SWIG_IsOK(ecode2
)) {
14095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "2"" of type '" "int""'");
14097 arg2
= static_cast< int >(val2
);
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 (arg1
)->SetCellHighlightPenWidth(arg2
);
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= SWIG_Py_Void();
14111 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14112 PyObject
*resultobj
= 0;
14113 wxGrid
*arg1
= (wxGrid
*) 0 ;
14119 PyObject
* obj0
= 0 ;
14120 PyObject
* obj1
= 0 ;
14121 char * kwnames
[] = {
14122 (char *) "self",(char *) "width", NULL
14125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14127 if (!SWIG_IsOK(res1
)) {
14128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
14130 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14132 if (!SWIG_IsOK(ecode2
)) {
14133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "2"" of type '" "int""'");
14135 arg2
= static_cast< int >(val2
);
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 (arg1
)->SetCellHighlightROPenWidth(arg2
);
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= SWIG_Py_Void();
14149 SWIGINTERN PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
= 0;
14151 wxGrid
*arg1
= (wxGrid
*) 0 ;
14152 bool arg2
= (bool) true ;
14157 PyObject
* obj0
= 0 ;
14158 PyObject
* obj1
= 0 ;
14159 char * kwnames
[] = {
14160 (char *) "self",(char *) "enable", NULL
14163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14165 if (!SWIG_IsOK(res1
)) {
14166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14168 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14170 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14171 if (!SWIG_IsOK(ecode2
)) {
14172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "2"" of type '" "bool""'");
14174 arg2
= static_cast< bool >(val2
);
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 (arg1
)->EnableDragRowSize(arg2
);
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= SWIG_Py_Void();
14189 SWIGINTERN PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14190 PyObject
*resultobj
= 0;
14191 wxGrid
*arg1
= (wxGrid
*) 0 ;
14194 PyObject
*swig_obj
[1] ;
14196 if (!args
) SWIG_fail
;
14197 swig_obj
[0] = args
;
14198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14199 if (!SWIG_IsOK(res1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14202 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 (arg1
)->DisableDragRowSize();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= SWIG_Py_Void();
14216 SWIGINTERN PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14217 PyObject
*resultobj
= 0;
14218 wxGrid
*arg1
= (wxGrid
*) 0 ;
14222 PyObject
*swig_obj
[1] ;
14224 if (!args
) SWIG_fail
;
14225 swig_obj
[0] = args
;
14226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14227 if (!SWIG_IsOK(res1
)) {
14228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14230 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (bool)(arg1
)->CanDragRowSize();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14246 SWIGINTERN PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
= 0;
14248 wxGrid
*arg1
= (wxGrid
*) 0 ;
14249 bool arg2
= (bool) true ;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 char * kwnames
[] = {
14257 (char *) "self",(char *) "enable", NULL
14260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14262 if (!SWIG_IsOK(res1
)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14265 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14267 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14268 if (!SWIG_IsOK(ecode2
)) {
14269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColSize" "', expected argument " "2"" of type '" "bool""'");
14271 arg2
= static_cast< bool >(val2
);
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 (arg1
)->EnableDragColSize(arg2
);
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= SWIG_Py_Void();
14286 SWIGINTERN PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14287 PyObject
*resultobj
= 0;
14288 wxGrid
*arg1
= (wxGrid
*) 0 ;
14291 PyObject
*swig_obj
[1] ;
14293 if (!args
) SWIG_fail
;
14294 swig_obj
[0] = args
;
14295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14296 if (!SWIG_IsOK(res1
)) {
14297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14299 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 (arg1
)->DisableDragColSize();
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= SWIG_Py_Void();
14313 SWIGINTERN PyObject
*_wrap_Grid_CanDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14314 PyObject
*resultobj
= 0;
14315 wxGrid
*arg1
= (wxGrid
*) 0 ;
14319 PyObject
*swig_obj
[1] ;
14321 if (!args
) SWIG_fail
;
14322 swig_obj
[0] = args
;
14323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14324 if (!SWIG_IsOK(res1
)) {
14325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14327 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (bool)(arg1
)->CanDragColSize();
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14343 SWIGINTERN PyObject
*_wrap_Grid_EnableDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
= 0;
14345 wxGrid
*arg1
= (wxGrid
*) 0 ;
14346 bool arg2
= (bool) true ;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 char * kwnames
[] = {
14354 (char *) "self",(char *) "enable", NULL
14357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColMove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14359 if (!SWIG_IsOK(res1
)) {
14360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14362 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14364 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14365 if (!SWIG_IsOK(ecode2
)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColMove" "', expected argument " "2"" of type '" "bool""'");
14368 arg2
= static_cast< bool >(val2
);
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 (arg1
)->EnableDragColMove(arg2
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= SWIG_Py_Void();
14383 SWIGINTERN PyObject
*_wrap_Grid_DisableDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14384 PyObject
*resultobj
= 0;
14385 wxGrid
*arg1
= (wxGrid
*) 0 ;
14388 PyObject
*swig_obj
[1] ;
14390 if (!args
) SWIG_fail
;
14391 swig_obj
[0] = args
;
14392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14393 if (!SWIG_IsOK(res1
)) {
14394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14396 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 (arg1
)->DisableDragColMove();
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= SWIG_Py_Void();
14410 SWIGINTERN PyObject
*_wrap_Grid_CanDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14411 PyObject
*resultobj
= 0;
14412 wxGrid
*arg1
= (wxGrid
*) 0 ;
14416 PyObject
*swig_obj
[1] ;
14418 if (!args
) SWIG_fail
;
14419 swig_obj
[0] = args
;
14420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14421 if (!SWIG_IsOK(res1
)) {
14422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14424 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= (bool)(arg1
)->CanDragColMove();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14440 SWIGINTERN PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
= 0;
14442 wxGrid
*arg1
= (wxGrid
*) 0 ;
14443 bool arg2
= (bool) true ;
14448 PyObject
* obj0
= 0 ;
14449 PyObject
* obj1
= 0 ;
14450 char * kwnames
[] = {
14451 (char *) "self",(char *) "enable", NULL
14454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14456 if (!SWIG_IsOK(res1
)) {
14457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14459 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14461 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14462 if (!SWIG_IsOK(ecode2
)) {
14463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "2"" of type '" "bool""'");
14465 arg2
= static_cast< bool >(val2
);
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 (arg1
)->EnableDragGridSize(arg2
);
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= SWIG_Py_Void();
14480 SWIGINTERN PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14481 PyObject
*resultobj
= 0;
14482 wxGrid
*arg1
= (wxGrid
*) 0 ;
14485 PyObject
*swig_obj
[1] ;
14487 if (!args
) SWIG_fail
;
14488 swig_obj
[0] = args
;
14489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14490 if (!SWIG_IsOK(res1
)) {
14491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14493 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 (arg1
)->DisableDragGridSize();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_Py_Void();
14507 SWIGINTERN PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14508 PyObject
*resultobj
= 0;
14509 wxGrid
*arg1
= (wxGrid
*) 0 ;
14513 PyObject
*swig_obj
[1] ;
14515 if (!args
) SWIG_fail
;
14516 swig_obj
[0] = args
;
14517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14518 if (!SWIG_IsOK(res1
)) {
14519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14521 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (bool)(arg1
)->CanDragGridSize();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14537 SWIGINTERN PyObject
*_wrap_Grid_EnableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
= 0;
14539 wxGrid
*arg1
= (wxGrid
*) 0 ;
14540 bool arg2
= (bool) true ;
14545 PyObject
* obj0
= 0 ;
14546 PyObject
* obj1
= 0 ;
14547 char * kwnames
[] = {
14548 (char *) "self",(char *) "enable", NULL
14551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14553 if (!SWIG_IsOK(res1
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14556 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14558 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14559 if (!SWIG_IsOK(ecode2
)) {
14560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragCell" "', expected argument " "2"" of type '" "bool""'");
14562 arg2
= static_cast< bool >(val2
);
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 (arg1
)->EnableDragCell(arg2
);
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= SWIG_Py_Void();
14577 SWIGINTERN PyObject
*_wrap_Grid_DisableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14578 PyObject
*resultobj
= 0;
14579 wxGrid
*arg1
= (wxGrid
*) 0 ;
14582 PyObject
*swig_obj
[1] ;
14584 if (!args
) SWIG_fail
;
14585 swig_obj
[0] = args
;
14586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14587 if (!SWIG_IsOK(res1
)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14590 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 (arg1
)->DisableDragCell();
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= SWIG_Py_Void();
14604 SWIGINTERN PyObject
*_wrap_Grid_CanDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14605 PyObject
*resultobj
= 0;
14606 wxGrid
*arg1
= (wxGrid
*) 0 ;
14610 PyObject
*swig_obj
[1] ;
14612 if (!args
) SWIG_fail
;
14613 swig_obj
[0] = args
;
14614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14615 if (!SWIG_IsOK(res1
)) {
14616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14618 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (bool)(arg1
)->CanDragCell();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14634 SWIGINTERN PyObject
*_wrap_Grid_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
= 0;
14636 wxGrid
*arg1
= (wxGrid
*) 0 ;
14639 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
14648 PyObject
* obj0
= 0 ;
14649 PyObject
* obj1
= 0 ;
14650 PyObject
* obj2
= 0 ;
14651 PyObject
* obj3
= 0 ;
14652 char * kwnames
[] = {
14653 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
14656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14658 if (!SWIG_IsOK(res1
)) {
14659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14661 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14663 if (!SWIG_IsOK(ecode2
)) {
14664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetAttr" "', expected argument " "2"" of type '" "int""'");
14666 arg2
= static_cast< int >(val2
);
14667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14668 if (!SWIG_IsOK(ecode3
)) {
14669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetAttr" "', expected argument " "3"" of type '" "int""'");
14671 arg3
= static_cast< int >(val3
);
14672 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14673 if (!SWIG_IsOK(res4
)) {
14674 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr *""'");
14676 arg4
= reinterpret_cast< wxGridCellAttr
* >(argp4
);
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_Py_Void();
14690 SWIGINTERN PyObject
*_wrap_Grid_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
= 0;
14692 wxGrid
*arg1
= (wxGrid
*) 0 ;
14694 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 PyObject
* obj2
= 0 ;
14704 char * kwnames
[] = {
14705 (char *) "self",(char *) "row",(char *) "attr", NULL
14708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14710 if (!SWIG_IsOK(res1
)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14713 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14715 if (!SWIG_IsOK(ecode2
)) {
14716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowAttr" "', expected argument " "2"" of type '" "int""'");
14718 arg2
= static_cast< int >(val2
);
14719 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14720 if (!SWIG_IsOK(res3
)) {
14721 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetRowAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14723 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 (arg1
)->SetRowAttr(arg2
,arg3
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= SWIG_Py_Void();
14737 SWIGINTERN PyObject
*_wrap_Grid_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
= 0;
14739 wxGrid
*arg1
= (wxGrid
*) 0 ;
14741 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14748 PyObject
* obj0
= 0 ;
14749 PyObject
* obj1
= 0 ;
14750 PyObject
* obj2
= 0 ;
14751 char * kwnames
[] = {
14752 (char *) "self",(char *) "col",(char *) "attr", NULL
14755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14757 if (!SWIG_IsOK(res1
)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14760 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14762 if (!SWIG_IsOK(ecode2
)) {
14763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColAttr" "', expected argument " "2"" of type '" "int""'");
14765 arg2
= static_cast< int >(val2
);
14766 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14767 if (!SWIG_IsOK(res3
)) {
14768 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetColAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14770 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 (arg1
)->SetColAttr(arg2
,arg3
);
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= SWIG_Py_Void();
14784 SWIGINTERN PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
= 0;
14786 wxGrid
*arg1
= (wxGrid
*) 0 ;
14789 wxGridCellAttr
*result
= 0 ;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14798 PyObject
* obj2
= 0 ;
14799 char * kwnames
[] = {
14800 (char *) "self",(char *) "row",(char *) "col", NULL
14803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14805 if (!SWIG_IsOK(res1
)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "1"" of type '" "wxGrid const *""'");
14808 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14810 if (!SWIG_IsOK(ecode2
)) {
14811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "2"" of type '" "int""'");
14813 arg2
= static_cast< int >(val2
);
14814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14815 if (!SWIG_IsOK(ecode3
)) {
14816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "3"" of type '" "int""'");
14818 arg3
= static_cast< int >(val3
);
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
14834 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
= 0;
14836 wxGrid
*arg1
= (wxGrid
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 char * kwnames
[] = {
14845 (char *) "self",(char *) "col", NULL
14848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14850 if (!SWIG_IsOK(res1
)) {
14851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatBool" "', expected argument " "1"" of type '" "wxGrid *""'");
14853 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14855 if (!SWIG_IsOK(ecode2
)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatBool" "', expected argument " "2"" of type '" "int""'");
14858 arg2
= static_cast< int >(val2
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 (arg1
)->SetColFormatBool(arg2
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= SWIG_Py_Void();
14872 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
= 0;
14874 wxGrid
*arg1
= (wxGrid
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 PyObject
* obj1
= 0 ;
14882 char * kwnames
[] = {
14883 (char *) "self",(char *) "col", NULL
14886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14888 if (!SWIG_IsOK(res1
)) {
14889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "1"" of type '" "wxGrid *""'");
14891 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14893 if (!SWIG_IsOK(ecode2
)) {
14894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "2"" of type '" "int""'");
14896 arg2
= static_cast< int >(val2
);
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 (arg1
)->SetColFormatNumber(arg2
);
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= SWIG_Py_Void();
14910 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
= 0;
14912 wxGrid
*arg1
= (wxGrid
*) 0 ;
14914 int arg3
= (int) -1 ;
14915 int arg4
= (int) -1 ;
14924 PyObject
* obj0
= 0 ;
14925 PyObject
* obj1
= 0 ;
14926 PyObject
* obj2
= 0 ;
14927 PyObject
* obj3
= 0 ;
14928 char * kwnames
[] = {
14929 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
14932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14934 if (!SWIG_IsOK(res1
)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "1"" of type '" "wxGrid *""'");
14937 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14939 if (!SWIG_IsOK(ecode2
)) {
14940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "2"" of type '" "int""'");
14942 arg2
= static_cast< int >(val2
);
14944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14945 if (!SWIG_IsOK(ecode3
)) {
14946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "3"" of type '" "int""'");
14948 arg3
= static_cast< int >(val3
);
14951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14952 if (!SWIG_IsOK(ecode4
)) {
14953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "4"" of type '" "int""'");
14955 arg4
= static_cast< int >(val4
);
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= SWIG_Py_Void();
14970 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
= 0;
14972 wxGrid
*arg1
= (wxGrid
*) 0 ;
14974 wxString
*arg3
= 0 ;
14979 bool temp3
= false ;
14980 PyObject
* obj0
= 0 ;
14981 PyObject
* obj1
= 0 ;
14982 PyObject
* obj2
= 0 ;
14983 char * kwnames
[] = {
14984 (char *) "self",(char *) "col",(char *) "typeName", NULL
14987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14989 if (!SWIG_IsOK(res1
)) {
14990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "1"" of type '" "wxGrid *""'");
14992 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14994 if (!SWIG_IsOK(ecode2
)) {
14995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "2"" of type '" "int""'");
14997 arg2
= static_cast< int >(val2
);
14999 arg3
= wxString_in_helper(obj2
);
15000 if (arg3
== NULL
) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= SWIG_Py_Void();
15024 SWIGINTERN PyObject
*_wrap_Grid_EnableGridLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
= 0;
15026 wxGrid
*arg1
= (wxGrid
*) 0 ;
15027 bool arg2
= (bool) true ;
15032 PyObject
* obj0
= 0 ;
15033 PyObject
* obj1
= 0 ;
15034 char * kwnames
[] = {
15035 (char *) "self",(char *) "enable", NULL
15038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15040 if (!SWIG_IsOK(res1
)) {
15041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableGridLines" "', expected argument " "1"" of type '" "wxGrid *""'");
15043 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15045 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15046 if (!SWIG_IsOK(ecode2
)) {
15047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableGridLines" "', expected argument " "2"" of type '" "bool""'");
15049 arg2
= static_cast< bool >(val2
);
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 (arg1
)->EnableGridLines(arg2
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_Py_Void();
15064 SWIGINTERN PyObject
*_wrap_Grid_GridLinesEnabled(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_GridLinesEnabled" "', expected argument " "1"" of type '" "wxGrid *""'");
15078 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (bool)(arg1
)->GridLinesEnabled();
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15094 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15095 PyObject
*resultobj
= 0;
15096 wxGrid
*arg1
= (wxGrid
*) 0 ;
15100 PyObject
*swig_obj
[1] ;
15102 if (!args
) SWIG_fail
;
15103 swig_obj
[0] = args
;
15104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15105 if (!SWIG_IsOK(res1
)) {
15106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15108 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 result
= (int)(arg1
)->GetDefaultRowSize();
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_From_int(static_cast< int >(result
));
15122 SWIGINTERN PyObject
*_wrap_Grid_GetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
= 0;
15124 wxGrid
*arg1
= (wxGrid
*) 0 ;
15131 PyObject
* obj0
= 0 ;
15132 PyObject
* obj1
= 0 ;
15133 char * kwnames
[] = {
15134 (char *) "self",(char *) "row", NULL
15137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15139 if (!SWIG_IsOK(res1
)) {
15140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15142 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15144 if (!SWIG_IsOK(ecode2
)) {
15145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowSize" "', expected argument " "2"" of type '" "int""'");
15147 arg2
= static_cast< int >(val2
);
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (int)(arg1
)->GetRowSize(arg2
);
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= SWIG_From_int(static_cast< int >(result
));
15161 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15162 PyObject
*resultobj
= 0;
15163 wxGrid
*arg1
= (wxGrid
*) 0 ;
15167 PyObject
*swig_obj
[1] ;
15169 if (!args
) SWIG_fail
;
15170 swig_obj
[0] = args
;
15171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15172 if (!SWIG_IsOK(res1
)) {
15173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15175 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 result
= (int)(arg1
)->GetDefaultColSize();
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= SWIG_From_int(static_cast< int >(result
));
15189 SWIGINTERN PyObject
*_wrap_Grid_GetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
= 0;
15191 wxGrid
*arg1
= (wxGrid
*) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 char * kwnames
[] = {
15201 (char *) "self",(char *) "col", NULL
15204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15209 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15211 if (!SWIG_IsOK(ecode2
)) {
15212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColSize" "', expected argument " "2"" of type '" "int""'");
15214 arg2
= static_cast< int >(val2
);
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (int)(arg1
)->GetColSize(arg2
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= SWIG_From_int(static_cast< int >(result
));
15228 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15229 PyObject
*resultobj
= 0;
15230 wxGrid
*arg1
= (wxGrid
*) 0 ;
15234 PyObject
*swig_obj
[1] ;
15236 if (!args
) SWIG_fail
;
15237 swig_obj
[0] = args
;
15238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15239 if (!SWIG_IsOK(res1
)) {
15240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15242 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 result
= (arg1
)->GetDefaultCellBackgroundColour();
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15256 SWIGINTERN PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
= 0;
15258 wxGrid
*arg1
= (wxGrid
*) 0 ;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 PyObject
* obj2
= 0 ;
15271 char * kwnames
[] = {
15272 (char *) "self",(char *) "row",(char *) "col", NULL
15275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15277 if (!SWIG_IsOK(res1
)) {
15278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15280 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15282 if (!SWIG_IsOK(ecode2
)) {
15283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
15285 arg2
= static_cast< int >(val2
);
15286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15287 if (!SWIG_IsOK(ecode3
)) {
15288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
15290 arg3
= static_cast< int >(val3
);
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15297 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15304 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15305 PyObject
*resultobj
= 0;
15306 wxGrid
*arg1
= (wxGrid
*) 0 ;
15310 PyObject
*swig_obj
[1] ;
15312 if (!args
) SWIG_fail
;
15313 swig_obj
[0] = args
;
15314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15315 if (!SWIG_IsOK(res1
)) {
15316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15318 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (arg1
)->GetDefaultCellTextColour();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15332 SWIGINTERN PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
= 0;
15334 wxGrid
*arg1
= (wxGrid
*) 0 ;
15344 PyObject
* obj0
= 0 ;
15345 PyObject
* obj1
= 0 ;
15346 PyObject
* obj2
= 0 ;
15347 char * kwnames
[] = {
15348 (char *) "self",(char *) "row",(char *) "col", NULL
15351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15353 if (!SWIG_IsOK(res1
)) {
15354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15356 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15358 if (!SWIG_IsOK(ecode2
)) {
15359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellTextColour" "', expected argument " "2"" of type '" "int""'");
15361 arg2
= static_cast< int >(val2
);
15362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15363 if (!SWIG_IsOK(ecode3
)) {
15364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellTextColour" "', expected argument " "3"" of type '" "int""'");
15366 arg3
= static_cast< int >(val3
);
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15380 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15381 PyObject
*resultobj
= 0;
15382 wxGrid
*arg1
= (wxGrid
*) 0 ;
15386 PyObject
*swig_obj
[1] ;
15388 if (!args
) SWIG_fail
;
15389 swig_obj
[0] = args
;
15390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15391 if (!SWIG_IsOK(res1
)) {
15392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15394 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (arg1
)->GetDefaultCellFont();
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15408 SWIGINTERN PyObject
*_wrap_Grid_GetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
= 0;
15410 wxGrid
*arg1
= (wxGrid
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 PyObject
* obj2
= 0 ;
15423 char * kwnames
[] = {
15424 (char *) "self",(char *) "row",(char *) "col", NULL
15427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15429 if (!SWIG_IsOK(res1
)) {
15430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15432 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15434 if (!SWIG_IsOK(ecode2
)) {
15435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellFont" "', expected argument " "2"" of type '" "int""'");
15437 arg2
= static_cast< int >(val2
);
15438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15439 if (!SWIG_IsOK(ecode3
)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellFont" "', expected argument " "3"" of type '" "int""'");
15442 arg3
= static_cast< int >(val3
);
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (arg1
)->GetCellFont(arg2
,arg3
);
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15456 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15457 PyObject
*resultobj
= 0;
15458 wxGrid
*arg1
= (wxGrid
*) 0 ;
15459 int *arg2
= (int *) 0 ;
15460 int *arg3
= (int *) 0 ;
15464 int res2
= SWIG_TMPOBJ
;
15466 int res3
= SWIG_TMPOBJ
;
15467 PyObject
*swig_obj
[1] ;
15471 if (!args
) SWIG_fail
;
15472 swig_obj
[0] = args
;
15473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15474 if (!SWIG_IsOK(res1
)) {
15475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15477 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= SWIG_Py_Void();
15485 if (SWIG_IsTmpObj(res2
)) {
15486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
15488 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
15491 if (SWIG_IsTmpObj(res3
)) {
15492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
15494 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
15503 SWIGINTERN PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
= 0;
15505 wxGrid
*arg1
= (wxGrid
*) 0 ;
15508 int *arg4
= (int *) 0 ;
15509 int *arg5
= (int *) 0 ;
15517 int res4
= SWIG_TMPOBJ
;
15519 int res5
= SWIG_TMPOBJ
;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 PyObject
* obj2
= 0 ;
15523 char * kwnames
[] = {
15524 (char *) "self",(char *) "row",(char *) "col", NULL
15529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15531 if (!SWIG_IsOK(res1
)) {
15532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15534 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15536 if (!SWIG_IsOK(ecode2
)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellAlignment" "', expected argument " "2"" of type '" "int""'");
15539 arg2
= static_cast< int >(val2
);
15540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15541 if (!SWIG_IsOK(ecode3
)) {
15542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellAlignment" "', expected argument " "3"" of type '" "int""'");
15544 arg3
= static_cast< int >(val3
);
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= SWIG_Py_Void();
15552 if (SWIG_IsTmpObj(res4
)) {
15553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15555 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15558 if (SWIG_IsTmpObj(res5
)) {
15559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15561 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15570 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15571 PyObject
*resultobj
= 0;
15572 wxGrid
*arg1
= (wxGrid
*) 0 ;
15576 PyObject
*swig_obj
[1] ;
15578 if (!args
) SWIG_fail
;
15579 swig_obj
[0] = args
;
15580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15581 if (!SWIG_IsOK(res1
)) {
15582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15584 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (bool)(arg1
)->GetDefaultCellOverflow();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15600 SWIGINTERN PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
= 0;
15602 wxGrid
*arg1
= (wxGrid
*) 0 ;
15612 PyObject
* obj0
= 0 ;
15613 PyObject
* obj1
= 0 ;
15614 PyObject
* obj2
= 0 ;
15615 char * kwnames
[] = {
15616 (char *) "self",(char *) "row",(char *) "col", NULL
15619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15621 if (!SWIG_IsOK(res1
)) {
15622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15624 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15626 if (!SWIG_IsOK(ecode2
)) {
15627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellOverflow" "', expected argument " "2"" of type '" "int""'");
15629 arg2
= static_cast< int >(val2
);
15630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15631 if (!SWIG_IsOK(ecode3
)) {
15632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellOverflow" "', expected argument " "3"" of type '" "int""'");
15634 arg3
= static_cast< int >(val3
);
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15650 SWIGINTERN PyObject
*_wrap_Grid_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
= 0;
15652 wxGrid
*arg1
= (wxGrid
*) 0 ;
15655 int *arg4
= (int *) 0 ;
15656 int *arg5
= (int *) 0 ;
15664 int res4
= SWIG_TMPOBJ
;
15666 int res5
= SWIG_TMPOBJ
;
15667 PyObject
* obj0
= 0 ;
15668 PyObject
* obj1
= 0 ;
15669 PyObject
* obj2
= 0 ;
15670 char * kwnames
[] = {
15671 (char *) "self",(char *) "row",(char *) "col", NULL
15676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15678 if (!SWIG_IsOK(res1
)) {
15679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15681 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15683 if (!SWIG_IsOK(ecode2
)) {
15684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellSize" "', expected argument " "2"" of type '" "int""'");
15686 arg2
= static_cast< int >(val2
);
15687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15688 if (!SWIG_IsOK(ecode3
)) {
15689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellSize" "', expected argument " "3"" of type '" "int""'");
15691 arg3
= static_cast< int >(val3
);
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= SWIG_Py_Void();
15699 if (SWIG_IsTmpObj(res4
)) {
15700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15702 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15705 if (SWIG_IsTmpObj(res5
)) {
15706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15708 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15717 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
= 0;
15719 wxGrid
*arg1
= (wxGrid
*) 0 ;
15721 bool arg3
= (bool) false ;
15728 PyObject
* obj0
= 0 ;
15729 PyObject
* obj1
= 0 ;
15730 PyObject
* obj2
= 0 ;
15731 char * kwnames
[] = {
15732 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
15735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15737 if (!SWIG_IsOK(res1
)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15740 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15742 if (!SWIG_IsOK(ecode2
)) {
15743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "2"" of type '" "int""'");
15745 arg2
= static_cast< int >(val2
);
15747 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15748 if (!SWIG_IsOK(ecode3
)) {
15749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "3"" of type '" "bool""'");
15751 arg3
= static_cast< bool >(val3
);
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= SWIG_Py_Void();
15766 SWIGINTERN PyObject
*_wrap_Grid_SetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
= 0;
15768 wxGrid
*arg1
= (wxGrid
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 PyObject
* obj2
= 0 ;
15780 char * kwnames
[] = {
15781 (char *) "self",(char *) "row",(char *) "height", NULL
15784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15786 if (!SWIG_IsOK(res1
)) {
15787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15789 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15791 if (!SWIG_IsOK(ecode2
)) {
15792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowSize" "', expected argument " "2"" of type '" "int""'");
15794 arg2
= static_cast< int >(val2
);
15795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15796 if (!SWIG_IsOK(ecode3
)) {
15797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowSize" "', expected argument " "3"" of type '" "int""'");
15799 arg3
= static_cast< int >(val3
);
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 (arg1
)->SetRowSize(arg2
,arg3
);
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= SWIG_Py_Void();
15813 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
= 0;
15815 wxGrid
*arg1
= (wxGrid
*) 0 ;
15817 bool arg3
= (bool) false ;
15824 PyObject
* obj0
= 0 ;
15825 PyObject
* obj1
= 0 ;
15826 PyObject
* obj2
= 0 ;
15827 char * kwnames
[] = {
15828 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
15831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15833 if (!SWIG_IsOK(res1
)) {
15834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15836 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15838 if (!SWIG_IsOK(ecode2
)) {
15839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "2"" of type '" "int""'");
15841 arg2
= static_cast< int >(val2
);
15843 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15844 if (!SWIG_IsOK(ecode3
)) {
15845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "3"" of type '" "bool""'");
15847 arg3
= static_cast< bool >(val3
);
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 (arg1
)->SetDefaultColSize(arg2
,arg3
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= SWIG_Py_Void();
15862 SWIGINTERN PyObject
*_wrap_Grid_SetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
= 0;
15864 wxGrid
*arg1
= (wxGrid
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 PyObject
* obj1
= 0 ;
15875 PyObject
* obj2
= 0 ;
15876 char * kwnames
[] = {
15877 (char *) "self",(char *) "col",(char *) "width", NULL
15880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15882 if (!SWIG_IsOK(res1
)) {
15883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15885 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15887 if (!SWIG_IsOK(ecode2
)) {
15888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColSize" "', expected argument " "2"" of type '" "int""'");
15890 arg2
= static_cast< int >(val2
);
15891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15892 if (!SWIG_IsOK(ecode3
)) {
15893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColSize" "', expected argument " "3"" of type '" "int""'");
15895 arg3
= static_cast< int >(val3
);
15897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15898 (arg1
)->SetColSize(arg2
,arg3
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= SWIG_Py_Void();
15909 SWIGINTERN PyObject
*_wrap_Grid_GetColAt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
= 0;
15911 wxGrid
*arg1
= (wxGrid
*) 0 ;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 char * kwnames
[] = {
15921 (char *) "self",(char *) "colPos", NULL
15924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColAt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15926 if (!SWIG_IsOK(res1
)) {
15927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColAt" "', expected argument " "1"" of type '" "wxGrid const *""'");
15929 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15931 if (!SWIG_IsOK(ecode2
)) {
15932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColAt" "', expected argument " "2"" of type '" "int""'");
15934 arg2
= static_cast< int >(val2
);
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 result
= (int)((wxGrid
const *)arg1
)->GetColAt(arg2
);
15938 wxPyEndAllowThreads(__tstate
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15941 resultobj
= SWIG_From_int(static_cast< int >(result
));
15948 SWIGINTERN PyObject
*_wrap_Grid_SetColPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
= 0;
15950 wxGrid
*arg1
= (wxGrid
*) 0 ;
15959 PyObject
* obj0
= 0 ;
15960 PyObject
* obj1
= 0 ;
15961 PyObject
* obj2
= 0 ;
15962 char * kwnames
[] = {
15963 (char *) "self",(char *) "colID",(char *) "newPos", NULL
15966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15968 if (!SWIG_IsOK(res1
)) {
15969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColPos" "', expected argument " "1"" of type '" "wxGrid *""'");
15971 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15973 if (!SWIG_IsOK(ecode2
)) {
15974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColPos" "', expected argument " "2"" of type '" "int""'");
15976 arg2
= static_cast< int >(val2
);
15977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15978 if (!SWIG_IsOK(ecode3
)) {
15979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColPos" "', expected argument " "3"" of type '" "int""'");
15981 arg3
= static_cast< int >(val3
);
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 (arg1
)->SetColPos(arg2
,arg3
);
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= SWIG_Py_Void();
15995 SWIGINTERN PyObject
*_wrap_Grid_GetColPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
= 0;
15997 wxGrid
*arg1
= (wxGrid
*) 0 ;
16004 PyObject
* obj0
= 0 ;
16005 PyObject
* obj1
= 0 ;
16006 char * kwnames
[] = {
16007 (char *) "self",(char *) "colID", NULL
16010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16012 if (!SWIG_IsOK(res1
)) {
16013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColPos" "', expected argument " "1"" of type '" "wxGrid const *""'");
16015 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16017 if (!SWIG_IsOK(ecode2
)) {
16018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColPos" "', expected argument " "2"" of type '" "int""'");
16020 arg2
= static_cast< int >(val2
);
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (int)((wxGrid
const *)arg1
)->GetColPos(arg2
);
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_From_int(static_cast< int >(result
));
16034 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
= 0;
16036 wxGrid
*arg1
= (wxGrid
*) 0 ;
16038 bool arg3
= (bool) true ;
16045 PyObject
* obj0
= 0 ;
16046 PyObject
* obj1
= 0 ;
16047 PyObject
* obj2
= 0 ;
16048 char * kwnames
[] = {
16049 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
16052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16054 if (!SWIG_IsOK(res1
)) {
16055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "1"" of type '" "wxGrid *""'");
16057 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16059 if (!SWIG_IsOK(ecode2
)) {
16060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "2"" of type '" "int""'");
16062 arg2
= static_cast< int >(val2
);
16064 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16065 if (!SWIG_IsOK(ecode3
)) {
16066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "3"" of type '" "bool""'");
16068 arg3
= static_cast< bool >(val3
);
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 (arg1
)->AutoSizeColumn(arg2
,arg3
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= SWIG_Py_Void();
16083 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
= 0;
16085 wxGrid
*arg1
= (wxGrid
*) 0 ;
16087 bool arg3
= (bool) true ;
16094 PyObject
* obj0
= 0 ;
16095 PyObject
* obj1
= 0 ;
16096 PyObject
* obj2
= 0 ;
16097 char * kwnames
[] = {
16098 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
16101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16103 if (!SWIG_IsOK(res1
)) {
16104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRow" "', expected argument " "1"" of type '" "wxGrid *""'");
16106 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16108 if (!SWIG_IsOK(ecode2
)) {
16109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRow" "', expected argument " "2"" of type '" "int""'");
16111 arg2
= static_cast< int >(val2
);
16113 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16114 if (!SWIG_IsOK(ecode3
)) {
16115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeRow" "', expected argument " "3"" of type '" "bool""'");
16117 arg3
= static_cast< bool >(val3
);
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 (arg1
)->AutoSizeRow(arg2
,arg3
);
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= SWIG_Py_Void();
16132 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16133 PyObject
*resultobj
= 0;
16134 wxGrid
*arg1
= (wxGrid
*) 0 ;
16135 bool arg2
= (bool) true ;
16140 PyObject
* obj0
= 0 ;
16141 PyObject
* obj1
= 0 ;
16142 char * kwnames
[] = {
16143 (char *) "self",(char *) "setAsMin", NULL
16146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16148 if (!SWIG_IsOK(res1
)) {
16149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "1"" of type '" "wxGrid *""'");
16151 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16153 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16154 if (!SWIG_IsOK(ecode2
)) {
16155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "2"" of type '" "bool""'");
16157 arg2
= static_cast< bool >(val2
);
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 (arg1
)->AutoSizeColumns(arg2
);
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16165 resultobj
= SWIG_Py_Void();
16172 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
= 0;
16174 wxGrid
*arg1
= (wxGrid
*) 0 ;
16175 bool arg2
= (bool) true ;
16180 PyObject
* obj0
= 0 ;
16181 PyObject
* obj1
= 0 ;
16182 char * kwnames
[] = {
16183 (char *) "self",(char *) "setAsMin", NULL
16186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16188 if (!SWIG_IsOK(res1
)) {
16189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRows" "', expected argument " "1"" of type '" "wxGrid *""'");
16191 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16193 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16194 if (!SWIG_IsOK(ecode2
)) {
16195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRows" "', expected argument " "2"" of type '" "bool""'");
16197 arg2
= static_cast< bool >(val2
);
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 (arg1
)->AutoSizeRows(arg2
);
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= SWIG_Py_Void();
16212 SWIGINTERN PyObject
*_wrap_Grid_AutoSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16213 PyObject
*resultobj
= 0;
16214 wxGrid
*arg1
= (wxGrid
*) 0 ;
16217 PyObject
*swig_obj
[1] ;
16219 if (!args
) SWIG_fail
;
16220 swig_obj
[0] = args
;
16221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16222 if (!SWIG_IsOK(res1
)) {
16223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16225 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 (arg1
)->AutoSize();
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= SWIG_Py_Void();
16239 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
= 0;
16241 wxGrid
*arg1
= (wxGrid
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 PyObject
* obj1
= 0 ;
16249 char * kwnames
[] = {
16250 (char *) "self",(char *) "row", NULL
16253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16255 if (!SWIG_IsOK(res1
)) {
16256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16258 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16260 if (!SWIG_IsOK(ecode2
)) {
16261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "2"" of type '" "int""'");
16263 arg2
= static_cast< int >(val2
);
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 (arg1
)->AutoSizeRowLabelSize(arg2
);
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= SWIG_Py_Void();
16277 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
= 0;
16279 wxGrid
*arg1
= (wxGrid
*) 0 ;
16285 PyObject
* obj0
= 0 ;
16286 PyObject
* obj1
= 0 ;
16287 char * kwnames
[] = {
16288 (char *) "self",(char *) "col", NULL
16291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16293 if (!SWIG_IsOK(res1
)) {
16294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16296 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16298 if (!SWIG_IsOK(ecode2
)) {
16299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "2"" of type '" "int""'");
16301 arg2
= static_cast< int >(val2
);
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 (arg1
)->AutoSizeColLabelSize(arg2
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= SWIG_Py_Void();
16315 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
= 0;
16317 wxGrid
*arg1
= (wxGrid
*) 0 ;
16326 PyObject
* obj0
= 0 ;
16327 PyObject
* obj1
= 0 ;
16328 PyObject
* obj2
= 0 ;
16329 char * kwnames
[] = {
16330 (char *) "self",(char *) "col",(char *) "width", NULL
16333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16335 if (!SWIG_IsOK(res1
)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
16338 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16340 if (!SWIG_IsOK(ecode2
)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "2"" of type '" "int""'");
16343 arg2
= static_cast< int >(val2
);
16344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16345 if (!SWIG_IsOK(ecode3
)) {
16346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "3"" of type '" "int""'");
16348 arg3
= static_cast< int >(val3
);
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= SWIG_Py_Void();
16362 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
= 0;
16364 wxGrid
*arg1
= (wxGrid
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 PyObject
* obj1
= 0 ;
16375 PyObject
* obj2
= 0 ;
16376 char * kwnames
[] = {
16377 (char *) "self",(char *) "row",(char *) "width", NULL
16380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16382 if (!SWIG_IsOK(res1
)) {
16383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16385 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16387 if (!SWIG_IsOK(ecode2
)) {
16388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "2"" of type '" "int""'");
16390 arg2
= static_cast< int >(val2
);
16391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16392 if (!SWIG_IsOK(ecode3
)) {
16393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "3"" of type '" "int""'");
16395 arg3
= static_cast< int >(val3
);
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16402 resultobj
= SWIG_Py_Void();
16409 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
= 0;
16411 wxGrid
*arg1
= (wxGrid
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 PyObject
* obj1
= 0 ;
16419 char * kwnames
[] = {
16420 (char *) "self",(char *) "width", NULL
16423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16425 if (!SWIG_IsOK(res1
)) {
16426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
16428 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16430 if (!SWIG_IsOK(ecode2
)) {
16431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "2"" of type '" "int""'");
16433 arg2
= static_cast< int >(val2
);
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= SWIG_Py_Void();
16447 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
= 0;
16449 wxGrid
*arg1
= (wxGrid
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 PyObject
* obj1
= 0 ;
16457 char * kwnames
[] = {
16458 (char *) "self",(char *) "width", NULL
16461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16463 if (!SWIG_IsOK(res1
)) {
16464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16466 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16468 if (!SWIG_IsOK(ecode2
)) {
16469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "2"" of type '" "int""'");
16471 arg2
= static_cast< int >(val2
);
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= SWIG_Py_Void();
16485 SWIGINTERN PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16486 PyObject
*resultobj
= 0;
16487 wxGrid
*arg1
= (wxGrid
*) 0 ;
16491 PyObject
*swig_obj
[1] ;
16493 if (!args
) SWIG_fail
;
16494 swig_obj
[0] = args
;
16495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16496 if (!SWIG_IsOK(res1
)) {
16497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid const *""'");
16499 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16506 resultobj
= SWIG_From_int(static_cast< int >(result
));
16513 SWIGINTERN PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16514 PyObject
*resultobj
= 0;
16515 wxGrid
*arg1
= (wxGrid
*) 0 ;
16519 PyObject
*swig_obj
[1] ;
16521 if (!args
) SWIG_fail
;
16522 swig_obj
[0] = args
;
16523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16524 if (!SWIG_IsOK(res1
)) {
16525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid const *""'");
16527 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= SWIG_From_int(static_cast< int >(result
));
16541 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
= 0;
16543 wxGrid
*arg1
= (wxGrid
*) 0 ;
16544 wxColour
*arg2
= 0 ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 char * kwnames
[] = {
16551 (char *) "self",(char *)"arg2", NULL
16554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16556 if (!SWIG_IsOK(res1
)) {
16557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16559 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16562 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16570 resultobj
= SWIG_Py_Void();
16577 SWIGINTERN PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
= 0;
16579 wxGrid
*arg1
= (wxGrid
*) 0 ;
16582 wxColour
*arg4
= 0 ;
16590 PyObject
* obj0
= 0 ;
16591 PyObject
* obj1
= 0 ;
16592 PyObject
* obj2
= 0 ;
16593 PyObject
* obj3
= 0 ;
16594 char * kwnames
[] = {
16595 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16600 if (!SWIG_IsOK(res1
)) {
16601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16603 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16605 if (!SWIG_IsOK(ecode2
)) {
16606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
16608 arg2
= static_cast< int >(val2
);
16609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16610 if (!SWIG_IsOK(ecode3
)) {
16611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
16613 arg3
= static_cast< int >(val3
);
16616 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= SWIG_Py_Void();
16631 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
= 0;
16633 wxGrid
*arg1
= (wxGrid
*) 0 ;
16634 wxColour
*arg2
= 0 ;
16638 PyObject
* obj0
= 0 ;
16639 PyObject
* obj1
= 0 ;
16640 char * kwnames
[] = {
16641 (char *) "self",(char *)"arg2", NULL
16644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16646 if (!SWIG_IsOK(res1
)) {
16647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16649 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16652 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= SWIG_Py_Void();
16667 SWIGINTERN PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
= 0;
16669 wxGrid
*arg1
= (wxGrid
*) 0 ;
16672 wxColour
*arg4
= 0 ;
16680 PyObject
* obj0
= 0 ;
16681 PyObject
* obj1
= 0 ;
16682 PyObject
* obj2
= 0 ;
16683 PyObject
* obj3
= 0 ;
16684 char * kwnames
[] = {
16685 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_SetCellTextColour" "', 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_SetCellTextColour" "', 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_SetCellTextColour" "', expected argument " "3"" of type '" "int""'");
16703 arg3
= static_cast< int >(val3
);
16706 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= SWIG_Py_Void();
16721 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
= 0;
16723 wxGrid
*arg1
= (wxGrid
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 PyObject
* obj1
= 0 ;
16731 char * kwnames
[] = {
16732 (char *) "self",(char *)"arg2", NULL
16735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16737 if (!SWIG_IsOK(res1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16740 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
16742 if (!SWIG_IsOK(res2
)) {
16743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16748 arg2
= reinterpret_cast< wxFont
* >(argp2
);
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= SWIG_Py_Void();
16762 SWIGINTERN PyObject
*_wrap_Grid_SetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
= 0;
16764 wxGrid
*arg1
= (wxGrid
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 PyObject
* obj2
= 0 ;
16779 PyObject
* obj3
= 0 ;
16780 char * kwnames
[] = {
16781 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16786 if (!SWIG_IsOK(res1
)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16789 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16791 if (!SWIG_IsOK(ecode2
)) {
16792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellFont" "', expected argument " "2"" of type '" "int""'");
16794 arg2
= static_cast< int >(val2
);
16795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16796 if (!SWIG_IsOK(ecode3
)) {
16797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellFont" "', expected argument " "3"" of type '" "int""'");
16799 arg3
= static_cast< int >(val3
);
16800 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
16801 if (!SWIG_IsOK(res4
)) {
16802 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16807 arg4
= reinterpret_cast< wxFont
* >(argp4
);
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16814 resultobj
= SWIG_Py_Void();
16821 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
= 0;
16823 wxGrid
*arg1
= (wxGrid
*) 0 ;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 PyObject
* obj2
= 0 ;
16835 char * kwnames
[] = {
16836 (char *) "self",(char *) "horiz",(char *) "vert", NULL
16839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16841 if (!SWIG_IsOK(res1
)) {
16842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16844 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16846 if (!SWIG_IsOK(ecode2
)) {
16847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "2"" of type '" "int""'");
16849 arg2
= static_cast< int >(val2
);
16850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16851 if (!SWIG_IsOK(ecode3
)) {
16852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "3"" of type '" "int""'");
16854 arg3
= static_cast< int >(val3
);
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_Py_Void();
16868 SWIGINTERN PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
= 0;
16870 wxGrid
*arg1
= (wxGrid
*) 0 ;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 PyObject
* obj2
= 0 ;
16888 PyObject
* obj3
= 0 ;
16889 PyObject
* obj4
= 0 ;
16890 char * kwnames
[] = {
16891 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
16894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16896 if (!SWIG_IsOK(res1
)) {
16897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16899 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16901 if (!SWIG_IsOK(ecode2
)) {
16902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellAlignment" "', expected argument " "2"" of type '" "int""'");
16904 arg2
= static_cast< int >(val2
);
16905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16906 if (!SWIG_IsOK(ecode3
)) {
16907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellAlignment" "', expected argument " "3"" of type '" "int""'");
16909 arg3
= static_cast< int >(val3
);
16910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16911 if (!SWIG_IsOK(ecode4
)) {
16912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellAlignment" "', expected argument " "4"" of type '" "int""'");
16914 arg4
= static_cast< int >(val4
);
16915 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16916 if (!SWIG_IsOK(ecode5
)) {
16917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellAlignment" "', expected argument " "5"" of type '" "int""'");
16919 arg5
= static_cast< int >(val5
);
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_Py_Void();
16933 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
= 0;
16935 wxGrid
*arg1
= (wxGrid
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char * kwnames
[] = {
16944 (char *) "self",(char *) "allow", NULL
16947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16949 if (!SWIG_IsOK(res1
)) {
16950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16952 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16953 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16954 if (!SWIG_IsOK(ecode2
)) {
16955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "2"" of type '" "bool""'");
16957 arg2
= static_cast< bool >(val2
);
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 (arg1
)->SetDefaultCellOverflow(arg2
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= SWIG_Py_Void();
16971 SWIGINTERN PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
= 0;
16973 wxGrid
*arg1
= (wxGrid
*) 0 ;
16985 PyObject
* obj0
= 0 ;
16986 PyObject
* obj1
= 0 ;
16987 PyObject
* obj2
= 0 ;
16988 PyObject
* obj3
= 0 ;
16989 char * kwnames
[] = {
16990 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
16993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16995 if (!SWIG_IsOK(res1
)) {
16996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16998 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17000 if (!SWIG_IsOK(ecode2
)) {
17001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellOverflow" "', expected argument " "2"" of type '" "int""'");
17003 arg2
= static_cast< int >(val2
);
17004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17005 if (!SWIG_IsOK(ecode3
)) {
17006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellOverflow" "', expected argument " "3"" of type '" "int""'");
17008 arg3
= static_cast< int >(val3
);
17009 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17010 if (!SWIG_IsOK(ecode4
)) {
17011 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellOverflow" "', expected argument " "4"" of type '" "bool""'");
17013 arg4
= static_cast< bool >(val4
);
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= SWIG_Py_Void();
17027 SWIGINTERN PyObject
*_wrap_Grid_SetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
= 0;
17029 wxGrid
*arg1
= (wxGrid
*) 0 ;
17044 PyObject
* obj0
= 0 ;
17045 PyObject
* obj1
= 0 ;
17046 PyObject
* obj2
= 0 ;
17047 PyObject
* obj3
= 0 ;
17048 PyObject
* obj4
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17055 if (!SWIG_IsOK(res1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
17058 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17060 if (!SWIG_IsOK(ecode2
)) {
17061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellSize" "', expected argument " "2"" of type '" "int""'");
17063 arg2
= static_cast< int >(val2
);
17064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17065 if (!SWIG_IsOK(ecode3
)) {
17066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellSize" "', expected argument " "3"" of type '" "int""'");
17068 arg3
= static_cast< int >(val3
);
17069 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17070 if (!SWIG_IsOK(ecode4
)) {
17071 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellSize" "', expected argument " "4"" of type '" "int""'");
17073 arg4
= static_cast< int >(val4
);
17074 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17075 if (!SWIG_IsOK(ecode5
)) {
17076 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellSize" "', expected argument " "5"" of type '" "int""'");
17078 arg5
= static_cast< int >(val5
);
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= SWIG_Py_Void();
17092 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
= 0;
17094 wxGrid
*arg1
= (wxGrid
*) 0 ;
17095 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
17100 PyObject
* obj0
= 0 ;
17101 PyObject
* obj1
= 0 ;
17102 char * kwnames
[] = {
17103 (char *) "self",(char *) "renderer", NULL
17106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17108 if (!SWIG_IsOK(res1
)) {
17109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
17111 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17112 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
17113 if (!SWIG_IsOK(res2
)) {
17114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
17116 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 (arg1
)->SetDefaultRenderer(arg2
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_Py_Void();
17130 SWIGINTERN PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= 0;
17132 wxGrid
*arg1
= (wxGrid
*) 0 ;
17135 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 PyObject
* obj2
= 0 ;
17147 PyObject
* obj3
= 0 ;
17148 char * kwnames
[] = {
17149 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
17152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17154 if (!SWIG_IsOK(res1
)) {
17155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
17157 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17159 if (!SWIG_IsOK(ecode2
)) {
17160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellRenderer" "', expected argument " "2"" of type '" "int""'");
17162 arg2
= static_cast< int >(val2
);
17163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17164 if (!SWIG_IsOK(ecode3
)) {
17165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellRenderer" "', expected argument " "3"" of type '" "int""'");
17167 arg3
= static_cast< int >(val3
);
17168 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
17169 if (!SWIG_IsOK(res4
)) {
17170 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellRenderer" "', expected argument " "4"" of type '" "wxGridCellRenderer *""'");
17172 arg4
= reinterpret_cast< wxGridCellRenderer
* >(argp4
);
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= SWIG_Py_Void();
17186 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17187 PyObject
*resultobj
= 0;
17188 wxGrid
*arg1
= (wxGrid
*) 0 ;
17189 wxGridCellRenderer
*result
= 0 ;
17192 PyObject
*swig_obj
[1] ;
17194 if (!args
) SWIG_fail
;
17195 swig_obj
[0] = args
;
17196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17197 if (!SWIG_IsOK(res1
)) {
17198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid const *""'");
17200 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
17216 SWIGINTERN PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
= 0;
17218 wxGrid
*arg1
= (wxGrid
*) 0 ;
17221 wxGridCellRenderer
*result
= 0 ;
17228 PyObject
* obj0
= 0 ;
17229 PyObject
* obj1
= 0 ;
17230 PyObject
* obj2
= 0 ;
17231 char * kwnames
[] = {
17232 (char *) "self",(char *) "row",(char *) "col", NULL
17235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17237 if (!SWIG_IsOK(res1
)) {
17238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
17240 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17242 if (!SWIG_IsOK(ecode2
)) {
17243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellRenderer" "', expected argument " "2"" of type '" "int""'");
17245 arg2
= static_cast< int >(val2
);
17246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17247 if (!SWIG_IsOK(ecode3
)) {
17248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellRenderer" "', expected argument " "3"" of type '" "int""'");
17250 arg3
= static_cast< int >(val3
);
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
17266 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
= 0;
17268 wxGrid
*arg1
= (wxGrid
*) 0 ;
17269 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 PyObject
* obj1
= 0 ;
17276 char * kwnames
[] = {
17277 (char *) "self",(char *) "editor", NULL
17280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17282 if (!SWIG_IsOK(res1
)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17285 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
17287 if (!SWIG_IsOK(res2
)) {
17288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
17290 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 (arg1
)->SetDefaultEditor(arg2
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= SWIG_Py_Void();
17304 SWIGINTERN PyObject
*_wrap_Grid_SetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
= 0;
17306 wxGrid
*arg1
= (wxGrid
*) 0 ;
17309 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
17318 PyObject
* obj0
= 0 ;
17319 PyObject
* obj1
= 0 ;
17320 PyObject
* obj2
= 0 ;
17321 PyObject
* obj3
= 0 ;
17322 char * kwnames
[] = {
17323 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
17326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17328 if (!SWIG_IsOK(res1
)) {
17329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17331 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17333 if (!SWIG_IsOK(ecode2
)) {
17334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellEditor" "', expected argument " "2"" of type '" "int""'");
17336 arg2
= static_cast< int >(val2
);
17337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17338 if (!SWIG_IsOK(ecode3
)) {
17339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellEditor" "', expected argument " "3"" of type '" "int""'");
17341 arg3
= static_cast< int >(val3
);
17342 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
17343 if (!SWIG_IsOK(res4
)) {
17344 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellEditor" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
17346 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= SWIG_Py_Void();
17360 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17361 PyObject
*resultobj
= 0;
17362 wxGrid
*arg1
= (wxGrid
*) 0 ;
17363 wxGridCellEditor
*result
= 0 ;
17366 PyObject
*swig_obj
[1] ;
17368 if (!args
) SWIG_fail
;
17369 swig_obj
[0] = args
;
17370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17371 if (!SWIG_IsOK(res1
)) {
17372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid const *""'");
17374 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17390 SWIGINTERN PyObject
*_wrap_Grid_GetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
= 0;
17392 wxGrid
*arg1
= (wxGrid
*) 0 ;
17395 wxGridCellEditor
*result
= 0 ;
17402 PyObject
* obj0
= 0 ;
17403 PyObject
* obj1
= 0 ;
17404 PyObject
* obj2
= 0 ;
17405 char * kwnames
[] = {
17406 (char *) "self",(char *) "row",(char *) "col", NULL
17409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17411 if (!SWIG_IsOK(res1
)) {
17412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17414 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17416 if (!SWIG_IsOK(ecode2
)) {
17417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellEditor" "', expected argument " "2"" of type '" "int""'");
17419 arg2
= static_cast< int >(val2
);
17420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17421 if (!SWIG_IsOK(ecode3
)) {
17422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellEditor" "', expected argument " "3"" of type '" "int""'");
17424 arg3
= static_cast< int >(val3
);
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17440 SWIGINTERN PyObject
*_wrap_Grid_GetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
= 0;
17442 wxGrid
*arg1
= (wxGrid
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 PyObject
* obj2
= 0 ;
17455 char * kwnames
[] = {
17456 (char *) "self",(char *) "row",(char *) "col", NULL
17459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17461 if (!SWIG_IsOK(res1
)) {
17462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17464 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17466 if (!SWIG_IsOK(ecode2
)) {
17467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellValue" "', expected argument " "2"" of type '" "int""'");
17469 arg2
= static_cast< int >(val2
);
17470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17471 if (!SWIG_IsOK(ecode3
)) {
17472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellValue" "', expected argument " "3"" of type '" "int""'");
17474 arg3
= static_cast< int >(val3
);
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (arg1
)->GetCellValue(arg2
,arg3
);
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17494 SWIGINTERN PyObject
*_wrap_Grid_SetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
= 0;
17496 wxGrid
*arg1
= (wxGrid
*) 0 ;
17499 wxString
*arg4
= 0 ;
17506 bool temp4
= false ;
17507 PyObject
* obj0
= 0 ;
17508 PyObject
* obj1
= 0 ;
17509 PyObject
* obj2
= 0 ;
17510 PyObject
* obj3
= 0 ;
17511 char * kwnames
[] = {
17512 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
17515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17517 if (!SWIG_IsOK(res1
)) {
17518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17520 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17522 if (!SWIG_IsOK(ecode2
)) {
17523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellValue" "', expected argument " "2"" of type '" "int""'");
17525 arg2
= static_cast< int >(val2
);
17526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17527 if (!SWIG_IsOK(ecode3
)) {
17528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellValue" "', expected argument " "3"" of type '" "int""'");
17530 arg3
= static_cast< int >(val3
);
17532 arg4
= wxString_in_helper(obj3
);
17533 if (arg4
== NULL
) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= SWIG_Py_Void();
17557 SWIGINTERN PyObject
*_wrap_Grid_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
= 0;
17559 wxGrid
*arg1
= (wxGrid
*) 0 ;
17569 PyObject
* obj0
= 0 ;
17570 PyObject
* obj1
= 0 ;
17571 PyObject
* obj2
= 0 ;
17572 char * kwnames
[] = {
17573 (char *) "self",(char *) "row",(char *) "col", NULL
17576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17578 if (!SWIG_IsOK(res1
)) {
17579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
17581 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17583 if (!SWIG_IsOK(ecode2
)) {
17584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsReadOnly" "', expected argument " "2"" of type '" "int""'");
17586 arg2
= static_cast< int >(val2
);
17587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17588 if (!SWIG_IsOK(ecode3
)) {
17589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsReadOnly" "', expected argument " "3"" of type '" "int""'");
17591 arg3
= static_cast< int >(val3
);
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17607 SWIGINTERN PyObject
*_wrap_Grid_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
= 0;
17609 wxGrid
*arg1
= (wxGrid
*) 0 ;
17612 bool arg4
= (bool) true ;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 PyObject
* obj2
= 0 ;
17624 PyObject
* obj3
= 0 ;
17625 char * kwnames
[] = {
17626 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
17629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17631 if (!SWIG_IsOK(res1
)) {
17632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetReadOnly" "', expected argument " "1"" of type '" "wxGrid *""'");
17634 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17636 if (!SWIG_IsOK(ecode2
)) {
17637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetReadOnly" "', expected argument " "2"" of type '" "int""'");
17639 arg2
= static_cast< int >(val2
);
17640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17641 if (!SWIG_IsOK(ecode3
)) {
17642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetReadOnly" "', expected argument " "3"" of type '" "int""'");
17644 arg3
= static_cast< int >(val3
);
17646 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17647 if (!SWIG_IsOK(ecode4
)) {
17648 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetReadOnly" "', expected argument " "4"" of type '" "bool""'");
17650 arg4
= static_cast< bool >(val4
);
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= SWIG_Py_Void();
17665 SWIGINTERN PyObject
*_wrap_Grid_SelectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
= 0;
17667 wxGrid
*arg1
= (wxGrid
*) 0 ;
17669 bool arg3
= (bool) false ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 PyObject
* obj2
= 0 ;
17679 char * kwnames
[] = {
17680 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
17683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17685 if (!SWIG_IsOK(res1
)) {
17686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectRow" "', expected argument " "1"" of type '" "wxGrid *""'");
17688 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17690 if (!SWIG_IsOK(ecode2
)) {
17691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectRow" "', expected argument " "2"" of type '" "int""'");
17693 arg2
= static_cast< int >(val2
);
17695 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17696 if (!SWIG_IsOK(ecode3
)) {
17697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectRow" "', expected argument " "3"" of type '" "bool""'");
17699 arg3
= static_cast< bool >(val3
);
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 (arg1
)->SelectRow(arg2
,arg3
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_Py_Void();
17714 SWIGINTERN PyObject
*_wrap_Grid_SelectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
= 0;
17716 wxGrid
*arg1
= (wxGrid
*) 0 ;
17718 bool arg3
= (bool) false ;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 PyObject
* obj2
= 0 ;
17728 char * kwnames
[] = {
17729 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
17732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17734 if (!SWIG_IsOK(res1
)) {
17735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
17737 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17739 if (!SWIG_IsOK(ecode2
)) {
17740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectCol" "', expected argument " "2"" of type '" "int""'");
17742 arg2
= static_cast< int >(val2
);
17744 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17745 if (!SWIG_IsOK(ecode3
)) {
17746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectCol" "', expected argument " "3"" of type '" "bool""'");
17748 arg3
= static_cast< bool >(val3
);
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 (arg1
)->SelectCol(arg2
,arg3
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= SWIG_Py_Void();
17763 SWIGINTERN PyObject
*_wrap_Grid_SelectBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
= 0;
17765 wxGrid
*arg1
= (wxGrid
*) 0 ;
17770 bool arg6
= (bool) false ;
17783 PyObject
* obj0
= 0 ;
17784 PyObject
* obj1
= 0 ;
17785 PyObject
* obj2
= 0 ;
17786 PyObject
* obj3
= 0 ;
17787 PyObject
* obj4
= 0 ;
17788 PyObject
* obj5
= 0 ;
17789 char * kwnames
[] = {
17790 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
17793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17795 if (!SWIG_IsOK(res1
)) {
17796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
17798 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17800 if (!SWIG_IsOK(ecode2
)) {
17801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectBlock" "', expected argument " "2"" of type '" "int""'");
17803 arg2
= static_cast< int >(val2
);
17804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17805 if (!SWIG_IsOK(ecode3
)) {
17806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectBlock" "', expected argument " "3"" of type '" "int""'");
17808 arg3
= static_cast< int >(val3
);
17809 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17810 if (!SWIG_IsOK(ecode4
)) {
17811 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SelectBlock" "', expected argument " "4"" of type '" "int""'");
17813 arg4
= static_cast< int >(val4
);
17814 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17815 if (!SWIG_IsOK(ecode5
)) {
17816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SelectBlock" "', expected argument " "5"" of type '" "int""'");
17818 arg5
= static_cast< int >(val5
);
17820 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
17821 if (!SWIG_IsOK(ecode6
)) {
17822 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_SelectBlock" "', expected argument " "6"" of type '" "bool""'");
17824 arg6
= static_cast< bool >(val6
);
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= SWIG_Py_Void();
17839 SWIGINTERN PyObject
*_wrap_Grid_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17840 PyObject
*resultobj
= 0;
17841 wxGrid
*arg1
= (wxGrid
*) 0 ;
17844 PyObject
*swig_obj
[1] ;
17846 if (!args
) SWIG_fail
;
17847 swig_obj
[0] = args
;
17848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17849 if (!SWIG_IsOK(res1
)) {
17850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectAll" "', expected argument " "1"" of type '" "wxGrid *""'");
17852 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 (arg1
)->SelectAll();
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= SWIG_Py_Void();
17866 SWIGINTERN PyObject
*_wrap_Grid_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17867 PyObject
*resultobj
= 0;
17868 wxGrid
*arg1
= (wxGrid
*) 0 ;
17872 PyObject
*swig_obj
[1] ;
17874 if (!args
) SWIG_fail
;
17875 swig_obj
[0] = args
;
17876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17877 if (!SWIG_IsOK(res1
)) {
17878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17880 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (bool)(arg1
)->IsSelection();
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17896 SWIGINTERN PyObject
*_wrap_Grid_ClearSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17897 PyObject
*resultobj
= 0;
17898 wxGrid
*arg1
= (wxGrid
*) 0 ;
17901 PyObject
*swig_obj
[1] ;
17903 if (!args
) SWIG_fail
;
17904 swig_obj
[0] = args
;
17905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17906 if (!SWIG_IsOK(res1
)) {
17907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17909 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 (arg1
)->ClearSelection();
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_Py_Void();
17923 SWIGINTERN PyObject
*_wrap_Grid_IsInSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
= 0;
17925 wxGrid
*arg1
= (wxGrid
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 PyObject
* obj1
= 0 ;
17937 PyObject
* obj2
= 0 ;
17938 char * kwnames
[] = {
17939 (char *) "self",(char *) "row",(char *) "col", NULL
17942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17944 if (!SWIG_IsOK(res1
)) {
17945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsInSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17947 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17949 if (!SWIG_IsOK(ecode2
)) {
17950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsInSelection" "', expected argument " "2"" of type '" "int""'");
17952 arg2
= static_cast< int >(val2
);
17953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17954 if (!SWIG_IsOK(ecode3
)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsInSelection" "', expected argument " "3"" of type '" "int""'");
17957 arg3
= static_cast< int >(val3
);
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17973 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17974 PyObject
*resultobj
= 0;
17975 wxGrid
*arg1
= (wxGrid
*) 0 ;
17976 wxGridCellCoordsArray result
;
17979 PyObject
*swig_obj
[1] ;
17981 if (!args
) SWIG_fail
;
17982 swig_obj
[0] = args
;
17983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17984 if (!SWIG_IsOK(res1
)) {
17985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCells" "', expected argument " "1"" of type '" "wxGrid const *""'");
17987 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= wxGridCellCoordsArray_helper(result
);
18003 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18004 PyObject
*resultobj
= 0;
18005 wxGrid
*arg1
= (wxGrid
*) 0 ;
18006 wxGridCellCoordsArray result
;
18009 PyObject
*swig_obj
[1] ;
18011 if (!args
) SWIG_fail
;
18012 swig_obj
[0] = args
;
18013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18014 if (!SWIG_IsOK(res1
)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockTopLeft" "', expected argument " "1"" of type '" "wxGrid const *""'");
18017 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= wxGridCellCoordsArray_helper(result
);
18033 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18034 PyObject
*resultobj
= 0;
18035 wxGrid
*arg1
= (wxGrid
*) 0 ;
18036 wxGridCellCoordsArray result
;
18039 PyObject
*swig_obj
[1] ;
18041 if (!args
) SWIG_fail
;
18042 swig_obj
[0] = args
;
18043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18044 if (!SWIG_IsOK(res1
)) {
18045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockBottomRight" "', expected argument " "1"" of type '" "wxGrid const *""'");
18047 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= wxGridCellCoordsArray_helper(result
);
18063 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18064 PyObject
*resultobj
= 0;
18065 wxGrid
*arg1
= (wxGrid
*) 0 ;
18069 PyObject
*swig_obj
[1] ;
18071 if (!args
) SWIG_fail
;
18072 swig_obj
[0] = args
;
18073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18074 if (!SWIG_IsOK(res1
)) {
18075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedRows" "', expected argument " "1"" of type '" "wxGrid const *""'");
18077 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= wxArrayInt2PyList_helper(result
);
18093 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18094 PyObject
*resultobj
= 0;
18095 wxGrid
*arg1
= (wxGrid
*) 0 ;
18099 PyObject
*swig_obj
[1] ;
18101 if (!args
) SWIG_fail
;
18102 swig_obj
[0] = args
;
18103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18104 if (!SWIG_IsOK(res1
)) {
18105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCols" "', expected argument " "1"" of type '" "wxGrid const *""'");
18107 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18115 resultobj
= wxArrayInt2PyList_helper(result
);
18123 SWIGINTERN PyObject
*_wrap_Grid_DeselectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
= 0;
18125 wxGrid
*arg1
= (wxGrid
*) 0 ;
18131 PyObject
* obj0
= 0 ;
18132 PyObject
* obj1
= 0 ;
18133 char * kwnames
[] = {
18134 (char *) "self",(char *) "row", NULL
18137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18139 if (!SWIG_IsOK(res1
)) {
18140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectRow" "', expected argument " "1"" of type '" "wxGrid *""'");
18142 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18144 if (!SWIG_IsOK(ecode2
)) {
18145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectRow" "', expected argument " "2"" of type '" "int""'");
18147 arg2
= static_cast< int >(val2
);
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 (arg1
)->DeselectRow(arg2
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_Py_Void();
18161 SWIGINTERN PyObject
*_wrap_Grid_DeselectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
= 0;
18163 wxGrid
*arg1
= (wxGrid
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char * kwnames
[] = {
18172 (char *) "self",(char *) "col", NULL
18175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18177 if (!SWIG_IsOK(res1
)) {
18178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
18180 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18182 if (!SWIG_IsOK(ecode2
)) {
18183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCol" "', expected argument " "2"" of type '" "int""'");
18185 arg2
= static_cast< int >(val2
);
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->DeselectCol(arg2
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_Py_Void();
18199 SWIGINTERN PyObject
*_wrap_Grid_DeselectCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
= 0;
18201 wxGrid
*arg1
= (wxGrid
*) 0 ;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 PyObject
* obj2
= 0 ;
18213 char * kwnames
[] = {
18214 (char *) "self",(char *) "row",(char *) "col", NULL
18217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18219 if (!SWIG_IsOK(res1
)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCell" "', expected argument " "1"" of type '" "wxGrid *""'");
18222 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18224 if (!SWIG_IsOK(ecode2
)) {
18225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCell" "', expected argument " "2"" of type '" "int""'");
18227 arg2
= static_cast< int >(val2
);
18228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18229 if (!SWIG_IsOK(ecode3
)) {
18230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeselectCell" "', expected argument " "3"" of type '" "int""'");
18232 arg3
= static_cast< int >(val3
);
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 (arg1
)->DeselectCell(arg2
,arg3
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= SWIG_Py_Void();
18246 SWIGINTERN PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18247 PyObject
*resultobj
= 0;
18248 wxGrid
*arg1
= (wxGrid
*) 0 ;
18249 wxGridCellCoords
*arg2
= 0 ;
18250 wxGridCellCoords
*arg3
= 0 ;
18254 wxGridCellCoords temp2
;
18255 wxGridCellCoords temp3
;
18256 PyObject
* obj0
= 0 ;
18257 PyObject
* obj1
= 0 ;
18258 PyObject
* obj2
= 0 ;
18259 char * kwnames
[] = {
18260 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
18263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18265 if (!SWIG_IsOK(res1
)) {
18266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BlockToDeviceRect" "', expected argument " "1"" of type '" "wxGrid *""'");
18268 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18271 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
18275 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
18290 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18291 PyObject
*resultobj
= 0;
18292 wxGrid
*arg1
= (wxGrid
*) 0 ;
18296 PyObject
*swig_obj
[1] ;
18298 if (!args
) SWIG_fail
;
18299 swig_obj
[0] = args
;
18300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18301 if (!SWIG_IsOK(res1
)) {
18302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid const *""'");
18304 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18318 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18319 PyObject
*resultobj
= 0;
18320 wxGrid
*arg1
= (wxGrid
*) 0 ;
18324 PyObject
*swig_obj
[1] ;
18326 if (!args
) SWIG_fail
;
18327 swig_obj
[0] = args
;
18328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18329 if (!SWIG_IsOK(res1
)) {
18330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid const *""'");
18332 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18346 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
= 0;
18348 wxGrid
*arg1
= (wxGrid
*) 0 ;
18349 wxColour
*arg2
= 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char * kwnames
[] = {
18356 (char *) "self",(char *) "c", NULL
18359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18361 if (!SWIG_IsOK(res1
)) {
18362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid *""'");
18364 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
18372 wxPyEndAllowThreads(__tstate
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 resultobj
= SWIG_Py_Void();
18382 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
= 0;
18384 wxGrid
*arg1
= (wxGrid
*) 0 ;
18385 wxColour
*arg2
= 0 ;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 char * kwnames
[] = {
18392 (char *) "self",(char *) "c", NULL
18395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18397 if (!SWIG_IsOK(res1
)) {
18398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid *""'");
18400 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= SWIG_Py_Void();
18418 SWIGINTERN PyObject
*_wrap_Grid_RegisterDataType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
= 0;
18420 wxGrid
*arg1
= (wxGrid
*) 0 ;
18421 wxString
*arg2
= 0 ;
18422 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
18423 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
18426 bool temp2
= false ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 PyObject
* obj2
= 0 ;
18434 PyObject
* obj3
= 0 ;
18435 char * kwnames
[] = {
18436 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
18439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18441 if (!SWIG_IsOK(res1
)) {
18442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_RegisterDataType" "', expected argument " "1"" of type '" "wxGrid *""'");
18444 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18446 arg2
= wxString_in_helper(obj1
);
18447 if (arg2
== NULL
) SWIG_fail
;
18450 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
18451 if (!SWIG_IsOK(res3
)) {
18452 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_RegisterDataType" "', expected argument " "3"" of type '" "wxGridCellRenderer *""'");
18454 arg3
= reinterpret_cast< wxGridCellRenderer
* >(argp3
);
18455 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
18456 if (!SWIG_IsOK(res4
)) {
18457 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_RegisterDataType" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
18459 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= SWIG_Py_Void();
18481 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
= 0;
18483 wxGrid
*arg1
= (wxGrid
*) 0 ;
18486 wxGridCellEditor
*result
= 0 ;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 PyObject
* obj2
= 0 ;
18496 char * kwnames
[] = {
18497 (char *) "self",(char *) "row",(char *) "col", NULL
18500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18502 if (!SWIG_IsOK(res1
)) {
18503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18505 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18507 if (!SWIG_IsOK(ecode2
)) {
18508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "2"" of type '" "int""'");
18510 arg2
= static_cast< int >(val2
);
18511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18512 if (!SWIG_IsOK(ecode3
)) {
18513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "3"" of type '" "int""'");
18515 arg3
= static_cast< int >(val3
);
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18531 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
= 0;
18533 wxGrid
*arg1
= (wxGrid
*) 0 ;
18536 wxGridCellRenderer
*result
= 0 ;
18543 PyObject
* obj0
= 0 ;
18544 PyObject
* obj1
= 0 ;
18545 PyObject
* obj2
= 0 ;
18546 char * kwnames
[] = {
18547 (char *) "self",(char *) "row",(char *) "col", NULL
18550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18552 if (!SWIG_IsOK(res1
)) {
18553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18555 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18557 if (!SWIG_IsOK(ecode2
)) {
18558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "2"" of type '" "int""'");
18560 arg2
= static_cast< int >(val2
);
18561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18562 if (!SWIG_IsOK(ecode3
)) {
18563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "3"" of type '" "int""'");
18565 arg3
= static_cast< int >(val3
);
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18581 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
= 0;
18583 wxGrid
*arg1
= (wxGrid
*) 0 ;
18584 wxString
*arg2
= 0 ;
18585 wxGridCellEditor
*result
= 0 ;
18588 bool temp2
= false ;
18589 PyObject
* obj0
= 0 ;
18590 PyObject
* obj1
= 0 ;
18591 char * kwnames
[] = {
18592 (char *) "self",(char *) "typeName", NULL
18595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18597 if (!SWIG_IsOK(res1
)) {
18598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18600 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18602 arg2
= wxString_in_helper(obj1
);
18603 if (arg2
== NULL
) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18629 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
= 0;
18631 wxGrid
*arg1
= (wxGrid
*) 0 ;
18632 wxString
*arg2
= 0 ;
18633 wxGridCellRenderer
*result
= 0 ;
18636 bool temp2
= false ;
18637 PyObject
* obj0
= 0 ;
18638 PyObject
* obj1
= 0 ;
18639 char * kwnames
[] = {
18640 (char *) "self",(char *) "typeName", NULL
18643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18645 if (!SWIG_IsOK(res1
)) {
18646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18648 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18650 arg2
= wxString_in_helper(obj1
);
18651 if (arg2
== NULL
) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18677 SWIGINTERN PyObject
*_wrap_Grid_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
= 0;
18679 wxGrid
*arg1
= (wxGrid
*) 0 ;
18688 PyObject
* obj0
= 0 ;
18689 PyObject
* obj1
= 0 ;
18690 PyObject
* obj2
= 0 ;
18691 char * kwnames
[] = {
18692 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
18695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18697 if (!SWIG_IsOK(res1
)) {
18698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetMargins" "', expected argument " "1"" of type '" "wxGrid *""'");
18700 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18702 if (!SWIG_IsOK(ecode2
)) {
18703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetMargins" "', expected argument " "2"" of type '" "int""'");
18705 arg2
= static_cast< int >(val2
);
18706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18707 if (!SWIG_IsOK(ecode3
)) {
18708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetMargins" "', expected argument " "3"" of type '" "int""'");
18710 arg3
= static_cast< int >(val3
);
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 (arg1
)->SetMargins(arg2
,arg3
);
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18717 resultobj
= SWIG_Py_Void();
18724 SWIGINTERN PyObject
*_wrap_Grid_GetGridWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18725 PyObject
*resultobj
= 0;
18726 wxGrid
*arg1
= (wxGrid
*) 0 ;
18727 wxWindow
*result
= 0 ;
18730 PyObject
*swig_obj
[1] ;
18732 if (!args
) SWIG_fail
;
18733 swig_obj
[0] = args
;
18734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18735 if (!SWIG_IsOK(res1
)) {
18736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18738 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 result
= (wxWindow
*)(arg1
)->GetGridWindow();
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18746 resultobj
= wxPyMake_wxObject(result
, 0);
18754 SWIGINTERN PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18755 PyObject
*resultobj
= 0;
18756 wxGrid
*arg1
= (wxGrid
*) 0 ;
18757 wxWindow
*result
= 0 ;
18760 PyObject
*swig_obj
[1] ;
18762 if (!args
) SWIG_fail
;
18763 swig_obj
[0] = args
;
18764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18765 if (!SWIG_IsOK(res1
)) {
18766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridRowLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18768 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
18772 wxPyEndAllowThreads(__tstate
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18776 resultobj
= wxPyMake_wxObject(result
, 0);
18784 SWIGINTERN PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18785 PyObject
*resultobj
= 0;
18786 wxGrid
*arg1
= (wxGrid
*) 0 ;
18787 wxWindow
*result
= 0 ;
18790 PyObject
*swig_obj
[1] ;
18792 if (!args
) SWIG_fail
;
18793 swig_obj
[0] = args
;
18794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18795 if (!SWIG_IsOK(res1
)) {
18796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridColLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18798 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= wxPyMake_wxObject(result
, 0);
18814 SWIGINTERN PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18815 PyObject
*resultobj
= 0;
18816 wxGrid
*arg1
= (wxGrid
*) 0 ;
18817 wxWindow
*result
= 0 ;
18820 PyObject
*swig_obj
[1] ;
18822 if (!args
) SWIG_fail
;
18823 swig_obj
[0] = args
;
18824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18825 if (!SWIG_IsOK(res1
)) {
18826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCornerLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18828 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= wxPyMake_wxObject(result
, 0);
18844 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
= 0;
18846 wxGrid
*arg1
= (wxGrid
*) 0 ;
18852 PyObject
* obj0
= 0 ;
18853 PyObject
* obj1
= 0 ;
18854 char * kwnames
[] = {
18855 (char *) "self",(char *) "x", NULL
18858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18860 if (!SWIG_IsOK(res1
)) {
18861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineX" "', expected argument " "1"" of type '" "wxGrid *""'");
18863 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18865 if (!SWIG_IsOK(ecode2
)) {
18866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineX" "', expected argument " "2"" of type '" "int""'");
18868 arg2
= static_cast< int >(val2
);
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 (arg1
)->SetScrollLineX(arg2
);
18872 wxPyEndAllowThreads(__tstate
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18875 resultobj
= SWIG_Py_Void();
18882 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
= 0;
18884 wxGrid
*arg1
= (wxGrid
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 PyObject
* obj1
= 0 ;
18892 char * kwnames
[] = {
18893 (char *) "self",(char *) "y", NULL
18896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18898 if (!SWIG_IsOK(res1
)) {
18899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineY" "', expected argument " "1"" of type '" "wxGrid *""'");
18901 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18903 if (!SWIG_IsOK(ecode2
)) {
18904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineY" "', expected argument " "2"" of type '" "int""'");
18906 arg2
= static_cast< int >(val2
);
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 (arg1
)->SetScrollLineY(arg2
);
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= SWIG_Py_Void();
18920 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18921 PyObject
*resultobj
= 0;
18922 wxGrid
*arg1
= (wxGrid
*) 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_wxGrid
, 0 | 0 );
18931 if (!SWIG_IsOK(res1
)) {
18932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18934 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= SWIG_From_int(static_cast< int >(result
));
18948 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18949 PyObject
*resultobj
= 0;
18950 wxGrid
*arg1
= (wxGrid
*) 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_wxGrid
, 0 | 0 );
18959 if (!SWIG_IsOK(res1
)) {
18960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineY" "', expected argument " "1"" of type '" "wxGrid const *""'");
18962 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= SWIG_From_int(static_cast< int >(result
));
18976 SWIGINTERN PyObject
*_wrap_Grid_GetScrollX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
= 0;
18978 wxGrid
*arg1
= (wxGrid
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 PyObject
* obj1
= 0 ;
18987 char * kwnames
[] = {
18988 (char *) "self",(char *) "x", NULL
18991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18993 if (!SWIG_IsOK(res1
)) {
18994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18996 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18998 if (!SWIG_IsOK(ecode2
)) {
18999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollX" "', expected argument " "2"" of type '" "int""'");
19001 arg2
= static_cast< int >(val2
);
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= SWIG_From_int(static_cast< int >(result
));
19015 SWIGINTERN PyObject
*_wrap_Grid_GetScrollY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
= 0;
19017 wxGrid
*arg1
= (wxGrid
*) 0 ;
19024 PyObject
* obj0
= 0 ;
19025 PyObject
* obj1
= 0 ;
19026 char * kwnames
[] = {
19027 (char *) "self",(char *) "y", NULL
19030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19032 if (!SWIG_IsOK(res1
)) {
19033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollY" "', expected argument " "1"" of type '" "wxGrid const *""'");
19035 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
19036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19037 if (!SWIG_IsOK(ecode2
)) {
19038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollY" "', expected argument " "2"" of type '" "int""'");
19040 arg2
= static_cast< int >(val2
);
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 resultobj
= SWIG_From_int(static_cast< int >(result
));
19054 SWIGINTERN PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
= 0;
19056 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19057 SwigValueWrapper
<wxVisualAttributes
> result
;
19060 PyObject
* obj0
= 0 ;
19061 char * kwnames
[] = {
19062 (char *) "variant", NULL
19065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19068 if (!SWIG_IsOK(ecode1
)) {
19069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Grid_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19071 arg1
= static_cast< wxWindowVariant
>(val1
);
19074 if (!wxPyCheckForApp()) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 result
= wxGrid::GetClassDefaultAttributes(arg1
);
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19087 SWIGINTERN PyObject
*Grid_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19090 SWIG_TypeNewClientData(SWIGTYPE_p_wxGrid
, SWIG_NewClientData(obj
));
19091 return SWIG_Py_Void();
19094 SWIGINTERN PyObject
*Grid_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19095 return SWIG_Python_InitShadowInstance(args
);
19098 SWIGINTERN PyObject
*_wrap_new_GridEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
= 0;
19102 wxGrid
*arg3
= (wxGrid
*) 0 ;
19103 int arg4
= (int) -1 ;
19104 int arg5
= (int) -1 ;
19105 int arg6
= (int) -1 ;
19106 int arg7
= (int) -1 ;
19107 bool arg8
= (bool) true ;
19108 bool arg9
= (bool) false ;
19109 bool arg10
= (bool) false ;
19110 bool arg11
= (bool) false ;
19111 bool arg12
= (bool) false ;
19112 wxGridEvent
*result
= 0 ;
19137 PyObject
* obj0
= 0 ;
19138 PyObject
* obj1
= 0 ;
19139 PyObject
* obj2
= 0 ;
19140 PyObject
* obj3
= 0 ;
19141 PyObject
* obj4
= 0 ;
19142 PyObject
* obj5
= 0 ;
19143 PyObject
* obj6
= 0 ;
19144 PyObject
* obj7
= 0 ;
19145 PyObject
* obj8
= 0 ;
19146 PyObject
* obj9
= 0 ;
19147 PyObject
* obj10
= 0 ;
19148 PyObject
* obj11
= 0 ;
19149 char * kwnames
[] = {
19150 (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
19153 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
;
19154 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19155 if (!SWIG_IsOK(ecode1
)) {
19156 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEvent" "', expected argument " "1"" of type '" "int""'");
19158 arg1
= static_cast< int >(val1
);
19159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19160 if (!SWIG_IsOK(ecode2
)) {
19161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19163 arg2
= static_cast< wxEventType
>(val2
);
19164 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19165 if (!SWIG_IsOK(res3
)) {
19166 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19168 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19170 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19171 if (!SWIG_IsOK(ecode4
)) {
19172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEvent" "', expected argument " "4"" of type '" "int""'");
19174 arg4
= static_cast< int >(val4
);
19177 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19178 if (!SWIG_IsOK(ecode5
)) {
19179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEvent" "', expected argument " "5"" of type '" "int""'");
19181 arg5
= static_cast< int >(val5
);
19184 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19185 if (!SWIG_IsOK(ecode6
)) {
19186 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridEvent" "', expected argument " "6"" of type '" "int""'");
19188 arg6
= static_cast< int >(val6
);
19191 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19192 if (!SWIG_IsOK(ecode7
)) {
19193 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridEvent" "', expected argument " "7"" of type '" "int""'");
19195 arg7
= static_cast< int >(val7
);
19198 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19199 if (!SWIG_IsOK(ecode8
)) {
19200 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridEvent" "', expected argument " "8"" of type '" "bool""'");
19202 arg8
= static_cast< bool >(val8
);
19205 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19206 if (!SWIG_IsOK(ecode9
)) {
19207 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridEvent" "', expected argument " "9"" of type '" "bool""'");
19209 arg9
= static_cast< bool >(val9
);
19212 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19213 if (!SWIG_IsOK(ecode10
)) {
19214 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridEvent" "', expected argument " "10"" of type '" "bool""'");
19216 arg10
= static_cast< bool >(val10
);
19219 ecode11
= SWIG_AsVal_bool(obj10
, &val11
);
19220 if (!SWIG_IsOK(ecode11
)) {
19221 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "new_GridEvent" "', expected argument " "11"" of type '" "bool""'");
19223 arg11
= static_cast< bool >(val11
);
19226 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
19227 if (!SWIG_IsOK(ecode12
)) {
19228 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "new_GridEvent" "', expected argument " "12"" of type '" "bool""'");
19230 arg12
= static_cast< bool >(val12
);
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_NEW
| 0 );
19245 SWIGINTERN PyObject
*_wrap_GridEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19246 PyObject
*resultobj
= 0;
19247 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19251 PyObject
*swig_obj
[1] ;
19253 if (!args
) SWIG_fail
;
19254 swig_obj
[0] = args
;
19255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19256 if (!SWIG_IsOK(res1
)) {
19257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19259 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (int)(arg1
)->GetRow();
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= SWIG_From_int(static_cast< int >(result
));
19273 SWIGINTERN PyObject
*_wrap_GridEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19274 PyObject
*resultobj
= 0;
19275 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19279 PyObject
*swig_obj
[1] ;
19281 if (!args
) SWIG_fail
;
19282 swig_obj
[0] = args
;
19283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19284 if (!SWIG_IsOK(res1
)) {
19285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19287 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (int)(arg1
)->GetCol();
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= SWIG_From_int(static_cast< int >(result
));
19301 SWIGINTERN PyObject
*_wrap_GridEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19302 PyObject
*resultobj
= 0;
19303 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19307 PyObject
*swig_obj
[1] ;
19309 if (!args
) SWIG_fail
;
19310 swig_obj
[0] = args
;
19311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19312 if (!SWIG_IsOK(res1
)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19315 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= (arg1
)->GetPosition();
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19329 SWIGINTERN PyObject
*_wrap_GridEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19330 PyObject
*resultobj
= 0;
19331 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19335 PyObject
*swig_obj
[1] ;
19337 if (!args
) SWIG_fail
;
19338 swig_obj
[0] = args
;
19339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19340 if (!SWIG_IsOK(res1
)) {
19341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_Selecting" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19343 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 result
= (bool)(arg1
)->Selecting();
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19359 SWIGINTERN PyObject
*_wrap_GridEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19360 PyObject
*resultobj
= 0;
19361 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19365 PyObject
*swig_obj
[1] ;
19367 if (!args
) SWIG_fail
;
19368 swig_obj
[0] = args
;
19369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19370 if (!SWIG_IsOK(res1
)) {
19371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19373 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 result
= (bool)(arg1
)->ControlDown();
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19389 SWIGINTERN PyObject
*_wrap_GridEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19390 PyObject
*resultobj
= 0;
19391 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19395 PyObject
*swig_obj
[1] ;
19397 if (!args
) SWIG_fail
;
19398 swig_obj
[0] = args
;
19399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19400 if (!SWIG_IsOK(res1
)) {
19401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19403 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 result
= (bool)(arg1
)->MetaDown();
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19419 SWIGINTERN PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19420 PyObject
*resultobj
= 0;
19421 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19425 PyObject
*swig_obj
[1] ;
19427 if (!args
) SWIG_fail
;
19428 swig_obj
[0] = args
;
19429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19430 if (!SWIG_IsOK(res1
)) {
19431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19433 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 result
= (bool)(arg1
)->ShiftDown();
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19449 SWIGINTERN PyObject
*_wrap_GridEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19450 PyObject
*resultobj
= 0;
19451 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19455 PyObject
*swig_obj
[1] ;
19457 if (!args
) SWIG_fail
;
19458 swig_obj
[0] = args
;
19459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19460 if (!SWIG_IsOK(res1
)) {
19461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_AltDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19463 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 result
= (bool)(arg1
)->AltDown();
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19479 SWIGINTERN PyObject
*_wrap_GridEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19480 PyObject
*resultobj
= 0;
19481 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19485 PyObject
*swig_obj
[1] ;
19487 if (!args
) SWIG_fail
;
19488 swig_obj
[0] = args
;
19489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19490 if (!SWIG_IsOK(res1
)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19493 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= (bool)(arg1
)->CmdDown();
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19509 SWIGINTERN PyObject
*GridEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19512 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEvent
, SWIG_NewClientData(obj
));
19513 return SWIG_Py_Void();
19516 SWIGINTERN PyObject
*GridEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19517 return SWIG_Python_InitShadowInstance(args
);
19520 SWIGINTERN PyObject
*_wrap_new_GridSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
= 0;
19524 wxGrid
*arg3
= (wxGrid
*) 0 ;
19525 int arg4
= (int) -1 ;
19526 int arg5
= (int) -1 ;
19527 int arg6
= (int) -1 ;
19528 bool arg7
= (bool) false ;
19529 bool arg8
= (bool) false ;
19530 bool arg9
= (bool) false ;
19531 bool arg10
= (bool) false ;
19532 wxGridSizeEvent
*result
= 0 ;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 PyObject
* obj2
= 0 ;
19556 PyObject
* obj3
= 0 ;
19557 PyObject
* obj4
= 0 ;
19558 PyObject
* obj5
= 0 ;
19559 PyObject
* obj6
= 0 ;
19560 PyObject
* obj7
= 0 ;
19561 PyObject
* obj8
= 0 ;
19562 PyObject
* obj9
= 0 ;
19563 char * kwnames
[] = {
19564 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19569 if (!SWIG_IsOK(ecode1
)) {
19570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizeEvent" "', expected argument " "1"" of type '" "int""'");
19572 arg1
= static_cast< int >(val1
);
19573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19574 if (!SWIG_IsOK(ecode2
)) {
19575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizeEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19577 arg2
= static_cast< wxEventType
>(val2
);
19578 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19579 if (!SWIG_IsOK(res3
)) {
19580 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridSizeEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19582 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19584 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19585 if (!SWIG_IsOK(ecode4
)) {
19586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizeEvent" "', expected argument " "4"" of type '" "int""'");
19588 arg4
= static_cast< int >(val4
);
19591 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19592 if (!SWIG_IsOK(ecode5
)) {
19593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridSizeEvent" "', expected argument " "5"" of type '" "int""'");
19595 arg5
= static_cast< int >(val5
);
19598 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19599 if (!SWIG_IsOK(ecode6
)) {
19600 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridSizeEvent" "', expected argument " "6"" of type '" "int""'");
19602 arg6
= static_cast< int >(val6
);
19605 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19606 if (!SWIG_IsOK(ecode7
)) {
19607 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridSizeEvent" "', expected argument " "7"" of type '" "bool""'");
19609 arg7
= static_cast< bool >(val7
);
19612 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19613 if (!SWIG_IsOK(ecode8
)) {
19614 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridSizeEvent" "', expected argument " "8"" of type '" "bool""'");
19616 arg8
= static_cast< bool >(val8
);
19619 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19620 if (!SWIG_IsOK(ecode9
)) {
19621 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridSizeEvent" "', expected argument " "9"" of type '" "bool""'");
19623 arg9
= static_cast< bool >(val9
);
19626 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19627 if (!SWIG_IsOK(ecode10
)) {
19628 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridSizeEvent" "', expected argument " "10"" of type '" "bool""'");
19630 arg10
= static_cast< bool >(val10
);
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_NEW
| 0 );
19645 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19646 PyObject
*resultobj
= 0;
19647 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19651 PyObject
*swig_obj
[1] ;
19653 if (!args
) SWIG_fail
;
19654 swig_obj
[0] = args
;
19655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19656 if (!SWIG_IsOK(res1
)) {
19657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetRowOrCol" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19659 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (int)(arg1
)->GetRowOrCol();
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_From_int(static_cast< int >(result
));
19673 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19674 PyObject
*resultobj
= 0;
19675 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19679 PyObject
*swig_obj
[1] ;
19681 if (!args
) SWIG_fail
;
19682 swig_obj
[0] = args
;
19683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19684 if (!SWIG_IsOK(res1
)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19687 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 result
= (arg1
)->GetPosition();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19701 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19702 PyObject
*resultobj
= 0;
19703 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19707 PyObject
*swig_obj
[1] ;
19709 if (!args
) SWIG_fail
;
19710 swig_obj
[0] = args
;
19711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19712 if (!SWIG_IsOK(res1
)) {
19713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19715 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (bool)(arg1
)->ControlDown();
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19731 SWIGINTERN PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19732 PyObject
*resultobj
= 0;
19733 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19737 PyObject
*swig_obj
[1] ;
19739 if (!args
) SWIG_fail
;
19740 swig_obj
[0] = args
;
19741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19742 if (!SWIG_IsOK(res1
)) {
19743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19745 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= (bool)(arg1
)->MetaDown();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19761 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19762 PyObject
*resultobj
= 0;
19763 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19767 PyObject
*swig_obj
[1] ;
19769 if (!args
) SWIG_fail
;
19770 swig_obj
[0] = args
;
19771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19772 if (!SWIG_IsOK(res1
)) {
19773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19775 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= (bool)(arg1
)->ShiftDown();
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19791 SWIGINTERN PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19792 PyObject
*resultobj
= 0;
19793 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19797 PyObject
*swig_obj
[1] ;
19799 if (!args
) SWIG_fail
;
19800 swig_obj
[0] = args
;
19801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19802 if (!SWIG_IsOK(res1
)) {
19803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_AltDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19805 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (bool)(arg1
)->AltDown();
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19821 SWIGINTERN PyObject
*_wrap_GridSizeEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19822 PyObject
*resultobj
= 0;
19823 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19827 PyObject
*swig_obj
[1] ;
19829 if (!args
) SWIG_fail
;
19830 swig_obj
[0] = args
;
19831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19832 if (!SWIG_IsOK(res1
)) {
19833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19835 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= (bool)(arg1
)->CmdDown();
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19851 SWIGINTERN PyObject
*GridSizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19854 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizeEvent
, SWIG_NewClientData(obj
));
19855 return SWIG_Py_Void();
19858 SWIGINTERN PyObject
*GridSizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19859 return SWIG_Python_InitShadowInstance(args
);
19862 SWIGINTERN PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
= 0;
19866 wxGrid
*arg3
= (wxGrid
*) 0 ;
19867 wxGridCellCoords
*arg4
= 0 ;
19868 wxGridCellCoords
*arg5
= 0 ;
19869 bool arg6
= (bool) true ;
19870 bool arg7
= (bool) false ;
19871 bool arg8
= (bool) false ;
19872 bool arg9
= (bool) false ;
19873 bool arg10
= (bool) false ;
19874 wxGridRangeSelectEvent
*result
= 0 ;
19881 wxGridCellCoords temp4
;
19882 wxGridCellCoords temp5
;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 PyObject
* obj2
= 0 ;
19896 PyObject
* obj3
= 0 ;
19897 PyObject
* obj4
= 0 ;
19898 PyObject
* obj5
= 0 ;
19899 PyObject
* obj6
= 0 ;
19900 PyObject
* obj7
= 0 ;
19901 PyObject
* obj8
= 0 ;
19902 PyObject
* obj9
= 0 ;
19903 char * kwnames
[] = {
19904 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19908 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19909 if (!SWIG_IsOK(ecode1
)) {
19910 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "1"" of type '" "int""'");
19912 arg1
= static_cast< int >(val1
);
19913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19914 if (!SWIG_IsOK(ecode2
)) {
19915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19917 arg2
= static_cast< wxEventType
>(val2
);
19918 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19919 if (!SWIG_IsOK(res3
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19922 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19925 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
19929 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
19932 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
19933 if (!SWIG_IsOK(ecode6
)) {
19934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "6"" of type '" "bool""'");
19936 arg6
= static_cast< bool >(val6
);
19939 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19940 if (!SWIG_IsOK(ecode7
)) {
19941 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "7"" of type '" "bool""'");
19943 arg7
= static_cast< bool >(val7
);
19946 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19947 if (!SWIG_IsOK(ecode8
)) {
19948 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "8"" of type '" "bool""'");
19950 arg8
= static_cast< bool >(val8
);
19953 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19954 if (!SWIG_IsOK(ecode9
)) {
19955 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "9"" of type '" "bool""'");
19957 arg9
= static_cast< bool >(val9
);
19960 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19961 if (!SWIG_IsOK(ecode10
)) {
19962 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "10"" of type '" "bool""'");
19964 arg10
= static_cast< bool >(val10
);
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_NEW
| 0 );
19979 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19980 PyObject
*resultobj
= 0;
19981 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19982 wxGridCellCoords result
;
19985 PyObject
*swig_obj
[1] ;
19987 if (!args
) SWIG_fail
;
19988 swig_obj
[0] = args
;
19989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19990 if (!SWIG_IsOK(res1
)) {
19991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopLeftCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19993 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 result
= (arg1
)->GetTopLeftCoords();
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20000 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
20007 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20008 PyObject
*resultobj
= 0;
20009 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20010 wxGridCellCoords result
;
20013 PyObject
*swig_obj
[1] ;
20015 if (!args
) SWIG_fail
;
20016 swig_obj
[0] = args
;
20017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20018 if (!SWIG_IsOK(res1
)) {
20019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRightCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20021 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (arg1
)->GetBottomRightCoords();
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
20035 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20036 PyObject
*resultobj
= 0;
20037 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20041 PyObject
*swig_obj
[1] ;
20043 if (!args
) SWIG_fail
;
20044 swig_obj
[0] = args
;
20045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20046 if (!SWIG_IsOK(res1
)) {
20047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20049 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (int)(arg1
)->GetTopRow();
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= SWIG_From_int(static_cast< int >(result
));
20063 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20064 PyObject
*resultobj
= 0;
20065 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20069 PyObject
*swig_obj
[1] ;
20071 if (!args
) SWIG_fail
;
20072 swig_obj
[0] = args
;
20073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20074 if (!SWIG_IsOK(res1
)) {
20075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20077 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 result
= (int)(arg1
)->GetBottomRow();
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= SWIG_From_int(static_cast< int >(result
));
20091 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20092 PyObject
*resultobj
= 0;
20093 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20097 PyObject
*swig_obj
[1] ;
20099 if (!args
) SWIG_fail
;
20100 swig_obj
[0] = args
;
20101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20102 if (!SWIG_IsOK(res1
)) {
20103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetLeftCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20105 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 result
= (int)(arg1
)->GetLeftCol();
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= SWIG_From_int(static_cast< int >(result
));
20119 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20120 PyObject
*resultobj
= 0;
20121 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20125 PyObject
*swig_obj
[1] ;
20127 if (!args
) SWIG_fail
;
20128 swig_obj
[0] = args
;
20129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20130 if (!SWIG_IsOK(res1
)) {
20131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetRightCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20133 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= (int)(arg1
)->GetRightCol();
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= SWIG_From_int(static_cast< int >(result
));
20147 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20148 PyObject
*resultobj
= 0;
20149 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20153 PyObject
*swig_obj
[1] ;
20155 if (!args
) SWIG_fail
;
20156 swig_obj
[0] = args
;
20157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20158 if (!SWIG_IsOK(res1
)) {
20159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_Selecting" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20161 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (bool)(arg1
)->Selecting();
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20177 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20178 PyObject
*resultobj
= 0;
20179 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20183 PyObject
*swig_obj
[1] ;
20185 if (!args
) SWIG_fail
;
20186 swig_obj
[0] = args
;
20187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20188 if (!SWIG_IsOK(res1
)) {
20189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20191 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= (bool)(arg1
)->ControlDown();
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20207 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20208 PyObject
*resultobj
= 0;
20209 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20213 PyObject
*swig_obj
[1] ;
20215 if (!args
) SWIG_fail
;
20216 swig_obj
[0] = args
;
20217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20218 if (!SWIG_IsOK(res1
)) {
20219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20221 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= (bool)(arg1
)->MetaDown();
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20237 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20238 PyObject
*resultobj
= 0;
20239 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20243 PyObject
*swig_obj
[1] ;
20245 if (!args
) SWIG_fail
;
20246 swig_obj
[0] = args
;
20247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20248 if (!SWIG_IsOK(res1
)) {
20249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20251 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 result
= (bool)(arg1
)->ShiftDown();
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20267 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20268 PyObject
*resultobj
= 0;
20269 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20273 PyObject
*swig_obj
[1] ;
20275 if (!args
) SWIG_fail
;
20276 swig_obj
[0] = args
;
20277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20278 if (!SWIG_IsOK(res1
)) {
20279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_AltDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20281 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 result
= (bool)(arg1
)->AltDown();
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20297 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20298 PyObject
*resultobj
= 0;
20299 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20303 PyObject
*swig_obj
[1] ;
20305 if (!args
) SWIG_fail
;
20306 swig_obj
[0] = args
;
20307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20308 if (!SWIG_IsOK(res1
)) {
20309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20311 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (bool)(arg1
)->CmdDown();
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20327 SWIGINTERN PyObject
*GridRangeSelectEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20330 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_NewClientData(obj
));
20331 return SWIG_Py_Void();
20334 SWIGINTERN PyObject
*GridRangeSelectEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20335 return SWIG_Python_InitShadowInstance(args
);
20338 SWIGINTERN PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
= 0;
20342 wxObject
*arg3
= (wxObject
*) 0 ;
20345 wxControl
*arg6
= (wxControl
*) 0 ;
20346 wxGridEditorCreatedEvent
*result
= 0 ;
20359 PyObject
* obj0
= 0 ;
20360 PyObject
* obj1
= 0 ;
20361 PyObject
* obj2
= 0 ;
20362 PyObject
* obj3
= 0 ;
20363 PyObject
* obj4
= 0 ;
20364 PyObject
* obj5
= 0 ;
20365 char * kwnames
[] = {
20366 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
20369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20371 if (!SWIG_IsOK(ecode1
)) {
20372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "1"" of type '" "int""'");
20374 arg1
= static_cast< int >(val1
);
20375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20376 if (!SWIG_IsOK(ecode2
)) {
20377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "2"" of type '" "wxEventType""'");
20379 arg2
= static_cast< wxEventType
>(val2
);
20380 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxObject
, 0 | 0 );
20381 if (!SWIG_IsOK(res3
)) {
20382 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "3"" of type '" "wxObject *""'");
20384 arg3
= reinterpret_cast< wxObject
* >(argp3
);
20385 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20386 if (!SWIG_IsOK(ecode4
)) {
20387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "4"" of type '" "int""'");
20389 arg4
= static_cast< int >(val4
);
20390 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20391 if (!SWIG_IsOK(ecode5
)) {
20392 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "5"" of type '" "int""'");
20394 arg5
= static_cast< int >(val5
);
20395 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxControl
, 0 | 0 );
20396 if (!SWIG_IsOK(res6
)) {
20397 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "6"" of type '" "wxControl *""'");
20399 arg6
= reinterpret_cast< wxControl
* >(argp6
);
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_NEW
| 0 );
20413 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20414 PyObject
*resultobj
= 0;
20415 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20419 PyObject
*swig_obj
[1] ;
20421 if (!args
) SWIG_fail
;
20422 swig_obj
[0] = args
;
20423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20424 if (!SWIG_IsOK(res1
)) {
20425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20427 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 result
= (int)(arg1
)->GetRow();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 resultobj
= SWIG_From_int(static_cast< int >(result
));
20441 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20442 PyObject
*resultobj
= 0;
20443 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20447 PyObject
*swig_obj
[1] ;
20449 if (!args
) SWIG_fail
;
20450 swig_obj
[0] = args
;
20451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20452 if (!SWIG_IsOK(res1
)) {
20453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20455 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= (int)(arg1
)->GetCol();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= SWIG_From_int(static_cast< int >(result
));
20469 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20470 PyObject
*resultobj
= 0;
20471 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20472 wxControl
*result
= 0 ;
20475 PyObject
*swig_obj
[1] ;
20477 if (!args
) SWIG_fail
;
20478 swig_obj
[0] = args
;
20479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20480 if (!SWIG_IsOK(res1
)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20483 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= (wxControl
*)(arg1
)->GetControl();
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= wxPyMake_wxObject(result
, 0);
20499 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20500 PyObject
*resultobj
= 0;
20501 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20507 PyObject
* obj0
= 0 ;
20508 PyObject
* obj1
= 0 ;
20509 char * kwnames
[] = {
20510 (char *) "self",(char *) "row", NULL
20513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20515 if (!SWIG_IsOK(res1
)) {
20516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20518 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20520 if (!SWIG_IsOK(ecode2
)) {
20521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "2"" of type '" "int""'");
20523 arg2
= static_cast< int >(val2
);
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 (arg1
)->SetRow(arg2
);
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 resultobj
= SWIG_Py_Void();
20537 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
= 0;
20539 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20545 PyObject
* obj0
= 0 ;
20546 PyObject
* obj1
= 0 ;
20547 char * kwnames
[] = {
20548 (char *) "self",(char *) "col", NULL
20551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20553 if (!SWIG_IsOK(res1
)) {
20554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20556 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20558 if (!SWIG_IsOK(ecode2
)) {
20559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "2"" of type '" "int""'");
20561 arg2
= static_cast< int >(val2
);
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 (arg1
)->SetCol(arg2
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= SWIG_Py_Void();
20575 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
= 0;
20577 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20578 wxControl
*arg2
= (wxControl
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 char * kwnames
[] = {
20586 (char *) "self",(char *) "ctrl", NULL
20589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20591 if (!SWIG_IsOK(res1
)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20594 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
20596 if (!SWIG_IsOK(res2
)) {
20597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
20599 arg2
= reinterpret_cast< wxControl
* >(argp2
);
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->SetControl(arg2
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_Py_Void();
20613 SWIGINTERN PyObject
*GridEditorCreatedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20616 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_NewClientData(obj
));
20617 return SWIG_Py_Void();
20620 SWIGINTERN PyObject
*GridEditorCreatedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20621 return SWIG_Python_InitShadowInstance(args
);
20624 static PyMethodDef SwigMethods
[] = {
20625 { (char *)"GridCellWorker__setOORInfo", (PyCFunction
) _wrap_GridCellWorker__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20626 { (char *)"delete_GridCellWorker", (PyCFunction
)_wrap_delete_GridCellWorker
, METH_O
, NULL
},
20627 { (char *)"GridCellWorker_SetParameters", (PyCFunction
) _wrap_GridCellWorker_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20628 { (char *)"GridCellWorker_IncRef", (PyCFunction
)_wrap_GridCellWorker_IncRef
, METH_O
, NULL
},
20629 { (char *)"GridCellWorker_DecRef", (PyCFunction
)_wrap_GridCellWorker_DecRef
, METH_O
, NULL
},
20630 { (char *)"GridCellWorker_swigregister", GridCellWorker_swigregister
, METH_VARARGS
, NULL
},
20631 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20632 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20633 { (char *)"GridCellRenderer_Clone", (PyCFunction
)_wrap_GridCellRenderer_Clone
, METH_O
, NULL
},
20634 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20635 { (char *)"new_PyGridCellRenderer", (PyCFunction
)_wrap_new_PyGridCellRenderer
, METH_NOARGS
, NULL
},
20636 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20637 { (char *)"PyGridCellRenderer_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20638 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20639 { (char *)"PyGridCellRenderer_swiginit", PyGridCellRenderer_swiginit
, METH_VARARGS
, NULL
},
20640 { (char *)"new_GridCellStringRenderer", (PyCFunction
)_wrap_new_GridCellStringRenderer
, METH_NOARGS
, NULL
},
20641 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20642 { (char *)"GridCellStringRenderer_swiginit", GridCellStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20643 { (char *)"new_GridCellNumberRenderer", (PyCFunction
)_wrap_new_GridCellNumberRenderer
, METH_NOARGS
, NULL
},
20644 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
20645 { (char *)"GridCellNumberRenderer_swiginit", GridCellNumberRenderer_swiginit
, METH_VARARGS
, NULL
},
20646 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20647 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
)_wrap_GridCellFloatRenderer_GetWidth
, METH_O
, NULL
},
20648 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20649 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
)_wrap_GridCellFloatRenderer_GetPrecision
, METH_O
, NULL
},
20650 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20651 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
20652 { (char *)"GridCellFloatRenderer_swiginit", GridCellFloatRenderer_swiginit
, METH_VARARGS
, NULL
},
20653 { (char *)"new_GridCellBoolRenderer", (PyCFunction
)_wrap_new_GridCellBoolRenderer
, METH_NOARGS
, NULL
},
20654 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
20655 { (char *)"GridCellBoolRenderer_swiginit", GridCellBoolRenderer_swiginit
, METH_VARARGS
, NULL
},
20656 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20657 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
20658 { (char *)"GridCellDateTimeRenderer_swiginit", GridCellDateTimeRenderer_swiginit
, METH_VARARGS
, NULL
},
20659 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20660 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
20661 { (char *)"GridCellEnumRenderer_swiginit", GridCellEnumRenderer_swiginit
, METH_VARARGS
, NULL
},
20662 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
)_wrap_new_GridCellAutoWrapStringRenderer
, METH_NOARGS
, NULL
},
20663 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20664 { (char *)"GridCellAutoWrapStringRenderer_swiginit", GridCellAutoWrapStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20665 { (char *)"GridCellEditor_IsCreated", (PyCFunction
)_wrap_GridCellEditor_IsCreated
, METH_O
, NULL
},
20666 { (char *)"GridCellEditor_GetControl", (PyCFunction
)_wrap_GridCellEditor_GetControl
, METH_O
, NULL
},
20667 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20668 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
)_wrap_GridCellEditor_GetCellAttr
, METH_O
, NULL
},
20669 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20670 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20671 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20672 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20673 { (char *)"GridCellEditor_Reset", (PyCFunction
)_wrap_GridCellEditor_Reset
, METH_O
, NULL
},
20674 { (char *)"GridCellEditor_Clone", (PyCFunction
)_wrap_GridCellEditor_Clone
, METH_O
, NULL
},
20675 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20676 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20677 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20678 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20679 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20680 { (char *)"GridCellEditor_StartingClick", (PyCFunction
)_wrap_GridCellEditor_StartingClick
, METH_O
, NULL
},
20681 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20682 { (char *)"GridCellEditor_Destroy", (PyCFunction
)_wrap_GridCellEditor_Destroy
, METH_O
, NULL
},
20683 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20684 { (char *)"new_PyGridCellEditor", (PyCFunction
)_wrap_new_PyGridCellEditor
, METH_NOARGS
, NULL
},
20685 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20686 { (char *)"PyGridCellEditor_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20687 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20688 { (char *)"PyGridCellEditor_swiginit", PyGridCellEditor_swiginit
, METH_VARARGS
, NULL
},
20689 { (char *)"new_GridCellTextEditor", (PyCFunction
)_wrap_new_GridCellTextEditor
, METH_NOARGS
, NULL
},
20690 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
)_wrap_GridCellTextEditor_GetValue
, METH_O
, NULL
},
20691 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
20692 { (char *)"GridCellTextEditor_swiginit", GridCellTextEditor_swiginit
, METH_VARARGS
, NULL
},
20693 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20694 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
20695 { (char *)"GridCellNumberEditor_swiginit", GridCellNumberEditor_swiginit
, METH_VARARGS
, NULL
},
20696 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20697 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
20698 { (char *)"GridCellFloatEditor_swiginit", GridCellFloatEditor_swiginit
, METH_VARARGS
, NULL
},
20699 { (char *)"new_GridCellBoolEditor", (PyCFunction
)_wrap_new_GridCellBoolEditor
, METH_NOARGS
, NULL
},
20700 { (char *)"GridCellBoolEditor_UseStringValues", (PyCFunction
) _wrap_GridCellBoolEditor_UseStringValues
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20701 { (char *)"GridCellBoolEditor_IsTrueValue", (PyCFunction
) _wrap_GridCellBoolEditor_IsTrueValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20702 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
20703 { (char *)"GridCellBoolEditor_swiginit", GridCellBoolEditor_swiginit
, METH_VARARGS
, NULL
},
20704 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20705 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
20706 { (char *)"GridCellChoiceEditor_swiginit", GridCellChoiceEditor_swiginit
, METH_VARARGS
, NULL
},
20707 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20708 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
20709 { (char *)"GridCellEnumEditor_swiginit", GridCellEnumEditor_swiginit
, METH_VARARGS
, NULL
},
20710 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
)_wrap_new_GridCellAutoWrapStringEditor
, METH_NOARGS
, NULL
},
20711 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
20712 { (char *)"GridCellAutoWrapStringEditor_swiginit", GridCellAutoWrapStringEditor_swiginit
, METH_VARARGS
, NULL
},
20713 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20714 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20715 { (char *)"delete_GridCellAttr", (PyCFunction
)_wrap_delete_GridCellAttr
, METH_O
, NULL
},
20716 { (char *)"GridCellAttr_Clone", (PyCFunction
)_wrap_GridCellAttr_Clone
, METH_O
, NULL
},
20717 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20718 { (char *)"GridCellAttr_IncRef", (PyCFunction
)_wrap_GridCellAttr_IncRef
, METH_O
, NULL
},
20719 { (char *)"GridCellAttr_DecRef", (PyCFunction
)_wrap_GridCellAttr_DecRef
, METH_O
, NULL
},
20720 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20721 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20722 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20723 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20724 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20725 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20726 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20727 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20728 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20729 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20730 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
)_wrap_GridCellAttr_HasTextColour
, METH_O
, NULL
},
20731 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_HasBackgroundColour
, METH_O
, NULL
},
20732 { (char *)"GridCellAttr_HasFont", (PyCFunction
)_wrap_GridCellAttr_HasFont
, METH_O
, NULL
},
20733 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
)_wrap_GridCellAttr_HasAlignment
, METH_O
, NULL
},
20734 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
)_wrap_GridCellAttr_HasRenderer
, METH_O
, NULL
},
20735 { (char *)"GridCellAttr_HasEditor", (PyCFunction
)_wrap_GridCellAttr_HasEditor
, METH_O
, NULL
},
20736 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
)_wrap_GridCellAttr_HasReadWriteMode
, METH_O
, NULL
},
20737 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
)_wrap_GridCellAttr_HasOverflowMode
, METH_O
, NULL
},
20738 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
)_wrap_GridCellAttr_GetTextColour
, METH_O
, NULL
},
20739 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_GetBackgroundColour
, METH_O
, NULL
},
20740 { (char *)"GridCellAttr_GetFont", (PyCFunction
)_wrap_GridCellAttr_GetFont
, METH_O
, NULL
},
20741 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
)_wrap_GridCellAttr_GetAlignment
, METH_O
, NULL
},
20742 { (char *)"GridCellAttr_GetSize", (PyCFunction
)_wrap_GridCellAttr_GetSize
, METH_O
, NULL
},
20743 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
)_wrap_GridCellAttr_GetOverflow
, METH_O
, NULL
},
20744 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20745 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20746 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
)_wrap_GridCellAttr_IsReadOnly
, METH_O
, NULL
},
20747 { (char *)"GridCellAttr_GetKind", (PyCFunction
)_wrap_GridCellAttr_GetKind
, METH_O
, NULL
},
20748 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20749 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
20750 { (char *)"GridCellAttr_swiginit", GridCellAttr_swiginit
, METH_VARARGS
, NULL
},
20751 { (char *)"new_GridCellAttrProvider", (PyCFunction
)_wrap_new_GridCellAttrProvider
, METH_NOARGS
, NULL
},
20752 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20753 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20754 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20755 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20756 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20757 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20758 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20759 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20760 { (char *)"GridCellAttrProvider_swiginit", GridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20761 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
)_wrap_new_PyGridCellAttrProvider
, METH_NOARGS
, NULL
},
20762 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20763 { (char *)"PyGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20764 { (char *)"PyGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20765 { (char *)"PyGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20766 { (char *)"PyGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20767 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20768 { (char *)"PyGridCellAttrProvider_swiginit", PyGridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20769 { (char *)"delete_GridTableBase", (PyCFunction
)_wrap_delete_GridTableBase
, METH_O
, NULL
},
20770 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20771 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20772 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
)_wrap_GridTableBase_GetAttrProvider
, METH_O
, NULL
},
20773 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20774 { (char *)"GridTableBase_GetView", (PyCFunction
)_wrap_GridTableBase_GetView
, METH_O
, NULL
},
20775 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
)_wrap_GridTableBase_GetNumberRows
, METH_O
, NULL
},
20776 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
)_wrap_GridTableBase_GetNumberCols
, METH_O
, NULL
},
20777 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20778 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20779 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20780 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20781 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20782 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20783 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20784 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20785 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20786 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20787 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20788 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20789 { (char *)"GridTableBase_Clear", (PyCFunction
)_wrap_GridTableBase_Clear
, METH_O
, NULL
},
20790 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20791 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20792 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20793 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20794 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20795 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20796 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20797 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20798 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20799 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20800 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
)_wrap_GridTableBase_CanHaveAttributes
, METH_O
, NULL
},
20801 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20802 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20803 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20804 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20805 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
20806 { (char *)"new_PyGridTableBase", (PyCFunction
)_wrap_new_PyGridTableBase
, METH_NOARGS
, NULL
},
20807 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20808 { (char *)"PyGridTableBase_Destroy", (PyCFunction
)_wrap_PyGridTableBase_Destroy
, METH_O
, NULL
},
20809 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
20810 { (char *)"PyGridTableBase_swiginit", PyGridTableBase_swiginit
, METH_VARARGS
, NULL
},
20811 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20812 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
20813 { (char *)"GridStringTable_swiginit", GridStringTable_swiginit
, METH_VARARGS
, NULL
},
20814 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20815 { (char *)"delete_GridTableMessage", (PyCFunction
)_wrap_delete_GridTableMessage
, METH_O
, NULL
},
20816 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20817 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
)_wrap_GridTableMessage_GetTableObject
, METH_O
, NULL
},
20818 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20819 { (char *)"GridTableMessage_GetId", (PyCFunction
)_wrap_GridTableMessage_GetId
, METH_O
, NULL
},
20820 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20821 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt
, METH_O
, NULL
},
20822 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20823 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt2
, METH_O
, NULL
},
20824 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
20825 { (char *)"GridTableMessage_swiginit", GridTableMessage_swiginit
, METH_VARARGS
, NULL
},
20826 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20827 { (char *)"delete_GridCellCoords", (PyCFunction
)_wrap_delete_GridCellCoords
, METH_O
, NULL
},
20828 { (char *)"GridCellCoords_GetRow", (PyCFunction
)_wrap_GridCellCoords_GetRow
, METH_O
, NULL
},
20829 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20830 { (char *)"GridCellCoords_GetCol", (PyCFunction
)_wrap_GridCellCoords_GetCol
, METH_O
, NULL
},
20831 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20832 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20833 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20834 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20835 { (char *)"GridCellCoords_Get", (PyCFunction
)_wrap_GridCellCoords_Get
, METH_O
, NULL
},
20836 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
20837 { (char *)"GridCellCoords_swiginit", GridCellCoords_swiginit
, METH_VARARGS
, NULL
},
20838 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20839 { (char *)"new_PreGrid", (PyCFunction
)_wrap_new_PreGrid
, METH_NOARGS
, NULL
},
20840 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20841 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20842 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20843 { (char *)"Grid_GetSelectionMode", (PyCFunction
)_wrap_Grid_GetSelectionMode
, METH_O
, NULL
},
20844 { (char *)"Grid_GetNumberRows", (PyCFunction
)_wrap_Grid_GetNumberRows
, METH_O
, NULL
},
20845 { (char *)"Grid_GetNumberCols", (PyCFunction
)_wrap_Grid_GetNumberCols
, METH_O
, NULL
},
20846 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20847 { (char *)"Grid_GetTable", (PyCFunction
)_wrap_Grid_GetTable
, METH_O
, NULL
},
20848 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20849 { (char *)"Grid_ClearGrid", (PyCFunction
)_wrap_Grid_ClearGrid
, METH_O
, NULL
},
20850 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20851 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20852 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20853 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20854 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20855 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20856 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20857 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20858 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20859 { (char *)"Grid_BeginBatch", (PyCFunction
)_wrap_Grid_BeginBatch
, METH_O
, NULL
},
20860 { (char *)"Grid_EndBatch", (PyCFunction
)_wrap_Grid_EndBatch
, METH_O
, NULL
},
20861 { (char *)"Grid_GetBatchCount", (PyCFunction
)_wrap_Grid_GetBatchCount
, METH_O
, NULL
},
20862 { (char *)"Grid_ForceRefresh", (PyCFunction
)_wrap_Grid_ForceRefresh
, METH_O
, NULL
},
20863 { (char *)"Grid_IsEditable", (PyCFunction
)_wrap_Grid_IsEditable
, METH_O
, NULL
},
20864 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20865 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20866 { (char *)"Grid_DisableCellEditControl", (PyCFunction
)_wrap_Grid_DisableCellEditControl
, METH_O
, NULL
},
20867 { (char *)"Grid_CanEnableCellControl", (PyCFunction
)_wrap_Grid_CanEnableCellControl
, METH_O
, NULL
},
20868 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
)_wrap_Grid_IsCellEditControlEnabled
, METH_O
, NULL
},
20869 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
)_wrap_Grid_IsCellEditControlShown
, METH_O
, NULL
},
20870 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
)_wrap_Grid_IsCurrentCellReadOnly
, METH_O
, NULL
},
20871 { (char *)"Grid_ShowCellEditControl", (PyCFunction
)_wrap_Grid_ShowCellEditControl
, METH_O
, NULL
},
20872 { (char *)"Grid_HideCellEditControl", (PyCFunction
)_wrap_Grid_HideCellEditControl
, METH_O
, NULL
},
20873 { (char *)"Grid_SaveEditControlValue", (PyCFunction
)_wrap_Grid_SaveEditControlValue
, METH_O
, NULL
},
20874 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20875 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20876 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20877 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20878 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20879 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20880 { (char *)"Grid_GetGridCursorRow", (PyCFunction
)_wrap_Grid_GetGridCursorRow
, METH_O
, NULL
},
20881 { (char *)"Grid_GetGridCursorCol", (PyCFunction
)_wrap_Grid_GetGridCursorCol
, METH_O
, NULL
},
20882 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20883 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20884 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20885 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20886 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20887 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20888 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20889 { (char *)"Grid_MovePageDown", (PyCFunction
)_wrap_Grid_MovePageDown
, METH_O
, NULL
},
20890 { (char *)"Grid_MovePageUp", (PyCFunction
)_wrap_Grid_MovePageUp
, METH_O
, NULL
},
20891 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20892 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20893 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20894 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20895 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultRowLabelSize
, METH_O
, NULL
},
20896 { (char *)"Grid_GetRowLabelSize", (PyCFunction
)_wrap_Grid_GetRowLabelSize
, METH_O
, NULL
},
20897 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultColLabelSize
, METH_O
, NULL
},
20898 { (char *)"Grid_GetColLabelSize", (PyCFunction
)_wrap_Grid_GetColLabelSize
, METH_O
, NULL
},
20899 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
)_wrap_Grid_GetLabelBackgroundColour
, METH_O
, NULL
},
20900 { (char *)"Grid_GetLabelTextColour", (PyCFunction
)_wrap_Grid_GetLabelTextColour
, METH_O
, NULL
},
20901 { (char *)"Grid_GetLabelFont", (PyCFunction
)_wrap_Grid_GetLabelFont
, METH_O
, NULL
},
20902 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
)_wrap_Grid_GetRowLabelAlignment
, METH_O
, NULL
},
20903 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
)_wrap_Grid_GetColLabelAlignment
, METH_O
, NULL
},
20904 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
)_wrap_Grid_GetColLabelTextOrientation
, METH_O
, NULL
},
20905 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20906 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20907 { (char *)"Grid_GetGridLineColour", (PyCFunction
)_wrap_Grid_GetGridLineColour
, METH_O
, NULL
},
20908 { (char *)"Grid_GetDefaultGridLinePen", (PyCFunction
)_wrap_Grid_GetDefaultGridLinePen
, METH_O
, NULL
},
20909 { (char *)"Grid_GetRowGridLinePen", (PyCFunction
) _wrap_Grid_GetRowGridLinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20910 { (char *)"Grid_GetColGridLinePen", (PyCFunction
) _wrap_Grid_GetColGridLinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20911 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
)_wrap_Grid_GetCellHighlightColour
, METH_O
, NULL
},
20912 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightPenWidth
, METH_O
, NULL
},
20913 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightROPenWidth
, METH_O
, NULL
},
20914 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20915 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20916 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20917 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20918 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20919 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20920 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20921 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20922 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20923 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20924 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20925 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20926 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20927 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20928 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20929 { (char *)"Grid_DisableDragRowSize", (PyCFunction
)_wrap_Grid_DisableDragRowSize
, METH_O
, NULL
},
20930 { (char *)"Grid_CanDragRowSize", (PyCFunction
)_wrap_Grid_CanDragRowSize
, METH_O
, NULL
},
20931 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20932 { (char *)"Grid_DisableDragColSize", (PyCFunction
)_wrap_Grid_DisableDragColSize
, METH_O
, NULL
},
20933 { (char *)"Grid_CanDragColSize", (PyCFunction
)_wrap_Grid_CanDragColSize
, METH_O
, NULL
},
20934 { (char *)"Grid_EnableDragColMove", (PyCFunction
) _wrap_Grid_EnableDragColMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20935 { (char *)"Grid_DisableDragColMove", (PyCFunction
)_wrap_Grid_DisableDragColMove
, METH_O
, NULL
},
20936 { (char *)"Grid_CanDragColMove", (PyCFunction
)_wrap_Grid_CanDragColMove
, METH_O
, NULL
},
20937 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20938 { (char *)"Grid_DisableDragGridSize", (PyCFunction
)_wrap_Grid_DisableDragGridSize
, METH_O
, NULL
},
20939 { (char *)"Grid_CanDragGridSize", (PyCFunction
)_wrap_Grid_CanDragGridSize
, METH_O
, NULL
},
20940 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20941 { (char *)"Grid_DisableDragCell", (PyCFunction
)_wrap_Grid_DisableDragCell
, METH_O
, NULL
},
20942 { (char *)"Grid_CanDragCell", (PyCFunction
)_wrap_Grid_CanDragCell
, METH_O
, NULL
},
20943 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20944 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20945 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20946 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20947 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20948 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20949 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20950 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20951 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20952 { (char *)"Grid_GridLinesEnabled", (PyCFunction
)_wrap_Grid_GridLinesEnabled
, METH_O
, NULL
},
20953 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
)_wrap_Grid_GetDefaultRowSize
, METH_O
, NULL
},
20954 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20955 { (char *)"Grid_GetDefaultColSize", (PyCFunction
)_wrap_Grid_GetDefaultColSize
, METH_O
, NULL
},
20956 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20957 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
)_wrap_Grid_GetDefaultCellBackgroundColour
, METH_O
, NULL
},
20958 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20959 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
)_wrap_Grid_GetDefaultCellTextColour
, METH_O
, NULL
},
20960 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20961 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
)_wrap_Grid_GetDefaultCellFont
, METH_O
, NULL
},
20962 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20963 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
)_wrap_Grid_GetDefaultCellAlignment
, METH_O
, NULL
},
20964 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20965 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
)_wrap_Grid_GetDefaultCellOverflow
, METH_O
, NULL
},
20966 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20967 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20968 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20969 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20970 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20971 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20972 { (char *)"Grid_GetColAt", (PyCFunction
) _wrap_Grid_GetColAt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20973 { (char *)"Grid_SetColPos", (PyCFunction
) _wrap_Grid_SetColPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20974 { (char *)"Grid_GetColPos", (PyCFunction
) _wrap_Grid_GetColPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20975 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20976 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20977 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20978 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20979 { (char *)"Grid_AutoSize", (PyCFunction
)_wrap_Grid_AutoSize
, METH_O
, NULL
},
20980 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20981 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20982 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20983 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20984 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20985 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20986 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
)_wrap_Grid_GetColMinimalAcceptableWidth
, METH_O
, NULL
},
20987 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
)_wrap_Grid_GetRowMinimalAcceptableHeight
, METH_O
, NULL
},
20988 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20989 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20990 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20991 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20992 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20993 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20994 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20995 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20996 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20997 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20998 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20999 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21000 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21001 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
)_wrap_Grid_GetDefaultRenderer
, METH_O
, NULL
},
21002 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21003 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21004 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21005 { (char *)"Grid_GetDefaultEditor", (PyCFunction
)_wrap_Grid_GetDefaultEditor
, METH_O
, NULL
},
21006 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21007 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21008 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21009 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21010 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21011 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21012 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21013 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21014 { (char *)"Grid_SelectAll", (PyCFunction
)_wrap_Grid_SelectAll
, METH_O
, NULL
},
21015 { (char *)"Grid_IsSelection", (PyCFunction
)_wrap_Grid_IsSelection
, METH_O
, NULL
},
21016 { (char *)"Grid_ClearSelection", (PyCFunction
)_wrap_Grid_ClearSelection
, METH_O
, NULL
},
21017 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21018 { (char *)"Grid_GetSelectedCells", (PyCFunction
)_wrap_Grid_GetSelectedCells
, METH_O
, NULL
},
21019 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
)_wrap_Grid_GetSelectionBlockTopLeft
, METH_O
, NULL
},
21020 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
)_wrap_Grid_GetSelectionBlockBottomRight
, METH_O
, NULL
},
21021 { (char *)"Grid_GetSelectedRows", (PyCFunction
)_wrap_Grid_GetSelectedRows
, METH_O
, NULL
},
21022 { (char *)"Grid_GetSelectedCols", (PyCFunction
)_wrap_Grid_GetSelectedCols
, METH_O
, NULL
},
21023 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21024 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21025 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21026 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21027 { (char *)"Grid_GetSelectionBackground", (PyCFunction
)_wrap_Grid_GetSelectionBackground
, METH_O
, NULL
},
21028 { (char *)"Grid_GetSelectionForeground", (PyCFunction
)_wrap_Grid_GetSelectionForeground
, METH_O
, NULL
},
21029 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21030 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21031 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21032 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21033 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21034 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21035 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21036 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21037 { (char *)"Grid_GetGridWindow", (PyCFunction
)_wrap_Grid_GetGridWindow
, METH_O
, NULL
},
21038 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
)_wrap_Grid_GetGridRowLabelWindow
, METH_O
, NULL
},
21039 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
)_wrap_Grid_GetGridColLabelWindow
, METH_O
, NULL
},
21040 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
)_wrap_Grid_GetGridCornerLabelWindow
, METH_O
, NULL
},
21041 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21042 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21043 { (char *)"Grid_GetScrollLineX", (PyCFunction
)_wrap_Grid_GetScrollLineX
, METH_O
, NULL
},
21044 { (char *)"Grid_GetScrollLineY", (PyCFunction
)_wrap_Grid_GetScrollLineY
, METH_O
, NULL
},
21045 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21046 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21047 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21048 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
21049 { (char *)"Grid_swiginit", Grid_swiginit
, METH_VARARGS
, NULL
},
21050 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21051 { (char *)"GridEvent_GetRow", (PyCFunction
)_wrap_GridEvent_GetRow
, METH_O
, NULL
},
21052 { (char *)"GridEvent_GetCol", (PyCFunction
)_wrap_GridEvent_GetCol
, METH_O
, NULL
},
21053 { (char *)"GridEvent_GetPosition", (PyCFunction
)_wrap_GridEvent_GetPosition
, METH_O
, NULL
},
21054 { (char *)"GridEvent_Selecting", (PyCFunction
)_wrap_GridEvent_Selecting
, METH_O
, NULL
},
21055 { (char *)"GridEvent_ControlDown", (PyCFunction
)_wrap_GridEvent_ControlDown
, METH_O
, NULL
},
21056 { (char *)"GridEvent_MetaDown", (PyCFunction
)_wrap_GridEvent_MetaDown
, METH_O
, NULL
},
21057 { (char *)"GridEvent_ShiftDown", (PyCFunction
)_wrap_GridEvent_ShiftDown
, METH_O
, NULL
},
21058 { (char *)"GridEvent_AltDown", (PyCFunction
)_wrap_GridEvent_AltDown
, METH_O
, NULL
},
21059 { (char *)"GridEvent_CmdDown", (PyCFunction
)_wrap_GridEvent_CmdDown
, METH_O
, NULL
},
21060 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
21061 { (char *)"GridEvent_swiginit", GridEvent_swiginit
, METH_VARARGS
, NULL
},
21062 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21063 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
)_wrap_GridSizeEvent_GetRowOrCol
, METH_O
, NULL
},
21064 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
)_wrap_GridSizeEvent_GetPosition
, METH_O
, NULL
},
21065 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
)_wrap_GridSizeEvent_ControlDown
, METH_O
, NULL
},
21066 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
)_wrap_GridSizeEvent_MetaDown
, METH_O
, NULL
},
21067 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
)_wrap_GridSizeEvent_ShiftDown
, METH_O
, NULL
},
21068 { (char *)"GridSizeEvent_AltDown", (PyCFunction
)_wrap_GridSizeEvent_AltDown
, METH_O
, NULL
},
21069 { (char *)"GridSizeEvent_CmdDown", (PyCFunction
)_wrap_GridSizeEvent_CmdDown
, METH_O
, NULL
},
21070 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
21071 { (char *)"GridSizeEvent_swiginit", GridSizeEvent_swiginit
, METH_VARARGS
, NULL
},
21072 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21073 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_O
, NULL
},
21074 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_O
, NULL
},
21075 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopRow
, METH_O
, NULL
},
21076 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRow
, METH_O
, NULL
},
21077 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetLeftCol
, METH_O
, NULL
},
21078 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetRightCol
, METH_O
, NULL
},
21079 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
)_wrap_GridRangeSelectEvent_Selecting
, METH_O
, NULL
},
21080 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ControlDown
, METH_O
, NULL
},
21081 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
)_wrap_GridRangeSelectEvent_MetaDown
, METH_O
, NULL
},
21082 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ShiftDown
, METH_O
, NULL
},
21083 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
)_wrap_GridRangeSelectEvent_AltDown
, METH_O
, NULL
},
21084 { (char *)"GridRangeSelectEvent_CmdDown", (PyCFunction
)_wrap_GridRangeSelectEvent_CmdDown
, METH_O
, NULL
},
21085 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
21086 { (char *)"GridRangeSelectEvent_swiginit", GridRangeSelectEvent_swiginit
, METH_VARARGS
, NULL
},
21087 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21088 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetRow
, METH_O
, NULL
},
21089 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetCol
, METH_O
, NULL
},
21090 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetControl
, METH_O
, NULL
},
21091 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21092 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21093 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21094 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
21095 { (char *)"GridEditorCreatedEvent_swiginit", GridEditorCreatedEvent_swiginit
, METH_VARARGS
, NULL
},
21096 { NULL
, NULL
, 0, NULL
}
21100 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21102 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
21103 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
21105 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
21106 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
21108 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
21109 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
21111 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
21112 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
21114 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
21115 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
21117 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
21118 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
21120 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
21121 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
21123 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
21124 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
21126 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
21127 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
21129 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
21130 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
21132 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
21133 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
21135 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
21136 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
21138 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
21139 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
21141 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellWorker(void *x
) {
21142 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
21144 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellWorker(void *x
) {
21145 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
21147 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellWorker(void *x
) {
21148 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
21150 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellWorker(void *x
) {
21151 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
21153 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellWorker(void *x
) {
21154 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
21156 static void *_p_wxGridCellTextEditorTo_p_wxGridCellWorker(void *x
) {
21157 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
21159 static void *_p_wxPyGridCellEditorTo_p_wxGridCellWorker(void *x
) {
21160 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
21162 static void *_p_wxGridCellEditorTo_p_wxGridCellWorker(void *x
) {
21163 return (void *)((wxGridCellWorker
*) ((wxGridCellEditor
*) x
));
21165 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellWorker(void *x
) {
21166 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
21168 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellWorker(void *x
) {
21169 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
21171 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellWorker(void *x
) {
21172 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
21174 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellWorker(void *x
) {
21175 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
21177 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellWorker(void *x
) {
21178 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
21180 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellWorker(void *x
) {
21181 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
21183 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellWorker(void *x
) {
21184 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
21186 static void *_p_wxGridCellStringRendererTo_p_wxGridCellWorker(void *x
) {
21187 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
21189 static void *_p_wxPyGridCellRendererTo_p_wxGridCellWorker(void *x
) {
21190 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
21192 static void *_p_wxGridCellRendererTo_p_wxGridCellWorker(void *x
) {
21193 return (void *)((wxGridCellWorker
*) ((wxGridCellRenderer
*) x
));
21195 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
21196 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
21198 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
21199 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21201 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
21202 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21204 static void *_p_wxGridTo_p_wxPanel(void *x
) {
21205 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
21207 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
21208 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21210 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
21211 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21213 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
21214 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
21216 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
21217 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
21219 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
21220 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21222 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
21223 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
21225 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
21226 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21228 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
21229 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21231 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
21232 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21234 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21235 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21237 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
21238 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
21240 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
21241 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21243 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
21244 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
21246 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
21247 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21249 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
21250 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21252 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
21253 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21255 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
21256 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
21258 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
21259 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
21261 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
21262 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21264 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
21265 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21267 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
21268 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21270 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
21271 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
21273 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
21274 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21276 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
21277 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21279 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
21280 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21282 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
21283 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21285 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
21286 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21288 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
21289 return (void *)((wxWindow
*) ((wxPanel
*) x
));
21291 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
21292 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
21294 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
21295 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21297 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
21298 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21300 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
21301 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21303 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
21304 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
21306 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
21307 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21309 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
21310 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
21312 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
21313 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
21315 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
21316 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
21318 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
21319 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
21321 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
21322 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
21324 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
21325 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
21327 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
21328 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21330 static void *_p_wxControlTo_p_wxWindow(void *x
) {
21331 return (void *)((wxWindow
*) ((wxControl
*) x
));
21333 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
21334 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21336 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
21337 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21339 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
21340 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21342 static void *_p_wxGridTo_p_wxWindow(void *x
) {
21343 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21345 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
21346 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
21348 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
21349 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
21351 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
21352 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21354 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
21355 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
21357 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
21358 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21360 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
21361 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21363 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
21364 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
21366 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
21367 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21369 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
21370 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
21372 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
21373 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21375 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
21376 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21378 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
21379 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21381 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
21382 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
21384 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
21385 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21387 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
21388 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
21390 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21391 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21393 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21394 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21396 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21397 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21399 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21400 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21402 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21403 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21405 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21406 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21408 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21409 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21411 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21412 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21414 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21417 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21418 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21420 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21421 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21423 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
21424 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
21426 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21427 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21429 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21430 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21432 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
21433 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21435 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21436 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21438 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21439 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21441 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21442 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21444 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21445 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21447 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21448 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21450 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21451 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21453 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21454 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21456 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21457 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21459 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
21460 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
21462 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
21463 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21465 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21466 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21468 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21469 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21471 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
21472 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21474 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21475 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21477 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21478 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21480 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21481 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21483 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21484 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21486 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21487 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21489 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
21490 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
21492 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
21493 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21495 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21496 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21498 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21499 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21501 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21502 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21504 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21505 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21507 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21508 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21510 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21511 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21513 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21514 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21516 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21517 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21519 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21520 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21522 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21523 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21525 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21526 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21528 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21529 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21531 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21532 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21534 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21535 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21537 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21538 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21540 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21543 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21546 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21547 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21549 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21550 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21552 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21553 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21555 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21556 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21558 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21559 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21561 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21562 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21564 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21565 return (void *)((wxObject
*) ((wxSizer
*) x
));
21567 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21568 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21570 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21573 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21576 static void *_p_wxEventTo_p_wxObject(void *x
) {
21577 return (void *)((wxObject
*) ((wxEvent
*) x
));
21579 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21580 return (void *)((wxObject
*) ((wxFontData
*) x
));
21582 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21583 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21585 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21586 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21588 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21589 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21591 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21592 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21594 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21595 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21597 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
21598 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
21600 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21603 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
21604 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
21606 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
21607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21609 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21610 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21612 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21613 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21615 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21616 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21618 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21619 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21621 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21622 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21624 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21625 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21627 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21630 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
21631 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
21633 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
21634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21636 static void *_p_wxControlTo_p_wxObject(void *x
) {
21637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21639 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21640 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21642 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21643 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21645 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21646 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21648 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21649 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21651 static void *_p_wxGridTo_p_wxObject(void *x
) {
21652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21654 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21655 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21657 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21660 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
21661 return (void *)((wxObject
*) ((wxColourData
*) x
));
21663 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21664 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21666 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21669 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
21670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
21672 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
21673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21675 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
21676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21678 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
21679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21681 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
21682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21684 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
21685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21687 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
21688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21690 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
21691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
21693 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
21694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21696 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
21697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21699 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
21700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21702 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21703 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21705 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
21706 return (void *)((wxObject
*) ((wxPrinter
*) x
));
21708 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21709 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21711 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
21712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
21714 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21715 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21717 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21720 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21721 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21723 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21724 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21726 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21727 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21729 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21730 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21732 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21733 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21735 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21736 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21738 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
21739 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21741 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21744 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21745 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21747 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21750 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21751 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21753 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21754 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21756 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21757 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21759 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21760 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21762 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21763 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21765 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21766 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21768 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
21769 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
21771 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21772 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21774 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21775 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21777 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21778 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21780 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
21781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
21783 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21784 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21786 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
21787 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
21789 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
21790 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21792 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
21793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21795 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
21796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21798 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
21799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21801 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
21802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
21804 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21805 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21807 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
21808 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
21810 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
21811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21813 static void *_p_wxImageTo_p_wxObject(void *x
) {
21814 return (void *)((wxObject
*) ((wxImage
*) x
));
21816 static void *_p_wxFrameTo_p_wxObject(void *x
) {
21817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21819 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
21820 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
21822 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21823 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21825 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
21826 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21828 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
21829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
21831 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
21832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21834 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21837 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21838 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21840 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21841 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21843 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21844 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21846 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21847 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21849 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21852 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
21853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21855 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
21856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
21858 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
21859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
21861 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
21862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
21864 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
21865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
21867 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
21868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21870 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
21871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
21873 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
21874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21876 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
21877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21879 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
21880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21882 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
21883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
21885 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
21886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21888 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
21889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
21891 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
21892 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
21894 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
21895 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
21897 static void *_p_wxPanelTo_p_wxObject(void *x
) {
21898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
21900 static void *_p_wxDialogTo_p_wxObject(void *x
) {
21901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21903 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
21904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21906 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
21907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21909 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
21910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21912 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
21913 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
21915 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
21916 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
21918 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21919 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21921 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21922 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21924 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21925 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21927 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21928 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21930 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21931 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21933 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21934 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21936 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21937 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21939 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
21940 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
21942 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
21943 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
21945 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21948 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21949 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21951 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
21952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21954 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
21955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21957 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21958 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21960 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21961 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21963 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21964 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21966 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21969 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
21970 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
21972 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
21973 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
21975 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21978 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21979 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21981 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21984 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21987 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21990 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21991 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21993 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21994 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21996 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21997 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21999 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
22000 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
22002 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
22003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22005 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
22006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22008 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
22009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22011 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
22012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22014 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
22015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
22017 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
22018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
22020 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
22021 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22023 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
22024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22026 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
22027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22029 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
22030 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
22032 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
22033 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
22035 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
22036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22038 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
22039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22041 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
22042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22044 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
22045 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
22047 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
22048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22050 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
22051 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
22053 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
22054 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
22056 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
22057 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
22059 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
22060 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
22062 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
22063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
22065 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
22066 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
22068 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
22069 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
22071 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
22072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
22074 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
22075 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
22077 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
22078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22080 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
22081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22083 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
22084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22086 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
22087 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
22089 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
22090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
22092 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
22093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22095 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
22096 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
22098 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
22099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22101 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
22102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
22104 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
22105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22107 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
22108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22110 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
22111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22113 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
22114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22116 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
22117 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
22119 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
22120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22122 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
22123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22125 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
22126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22128 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
22129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22131 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
22132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22134 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
22135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22137 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
22138 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
22140 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
22141 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
22143 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
22144 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
22146 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
22147 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
22149 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
22150 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
22152 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
22153 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
22155 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
22156 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
22158 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
22159 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
22161 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
22162 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
22164 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
22165 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
22167 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
22168 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
22170 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
22171 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
22173 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
22174 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
22176 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22177 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22179 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22180 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22182 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22183 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22185 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
22186 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
22188 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22189 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22191 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22192 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22194 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22195 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22197 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22198 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22200 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
22201 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
22203 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22204 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22206 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
22207 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
22209 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
22210 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
22212 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
22213 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
22215 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
22216 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
22218 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22219 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22221 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22222 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22224 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22225 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22227 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
22228 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
22230 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
22231 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
22233 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
22234 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};
22235 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
22236 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
22237 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
22238 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
22239 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
22240 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
22241 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
22242 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
22243 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
22244 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
22245 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
22246 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
22247 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
22248 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
22249 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
22250 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
22251 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
22252 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
22253 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
22254 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
22255 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
22256 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
22257 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
22258 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
22259 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
22260 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
22261 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
22262 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
22263 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
22264 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
22265 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
22266 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
22267 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
22268 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
22269 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
22270 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
22271 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
22272 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
22273 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
22274 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
22275 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
22276 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
22277 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
22278 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
22279 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
22280 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
22281 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
22282 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
22283 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
22284 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
22285 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
22286 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
22287 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
22288 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
22289 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
22290 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
22291 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
22292 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
22293 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
22294 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
22295 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
22296 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
22297 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
22298 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
22299 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
22300 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
22301 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
22302 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
22303 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
22304 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
22305 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
22306 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
22307 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
22308 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
22309 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
22310 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
22311 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
22312 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
22313 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
22314 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
22315 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
22316 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
22317 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
22318 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
22319 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
22320 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
22321 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
22322 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
22323 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
22324 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
22325 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
22326 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
22327 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
22328 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
22329 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
22330 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
22331 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
22332 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
22333 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
22334 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
22335 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
22336 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
22337 static swig_type_info _swigt__p_wxGrid
= {"_p_wxGrid", "wxGrid *", 0, 0, (void*)0, 0};
22338 static swig_type_info _swigt__p_wxGridCellAttr
= {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, (void*)0, 0};
22339 static swig_type_info _swigt__p_wxGridCellAttrProvider
= {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, (void*)0, 0};
22340 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
= {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, (void*)0, 0};
22341 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
= {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, (void*)0, 0};
22342 static swig_type_info _swigt__p_wxGridCellBoolEditor
= {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, (void*)0, 0};
22343 static swig_type_info _swigt__p_wxGridCellBoolRenderer
= {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, (void*)0, 0};
22344 static swig_type_info _swigt__p_wxGridCellChoiceEditor
= {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, (void*)0, 0};
22345 static swig_type_info _swigt__p_wxGridCellCoords
= {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, (void*)0, 0};
22346 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
= {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, (void*)0, 0};
22347 static swig_type_info _swigt__p_wxGridCellEditor
= {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, (void*)0, 0};
22348 static swig_type_info _swigt__p_wxGridCellEnumEditor
= {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, (void*)0, 0};
22349 static swig_type_info _swigt__p_wxGridCellEnumRenderer
= {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, (void*)0, 0};
22350 static swig_type_info _swigt__p_wxGridCellFloatEditor
= {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, (void*)0, 0};
22351 static swig_type_info _swigt__p_wxGridCellFloatRenderer
= {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, (void*)0, 0};
22352 static swig_type_info _swigt__p_wxGridCellNumberEditor
= {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, (void*)0, 0};
22353 static swig_type_info _swigt__p_wxGridCellNumberRenderer
= {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, (void*)0, 0};
22354 static swig_type_info _swigt__p_wxGridCellRenderer
= {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, (void*)0, 0};
22355 static swig_type_info _swigt__p_wxGridCellStringRenderer
= {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, (void*)0, 0};
22356 static swig_type_info _swigt__p_wxGridCellTextEditor
= {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, (void*)0, 0};
22357 static swig_type_info _swigt__p_wxGridCellWorker
= {"_p_wxGridCellWorker", "wxGridCellWorker *", 0, 0, (void*)0, 0};
22358 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
= {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, (void*)0, 0};
22359 static swig_type_info _swigt__p_wxGridEvent
= {"_p_wxGridEvent", "wxGridEvent *", 0, 0, (void*)0, 0};
22360 static swig_type_info _swigt__p_wxGridRangeSelectEvent
= {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, (void*)0, 0};
22361 static swig_type_info _swigt__p_wxGridSizeEvent
= {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, (void*)0, 0};
22362 static swig_type_info _swigt__p_wxGridStringTable
= {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, (void*)0, 0};
22363 static swig_type_info _swigt__p_wxGridTableBase
= {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, (void*)0, 0};
22364 static swig_type_info _swigt__p_wxGridTableMessage
= {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, (void*)0, 0};
22365 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
22366 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
22367 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
22368 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
22369 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
22370 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
22371 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
22372 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
22373 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
22374 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
22375 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
22376 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
22377 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
22378 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
22379 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
22380 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
22381 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
22382 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
22383 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
22384 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
22385 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
22386 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
22387 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
22388 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
22389 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
22390 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
22391 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
22392 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
22393 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
22394 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
22395 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
22396 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
22397 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
22398 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
22399 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
22400 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
22401 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
22402 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
22403 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
22404 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
22405 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
22406 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
22407 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
22408 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
22409 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22410 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
22411 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
22412 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
22413 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22414 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
22415 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22416 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
= {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, (void*)0, 0};
22417 static swig_type_info _swigt__p_wxPyGridCellEditor
= {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, (void*)0, 0};
22418 static swig_type_info _swigt__p_wxPyGridCellRenderer
= {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, (void*)0, 0};
22419 static swig_type_info _swigt__p_wxPyGridTableBase
= {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, (void*)0, 0};
22420 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22421 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
22422 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
22423 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
22424 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
22425 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22427 static swig_type_info
*swig_type_initial
[] = {
22429 &_swigt__p_form_ops_t
,
22432 &_swigt__p_unsigned_char
,
22433 &_swigt__p_unsigned_int
,
22434 &_swigt__p_unsigned_long
,
22435 &_swigt__p_wxANIHandler
,
22436 &_swigt__p_wxAcceleratorTable
,
22437 &_swigt__p_wxActivateEvent
,
22438 &_swigt__p_wxArrayString
,
22439 &_swigt__p_wxBMPHandler
,
22440 &_swigt__p_wxBoxSizer
,
22441 &_swigt__p_wxCURHandler
,
22442 &_swigt__p_wxCalculateLayoutEvent
,
22443 &_swigt__p_wxChildFocusEvent
,
22444 &_swigt__p_wxClipboardTextEvent
,
22445 &_swigt__p_wxCloseEvent
,
22446 &_swigt__p_wxColour
,
22447 &_swigt__p_wxColourData
,
22448 &_swigt__p_wxColourDialog
,
22449 &_swigt__p_wxCommandEvent
,
22450 &_swigt__p_wxContextMenuEvent
,
22451 &_swigt__p_wxControl
,
22452 &_swigt__p_wxControlWithItems
,
22454 &_swigt__p_wxDateEvent
,
22455 &_swigt__p_wxDialog
,
22456 &_swigt__p_wxDirDialog
,
22457 &_swigt__p_wxDisplayChangedEvent
,
22458 &_swigt__p_wxDropFilesEvent
,
22459 &_swigt__p_wxDuplexMode
,
22460 &_swigt__p_wxEraseEvent
,
22461 &_swigt__p_wxEvent
,
22462 &_swigt__p_wxEvtHandler
,
22463 &_swigt__p_wxFSFile
,
22464 &_swigt__p_wxFileDialog
,
22465 &_swigt__p_wxFileSystem
,
22466 &_swigt__p_wxFindDialogEvent
,
22467 &_swigt__p_wxFindReplaceData
,
22468 &_swigt__p_wxFindReplaceDialog
,
22469 &_swigt__p_wxFlexGridSizer
,
22470 &_swigt__p_wxFocusEvent
,
22472 &_swigt__p_wxFontData
,
22473 &_swigt__p_wxFontDialog
,
22474 &_swigt__p_wxFrame
,
22475 &_swigt__p_wxGBSizerItem
,
22476 &_swigt__p_wxGIFHandler
,
22478 &_swigt__p_wxGridBagSizer
,
22479 &_swigt__p_wxGridCellAttr
,
22480 &_swigt__p_wxGridCellAttrProvider
,
22481 &_swigt__p_wxGridCellAutoWrapStringEditor
,
22482 &_swigt__p_wxGridCellAutoWrapStringRenderer
,
22483 &_swigt__p_wxGridCellBoolEditor
,
22484 &_swigt__p_wxGridCellBoolRenderer
,
22485 &_swigt__p_wxGridCellChoiceEditor
,
22486 &_swigt__p_wxGridCellCoords
,
22487 &_swigt__p_wxGridCellDateTimeRenderer
,
22488 &_swigt__p_wxGridCellEditor
,
22489 &_swigt__p_wxGridCellEnumEditor
,
22490 &_swigt__p_wxGridCellEnumRenderer
,
22491 &_swigt__p_wxGridCellFloatEditor
,
22492 &_swigt__p_wxGridCellFloatRenderer
,
22493 &_swigt__p_wxGridCellNumberEditor
,
22494 &_swigt__p_wxGridCellNumberRenderer
,
22495 &_swigt__p_wxGridCellRenderer
,
22496 &_swigt__p_wxGridCellStringRenderer
,
22497 &_swigt__p_wxGridCellTextEditor
,
22498 &_swigt__p_wxGridCellWorker
,
22499 &_swigt__p_wxGridEditorCreatedEvent
,
22500 &_swigt__p_wxGridEvent
,
22501 &_swigt__p_wxGridRangeSelectEvent
,
22502 &_swigt__p_wxGridSizeEvent
,
22503 &_swigt__p_wxGridSizer
,
22504 &_swigt__p_wxGridStringTable
,
22505 &_swigt__p_wxGridTableBase
,
22506 &_swigt__p_wxGridTableMessage
,
22507 &_swigt__p_wxICOHandler
,
22508 &_swigt__p_wxIconizeEvent
,
22509 &_swigt__p_wxIdleEvent
,
22510 &_swigt__p_wxImage
,
22511 &_swigt__p_wxImageHandler
,
22512 &_swigt__p_wxIndividualLayoutConstraint
,
22513 &_swigt__p_wxInitDialogEvent
,
22514 &_swigt__p_wxJPEGHandler
,
22515 &_swigt__p_wxKeyEvent
,
22516 &_swigt__p_wxLayoutAlgorithm
,
22517 &_swigt__p_wxLayoutConstraints
,
22518 &_swigt__p_wxMDIChildFrame
,
22519 &_swigt__p_wxMDIClientWindow
,
22520 &_swigt__p_wxMDIParentFrame
,
22521 &_swigt__p_wxMaximizeEvent
,
22523 &_swigt__p_wxMenuBar
,
22524 &_swigt__p_wxMenuEvent
,
22525 &_swigt__p_wxMenuItem
,
22526 &_swigt__p_wxMessageDialog
,
22527 &_swigt__p_wxMiniFrame
,
22528 &_swigt__p_wxMouseCaptureChangedEvent
,
22529 &_swigt__p_wxMouseCaptureLostEvent
,
22530 &_swigt__p_wxMouseEvent
,
22531 &_swigt__p_wxMoveEvent
,
22532 &_swigt__p_wxMultiChoiceDialog
,
22533 &_swigt__p_wxNavigationKeyEvent
,
22534 &_swigt__p_wxNcPaintEvent
,
22535 &_swigt__p_wxNotifyEvent
,
22536 &_swigt__p_wxNumberEntryDialog
,
22537 &_swigt__p_wxObject
,
22538 &_swigt__p_wxPCXHandler
,
22539 &_swigt__p_wxPNGHandler
,
22540 &_swigt__p_wxPNMHandler
,
22541 &_swigt__p_wxPageSetupDialog
,
22542 &_swigt__p_wxPageSetupDialogData
,
22543 &_swigt__p_wxPaintEvent
,
22544 &_swigt__p_wxPaletteChangedEvent
,
22545 &_swigt__p_wxPanel
,
22546 &_swigt__p_wxPaperSize
,
22547 &_swigt__p_wxPasswordEntryDialog
,
22549 &_swigt__p_wxPoint
,
22550 &_swigt__p_wxPopupWindow
,
22551 &_swigt__p_wxPreviewCanvas
,
22552 &_swigt__p_wxPreviewControlBar
,
22553 &_swigt__p_wxPreviewFrame
,
22554 &_swigt__p_wxPrintData
,
22555 &_swigt__p_wxPrintDialog
,
22556 &_swigt__p_wxPrintDialogData
,
22557 &_swigt__p_wxPrintPreview
,
22558 &_swigt__p_wxPrinter
,
22559 &_swigt__p_wxProgressDialog
,
22560 &_swigt__p_wxPyApp
,
22561 &_swigt__p_wxPyCommandEvent
,
22562 &_swigt__p_wxPyEvent
,
22563 &_swigt__p_wxPyGridCellAttrProvider
,
22564 &_swigt__p_wxPyGridCellEditor
,
22565 &_swigt__p_wxPyGridCellRenderer
,
22566 &_swigt__p_wxPyGridTableBase
,
22567 &_swigt__p_wxPyHtmlListBox
,
22568 &_swigt__p_wxPyImageHandler
,
22569 &_swigt__p_wxPyPanel
,
22570 &_swigt__p_wxPyPopupTransientWindow
,
22571 &_swigt__p_wxPyPreviewControlBar
,
22572 &_swigt__p_wxPyPreviewFrame
,
22573 &_swigt__p_wxPyPrintPreview
,
22574 &_swigt__p_wxPyPrintout
,
22575 &_swigt__p_wxPyScrolledWindow
,
22576 &_swigt__p_wxPySizer
,
22577 &_swigt__p_wxPyTaskBarIcon
,
22578 &_swigt__p_wxPyVListBox
,
22579 &_swigt__p_wxPyVScrolledWindow
,
22580 &_swigt__p_wxPyValidator
,
22581 &_swigt__p_wxPyWindow
,
22582 &_swigt__p_wxQueryLayoutInfoEvent
,
22583 &_swigt__p_wxQueryNewPaletteEvent
,
22585 &_swigt__p_wxSashEvent
,
22586 &_swigt__p_wxSashLayoutWindow
,
22587 &_swigt__p_wxSashWindow
,
22588 &_swigt__p_wxScrollEvent
,
22589 &_swigt__p_wxScrollWinEvent
,
22590 &_swigt__p_wxScrolledWindow
,
22591 &_swigt__p_wxSetCursorEvent
,
22592 &_swigt__p_wxShowEvent
,
22593 &_swigt__p_wxSimpleHtmlListBox
,
22594 &_swigt__p_wxSingleChoiceDialog
,
22596 &_swigt__p_wxSizeEvent
,
22597 &_swigt__p_wxSizer
,
22598 &_swigt__p_wxSizerItem
,
22599 &_swigt__p_wxSplashScreen
,
22600 &_swigt__p_wxSplashScreenWindow
,
22601 &_swigt__p_wxSplitterEvent
,
22602 &_swigt__p_wxSplitterWindow
,
22603 &_swigt__p_wxStaticBoxSizer
,
22604 &_swigt__p_wxStatusBar
,
22605 &_swigt__p_wxStdDialogButtonSizer
,
22606 &_swigt__p_wxString
,
22607 &_swigt__p_wxSysColourChangedEvent
,
22608 &_swigt__p_wxTGAHandler
,
22609 &_swigt__p_wxTIFFHandler
,
22610 &_swigt__p_wxTaskBarIconEvent
,
22611 &_swigt__p_wxTextEntryDialog
,
22612 &_swigt__p_wxTipWindow
,
22613 &_swigt__p_wxTopLevelWindow
,
22614 &_swigt__p_wxUpdateUIEvent
,
22615 &_swigt__p_wxValidator
,
22616 &_swigt__p_wxVisualAttributes
,
22617 &_swigt__p_wxWindow
,
22618 &_swigt__p_wxWindowCreateEvent
,
22619 &_swigt__p_wxWindowDestroyEvent
,
22620 &_swigt__p_wxXPMHandler
,
22623 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
22624 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
22625 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
22626 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
22627 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
22628 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
22629 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
22630 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
22631 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
22632 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
22633 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22634 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
22635 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
22636 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
22637 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
22638 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22639 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22640 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22641 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22642 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22643 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
22644 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
22645 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
22646 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}};
22647 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
22648 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
22649 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22650 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22651 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22652 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22653 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
22654 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22655 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22656 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
22657 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
22658 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
22659 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
22660 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22661 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22662 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22663 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22664 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
22665 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22666 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22667 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22668 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22669 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22670 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22671 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
22672 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22673 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
22674 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
22675 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22676 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
22677 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
22678 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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
22679 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
22680 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
22681 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
22682 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
22683 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
22684 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
22685 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22686 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22687 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
22688 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22689 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
22690 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
22691 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22692 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22693 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22694 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
22695 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
22696 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
22697 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
22698 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
22699 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22700 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22701 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22702 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
22703 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
22704 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22705 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
22706 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22707 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22708 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
22709 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
22710 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
22711 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
22712 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = {{&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
22713 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
22714 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
22715 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22716 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22717 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
22718 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
22719 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
22720 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
22721 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
22722 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
22723 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
22724 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
22725 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_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_wxMessageDialog
, _p_wxMessageDialogTo_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_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_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
22726 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
22727 static swig_cast_info _swigc__p_wxGrid
[] = { {&_swigt__p_wxGrid
, 0, 0, 0},{0, 0, 0, 0}};
22728 static swig_cast_info _swigc__p_wxGridCellAttr
[] = { {&_swigt__p_wxGridCellAttr
, 0, 0, 0},{0, 0, 0, 0}};
22729 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}};
22730 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor
[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor
, 0, 0, 0},{0, 0, 0, 0}};
22731 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer
[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22732 static swig_cast_info _swigc__p_wxGridCellBoolEditor
[] = { {&_swigt__p_wxGridCellBoolEditor
, 0, 0, 0},{0, 0, 0, 0}};
22733 static swig_cast_info _swigc__p_wxGridCellBoolRenderer
[] = { {&_swigt__p_wxGridCellBoolRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22734 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}};
22735 static swig_cast_info _swigc__p_wxGridCellCoords
[] = { {&_swigt__p_wxGridCellCoords
, 0, 0, 0},{0, 0, 0, 0}};
22736 static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer
[] = { {&_swigt__p_wxGridCellDateTimeRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22737 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}};
22738 static swig_cast_info _swigc__p_wxGridCellEnumEditor
[] = { {&_swigt__p_wxGridCellEnumEditor
, 0, 0, 0},{0, 0, 0, 0}};
22739 static swig_cast_info _swigc__p_wxGridCellEnumRenderer
[] = { {&_swigt__p_wxGridCellEnumRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22740 static swig_cast_info _swigc__p_wxGridCellFloatEditor
[] = { {&_swigt__p_wxGridCellFloatEditor
, 0, 0, 0},{0, 0, 0, 0}};
22741 static swig_cast_info _swigc__p_wxGridCellFloatRenderer
[] = { {&_swigt__p_wxGridCellFloatRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22742 static swig_cast_info _swigc__p_wxGridCellNumberEditor
[] = { {&_swigt__p_wxGridCellNumberEditor
, 0, 0, 0},{0, 0, 0, 0}};
22743 static swig_cast_info _swigc__p_wxGridCellNumberRenderer
[] = { {&_swigt__p_wxGridCellNumberRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22744 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}};
22745 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}};
22746 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}};
22747 static swig_cast_info _swigc__p_wxGridCellWorker
[] = { {&_swigt__p_wxGridCellChoiceEditor
, _p_wxGridCellChoiceEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellEnumEditor
, _p_wxGridCellEnumEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor
, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellFloatEditor
, _p_wxGridCellFloatEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellNumberEditor
, _p_wxGridCellNumberEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellTextEditor
, _p_wxGridCellTextEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxPyGridCellEditor
, _p_wxPyGridCellEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellEditor
, _p_wxGridCellEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellBoolEditor
, _p_wxGridCellBoolEditorTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellWorker
, 0, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer
, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer
, _p_wxGridCellEnumRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer
, _p_wxGridCellDateTimeRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellBoolRenderer
, _p_wxGridCellBoolRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer
, _p_wxGridCellFloatRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer
, _p_wxGridCellNumberRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellStringRenderer
, _p_wxGridCellStringRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxPyGridCellRenderer
, _p_wxPyGridCellRendererTo_p_wxGridCellWorker
, 0, 0}, {&_swigt__p_wxGridCellRenderer
, _p_wxGridCellRendererTo_p_wxGridCellWorker
, 0, 0},{0, 0, 0, 0}};
22748 static swig_cast_info _swigc__p_wxGridEditorCreatedEvent
[] = { {&_swigt__p_wxGridEditorCreatedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22749 static swig_cast_info _swigc__p_wxGridEvent
[] = { {&_swigt__p_wxGridEvent
, 0, 0, 0},{0, 0, 0, 0}};
22750 static swig_cast_info _swigc__p_wxGridRangeSelectEvent
[] = { {&_swigt__p_wxGridRangeSelectEvent
, 0, 0, 0},{0, 0, 0, 0}};
22751 static swig_cast_info _swigc__p_wxGridSizeEvent
[] = { {&_swigt__p_wxGridSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22752 static swig_cast_info _swigc__p_wxGridStringTable
[] = { {&_swigt__p_wxGridStringTable
, 0, 0, 0},{0, 0, 0, 0}};
22753 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}};
22754 static swig_cast_info _swigc__p_wxGridTableMessage
[] = { {&_swigt__p_wxGridTableMessage
, 0, 0, 0},{0, 0, 0, 0}};
22755 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22756 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}};
22757 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
22758 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22759 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22760 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
22761 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22762 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22763 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22764 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
22765 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
22766 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
22767 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22768 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22769 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
22770 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
22771 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
22772 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
22773 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
22774 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
22775 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
22776 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22777 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
22778 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22779 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22780 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22781 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
22782 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
22783 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
22784 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
22785 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22786 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22787 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22788 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22789 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
22790 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
22791 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
22792 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
22793 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
22794 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22795 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22796 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
22797 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
22798 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
22799 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22800 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22801 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_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_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}};
22802 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
22803 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
22804 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
22805 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
22806 static swig_cast_info _swigc__p_wxPyGridCellAttrProvider
[] = { {&_swigt__p_wxPyGridCellAttrProvider
, 0, 0, 0},{0, 0, 0, 0}};
22807 static swig_cast_info _swigc__p_wxPyGridCellEditor
[] = { {&_swigt__p_wxPyGridCellEditor
, 0, 0, 0},{0, 0, 0, 0}};
22808 static swig_cast_info _swigc__p_wxPyGridCellRenderer
[] = { {&_swigt__p_wxPyGridCellRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22809 static swig_cast_info _swigc__p_wxPyGridTableBase
[] = { {&_swigt__p_wxPyGridTableBase
, 0, 0, 0},{0, 0, 0, 0}};
22810 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
22811 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}};
22812 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
22813 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
22814 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
22815 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_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_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
22817 static swig_cast_info
*swig_cast_initial
[] = {
22819 _swigc__p_form_ops_t
,
22822 _swigc__p_unsigned_char
,
22823 _swigc__p_unsigned_int
,
22824 _swigc__p_unsigned_long
,
22825 _swigc__p_wxANIHandler
,
22826 _swigc__p_wxAcceleratorTable
,
22827 _swigc__p_wxActivateEvent
,
22828 _swigc__p_wxArrayString
,
22829 _swigc__p_wxBMPHandler
,
22830 _swigc__p_wxBoxSizer
,
22831 _swigc__p_wxCURHandler
,
22832 _swigc__p_wxCalculateLayoutEvent
,
22833 _swigc__p_wxChildFocusEvent
,
22834 _swigc__p_wxClipboardTextEvent
,
22835 _swigc__p_wxCloseEvent
,
22836 _swigc__p_wxColour
,
22837 _swigc__p_wxColourData
,
22838 _swigc__p_wxColourDialog
,
22839 _swigc__p_wxCommandEvent
,
22840 _swigc__p_wxContextMenuEvent
,
22841 _swigc__p_wxControl
,
22842 _swigc__p_wxControlWithItems
,
22844 _swigc__p_wxDateEvent
,
22845 _swigc__p_wxDialog
,
22846 _swigc__p_wxDirDialog
,
22847 _swigc__p_wxDisplayChangedEvent
,
22848 _swigc__p_wxDropFilesEvent
,
22849 _swigc__p_wxDuplexMode
,
22850 _swigc__p_wxEraseEvent
,
22852 _swigc__p_wxEvtHandler
,
22853 _swigc__p_wxFSFile
,
22854 _swigc__p_wxFileDialog
,
22855 _swigc__p_wxFileSystem
,
22856 _swigc__p_wxFindDialogEvent
,
22857 _swigc__p_wxFindReplaceData
,
22858 _swigc__p_wxFindReplaceDialog
,
22859 _swigc__p_wxFlexGridSizer
,
22860 _swigc__p_wxFocusEvent
,
22862 _swigc__p_wxFontData
,
22863 _swigc__p_wxFontDialog
,
22865 _swigc__p_wxGBSizerItem
,
22866 _swigc__p_wxGIFHandler
,
22868 _swigc__p_wxGridBagSizer
,
22869 _swigc__p_wxGridCellAttr
,
22870 _swigc__p_wxGridCellAttrProvider
,
22871 _swigc__p_wxGridCellAutoWrapStringEditor
,
22872 _swigc__p_wxGridCellAutoWrapStringRenderer
,
22873 _swigc__p_wxGridCellBoolEditor
,
22874 _swigc__p_wxGridCellBoolRenderer
,
22875 _swigc__p_wxGridCellChoiceEditor
,
22876 _swigc__p_wxGridCellCoords
,
22877 _swigc__p_wxGridCellDateTimeRenderer
,
22878 _swigc__p_wxGridCellEditor
,
22879 _swigc__p_wxGridCellEnumEditor
,
22880 _swigc__p_wxGridCellEnumRenderer
,
22881 _swigc__p_wxGridCellFloatEditor
,
22882 _swigc__p_wxGridCellFloatRenderer
,
22883 _swigc__p_wxGridCellNumberEditor
,
22884 _swigc__p_wxGridCellNumberRenderer
,
22885 _swigc__p_wxGridCellRenderer
,
22886 _swigc__p_wxGridCellStringRenderer
,
22887 _swigc__p_wxGridCellTextEditor
,
22888 _swigc__p_wxGridCellWorker
,
22889 _swigc__p_wxGridEditorCreatedEvent
,
22890 _swigc__p_wxGridEvent
,
22891 _swigc__p_wxGridRangeSelectEvent
,
22892 _swigc__p_wxGridSizeEvent
,
22893 _swigc__p_wxGridSizer
,
22894 _swigc__p_wxGridStringTable
,
22895 _swigc__p_wxGridTableBase
,
22896 _swigc__p_wxGridTableMessage
,
22897 _swigc__p_wxICOHandler
,
22898 _swigc__p_wxIconizeEvent
,
22899 _swigc__p_wxIdleEvent
,
22901 _swigc__p_wxImageHandler
,
22902 _swigc__p_wxIndividualLayoutConstraint
,
22903 _swigc__p_wxInitDialogEvent
,
22904 _swigc__p_wxJPEGHandler
,
22905 _swigc__p_wxKeyEvent
,
22906 _swigc__p_wxLayoutAlgorithm
,
22907 _swigc__p_wxLayoutConstraints
,
22908 _swigc__p_wxMDIChildFrame
,
22909 _swigc__p_wxMDIClientWindow
,
22910 _swigc__p_wxMDIParentFrame
,
22911 _swigc__p_wxMaximizeEvent
,
22913 _swigc__p_wxMenuBar
,
22914 _swigc__p_wxMenuEvent
,
22915 _swigc__p_wxMenuItem
,
22916 _swigc__p_wxMessageDialog
,
22917 _swigc__p_wxMiniFrame
,
22918 _swigc__p_wxMouseCaptureChangedEvent
,
22919 _swigc__p_wxMouseCaptureLostEvent
,
22920 _swigc__p_wxMouseEvent
,
22921 _swigc__p_wxMoveEvent
,
22922 _swigc__p_wxMultiChoiceDialog
,
22923 _swigc__p_wxNavigationKeyEvent
,
22924 _swigc__p_wxNcPaintEvent
,
22925 _swigc__p_wxNotifyEvent
,
22926 _swigc__p_wxNumberEntryDialog
,
22927 _swigc__p_wxObject
,
22928 _swigc__p_wxPCXHandler
,
22929 _swigc__p_wxPNGHandler
,
22930 _swigc__p_wxPNMHandler
,
22931 _swigc__p_wxPageSetupDialog
,
22932 _swigc__p_wxPageSetupDialogData
,
22933 _swigc__p_wxPaintEvent
,
22934 _swigc__p_wxPaletteChangedEvent
,
22936 _swigc__p_wxPaperSize
,
22937 _swigc__p_wxPasswordEntryDialog
,
22940 _swigc__p_wxPopupWindow
,
22941 _swigc__p_wxPreviewCanvas
,
22942 _swigc__p_wxPreviewControlBar
,
22943 _swigc__p_wxPreviewFrame
,
22944 _swigc__p_wxPrintData
,
22945 _swigc__p_wxPrintDialog
,
22946 _swigc__p_wxPrintDialogData
,
22947 _swigc__p_wxPrintPreview
,
22948 _swigc__p_wxPrinter
,
22949 _swigc__p_wxProgressDialog
,
22951 _swigc__p_wxPyCommandEvent
,
22952 _swigc__p_wxPyEvent
,
22953 _swigc__p_wxPyGridCellAttrProvider
,
22954 _swigc__p_wxPyGridCellEditor
,
22955 _swigc__p_wxPyGridCellRenderer
,
22956 _swigc__p_wxPyGridTableBase
,
22957 _swigc__p_wxPyHtmlListBox
,
22958 _swigc__p_wxPyImageHandler
,
22959 _swigc__p_wxPyPanel
,
22960 _swigc__p_wxPyPopupTransientWindow
,
22961 _swigc__p_wxPyPreviewControlBar
,
22962 _swigc__p_wxPyPreviewFrame
,
22963 _swigc__p_wxPyPrintPreview
,
22964 _swigc__p_wxPyPrintout
,
22965 _swigc__p_wxPyScrolledWindow
,
22966 _swigc__p_wxPySizer
,
22967 _swigc__p_wxPyTaskBarIcon
,
22968 _swigc__p_wxPyVListBox
,
22969 _swigc__p_wxPyVScrolledWindow
,
22970 _swigc__p_wxPyValidator
,
22971 _swigc__p_wxPyWindow
,
22972 _swigc__p_wxQueryLayoutInfoEvent
,
22973 _swigc__p_wxQueryNewPaletteEvent
,
22975 _swigc__p_wxSashEvent
,
22976 _swigc__p_wxSashLayoutWindow
,
22977 _swigc__p_wxSashWindow
,
22978 _swigc__p_wxScrollEvent
,
22979 _swigc__p_wxScrollWinEvent
,
22980 _swigc__p_wxScrolledWindow
,
22981 _swigc__p_wxSetCursorEvent
,
22982 _swigc__p_wxShowEvent
,
22983 _swigc__p_wxSimpleHtmlListBox
,
22984 _swigc__p_wxSingleChoiceDialog
,
22986 _swigc__p_wxSizeEvent
,
22988 _swigc__p_wxSizerItem
,
22989 _swigc__p_wxSplashScreen
,
22990 _swigc__p_wxSplashScreenWindow
,
22991 _swigc__p_wxSplitterEvent
,
22992 _swigc__p_wxSplitterWindow
,
22993 _swigc__p_wxStaticBoxSizer
,
22994 _swigc__p_wxStatusBar
,
22995 _swigc__p_wxStdDialogButtonSizer
,
22996 _swigc__p_wxString
,
22997 _swigc__p_wxSysColourChangedEvent
,
22998 _swigc__p_wxTGAHandler
,
22999 _swigc__p_wxTIFFHandler
,
23000 _swigc__p_wxTaskBarIconEvent
,
23001 _swigc__p_wxTextEntryDialog
,
23002 _swigc__p_wxTipWindow
,
23003 _swigc__p_wxTopLevelWindow
,
23004 _swigc__p_wxUpdateUIEvent
,
23005 _swigc__p_wxValidator
,
23006 _swigc__p_wxVisualAttributes
,
23007 _swigc__p_wxWindow
,
23008 _swigc__p_wxWindowCreateEvent
,
23009 _swigc__p_wxWindowDestroyEvent
,
23010 _swigc__p_wxXPMHandler
,
23014 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23016 static swig_const_info swig_const_table
[] = {
23017 {0, 0, 0, 0.0, 0, 0}};
23022 /* -----------------------------------------------------------------------------
23023 * Type initialization:
23024 * This problem is tough by the requirement that no dynamic
23025 * memory is used. Also, since swig_type_info structures store pointers to
23026 * swig_cast_info structures and swig_cast_info structures store pointers back
23027 * to swig_type_info structures, we need some lookup code at initialization.
23028 * The idea is that swig generates all the structures that are needed.
23029 * The runtime then collects these partially filled structures.
23030 * The SWIG_InitializeModule function takes these initial arrays out of
23031 * swig_module, and does all the lookup, filling in the swig_module.types
23032 * array with the correct data and linking the correct swig_cast_info
23033 * structures together.
23035 * The generated swig_type_info structures are assigned staticly to an initial
23036 * array. We just loop though that array, and handle each type individually.
23037 * First we lookup if this type has been already loaded, and if so, use the
23038 * loaded structure instead of the generated one. Then we have to fill in the
23039 * cast linked list. The cast data is initially stored in something like a
23040 * two-dimensional array. Each row corresponds to a type (there are the same
23041 * number of rows as there are in the swig_type_initial array). Each entry in
23042 * a column is one of the swig_cast_info structures for that type.
23043 * The cast_initial array is actually an array of arrays, because each row has
23044 * a variable number of columns. So to actually build the cast linked list,
23045 * we find the array of casts associated with the type, and loop through it
23046 * adding the casts to the list. The one last trick we need to do is making
23047 * sure the type pointer in the swig_cast_info struct is correct.
23049 * First off, we lookup the cast->type name to see if it is already loaded.
23050 * There are three cases to handle:
23051 * 1) If the cast->type has already been loaded AND the type we are adding
23052 * casting info to has not been loaded (it is in this module), THEN we
23053 * replace the cast->type pointer with the type pointer that has already
23055 * 2) If BOTH types (the one we are adding casting info to, and the
23056 * cast->type) are loaded, THEN the cast info has already been loaded by
23057 * the previous module so we just ignore it.
23058 * 3) Finally, if cast->type has not already been loaded, then we add that
23059 * swig_cast_info to the linked list (because the cast->type) pointer will
23061 * ----------------------------------------------------------------------------- */
23071 #define SWIGRUNTIME_DEBUG
23075 SWIG_InitializeModule(void *clientdata
) {
23077 swig_module_info
*module_head
;
23078 static int init_run
= 0;
23080 clientdata
= clientdata
;
23082 if (init_run
) return;
23085 /* Initialize the swig_module */
23086 swig_module
.type_initial
= swig_type_initial
;
23087 swig_module
.cast_initial
= swig_cast_initial
;
23089 /* Try and load any already created modules */
23090 module_head
= SWIG_GetModule(clientdata
);
23092 swig_module
.next
= module_head
->next
;
23093 module_head
->next
= &swig_module
;
23095 /* This is the first module loaded */
23096 swig_module
.next
= &swig_module
;
23097 SWIG_SetModule(clientdata
, &swig_module
);
23100 /* Now work on filling in swig_module.types */
23101 #ifdef SWIGRUNTIME_DEBUG
23102 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
23104 for (i
= 0; i
< swig_module
.size
; ++i
) {
23105 swig_type_info
*type
= 0;
23106 swig_type_info
*ret
;
23107 swig_cast_info
*cast
;
23109 #ifdef SWIGRUNTIME_DEBUG
23110 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
23113 /* if there is another module already loaded */
23114 if (swig_module
.next
!= &swig_module
) {
23115 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
23118 /* Overwrite clientdata field */
23119 #ifdef SWIGRUNTIME_DEBUG
23120 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
23122 if (swig_module
.type_initial
[i
]->clientdata
) {
23123 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
23124 #ifdef SWIGRUNTIME_DEBUG
23125 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
23129 type
= swig_module
.type_initial
[i
];
23132 /* Insert casting types */
23133 cast
= swig_module
.cast_initial
[i
];
23134 while (cast
->type
) {
23135 /* Don't need to add information already in the list */
23137 #ifdef SWIGRUNTIME_DEBUG
23138 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
23140 if (swig_module
.next
!= &swig_module
) {
23141 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
23142 #ifdef SWIGRUNTIME_DEBUG
23143 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
23147 if (type
== swig_module
.type_initial
[i
]) {
23148 #ifdef SWIGRUNTIME_DEBUG
23149 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
23154 /* Check for casting already in the list */
23155 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
23156 #ifdef SWIGRUNTIME_DEBUG
23157 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
23159 if (!ocast
) ret
= 0;
23164 #ifdef SWIGRUNTIME_DEBUG
23165 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
23168 type
->cast
->prev
= cast
;
23169 cast
->next
= type
->cast
;
23175 /* Set entry in modules->types array equal to the type */
23176 swig_module
.types
[i
] = type
;
23178 swig_module
.types
[i
] = 0;
23180 #ifdef SWIGRUNTIME_DEBUG
23181 printf("**** SWIG_InitializeModule: Cast List ******\n");
23182 for (i
= 0; i
< swig_module
.size
; ++i
) {
23184 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
23185 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
23186 while (cast
->type
) {
23187 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
23191 printf("---- Total casts: %d\n",j
);
23193 printf("**** SWIG_InitializeModule: Cast List ******\n");
23197 /* This function will propagate the clientdata field of type to
23198 * any new swig_type_info structures that have been added into the list
23199 * of equivalent types. It is like calling
23200 * SWIG_TypeClientData(type, clientdata) a second time.
23203 SWIG_PropagateClientData(void) {
23205 swig_cast_info
*equiv
;
23206 static int init_run
= 0;
23208 if (init_run
) return;
23211 for (i
= 0; i
< swig_module
.size
; i
++) {
23212 if (swig_module
.types
[i
]->clientdata
) {
23213 equiv
= swig_module
.types
[i
]->cast
;
23215 if (!equiv
->converter
) {
23216 if (equiv
->type
&& !equiv
->type
->clientdata
)
23217 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
23219 equiv
= equiv
->next
;
23239 /* Python-specific SWIG API */
23240 #define SWIG_newvarlink() SWIG_Python_newvarlink()
23241 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
23242 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
23244 /* -----------------------------------------------------------------------------
23245 * global variable support code.
23246 * ----------------------------------------------------------------------------- */
23248 typedef struct swig_globalvar
{
23249 char *name
; /* Name of global variable */
23250 PyObject
*(*get_attr
)(void); /* Return the current value */
23251 int (*set_attr
)(PyObject
*); /* Set the value */
23252 struct swig_globalvar
*next
;
23255 typedef struct swig_varlinkobject
{
23257 swig_globalvar
*vars
;
23258 } swig_varlinkobject
;
23260 SWIGINTERN PyObject
*
23261 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
23262 return PyString_FromString("<Swig global variables>");
23265 SWIGINTERN PyObject
*
23266 swig_varlink_str(swig_varlinkobject
*v
) {
23267 PyObject
*str
= PyString_FromString("(");
23268 swig_globalvar
*var
;
23269 for (var
= v
->vars
; var
; var
=var
->next
) {
23270 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
23271 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
23273 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
23278 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
23279 PyObject
*str
= swig_varlink_str(v
);
23280 fprintf(fp
,"Swig global variables ");
23281 fprintf(fp
,"%s\n", PyString_AsString(str
));
23287 swig_varlink_dealloc(swig_varlinkobject
*v
) {
23288 swig_globalvar
*var
= v
->vars
;
23290 swig_globalvar
*n
= var
->next
;
23297 SWIGINTERN PyObject
*
23298 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
23299 PyObject
*res
= NULL
;
23300 swig_globalvar
*var
= v
->vars
;
23302 if (strcmp(var
->name
,n
) == 0) {
23303 res
= (*var
->get_attr
)();
23308 if (res
== NULL
&& !PyErr_Occurred()) {
23309 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23315 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
23317 swig_globalvar
*var
= v
->vars
;
23319 if (strcmp(var
->name
,n
) == 0) {
23320 res
= (*var
->set_attr
)(p
);
23325 if (res
== 1 && !PyErr_Occurred()) {
23326 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23331 SWIGINTERN PyTypeObject
*
23332 swig_varlink_type(void) {
23333 static char varlink__doc__
[] = "Swig var link object";
23334 static PyTypeObject varlink_type
;
23335 static int type_init
= 0;
23337 const PyTypeObject tmp
23339 PyObject_HEAD_INIT(NULL
)
23340 0, /* Number of items in variable part (ob_size) */
23341 (char *)"swigvarlink", /* Type name (tp_name) */
23342 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
23343 0, /* Itemsize (tp_itemsize) */
23344 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
23345 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
23346 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
23347 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
23348 0, /* tp_compare */
23349 (reprfunc
) swig_varlink_repr
, /* tp_repr */
23350 0, /* tp_as_number */
23351 0, /* tp_as_sequence */
23352 0, /* tp_as_mapping */
23355 (reprfunc
)swig_varlink_str
, /* tp_str */
23356 0, /* tp_getattro */
23357 0, /* tp_setattro */
23358 0, /* tp_as_buffer */
23360 varlink__doc__
, /* tp_doc */
23361 0, /* tp_traverse */
23363 0, /* tp_richcompare */
23364 0, /* tp_weaklistoffset */
23365 #if PY_VERSION_HEX >= 0x02020000
23366 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
23368 #if PY_VERSION_HEX >= 0x02030000
23371 #ifdef COUNT_ALLOCS
23372 0,0,0,0 /* tp_alloc -> tp_next */
23375 varlink_type
= tmp
;
23376 varlink_type
.ob_type
= &PyType_Type
;
23379 return &varlink_type
;
23382 /* Create a variable linking object for use later */
23383 SWIGINTERN PyObject
*
23384 SWIG_Python_newvarlink(void) {
23385 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
23389 return ((PyObject
*) result
);
23393 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
23394 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
23395 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
23397 size_t size
= strlen(name
)+1;
23398 gv
->name
= (char *)malloc(size
);
23400 strncpy(gv
->name
,name
,size
);
23401 gv
->get_attr
= get_attr
;
23402 gv
->set_attr
= set_attr
;
23403 gv
->next
= v
->vars
;
23409 SWIGINTERN PyObject
*
23411 static PyObject
*_SWIG_globals
= 0;
23412 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
23413 return _SWIG_globals
;
23416 /* -----------------------------------------------------------------------------
23417 * constants/methods manipulation
23418 * ----------------------------------------------------------------------------- */
23420 /* Install Constants */
23422 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
23425 for (i
= 0; constants
[i
].type
; ++i
) {
23426 switch(constants
[i
].type
) {
23427 case SWIG_PY_POINTER
:
23428 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
23430 case SWIG_PY_BINARY
:
23431 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
23438 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
23444 /* -----------------------------------------------------------------------------*/
23445 /* Fix SwigMethods to carry the callback ptrs when needed */
23446 /* -----------------------------------------------------------------------------*/
23449 SWIG_Python_FixMethods(PyMethodDef
*methods
,
23450 swig_const_info
*const_table
,
23451 swig_type_info
**types
,
23452 swig_type_info
**types_initial
) {
23454 for (i
= 0; methods
[i
].ml_name
; ++i
) {
23455 const char *c
= methods
[i
].ml_doc
;
23456 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
23458 swig_const_info
*ci
= 0;
23459 const char *name
= c
+ 10;
23460 for (j
= 0; const_table
[j
].type
; ++j
) {
23461 if (strncmp(const_table
[j
].name
, name
,
23462 strlen(const_table
[j
].name
)) == 0) {
23463 ci
= &(const_table
[j
]);
23468 size_t shift
= (ci
->ptype
) - types
;
23469 swig_type_info
*ty
= types_initial
[shift
];
23470 size_t ldoc
= (c
- methods
[i
].ml_doc
);
23471 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
23472 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
23475 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
23477 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
23479 strncpy(buff
, "swig_ptr: ", 10);
23481 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
23482 methods
[i
].ml_doc
= ndoc
;
23494 /* -----------------------------------------------------------------------------*
23495 * Partial Init method
23496 * -----------------------------------------------------------------------------*/
23501 SWIGEXPORT
void SWIG_init(void) {
23504 /* Fix SwigMethods to carry the callback ptrs when needed */
23505 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
23507 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23508 d
= PyModule_GetDict(m
);
23510 SWIG_InitializeModule(0);
23511 SWIG_InstallConstants(d
,swig_const_table
);
23514 SWIG_Python_SetConstant(d
, "GRID_VALUE_STRING",SWIG_FromCharPtr("string"));
23515 SWIG_Python_SetConstant(d
, "GRID_VALUE_BOOL",SWIG_FromCharPtr("bool"));
23516 SWIG_Python_SetConstant(d
, "GRID_VALUE_NUMBER",SWIG_FromCharPtr("long"));
23517 SWIG_Python_SetConstant(d
, "GRID_VALUE_FLOAT",SWIG_FromCharPtr("double"));
23518 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICE",SWIG_FromCharPtr("choice"));
23519 SWIG_Python_SetConstant(d
, "GRID_VALUE_TEXT",SWIG_FromCharPtr("string"));
23520 SWIG_Python_SetConstant(d
, "GRID_VALUE_LONG",SWIG_FromCharPtr("long"));
23521 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICEINT",SWIG_FromCharPtr("choiceint"));
23522 SWIG_Python_SetConstant(d
, "GRID_VALUE_DATETIME",SWIG_FromCharPtr("datetime"));
23523 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
23524 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellCoords",GridNoCellCoords_get
, GridNoCellCoords_set
);
23525 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellRect",GridNoCellRect_get
, GridNoCellRect_set
);
23526 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_ROWS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_ROWS
)));
23527 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_COLS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_COLS
)));
23528 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_HEIGHT
)));
23529 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_WIDTH
)));
23530 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_LABEL_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
23531 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_LABEL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
23532 SWIG_Python_SetConstant(d
, "GRID_LABEL_EDGE_ZONE",SWIG_From_int(static_cast< int >(wxGRID_LABEL_EDGE_ZONE
)));
23533 SWIG_Python_SetConstant(d
, "GRID_MIN_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_MIN_ROW_HEIGHT
)));
23534 SWIG_Python_SetConstant(d
, "GRID_MIN_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_MIN_COL_WIDTH
)));
23535 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_SCROLLBAR_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
23536 SWIG_addvarlink(SWIG_globals(),(char*)"OneString",OneString_get
, OneString_set
);
23537 SWIG_Python_SetConstant(d
, "GridCellAttr_Any",SWIG_From_int(static_cast< int >(wxGridCellAttr::Any
)));
23538 SWIG_Python_SetConstant(d
, "GridCellAttr_Default",SWIG_From_int(static_cast< int >(wxGridCellAttr::Default
)));
23539 SWIG_Python_SetConstant(d
, "GridCellAttr_Cell",SWIG_From_int(static_cast< int >(wxGridCellAttr::Cell
)));
23540 SWIG_Python_SetConstant(d
, "GridCellAttr_Row",SWIG_From_int(static_cast< int >(wxGridCellAttr::Row
)));
23541 SWIG_Python_SetConstant(d
, "GridCellAttr_Col",SWIG_From_int(static_cast< int >(wxGridCellAttr::Col
)));
23542 SWIG_Python_SetConstant(d
, "GridCellAttr_Merged",SWIG_From_int(static_cast< int >(wxGridCellAttr::Merged
)));
23543 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_GET_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
23544 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_SEND_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
23545 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
23546 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
23547 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
23548 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
23549 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
23550 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
23551 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells
)));
23552 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows
)));
23553 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns
)));
23554 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
23555 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
23556 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
23557 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
23558 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
23559 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
23560 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
23561 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
23562 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
23563 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
23564 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
23565 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
23566 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
23567 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
23568 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
23569 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
23570 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));