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 PyObject
* o1
= PySequence_GetItem(ro
, 0);
3324 PyObject
* o2
= PySequence_GetItem(ro
, 1);
3325 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
3326 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3328 PyErr_SetString(PyExc_TypeError
, errmsg
);
3333 PyErr_SetString(PyExc_TypeError
, errmsg
);
3338 wxPyEndBlockThreads(blocked
);
3343 wxGridCellRenderer
*Clone() const {
3344 wxGridCellRenderer
* rval
= NULL
;
3345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3346 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3348 wxGridCellRenderer
* ptr
;
3349 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3351 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
3356 wxPyEndBlockThreads(blocked
);
3360 DEC_PYCALLBACK__STRING(SetParameters
);
3365 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
3369 class wxPyGridCellEditor
: public wxGridCellEditor
3372 wxPyGridCellEditor() : wxGridCellEditor() {}
3374 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
3375 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3376 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
3377 PyObject
* po
= wxPyMake_wxObject(parent
,false);
3378 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
3380 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
3384 wxPyEndBlockThreads(blocked
);
3388 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
3389 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3390 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
3391 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3392 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3395 wxPyEndBlockThreads(blocked
);
3399 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
3401 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3402 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
3403 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3404 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3407 wxPyEndBlockThreads(blocked
);
3412 wxGridCellEditor
* Clone() const {
3413 wxGridCellEditor
* rval
= NULL
;
3414 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3415 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3417 wxGridCellEditor
* ptr
;
3418 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3420 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
3425 wxPyEndBlockThreads(blocked
);
3430 void Show(bool show
, wxGridCellAttr
*attr
) {
3432 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3433 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
3434 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3435 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
3438 wxPyEndBlockThreads(blocked
);
3440 wxGridCellEditor::Show(show
, attr
);
3444 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
3446 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3447 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
3448 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3449 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
3451 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
3456 wxPyEndBlockThreads(blocked
);
3458 wxGridCellEditor::PaintBackground(rectCell
, attr
);
3462 DEC_PYCALLBACK___pure(Reset
);
3463 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
3464 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
3465 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
3466 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
3467 DEC_PYCALLBACK__(StartingClick
);
3468 DEC_PYCALLBACK__(Destroy
);
3469 DEC_PYCALLBACK__STRING(SetParameters
);
3470 DEC_PYCALLBACK_STRING__constpure(GetValue
);
3476 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
3477 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
3478 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
3479 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
3480 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
3481 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
3482 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
3483 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
3484 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
3487 static const wxString
wxPyOneString(_T("1"));
3488 SWIGINTERN
void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
3489 if (!self
->GetClientObject())
3490 self
->SetClientObject(new wxPyOORClientData(_self
));
3492 SWIGINTERN
void delete_wxGridCellAttr(wxGridCellAttr
*self
){
3494 SWIGINTERN
void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
3495 if (!self
->GetClientObject())
3496 self
->SetClientObject(new wxPyOORClientData(_self
));
3500 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3503 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3504 return SWIG_TypeError
;
3507 *val
= (unsigned long)v
;
3512 SWIGINTERNINLINE
int
3513 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3516 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3517 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3522 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
3525 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
3527 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
3528 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
3529 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
3530 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
3535 SWIGINTERN
void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
3536 if (!self
->GetClientObject())
3537 self
->SetClientObject(new wxPyOORClientData(_self
));
3540 #define SWIG_From_double PyFloat_FromDouble
3544 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3546 if (PyNumber_Check(obj
)) {
3547 if (val
) *val
= PyFloat_AsDouble(obj
);
3550 return SWIG_TypeError
;
3554 class wxPyGridTableBase
: public wxGridTableBase
3557 wxPyGridTableBase() : wxGridTableBase() {}
3559 PYCALLBACK_INT__pure(GetNumberRows
);
3560 PYCALLBACK_INT__pure(GetNumberCols
);
3561 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
3562 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
3563 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
3564 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
3565 PYCALLBACK__(wxGridTableBase
, Clear
);
3566 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
3567 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
3568 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
3569 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
3570 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
3571 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
3572 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
3573 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
3574 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
3575 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
3576 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
3577 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
3578 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
3579 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
3580 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
3583 wxString
GetValue(int row
, int col
) {
3584 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3586 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3588 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
3590 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
3592 ro
= PyObject_Str(ro
);
3595 rval
= Py2wxString(ro
);
3599 wxPyEndBlockThreads(blocked
);
3603 void SetValue(int row
, int col
, const wxString
& val
) {
3604 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3605 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3606 PyObject
* s
= wx2PyString(val
);
3607 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
3610 wxPyEndBlockThreads(blocked
);
3614 // Map the Get/Set methods for the standard non-string types to
3615 // the GetValue and SetValue python methods.
3616 long GetValueAsLong( int row
, int col
) {
3618 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3619 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3622 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3623 if (ro
&& PyNumber_Check(ro
)) {
3624 num
= PyNumber_Int(ro
);
3626 rval
= PyInt_AsLong(num
);
3632 wxPyEndBlockThreads(blocked
);
3636 double GetValueAsDouble( int row
, int col
) {
3638 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3639 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3642 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3643 if (ro
&& PyNumber_Check(ro
)) {
3644 num
= PyNumber_Float(ro
);
3646 rval
= PyFloat_AsDouble(num
);
3652 wxPyEndBlockThreads(blocked
);
3656 bool GetValueAsBool( int row
, int col
) {
3657 return (bool)GetValueAsLong(row
, col
);
3660 void SetValueAsLong( int row
, int col
, long value
) {
3661 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3662 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3663 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
3665 wxPyEndBlockThreads(blocked
);
3668 void SetValueAsDouble( int row
, int col
, double value
) {
3669 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3670 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3671 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
3673 wxPyEndBlockThreads(blocked
);
3676 void SetValueAsBool( int row
, int col
, bool value
) {
3677 SetValueAsLong( row
, col
, (long)value
);
3684 SWIGINTERN
void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
3686 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
3688 if (source
== Py_None
) {
3689 **obj
= wxGridCellCoords(-1,-1);
3693 // If source is an object instance then it may already be the right type
3694 if (wxPySwigInstance_Check(source
)) {
3695 wxGridCellCoords
* ptr
;
3696 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3701 // otherwise a 2-tuple of integers is expected
3702 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
3703 PyObject
* o1
= PySequence_GetItem(source
, 0);
3704 PyObject
* o2
= PySequence_GetItem(source
, 1);
3705 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
3710 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3717 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
3722 bool wxGridCellCoords_typecheck(PyObject
* source
) {
3725 if (wxPySwigInstance_Check(source
) &&
3726 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3730 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
3737 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
3739 PyObject
* list
= PyList_New(0);
3741 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
3742 wxGridCellCoords
& coord
= source
.Item(idx
);
3743 PyObject
* tup
= PyTuple_New(2);
3744 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
3745 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
3746 PyList_Append(list
, tup
);
3752 SWIGINTERN
bool wxGridCellCoords___eq__(wxGridCellCoords
*self
,PyObject
*other
){
3753 wxGridCellCoords temp
, *obj
= &temp
;
3754 if ( other
== Py_None
) return false;
3755 if ( ! wxGridCellCoords_helper(other
, &obj
) ) {
3759 return self
->operator==(*obj
);
3761 SWIGINTERN
bool wxGridCellCoords___ne__(wxGridCellCoords
*self
,PyObject
*other
){
3762 wxGridCellCoords temp
, *obj
= &temp
;
3763 if ( other
== Py_None
) return true;
3764 if ( ! wxGridCellCoords_helper(other
, &obj
)) {
3768 return self
->operator!=(*obj
);
3770 SWIGINTERN PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
3771 PyObject
* tup
= PyTuple_New(2);
3772 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3773 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3777 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
3779 SWIGINTERN wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
3780 wxGridCellCoords rv
;
3781 self
->XYToCell(x
, y
, rv
);
3787 SWIGINTERN
int GridNoCellCoords_set(PyObject
*) {
3788 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellCoords is read-only.");
3793 SWIGINTERN PyObject
*GridNoCellCoords_get(void) {
3794 PyObject
*pyobj
= 0;
3796 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0 );
3801 SWIGINTERN
int GridNoCellRect_set(PyObject
*) {
3802 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellRect is read-only.");
3807 SWIGINTERN PyObject
*GridNoCellRect_get(void) {
3808 PyObject
*pyobj
= 0;
3810 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0 );
3815 SWIGINTERN PyObject
*_wrap_GridCellWorker__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
= 0;
3817 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3818 PyObject
*arg2
= (PyObject
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3823 char * kwnames
[] = {
3824 (char *) "self",(char *) "_self", NULL
3827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3829 if (!SWIG_IsOK(res1
)) {
3830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3832 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 wxGridCellWorker__setOORInfo(arg1
,arg2
);
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3840 resultobj
= SWIG_Py_Void();
3847 SWIGINTERN PyObject
*_wrap_delete_GridCellWorker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3848 PyObject
*resultobj
= 0;
3849 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3852 PyObject
*swig_obj
[1] ;
3854 if (!args
) SWIG_fail
;
3856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, SWIG_POINTER_DISOWN
| 0 );
3857 if (!SWIG_IsOK(res1
)) {
3858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellWorker" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3860 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 delete_wxGridCellWorker(arg1
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 resultobj
= SWIG_Py_Void();
3875 SWIGINTERN PyObject
*_wrap_GridCellWorker_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
*resultobj
= 0;
3877 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3878 wxString
*arg2
= 0 ;
3881 bool temp2
= false ;
3882 PyObject
* obj0
= 0 ;
3883 PyObject
* obj1
= 0 ;
3884 char * kwnames
[] = {
3885 (char *) "self",(char *) "params", NULL
3888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3890 if (!SWIG_IsOK(res1
)) {
3891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_SetParameters" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3893 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3895 arg2
= wxString_in_helper(obj1
);
3896 if (arg2
== NULL
) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 (arg1
)->SetParameters((wxString
const &)*arg2
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_Py_Void();
3920 SWIGINTERN PyObject
*_wrap_GridCellWorker_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3921 PyObject
*resultobj
= 0;
3922 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3925 PyObject
*swig_obj
[1] ;
3927 if (!args
) SWIG_fail
;
3929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3930 if (!SWIG_IsOK(res1
)) {
3931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_IncRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3933 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 resultobj
= SWIG_Py_Void();
3947 SWIGINTERN PyObject
*_wrap_GridCellWorker_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3948 PyObject
*resultobj
= 0;
3949 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3952 PyObject
*swig_obj
[1] ;
3954 if (!args
) SWIG_fail
;
3956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3957 if (!SWIG_IsOK(res1
)) {
3958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_DecRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3960 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 resultobj
= SWIG_Py_Void();
3974 SWIGINTERN PyObject
*GridCellWorker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3977 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellWorker
, SWIG_NewClientData(obj
));
3978 return SWIG_Py_Void();
3981 SWIGINTERN PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
= 0;
3983 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3985 wxGridCellAttr
*arg3
= 0 ;
4006 PyObject
* obj0
= 0 ;
4007 PyObject
* obj1
= 0 ;
4008 PyObject
* obj2
= 0 ;
4009 PyObject
* obj3
= 0 ;
4010 PyObject
* obj4
= 0 ;
4011 PyObject
* obj5
= 0 ;
4012 PyObject
* obj6
= 0 ;
4013 PyObject
* obj7
= 0 ;
4014 char * kwnames
[] = {
4015 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
4018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
4020 if (!SWIG_IsOK(res1
)) {
4021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_Draw" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
4023 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
4024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGrid
, 0 );
4025 if (!SWIG_IsOK(res2
)) {
4026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellRenderer_Draw" "', expected argument " "2"" of type '" "wxGrid &""'");
4029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "2"" of type '" "wxGrid &""'");
4031 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
4032 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxGridCellAttr
, 0 );
4033 if (!SWIG_IsOK(res3
)) {
4034 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellRenderer_Draw" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4039 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
4040 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDC
, 0 );
4041 if (!SWIG_IsOK(res4
)) {
4042 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellRenderer_Draw" "', expected argument " "4"" of type '" "wxDC &""'");
4045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "4"" of type '" "wxDC &""'");
4047 arg4
= reinterpret_cast< wxDC
* >(argp4
);
4050 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
4052 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4053 if (!SWIG_IsOK(ecode6
)) {
4054 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridCellRenderer_Draw" "', expected argument " "6"" of type '" "int""'");
4056 arg6
= static_cast< int >(val6
);
4057 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4058 if (!SWIG_IsOK(ecode7
)) {
4059 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GridCellRenderer_Draw" "', expected argument " "7"" of type '" "int""'");
4061 arg7
= static_cast< int >(val7
);
4062 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4063 if (!SWIG_IsOK(ecode8
)) {
4064 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GridCellRenderer_Draw" "', expected argument " "8"" of type '" "bool""'");
4066 arg8
= static_cast< bool >(val8
);
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= SWIG_Py_Void();
4080 SWIGINTERN PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
= 0;
4082 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
4084 wxGridCellAttr
*arg3
= 0 ;
4101 PyObject
* obj0
= 0 ;
4102 PyObject
* obj1
= 0 ;
4103 PyObject
* obj2
= 0 ;
4104 PyObject
* obj3
= 0 ;
4105 PyObject
* obj4
= 0 ;
4106 PyObject
* obj5
= 0 ;
4107 char * kwnames
[] = {
4108 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
4111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
4113 if (!SWIG_IsOK(res1
)) {
4114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
4116 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
4117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGrid
, 0 );
4118 if (!SWIG_IsOK(res2
)) {
4119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "2"" of type '" "wxGrid &""'");
4122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "2"" of type '" "wxGrid &""'");
4124 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
4125 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxGridCellAttr
, 0 );
4126 if (!SWIG_IsOK(res3
)) {
4127 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4132 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
4133 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDC
, 0 );
4134 if (!SWIG_IsOK(res4
)) {
4135 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "4"" of type '" "wxDC &""'");
4138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "4"" of type '" "wxDC &""'");
4140 arg4
= reinterpret_cast< wxDC
* >(argp4
);
4141 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4142 if (!SWIG_IsOK(ecode5
)) {
4143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "5"" of type '" "int""'");
4145 arg5
= static_cast< int >(val5
);
4146 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4147 if (!SWIG_IsOK(ecode6
)) {
4148 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "6"" of type '" "int""'");
4150 arg6
= static_cast< int >(val6
);
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4164 SWIGINTERN PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4165 PyObject
*resultobj
= 0;
4166 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
4167 wxGridCellRenderer
*result
= 0 ;
4170 PyObject
*swig_obj
[1] ;
4172 if (!args
) SWIG_fail
;
4174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
4175 if (!SWIG_IsOK(res1
)) {
4176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_Clone" "', expected argument " "1"" of type '" "wxGridCellRenderer const *""'");
4178 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
4194 SWIGINTERN PyObject
*GridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4197 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellRenderer
, SWIG_NewClientData(obj
));
4198 return SWIG_Py_Void();
4201 SWIGINTERN PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4202 PyObject
*resultobj
= 0;
4203 wxPyGridCellRenderer
*result
= 0 ;
4205 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellRenderer",0,0,0)) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_NEW
| 0 );
4219 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
= 0;
4221 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
4222 PyObject
*arg2
= (PyObject
*) 0 ;
4223 PyObject
*arg3
= (PyObject
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4228 PyObject
* obj2
= 0 ;
4229 char * kwnames
[] = {
4230 (char *) "self",(char *) "self",(char *) "_class", NULL
4233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4235 if (!SWIG_IsOK(res1
)) {
4236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4238 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= SWIG_Py_Void();
4254 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
= 0;
4256 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
4257 wxString
*arg2
= 0 ;
4260 bool temp2
= false ;
4261 PyObject
* obj0
= 0 ;
4262 PyObject
* obj1
= 0 ;
4263 char * kwnames
[] = {
4264 (char *) "self",(char *) "params", NULL
4267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4269 if (!SWIG_IsOK(res1
)) {
4270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4272 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4274 arg2
= wxString_in_helper(obj1
);
4275 if (arg2
== NULL
) SWIG_fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 (arg1
)->SetParameters((wxString
const &)*arg2
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= SWIG_Py_Void();
4299 SWIGINTERN PyObject
*PyGridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4302 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_NewClientData(obj
));
4303 return SWIG_Py_Void();
4306 SWIGINTERN PyObject
*PyGridCellRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4307 return SWIG_Python_InitShadowInstance(args
);
4310 SWIGINTERN PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4311 PyObject
*resultobj
= 0;
4312 wxGridCellStringRenderer
*result
= 0 ;
4314 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellStringRenderer",0,0,0)) SWIG_fail
;
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_POINTER_NEW
| 0 );
4328 SWIGINTERN PyObject
*GridCellStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4331 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_NewClientData(obj
));
4332 return SWIG_Py_Void();
4335 SWIGINTERN PyObject
*GridCellStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4336 return SWIG_Python_InitShadowInstance(args
);
4339 SWIGINTERN PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4340 PyObject
*resultobj
= 0;
4341 wxGridCellNumberRenderer
*result
= 0 ;
4343 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellNumberRenderer",0,0,0)) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_POINTER_NEW
| 0 );
4357 SWIGINTERN PyObject
*GridCellNumberRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4360 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_NewClientData(obj
));
4361 return SWIG_Py_Void();
4364 SWIGINTERN PyObject
*GridCellNumberRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4365 return SWIG_Python_InitShadowInstance(args
);
4368 SWIGINTERN PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
= 0;
4370 int arg1
= (int) -1 ;
4371 int arg2
= (int) -1 ;
4372 wxGridCellFloatRenderer
*result
= 0 ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4379 char * kwnames
[] = {
4380 (char *) "width",(char *) "precision", NULL
4383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4385 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4386 if (!SWIG_IsOK(ecode1
)) {
4387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "1"" of type '" "int""'");
4389 arg1
= static_cast< int >(val1
);
4392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4393 if (!SWIG_IsOK(ecode2
)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "2"" of type '" "int""'");
4396 arg2
= static_cast< int >(val2
);
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_NEW
| 0 );
4411 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4412 PyObject
*resultobj
= 0;
4413 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4417 PyObject
*swig_obj
[1] ;
4419 if (!args
) SWIG_fail
;
4421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4422 if (!SWIG_IsOK(res1
)) {
4423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4425 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= SWIG_From_int(static_cast< int >(result
));
4439 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
= 0;
4441 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4447 PyObject
* obj0
= 0 ;
4448 PyObject
* obj1
= 0 ;
4449 char * kwnames
[] = {
4450 (char *) "self",(char *) "width", NULL
4453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4455 if (!SWIG_IsOK(res1
)) {
4456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");
4458 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4460 if (!SWIG_IsOK(ecode2
)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "2"" of type '" "int""'");
4463 arg2
= static_cast< int >(val2
);
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 (arg1
)->SetWidth(arg2
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= SWIG_Py_Void();
4477 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4478 PyObject
*resultobj
= 0;
4479 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4483 PyObject
*swig_obj
[1] ;
4485 if (!args
) SWIG_fail
;
4487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4488 if (!SWIG_IsOK(res1
)) {
4489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4491 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 resultobj
= SWIG_From_int(static_cast< int >(result
));
4505 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
= 0;
4507 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj1
= 0 ;
4515 char * kwnames
[] = {
4516 (char *) "self",(char *) "precision", NULL
4519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4521 if (!SWIG_IsOK(res1
)) {
4522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");
4524 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4526 if (!SWIG_IsOK(ecode2
)) {
4527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "2"" of type '" "int""'");
4529 arg2
= static_cast< int >(val2
);
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 (arg1
)->SetPrecision(arg2
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 resultobj
= SWIG_Py_Void();
4543 SWIGINTERN PyObject
*GridCellFloatRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4546 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_NewClientData(obj
));
4547 return SWIG_Py_Void();
4550 SWIGINTERN PyObject
*GridCellFloatRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4551 return SWIG_Python_InitShadowInstance(args
);
4554 SWIGINTERN PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4555 PyObject
*resultobj
= 0;
4556 wxGridCellBoolRenderer
*result
= 0 ;
4558 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolRenderer",0,0,0)) SWIG_fail
;
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_POINTER_NEW
| 0 );
4572 SWIGINTERN PyObject
*GridCellBoolRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4575 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_NewClientData(obj
));
4576 return SWIG_Py_Void();
4579 SWIGINTERN PyObject
*GridCellBoolRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4580 return SWIG_Python_InitShadowInstance(args
);
4583 SWIGINTERN PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
= 0;
4585 wxString arg1
= (wxString
) wxPyDefaultDateTimeFormat
;
4586 wxString arg2
= (wxString
) wxPyDefaultDateTimeFormat
;
4587 wxGridCellDateTimeRenderer
*result
= 0 ;
4588 PyObject
* obj0
= 0 ;
4589 PyObject
* obj1
= 0 ;
4590 char * kwnames
[] = {
4591 (char *) "outformat",(char *) "informat", NULL
4594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4597 wxString
* sptr
= wxString_in_helper(obj0
);
4598 if (sptr
== NULL
) SWIG_fail
;
4605 wxString
* sptr
= wxString_in_helper(obj1
);
4606 if (sptr
== NULL
) SWIG_fail
;
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_POINTER_NEW
| 0 );
4624 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4627 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_NewClientData(obj
));
4628 return SWIG_Py_Void();
4631 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4632 return SWIG_Python_InitShadowInstance(args
);
4635 SWIGINTERN PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
= 0;
4637 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4638 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4639 wxGridCellEnumRenderer
*result
= 0 ;
4640 bool temp1
= false ;
4641 PyObject
* obj0
= 0 ;
4642 char * kwnames
[] = {
4643 (char *) "choices", NULL
4646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) SWIG_fail
;
4649 arg1
= wxString_in_helper(obj0
);
4650 if (arg1
== NULL
) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_POINTER_NEW
| 0 );
4675 SWIGINTERN PyObject
*GridCellEnumRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4678 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_NewClientData(obj
));
4679 return SWIG_Py_Void();
4682 SWIGINTERN PyObject
*GridCellEnumRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4683 return SWIG_Python_InitShadowInstance(args
);
4686 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4687 PyObject
*resultobj
= 0;
4688 wxGridCellAutoWrapStringRenderer
*result
= 0 ;
4690 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringRenderer",0,0,0)) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_POINTER_NEW
| 0 );
4704 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4707 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_NewClientData(obj
));
4708 return SWIG_Py_Void();
4711 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4712 return SWIG_Python_InitShadowInstance(args
);
4715 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4716 PyObject
*resultobj
= 0;
4717 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4721 PyObject
*swig_obj
[1] ;
4723 if (!args
) SWIG_fail
;
4725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4726 if (!SWIG_IsOK(res1
)) {
4727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsCreated" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4729 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 result
= (bool)(arg1
)->IsCreated();
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4745 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4746 PyObject
*resultobj
= 0;
4747 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4748 wxControl
*result
= 0 ;
4751 PyObject
*swig_obj
[1] ;
4753 if (!args
) SWIG_fail
;
4755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4756 if (!SWIG_IsOK(res1
)) {
4757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4759 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= (wxControl
*)(arg1
)->GetControl();
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= wxPyMake_wxObject(result
, 0);
4775 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
= 0;
4777 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4778 wxControl
*arg2
= (wxControl
*) 0 ;
4783 PyObject
* obj0
= 0 ;
4784 PyObject
* obj1
= 0 ;
4785 char * kwnames
[] = {
4786 (char *) "self",(char *) "control", NULL
4789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4791 if (!SWIG_IsOK(res1
)) {
4792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4794 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
4796 if (!SWIG_IsOK(res2
)) {
4797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
4799 arg2
= reinterpret_cast< wxControl
* >(argp2
);
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 (arg1
)->SetControl(arg2
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 resultobj
= SWIG_Py_Void();
4813 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4814 PyObject
*resultobj
= 0;
4815 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4816 wxGridCellAttr
*result
= 0 ;
4819 PyObject
*swig_obj
[1] ;
4821 if (!args
) SWIG_fail
;
4823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4824 if (!SWIG_IsOK(res1
)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4827 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
4843 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
= 0;
4845 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4846 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4851 PyObject
* obj0
= 0 ;
4852 PyObject
* obj1
= 0 ;
4853 char * kwnames
[] = {
4854 (char *) "self",(char *) "attr", NULL
4857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4859 if (!SWIG_IsOK(res1
)) {
4860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4862 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
4864 if (!SWIG_IsOK(res2
)) {
4865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
4867 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 (arg1
)->SetCellAttr(arg2
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= SWIG_Py_Void();
4881 SWIGINTERN PyObject
*_wrap_GridCellEditor_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
= 0;
4883 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4884 wxWindow
*arg2
= (wxWindow
*) 0 ;
4886 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4896 PyObject
* obj1
= 0 ;
4897 PyObject
* obj2
= 0 ;
4898 PyObject
* obj3
= 0 ;
4899 char * kwnames
[] = {
4900 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
4903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4905 if (!SWIG_IsOK(res1
)) {
4906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Create" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4908 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4910 if (!SWIG_IsOK(res2
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4915 if (!SWIG_IsOK(ecode3
)) {
4916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_Create" "', expected argument " "3"" of type '" "int""'");
4918 arg3
= static_cast< int >(val3
);
4919 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
4920 if (!SWIG_IsOK(res4
)) {
4921 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_Create" "', expected argument " "4"" of type '" "wxEvtHandler *""'");
4923 arg4
= reinterpret_cast< wxEvtHandler
* >(argp4
);
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 (arg1
)->Create(arg2
,arg3
,arg4
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_Py_Void();
4937 SWIGINTERN PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
= 0;
4939 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4942 wxGrid
*arg4
= (wxGrid
*) 0 ;
4951 PyObject
* obj0
= 0 ;
4952 PyObject
* obj1
= 0 ;
4953 PyObject
* obj2
= 0 ;
4954 PyObject
* obj3
= 0 ;
4955 char * kwnames
[] = {
4956 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
4959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4961 if (!SWIG_IsOK(res1
)) {
4962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4964 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4966 if (!SWIG_IsOK(ecode2
)) {
4967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "2"" of type '" "int""'");
4969 arg2
= static_cast< int >(val2
);
4970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4971 if (!SWIG_IsOK(ecode3
)) {
4972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "3"" of type '" "int""'");
4974 arg3
= static_cast< int >(val3
);
4975 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
4976 if (!SWIG_IsOK(res4
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
4979 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= SWIG_Py_Void();
4993 SWIGINTERN PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
= 0;
4995 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4998 wxGrid
*arg4
= (wxGrid
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5010 PyObject
* obj2
= 0 ;
5011 PyObject
* obj3
= 0 ;
5012 char * kwnames
[] = {
5013 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
5016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5018 if (!SWIG_IsOK(res1
)) {
5019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5021 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5023 if (!SWIG_IsOK(ecode2
)) {
5024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "2"" of type '" "int""'");
5026 arg2
= static_cast< int >(val2
);
5027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5028 if (!SWIG_IsOK(ecode3
)) {
5029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "3"" of type '" "int""'");
5031 arg3
= static_cast< int >(val3
);
5032 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
5033 if (!SWIG_IsOK(res4
)) {
5034 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
5036 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5052 SWIGINTERN PyObject
*_wrap_GridCellEditor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5053 PyObject
*resultobj
= 0;
5054 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5057 PyObject
*swig_obj
[1] ;
5059 if (!args
) SWIG_fail
;
5061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5062 if (!SWIG_IsOK(res1
)) {
5063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Reset" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5065 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 resultobj
= SWIG_Py_Void();
5079 SWIGINTERN PyObject
*_wrap_GridCellEditor_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5080 PyObject
*resultobj
= 0;
5081 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5082 wxGridCellEditor
*result
= 0 ;
5085 PyObject
*swig_obj
[1] ;
5087 if (!args
) SWIG_fail
;
5089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5090 if (!SWIG_IsOK(res1
)) {
5091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Clone" "', expected argument " "1"" of type '" "wxGridCellEditor const *""'");
5093 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
5109 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
= 0;
5111 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5118 char * kwnames
[] = {
5119 (char *) "self",(char *) "rect", NULL
5122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5124 if (!SWIG_IsOK(res1
)) {
5125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetSize" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5127 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5130 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 (arg1
)->SetSize((wxRect
const &)*arg2
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_Py_Void();
5145 SWIGINTERN PyObject
*_wrap_GridCellEditor_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
= 0;
5147 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5149 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5158 PyObject
* obj2
= 0 ;
5159 char * kwnames
[] = {
5160 (char *) "self",(char *) "show",(char *) "attr", NULL
5163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5165 if (!SWIG_IsOK(res1
)) {
5166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Show" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5168 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5169 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5170 if (!SWIG_IsOK(ecode2
)) {
5171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_Show" "', expected argument " "2"" of type '" "bool""'");
5173 arg2
= static_cast< bool >(val2
);
5175 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5176 if (!SWIG_IsOK(res3
)) {
5177 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_Show" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
5179 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 (arg1
)->Show(arg2
,arg3
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_Py_Void();
5194 SWIGINTERN PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
= 0;
5196 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5198 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5206 PyObject
* obj2
= 0 ;
5207 char * kwnames
[] = {
5208 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
5211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5213 if (!SWIG_IsOK(res1
)) {
5214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5216 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5219 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5221 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5222 if (!SWIG_IsOK(res3
)) {
5223 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
5225 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
5227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5228 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= SWIG_Py_Void();
5239 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
= 0;
5241 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5242 wxKeyEvent
*arg2
= 0 ;
5248 PyObject
* obj0
= 0 ;
5249 PyObject
* obj1
= 0 ;
5250 char * kwnames
[] = {
5251 (char *) "self",(char *) "event", NULL
5254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5256 if (!SWIG_IsOK(res1
)) {
5257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5259 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5261 if (!SWIG_IsOK(res2
)) {
5262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5267 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5283 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
= 0;
5285 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5286 wxKeyEvent
*arg2
= 0 ;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5293 char * kwnames
[] = {
5294 (char *) "self",(char *) "event", NULL
5297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5299 if (!SWIG_IsOK(res1
)) {
5300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5302 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5304 if (!SWIG_IsOK(res2
)) {
5305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5310 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 (arg1
)->StartingKey(*arg2
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= SWIG_Py_Void();
5324 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5325 PyObject
*resultobj
= 0;
5326 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5329 PyObject
*swig_obj
[1] ;
5331 if (!args
) SWIG_fail
;
5333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5334 if (!SWIG_IsOK(res1
)) {
5335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingClick" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5337 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 (arg1
)->StartingClick();
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= SWIG_Py_Void();
5351 SWIGINTERN PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
= 0;
5353 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5354 wxKeyEvent
*arg2
= 0 ;
5359 PyObject
* obj0
= 0 ;
5360 PyObject
* obj1
= 0 ;
5361 char * kwnames
[] = {
5362 (char *) "self",(char *) "event", NULL
5365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5367 if (!SWIG_IsOK(res1
)) {
5368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5370 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5372 if (!SWIG_IsOK(res2
)) {
5373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5378 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->HandleReturn(*arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_Py_Void();
5392 SWIGINTERN PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5393 PyObject
*resultobj
= 0;
5394 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5397 PyObject
*swig_obj
[1] ;
5399 if (!args
) SWIG_fail
;
5401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5402 if (!SWIG_IsOK(res1
)) {
5403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Destroy" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5405 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= SWIG_Py_Void();
5419 SWIGINTERN PyObject
*GridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5422 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEditor
, SWIG_NewClientData(obj
));
5423 return SWIG_Py_Void();
5426 SWIGINTERN PyObject
*_wrap_new_PyGridCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5427 PyObject
*resultobj
= 0;
5428 wxPyGridCellEditor
*result
= 0 ;
5430 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellEditor",0,0,0)) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_NEW
| 0 );
5444 SWIGINTERN PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
= 0;
5446 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5447 PyObject
*arg2
= (PyObject
*) 0 ;
5448 PyObject
*arg3
= (PyObject
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 PyObject
* obj2
= 0 ;
5454 char * kwnames
[] = {
5455 (char *) "self",(char *) "self",(char *) "_class", NULL
5458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5460 if (!SWIG_IsOK(res1
)) {
5461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5463 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= SWIG_Py_Void();
5479 SWIGINTERN PyObject
*_wrap_PyGridCellEditor_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
*resultobj
= 0;
5481 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5482 wxString
*arg2
= 0 ;
5485 bool temp2
= false ;
5486 PyObject
* obj0
= 0 ;
5487 PyObject
* obj1
= 0 ;
5488 char * kwnames
[] = {
5489 (char *) "self",(char *) "params", NULL
5492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5494 if (!SWIG_IsOK(res1
)) {
5495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5497 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5499 arg2
= wxString_in_helper(obj1
);
5500 if (arg2
== NULL
) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 (arg1
)->SetParameters((wxString
const &)*arg2
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_Py_Void();
5524 SWIGINTERN PyObject
*PyGridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5527 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellEditor
, SWIG_NewClientData(obj
));
5528 return SWIG_Py_Void();
5531 SWIGINTERN PyObject
*PyGridCellEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5532 return SWIG_Python_InitShadowInstance(args
);
5535 SWIGINTERN PyObject
*_wrap_new_GridCellTextEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5536 PyObject
*resultobj
= 0;
5537 wxGridCellTextEditor
*result
= 0 ;
5539 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellTextEditor",0,0,0)) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_NEW
| 0 );
5553 SWIGINTERN PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5554 PyObject
*resultobj
= 0;
5555 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
5559 PyObject
*swig_obj
[1] ;
5561 if (!args
) SWIG_fail
;
5563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellTextEditor
, 0 | 0 );
5564 if (!SWIG_IsOK(res1
)) {
5565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellTextEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellTextEditor *""'");
5567 arg1
= reinterpret_cast< wxGridCellTextEditor
* >(argp1
);
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (arg1
)->GetValue();
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5587 SWIGINTERN PyObject
*GridCellTextEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5590 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellTextEditor
, SWIG_NewClientData(obj
));
5591 return SWIG_Py_Void();
5594 SWIGINTERN PyObject
*GridCellTextEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5595 return SWIG_Python_InitShadowInstance(args
);
5598 SWIGINTERN PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
= 0;
5600 int arg1
= (int) -1 ;
5601 int arg2
= (int) -1 ;
5602 wxGridCellNumberEditor
*result
= 0 ;
5607 PyObject
* obj0
= 0 ;
5608 PyObject
* obj1
= 0 ;
5609 char * kwnames
[] = {
5610 (char *) "min",(char *) "max", NULL
5613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5615 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5616 if (!SWIG_IsOK(ecode1
)) {
5617 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellNumberEditor" "', expected argument " "1"" of type '" "int""'");
5619 arg1
= static_cast< int >(val1
);
5622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5623 if (!SWIG_IsOK(ecode2
)) {
5624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellNumberEditor" "', expected argument " "2"" of type '" "int""'");
5626 arg2
= static_cast< int >(val2
);
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_NEW
| 0 );
5641 SWIGINTERN PyObject
*GridCellNumberEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5644 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_NewClientData(obj
));
5645 return SWIG_Py_Void();
5648 SWIGINTERN PyObject
*GridCellNumberEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5649 return SWIG_Python_InitShadowInstance(args
);
5652 SWIGINTERN PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
= 0;
5654 int arg1
= (int) -1 ;
5655 int arg2
= (int) -1 ;
5656 wxGridCellFloatEditor
*result
= 0 ;
5661 PyObject
* obj0
= 0 ;
5662 PyObject
* obj1
= 0 ;
5663 char * kwnames
[] = {
5664 (char *) "width",(char *) "precision", NULL
5667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5669 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5670 if (!SWIG_IsOK(ecode1
)) {
5671 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatEditor" "', expected argument " "1"" of type '" "int""'");
5673 arg1
= static_cast< int >(val1
);
5676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5677 if (!SWIG_IsOK(ecode2
)) {
5678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatEditor" "', expected argument " "2"" of type '" "int""'");
5680 arg2
= static_cast< int >(val2
);
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_NEW
| 0 );
5695 SWIGINTERN PyObject
*GridCellFloatEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5698 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_NewClientData(obj
));
5699 return SWIG_Py_Void();
5702 SWIGINTERN PyObject
*GridCellFloatEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5703 return SWIG_Python_InitShadowInstance(args
);
5706 SWIGINTERN
int OneString_set(PyObject
*) {
5707 SWIG_Error(SWIG_AttributeError
,"Variable OneString is read-only.");
5712 SWIGINTERN PyObject
*OneString_get(void) {
5713 PyObject
*pyobj
= 0;
5717 pyobj
= PyUnicode_FromWideChar((&wxPyOneString
)->c_str(), (&wxPyOneString
)->Len());
5719 pyobj
= PyString_FromStringAndSize((&wxPyOneString
)->c_str(), (&wxPyOneString
)->Len());
5726 SWIGINTERN PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5727 PyObject
*resultobj
= 0;
5728 wxGridCellBoolEditor
*result
= 0 ;
5730 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolEditor",0,0,0)) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_NEW
| 0 );
5744 SWIGINTERN PyObject
*_wrap_GridCellBoolEditor_UseStringValues(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
= 0;
5746 wxString
const &arg1_defvalue
= wxPyOneString
;
5747 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5748 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5749 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5750 bool temp1
= false ;
5751 bool temp2
= false ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5754 char * kwnames
[] = {
5755 (char *) "valueTrue",(char *) "valueFalse", NULL
5758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:GridCellBoolEditor_UseStringValues",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5761 arg1
= wxString_in_helper(obj0
);
5762 if (arg1
== NULL
) SWIG_fail
;
5768 arg2
= wxString_in_helper(obj1
);
5769 if (arg2
== NULL
) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 wxGridCellBoolEditor::UseStringValues((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_Py_Void();
5802 SWIGINTERN PyObject
*_wrap_GridCellBoolEditor_IsTrueValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
= 0;
5804 wxString
*arg1
= 0 ;
5806 bool temp1
= false ;
5807 PyObject
* obj0
= 0 ;
5808 char * kwnames
[] = {
5809 (char *) "value", NULL
5812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_IsTrueValue",kwnames
,&obj0
)) SWIG_fail
;
5814 arg1
= wxString_in_helper(obj0
);
5815 if (arg1
== NULL
) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (bool)wxGridCellBoolEditor::IsTrueValue((wxString
const &)*arg1
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5841 SWIGINTERN PyObject
*GridCellBoolEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5844 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_NewClientData(obj
));
5845 return SWIG_Py_Void();
5848 SWIGINTERN PyObject
*GridCellBoolEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5849 return SWIG_Python_InitShadowInstance(args
);
5852 SWIGINTERN PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
= 0;
5854 int arg1
= (int) 0 ;
5855 wxString
*arg2
= (wxString
*) NULL
;
5856 bool arg3
= (bool) false ;
5857 wxGridCellChoiceEditor
*result
= 0 ;
5860 PyObject
* obj0
= 0 ;
5861 PyObject
* obj1
= 0 ;
5862 char * kwnames
[] = {
5863 (char *) "choices",(char *) "allowOthers", NULL
5866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 arg1
= PyList_Size(obj0
);
5870 arg2
= wxString_LIST_helper(obj0
);
5871 if (arg2
== NULL
) SWIG_fail
;
5875 ecode3
= SWIG_AsVal_bool(obj1
, &val3
);
5876 if (!SWIG_IsOK(ecode3
)) {
5877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridCellChoiceEditor" "', expected argument " "3"" of type '" "bool""'");
5879 arg3
= static_cast< bool >(val3
);
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_NEW
| 0 );
5889 if (arg2
) delete [] arg2
;
5894 if (arg2
) delete [] arg2
;
5900 SWIGINTERN PyObject
*GridCellChoiceEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5903 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_NewClientData(obj
));
5904 return SWIG_Py_Void();
5907 SWIGINTERN PyObject
*GridCellChoiceEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5908 return SWIG_Python_InitShadowInstance(args
);
5911 SWIGINTERN PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
= 0;
5913 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5914 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5915 wxGridCellEnumEditor
*result
= 0 ;
5916 bool temp1
= false ;
5917 PyObject
* obj0
= 0 ;
5918 char * kwnames
[] = {
5919 (char *) "choices", NULL
5922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) SWIG_fail
;
5925 arg1
= wxString_in_helper(obj0
);
5926 if (arg1
== NULL
) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_NEW
| 0 );
5951 SWIGINTERN PyObject
*GridCellEnumEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5954 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_NewClientData(obj
));
5955 return SWIG_Py_Void();
5958 SWIGINTERN PyObject
*GridCellEnumEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5959 return SWIG_Python_InitShadowInstance(args
);
5962 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5963 PyObject
*resultobj
= 0;
5964 wxGridCellAutoWrapStringEditor
*result
= 0 ;
5966 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringEditor",0,0,0)) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_NEW
| 0 );
5980 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5983 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_NewClientData(obj
));
5984 return SWIG_Py_Void();
5987 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5988 return SWIG_Python_InitShadowInstance(args
);
5991 SWIGINTERN PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
= 0;
5993 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5994 PyObject
*arg2
= (PyObject
*) 0 ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
5999 char * kwnames
[] = {
6000 (char *) "self",(char *) "_self", NULL
6003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6005 if (!SWIG_IsOK(res1
)) {
6006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6008 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 wxGridCellAttr__setOORInfo(arg1
,arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_Py_Void();
6023 SWIGINTERN PyObject
*_wrap_new_GridCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
= 0;
6025 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
6026 wxGridCellAttr
*result
= 0 ;
6029 PyObject
* obj0
= 0 ;
6030 char * kwnames
[] = {
6031 (char *) "attrDefault", NULL
6034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) SWIG_fail
;
6036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6037 if (!SWIG_IsOK(res1
)) {
6038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6040 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)SWIG_POINTER_NEW
);
6057 SWIGINTERN PyObject
*_wrap_delete_GridCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6058 PyObject
*resultobj
= 0;
6059 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6062 PyObject
*swig_obj
[1] ;
6064 if (!args
) SWIG_fail
;
6066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_DISOWN
| 0 );
6067 if (!SWIG_IsOK(res1
)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6070 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 delete_wxGridCellAttr(arg1
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= SWIG_Py_Void();
6085 SWIGINTERN PyObject
*_wrap_GridCellAttr_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6086 PyObject
*resultobj
= 0;
6087 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6088 wxGridCellAttr
*result
= 0 ;
6091 PyObject
*swig_obj
[1] ;
6093 if (!args
) SWIG_fail
;
6095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6096 if (!SWIG_IsOK(res1
)) {
6097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_Clone" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6099 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
6115 SWIGINTERN PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
= 0;
6117 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6118 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6125 char * kwnames
[] = {
6126 (char *) "self",(char *) "mergefrom", NULL
6129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6131 if (!SWIG_IsOK(res1
)) {
6132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6134 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6136 if (!SWIG_IsOK(res2
)) {
6137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
6139 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 (arg1
)->MergeWith(arg2
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= SWIG_Py_Void();
6153 SWIGINTERN PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6154 PyObject
*resultobj
= 0;
6155 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6158 PyObject
*swig_obj
[1] ;
6160 if (!args
) SWIG_fail
;
6162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6163 if (!SWIG_IsOK(res1
)) {
6164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IncRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6166 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= SWIG_Py_Void();
6180 SWIGINTERN PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6181 PyObject
*resultobj
= 0;
6182 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6185 PyObject
*swig_obj
[1] ;
6187 if (!args
) SWIG_fail
;
6189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6190 if (!SWIG_IsOK(res1
)) {
6191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_DecRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6193 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= SWIG_Py_Void();
6207 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
= 0;
6209 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6210 wxColour
*arg2
= 0 ;
6214 PyObject
* obj0
= 0 ;
6215 PyObject
* obj1
= 0 ;
6216 char * kwnames
[] = {
6217 (char *) "self",(char *) "colText", NULL
6220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6222 if (!SWIG_IsOK(res1
)) {
6223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6225 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6228 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= SWIG_Py_Void();
6243 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
= 0;
6245 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6246 wxColour
*arg2
= 0 ;
6250 PyObject
* obj0
= 0 ;
6251 PyObject
* obj1
= 0 ;
6252 char * kwnames
[] = {
6253 (char *) "self",(char *) "colBack", NULL
6256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6258 if (!SWIG_IsOK(res1
)) {
6259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6261 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= SWIG_Py_Void();
6279 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
= 0;
6281 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 char * kwnames
[] = {
6290 (char *) "self",(char *) "font", NULL
6293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6295 if (!SWIG_IsOK(res1
)) {
6296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetFont" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6298 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
6300 if (!SWIG_IsOK(res2
)) {
6301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6306 arg2
= reinterpret_cast< wxFont
* >(argp2
);
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 (arg1
)->SetFont((wxFont
const &)*arg2
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= SWIG_Py_Void();
6320 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
= 0;
6322 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6332 PyObject
* obj1
= 0 ;
6333 PyObject
* obj2
= 0 ;
6334 char * kwnames
[] = {
6335 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
6338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6340 if (!SWIG_IsOK(res1
)) {
6341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6343 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6345 if (!SWIG_IsOK(ecode2
)) {
6346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "2"" of type '" "int""'");
6348 arg2
= static_cast< int >(val2
);
6349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6350 if (!SWIG_IsOK(ecode3
)) {
6351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "3"" of type '" "int""'");
6353 arg3
= static_cast< int >(val3
);
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 (arg1
)->SetAlignment(arg2
,arg3
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= SWIG_Py_Void();
6367 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
= 0;
6369 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6379 PyObject
* obj1
= 0 ;
6380 PyObject
* obj2
= 0 ;
6381 char * kwnames
[] = {
6382 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
6385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6387 if (!SWIG_IsOK(res1
)) {
6388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetSize" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6390 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6392 if (!SWIG_IsOK(ecode2
)) {
6393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetSize" "', expected argument " "2"" of type '" "int""'");
6395 arg2
= static_cast< int >(val2
);
6396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6397 if (!SWIG_IsOK(ecode3
)) {
6398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetSize" "', expected argument " "3"" of type '" "int""'");
6400 arg3
= static_cast< int >(val3
);
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 (arg1
)->SetSize(arg2
,arg3
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= SWIG_Py_Void();
6414 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
= 0;
6416 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6417 bool arg2
= (bool) true ;
6422 PyObject
* obj0
= 0 ;
6423 PyObject
* obj1
= 0 ;
6424 char * kwnames
[] = {
6425 (char *) "self",(char *) "allow", NULL
6428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6430 if (!SWIG_IsOK(res1
)) {
6431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6433 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6435 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6436 if (!SWIG_IsOK(ecode2
)) {
6437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "2"" of type '" "bool""'");
6439 arg2
= static_cast< bool >(val2
);
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 (arg1
)->SetOverflow(arg2
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_Py_Void();
6454 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
= 0;
6456 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6457 bool arg2
= (bool) true ;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6464 char * kwnames
[] = {
6465 (char *) "self",(char *) "isReadOnly", NULL
6468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6470 if (!SWIG_IsOK(res1
)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6473 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6475 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6476 if (!SWIG_IsOK(ecode2
)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
6479 arg2
= static_cast< bool >(val2
);
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 (arg1
)->SetReadOnly(arg2
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= SWIG_Py_Void();
6494 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
= 0;
6496 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6497 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6504 char * kwnames
[] = {
6505 (char *) "self",(char *) "renderer", NULL
6508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6513 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
6515 if (!SWIG_IsOK(res2
)) {
6516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
6518 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 (arg1
)->SetRenderer(arg2
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_Py_Void();
6532 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
= 0;
6534 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6535 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6542 char * kwnames
[] = {
6543 (char *) "self",(char *) "editor", NULL
6546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6548 if (!SWIG_IsOK(res1
)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6551 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
6553 if (!SWIG_IsOK(res2
)) {
6554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
6556 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 (arg1
)->SetEditor(arg2
);
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= SWIG_Py_Void();
6570 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
= 0;
6572 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6573 wxGridCellAttr::wxAttrKind arg2
;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6580 char * kwnames
[] = {
6581 (char *) "self",(char *) "kind", NULL
6584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6586 if (!SWIG_IsOK(res1
)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6589 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6591 if (!SWIG_IsOK(ecode2
)) {
6592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetKind" "', expected argument " "2"" of type '" "wxGridCellAttr::wxAttrKind""'");
6594 arg2
= static_cast< wxGridCellAttr::wxAttrKind
>(val2
);
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 (arg1
)->SetKind(arg2
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_Py_Void();
6608 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6609 PyObject
*resultobj
= 0;
6610 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6614 PyObject
*swig_obj
[1] ;
6616 if (!args
) SWIG_fail
;
6618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6619 if (!SWIG_IsOK(res1
)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6622 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6638 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6639 PyObject
*resultobj
= 0;
6640 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6644 PyObject
*swig_obj
[1] ;
6646 if (!args
) SWIG_fail
;
6648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6649 if (!SWIG_IsOK(res1
)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6652 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6668 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6669 PyObject
*resultobj
= 0;
6670 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6674 PyObject
*swig_obj
[1] ;
6676 if (!args
) SWIG_fail
;
6678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6679 if (!SWIG_IsOK(res1
)) {
6680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6682 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6698 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6699 PyObject
*resultobj
= 0;
6700 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6704 PyObject
*swig_obj
[1] ;
6706 if (!args
) SWIG_fail
;
6708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6709 if (!SWIG_IsOK(res1
)) {
6710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6712 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6728 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6729 PyObject
*resultobj
= 0;
6730 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6734 PyObject
*swig_obj
[1] ;
6736 if (!args
) SWIG_fail
;
6738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6739 if (!SWIG_IsOK(res1
)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6742 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6758 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6759 PyObject
*resultobj
= 0;
6760 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6764 PyObject
*swig_obj
[1] ;
6766 if (!args
) SWIG_fail
;
6768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6769 if (!SWIG_IsOK(res1
)) {
6770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6772 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6788 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6789 PyObject
*resultobj
= 0;
6790 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6794 PyObject
*swig_obj
[1] ;
6796 if (!args
) SWIG_fail
;
6798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6799 if (!SWIG_IsOK(res1
)) {
6800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasReadWriteMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6802 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6818 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6819 PyObject
*resultobj
= 0;
6820 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6824 PyObject
*swig_obj
[1] ;
6826 if (!args
) SWIG_fail
;
6828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6829 if (!SWIG_IsOK(res1
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasOverflowMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6832 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6848 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6849 PyObject
*resultobj
= 0;
6850 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6854 PyObject
*swig_obj
[1] ;
6856 if (!args
) SWIG_fail
;
6858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6859 if (!SWIG_IsOK(res1
)) {
6860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6862 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6876 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6877 PyObject
*resultobj
= 0;
6878 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6882 PyObject
*swig_obj
[1] ;
6884 if (!args
) SWIG_fail
;
6886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6887 if (!SWIG_IsOK(res1
)) {
6888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6890 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6904 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6905 PyObject
*resultobj
= 0;
6906 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6910 PyObject
*swig_obj
[1] ;
6912 if (!args
) SWIG_fail
;
6914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6915 if (!SWIG_IsOK(res1
)) {
6916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6918 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
6932 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6933 PyObject
*resultobj
= 0;
6934 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6935 int *arg2
= (int *) 0 ;
6936 int *arg3
= (int *) 0 ;
6940 int res2
= SWIG_TMPOBJ
;
6942 int res3
= SWIG_TMPOBJ
;
6943 PyObject
*swig_obj
[1] ;
6947 if (!args
) SWIG_fail
;
6949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6950 if (!SWIG_IsOK(res1
)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6953 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 resultobj
= SWIG_Py_Void();
6961 if (SWIG_IsTmpObj(res2
)) {
6962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6964 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6967 if (SWIG_IsTmpObj(res3
)) {
6968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6970 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6979 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6980 PyObject
*resultobj
= 0;
6981 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6982 int *arg2
= (int *) 0 ;
6983 int *arg3
= (int *) 0 ;
6987 int res2
= SWIG_TMPOBJ
;
6989 int res3
= SWIG_TMPOBJ
;
6990 PyObject
*swig_obj
[1] ;
6994 if (!args
) SWIG_fail
;
6996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6997 if (!SWIG_IsOK(res1
)) {
6998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetSize" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7000 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= SWIG_Py_Void();
7008 if (SWIG_IsTmpObj(res2
)) {
7009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
7011 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
7014 if (SWIG_IsTmpObj(res3
)) {
7015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
7017 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
7026 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7027 PyObject
*resultobj
= 0;
7028 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7032 PyObject
*swig_obj
[1] ;
7034 if (!args
) SWIG_fail
;
7036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7037 if (!SWIG_IsOK(res1
)) {
7038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7040 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7056 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
= 0;
7058 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7059 wxGrid
*arg2
= (wxGrid
*) 0 ;
7062 wxGridCellRenderer
*result
= 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7073 PyObject
* obj2
= 0 ;
7074 PyObject
* obj3
= 0 ;
7075 char * kwnames
[] = {
7076 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
7079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7081 if (!SWIG_IsOK(res1
)) {
7082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7084 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
7086 if (!SWIG_IsOK(res2
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "2"" of type '" "wxGrid *""'");
7089 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
7090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7091 if (!SWIG_IsOK(ecode3
)) {
7092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "3"" of type '" "int""'");
7094 arg3
= static_cast< int >(val3
);
7095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7096 if (!SWIG_IsOK(ecode4
)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "4"" of type '" "int""'");
7099 arg4
= static_cast< int >(val4
);
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
7115 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
= 0;
7117 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7118 wxGrid
*arg2
= (wxGrid
*) 0 ;
7121 wxGridCellEditor
*result
= 0 ;
7130 PyObject
* obj0
= 0 ;
7131 PyObject
* obj1
= 0 ;
7132 PyObject
* obj2
= 0 ;
7133 PyObject
* obj3
= 0 ;
7134 char * kwnames
[] = {
7135 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
7138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7140 if (!SWIG_IsOK(res1
)) {
7141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7143 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
7145 if (!SWIG_IsOK(res2
)) {
7146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "2"" of type '" "wxGrid *""'");
7148 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
7149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7150 if (!SWIG_IsOK(ecode3
)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "3"" of type '" "int""'");
7153 arg3
= static_cast< int >(val3
);
7154 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7155 if (!SWIG_IsOK(ecode4
)) {
7156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "4"" of type '" "int""'");
7158 arg4
= static_cast< int >(val4
);
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
7174 SWIGINTERN PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7175 PyObject
*resultobj
= 0;
7176 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7180 PyObject
*swig_obj
[1] ;
7182 if (!args
) SWIG_fail
;
7184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7185 if (!SWIG_IsOK(res1
)) {
7186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IsReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7188 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7204 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7205 PyObject
*resultobj
= 0;
7206 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7207 wxGridCellAttr::wxAttrKind result
;
7210 PyObject
*swig_obj
[1] ;
7212 if (!args
) SWIG_fail
;
7214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7215 if (!SWIG_IsOK(res1
)) {
7216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
7218 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_From_int(static_cast< int >(result
));
7232 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
= 0;
7234 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7235 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7240 PyObject
* obj0
= 0 ;
7241 PyObject
* obj1
= 0 ;
7242 char * kwnames
[] = {
7243 (char *) "self",(char *) "defAttr", NULL
7246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7248 if (!SWIG_IsOK(res1
)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
7251 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7253 if (!SWIG_IsOK(res2
)) {
7254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7256 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 (arg1
)->SetDefAttr(arg2
);
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= SWIG_Py_Void();
7270 SWIGINTERN PyObject
*GridCellAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7273 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttr
, SWIG_NewClientData(obj
));
7274 return SWIG_Py_Void();
7277 SWIGINTERN PyObject
*GridCellAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7278 return SWIG_Python_InitShadowInstance(args
);
7281 SWIGINTERN PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7282 PyObject
*resultobj
= 0;
7283 wxGridCellAttrProvider
*result
= 0 ;
7285 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAttrProvider",0,0,0)) SWIG_fail
;
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)SWIG_POINTER_NEW
);
7301 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
= 0;
7303 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7304 PyObject
*arg2
= (PyObject
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 char * kwnames
[] = {
7310 (char *) "self",(char *) "_self", NULL
7313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7315 if (!SWIG_IsOK(res1
)) {
7316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7318 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= SWIG_Py_Void();
7333 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
= 0;
7335 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7338 wxGridCellAttr::wxAttrKind arg4
;
7339 wxGridCellAttr
*result
= 0 ;
7348 PyObject
* obj0
= 0 ;
7349 PyObject
* obj1
= 0 ;
7350 PyObject
* obj2
= 0 ;
7351 PyObject
* obj3
= 0 ;
7352 char * kwnames
[] = {
7353 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7358 if (!SWIG_IsOK(res1
)) {
7359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider const *""'");
7361 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7363 if (!SWIG_IsOK(ecode2
)) {
7364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7366 arg2
= static_cast< int >(val2
);
7367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7368 if (!SWIG_IsOK(ecode3
)) {
7369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7371 arg3
= static_cast< int >(val3
);
7372 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7373 if (!SWIG_IsOK(ecode4
)) {
7374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7376 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,arg4
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7392 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
= 0;
7394 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7395 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7407 PyObject
* obj1
= 0 ;
7408 PyObject
* obj2
= 0 ;
7409 PyObject
* obj3
= 0 ;
7410 char * kwnames
[] = {
7411 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7416 if (!SWIG_IsOK(res1
)) {
7417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7419 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7421 if (!SWIG_IsOK(res2
)) {
7422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7424 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7426 if (!SWIG_IsOK(ecode3
)) {
7427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7429 arg3
= static_cast< int >(val3
);
7430 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7431 if (!SWIG_IsOK(ecode4
)) {
7432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7434 arg4
= static_cast< int >(val4
);
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_Py_Void();
7448 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= 0;
7450 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7451 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 char * kwnames
[] = {
7463 (char *) "self",(char *) "attr",(char *) "row", NULL
7466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7471 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7472 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7473 if (!SWIG_IsOK(res2
)) {
7474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7476 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7478 if (!SWIG_IsOK(ecode3
)) {
7479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7481 arg3
= static_cast< int >(val3
);
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 (arg1
)->SetRowAttr(arg2
,arg3
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_Py_Void();
7495 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
= 0;
7497 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7498 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7506 PyObject
* obj0
= 0 ;
7507 PyObject
* obj1
= 0 ;
7508 PyObject
* obj2
= 0 ;
7509 char * kwnames
[] = {
7510 (char *) "self",(char *) "attr",(char *) "col", NULL
7513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7515 if (!SWIG_IsOK(res1
)) {
7516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7518 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7520 if (!SWIG_IsOK(res2
)) {
7521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7523 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7525 if (!SWIG_IsOK(ecode3
)) {
7526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7528 arg3
= static_cast< int >(val3
);
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 (arg1
)->SetColAttr(arg2
,arg3
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= SWIG_Py_Void();
7542 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
= 0;
7544 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7553 PyObject
* obj0
= 0 ;
7554 PyObject
* obj1
= 0 ;
7555 PyObject
* obj2
= 0 ;
7556 char * kwnames
[] = {
7557 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7562 if (!SWIG_IsOK(res1
)) {
7563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7565 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7566 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7567 if (!SWIG_IsOK(ecode2
)) {
7568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "2"" of type '" "size_t""'");
7570 arg2
= static_cast< size_t >(val2
);
7571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7572 if (!SWIG_IsOK(ecode3
)) {
7573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "3"" of type '" "int""'");
7575 arg3
= static_cast< int >(val3
);
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 (arg1
)->UpdateAttrRows(arg2
,arg3
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 resultobj
= SWIG_Py_Void();
7589 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
= 0;
7591 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7602 PyObject
* obj2
= 0 ;
7603 char * kwnames
[] = {
7604 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7612 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7613 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7614 if (!SWIG_IsOK(ecode2
)) {
7615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "2"" of type '" "size_t""'");
7617 arg2
= static_cast< size_t >(val2
);
7618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7619 if (!SWIG_IsOK(ecode3
)) {
7620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "3"" of type '" "int""'");
7622 arg3
= static_cast< int >(val3
);
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 (arg1
)->UpdateAttrCols(arg2
,arg3
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_Py_Void();
7636 SWIGINTERN PyObject
*GridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7639 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_NewClientData(obj
));
7640 return SWIG_Py_Void();
7643 SWIGINTERN PyObject
*GridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7644 return SWIG_Python_InitShadowInstance(args
);
7647 SWIGINTERN PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7648 PyObject
*resultobj
= 0;
7649 wxPyGridCellAttrProvider
*result
= 0 ;
7651 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellAttrProvider",0,0,0)) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_NEW
| 0 );
7665 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
= 0;
7667 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7668 PyObject
*arg2
= (PyObject
*) 0 ;
7669 PyObject
*arg3
= (PyObject
*) 0 ;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7674 PyObject
* obj2
= 0 ;
7675 char * kwnames
[] = {
7676 (char *) "self",(char *) "self",(char *) "_class", NULL
7679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7681 if (!SWIG_IsOK(res1
)) {
7682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7684 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_Py_Void();
7700 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
= 0;
7702 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7705 wxGridCellAttr::wxAttrKind arg4
;
7706 wxGridCellAttr
*result
= 0 ;
7715 PyObject
* obj0
= 0 ;
7716 PyObject
* obj1
= 0 ;
7717 PyObject
* obj2
= 0 ;
7718 PyObject
* obj3
= 0 ;
7719 char * kwnames
[] = {
7720 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7725 if (!SWIG_IsOK(res1
)) {
7726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7728 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7730 if (!SWIG_IsOK(ecode2
)) {
7731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7733 arg2
= static_cast< int >(val2
);
7734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7735 if (!SWIG_IsOK(ecode3
)) {
7736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7738 arg3
= static_cast< int >(val3
);
7739 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7740 if (!SWIG_IsOK(ecode4
)) {
7741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7743 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7759 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
= 0;
7761 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7762 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7773 PyObject
* obj0
= 0 ;
7774 PyObject
* obj1
= 0 ;
7775 PyObject
* obj2
= 0 ;
7776 PyObject
* obj3
= 0 ;
7777 char * kwnames
[] = {
7778 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7783 if (!SWIG_IsOK(res1
)) {
7784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7786 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7787 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7788 if (!SWIG_IsOK(res2
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7791 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7793 if (!SWIG_IsOK(ecode3
)) {
7794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7796 arg3
= static_cast< int >(val3
);
7797 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7798 if (!SWIG_IsOK(ecode4
)) {
7799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7801 arg4
= static_cast< int >(val4
);
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= SWIG_Py_Void();
7815 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
= 0;
7817 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7818 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7826 PyObject
* obj0
= 0 ;
7827 PyObject
* obj1
= 0 ;
7828 PyObject
* obj2
= 0 ;
7829 char * kwnames
[] = {
7830 (char *) "self",(char *) "attr",(char *) "row", NULL
7833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7835 if (!SWIG_IsOK(res1
)) {
7836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7838 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7840 if (!SWIG_IsOK(res2
)) {
7841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7843 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7845 if (!SWIG_IsOK(ecode3
)) {
7846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7848 arg3
= static_cast< int >(val3
);
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 (arg1
)->SetRowAttr(arg2
,arg3
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_Py_Void();
7862 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
= 0;
7864 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7865 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7875 PyObject
* obj2
= 0 ;
7876 char * kwnames
[] = {
7877 (char *) "self",(char *) "attr",(char *) "col", NULL
7880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7882 if (!SWIG_IsOK(res1
)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7885 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7886 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7887 if (!SWIG_IsOK(res2
)) {
7888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7890 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7892 if (!SWIG_IsOK(ecode3
)) {
7893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7895 arg3
= static_cast< int >(val3
);
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 (arg1
)->SetColAttr(arg2
,arg3
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= SWIG_Py_Void();
7909 SWIGINTERN PyObject
*PyGridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7911 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7912 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_NewClientData(obj
));
7913 return SWIG_Py_Void();
7916 SWIGINTERN PyObject
*PyGridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7917 return SWIG_Python_InitShadowInstance(args
);
7920 SWIGINTERN PyObject
*_wrap_delete_GridTableBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7921 PyObject
*resultobj
= 0;
7922 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7925 PyObject
*swig_obj
[1] ;
7927 if (!args
) SWIG_fail
;
7929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN
| 0 );
7930 if (!SWIG_IsOK(res1
)) {
7931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableBase" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7933 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= SWIG_Py_Void();
7948 SWIGINTERN PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
= 0;
7950 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7951 PyObject
*arg2
= (PyObject
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7956 char * kwnames
[] = {
7957 (char *) "self",(char *) "_self", NULL
7960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7962 if (!SWIG_IsOK(res1
)) {
7963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase__setOORInfo" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7965 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 wxGridTableBase__setOORInfo(arg1
,arg2
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_Py_Void();
7980 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
= 0;
7982 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7983 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7990 char * kwnames
[] = {
7991 (char *) "self",(char *) "attrProvider", NULL
7994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7996 if (!SWIG_IsOK(res1
)) {
7997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7999 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
8001 if (!SWIG_IsOK(res2
)) {
8002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "2"" of type '" "wxGridCellAttrProvider *""'");
8004 arg2
= reinterpret_cast< wxGridCellAttrProvider
* >(argp2
);
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 (arg1
)->SetAttrProvider(arg2
);
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= SWIG_Py_Void();
8018 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8019 PyObject
*resultobj
= 0;
8020 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8021 wxGridCellAttrProvider
*result
= 0 ;
8024 PyObject
*swig_obj
[1] ;
8026 if (!args
) SWIG_fail
;
8028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8029 if (!SWIG_IsOK(res1
)) {
8030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
8032 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)0);
8048 SWIGINTERN PyObject
*_wrap_GridTableBase_SetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
= 0;
8050 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8051 wxGrid
*arg2
= (wxGrid
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8057 PyObject
* obj1
= 0 ;
8058 char * kwnames
[] = {
8059 (char *) "self",(char *) "grid", NULL
8062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8064 if (!SWIG_IsOK(res1
)) {
8065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetView" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8067 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
8069 if (!SWIG_IsOK(res2
)) {
8070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetView" "', expected argument " "2"" of type '" "wxGrid *""'");
8072 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 (arg1
)->SetView(arg2
);
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= SWIG_Py_Void();
8086 SWIGINTERN PyObject
*_wrap_GridTableBase_GetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8087 PyObject
*resultobj
= 0;
8088 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8089 wxGrid
*result
= 0 ;
8092 PyObject
*swig_obj
[1] ;
8094 if (!args
) SWIG_fail
;
8096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8097 if (!SWIG_IsOK(res1
)) {
8098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetView" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
8100 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= wxPyMake_wxObject(result
, (bool)0);
8116 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8117 PyObject
*resultobj
= 0;
8118 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8122 PyObject
*swig_obj
[1] ;
8124 if (!args
) SWIG_fail
;
8126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8127 if (!SWIG_IsOK(res1
)) {
8128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8130 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (int)(arg1
)->GetNumberRows();
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 resultobj
= SWIG_From_int(static_cast< int >(result
));
8144 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8145 PyObject
*resultobj
= 0;
8146 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8150 PyObject
*swig_obj
[1] ;
8152 if (!args
) SWIG_fail
;
8154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8155 if (!SWIG_IsOK(res1
)) {
8156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8158 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 result
= (int)(arg1
)->GetNumberCols();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_From_int(static_cast< int >(result
));
8172 SWIGINTERN PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
= 0;
8174 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8185 PyObject
* obj1
= 0 ;
8186 PyObject
* obj2
= 0 ;
8187 char * kwnames
[] = {
8188 (char *) "self",(char *) "row",(char *) "col", NULL
8191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8193 if (!SWIG_IsOK(res1
)) {
8194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8196 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8198 if (!SWIG_IsOK(ecode2
)) {
8199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "2"" of type '" "int""'");
8201 arg2
= static_cast< int >(val2
);
8202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8203 if (!SWIG_IsOK(ecode3
)) {
8204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "3"" of type '" "int""'");
8206 arg3
= static_cast< int >(val3
);
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8222 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
= 0;
8224 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8234 PyObject
* obj0
= 0 ;
8235 PyObject
* obj1
= 0 ;
8236 PyObject
* obj2
= 0 ;
8237 char * kwnames
[] = {
8238 (char *) "self",(char *) "row",(char *) "col", NULL
8241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8243 if (!SWIG_IsOK(res1
)) {
8244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8246 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8248 if (!SWIG_IsOK(ecode2
)) {
8249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValue" "', expected argument " "2"" of type '" "int""'");
8251 arg2
= static_cast< int >(val2
);
8252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8253 if (!SWIG_IsOK(ecode3
)) {
8254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValue" "', expected argument " "3"" of type '" "int""'");
8256 arg3
= static_cast< int >(val3
);
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (arg1
)->GetValue(arg2
,arg3
);
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8276 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
= 0;
8278 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8281 wxString
*arg4
= 0 ;
8288 bool temp4
= false ;
8289 PyObject
* obj0
= 0 ;
8290 PyObject
* obj1
= 0 ;
8291 PyObject
* obj2
= 0 ;
8292 PyObject
* obj3
= 0 ;
8293 char * kwnames
[] = {
8294 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8299 if (!SWIG_IsOK(res1
)) {
8300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8302 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8304 if (!SWIG_IsOK(ecode2
)) {
8305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValue" "', expected argument " "2"" of type '" "int""'");
8307 arg2
= static_cast< int >(val2
);
8308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8309 if (!SWIG_IsOK(ecode3
)) {
8310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValue" "', expected argument " "3"" of type '" "int""'");
8312 arg3
= static_cast< int >(val3
);
8314 arg4
= wxString_in_helper(obj3
);
8315 if (arg4
== NULL
) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= SWIG_Py_Void();
8339 SWIGINTERN PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
= 0;
8341 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8353 PyObject
* obj2
= 0 ;
8354 char * kwnames
[] = {
8355 (char *) "self",(char *) "row",(char *) "col", NULL
8358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8360 if (!SWIG_IsOK(res1
)) {
8361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8363 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8365 if (!SWIG_IsOK(ecode2
)) {
8366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "2"" of type '" "int""'");
8368 arg2
= static_cast< int >(val2
);
8369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8370 if (!SWIG_IsOK(ecode3
)) {
8371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "3"" of type '" "int""'");
8373 arg3
= static_cast< int >(val3
);
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= (arg1
)->GetTypeName(arg2
,arg3
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8393 SWIGINTERN PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
= 0;
8395 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8398 wxString
*arg4
= 0 ;
8406 bool temp4
= false ;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8409 PyObject
* obj2
= 0 ;
8410 PyObject
* obj3
= 0 ;
8411 char * kwnames
[] = {
8412 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8417 if (!SWIG_IsOK(res1
)) {
8418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8420 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8422 if (!SWIG_IsOK(ecode2
)) {
8423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "2"" of type '" "int""'");
8425 arg2
= static_cast< int >(val2
);
8426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8427 if (!SWIG_IsOK(ecode3
)) {
8428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "3"" of type '" "int""'");
8430 arg3
= static_cast< int >(val3
);
8432 arg4
= wxString_in_helper(obj3
);
8433 if (arg4
== NULL
) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8459 SWIGINTERN PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
= 0;
8461 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8464 wxString
*arg4
= 0 ;
8472 bool temp4
= false ;
8473 PyObject
* obj0
= 0 ;
8474 PyObject
* obj1
= 0 ;
8475 PyObject
* obj2
= 0 ;
8476 PyObject
* obj3
= 0 ;
8477 char * kwnames
[] = {
8478 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8483 if (!SWIG_IsOK(res1
)) {
8484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8486 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8488 if (!SWIG_IsOK(ecode2
)) {
8489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "2"" of type '" "int""'");
8491 arg2
= static_cast< int >(val2
);
8492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8493 if (!SWIG_IsOK(ecode3
)) {
8494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "3"" of type '" "int""'");
8496 arg3
= static_cast< int >(val3
);
8498 arg4
= wxString_in_helper(obj3
);
8499 if (arg4
== NULL
) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8525 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
= 0;
8527 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8537 PyObject
* obj0
= 0 ;
8538 PyObject
* obj1
= 0 ;
8539 PyObject
* obj2
= 0 ;
8540 char * kwnames
[] = {
8541 (char *) "self",(char *) "row",(char *) "col", NULL
8544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8546 if (!SWIG_IsOK(res1
)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8549 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8551 if (!SWIG_IsOK(ecode2
)) {
8552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8554 arg2
= static_cast< int >(val2
);
8555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8556 if (!SWIG_IsOK(ecode3
)) {
8557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8559 arg3
= static_cast< int >(val3
);
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= SWIG_From_long(static_cast< long >(result
));
8573 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
= 0;
8575 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8587 PyObject
* obj2
= 0 ;
8588 char * kwnames
[] = {
8589 (char *) "self",(char *) "row",(char *) "col", NULL
8592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8594 if (!SWIG_IsOK(res1
)) {
8595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8597 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8599 if (!SWIG_IsOK(ecode2
)) {
8600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8602 arg2
= static_cast< int >(val2
);
8603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8604 if (!SWIG_IsOK(ecode3
)) {
8605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8607 arg3
= static_cast< int >(val3
);
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= SWIG_From_double(static_cast< double >(result
));
8621 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
= 0;
8623 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8635 PyObject
* obj2
= 0 ;
8636 char * kwnames
[] = {
8637 (char *) "self",(char *) "row",(char *) "col", NULL
8640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8642 if (!SWIG_IsOK(res1
)) {
8643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8645 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8647 if (!SWIG_IsOK(ecode2
)) {
8648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8650 arg2
= static_cast< int >(val2
);
8651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8652 if (!SWIG_IsOK(ecode3
)) {
8653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8655 arg3
= static_cast< int >(val3
);
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8671 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
= 0;
8673 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8687 PyObject
* obj2
= 0 ;
8688 PyObject
* obj3
= 0 ;
8689 char * kwnames
[] = {
8690 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8695 if (!SWIG_IsOK(res1
)) {
8696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8698 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8700 if (!SWIG_IsOK(ecode2
)) {
8701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8703 arg2
= static_cast< int >(val2
);
8704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8705 if (!SWIG_IsOK(ecode3
)) {
8706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8708 arg3
= static_cast< int >(val3
);
8709 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8710 if (!SWIG_IsOK(ecode4
)) {
8711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "4"" of type '" "long""'");
8713 arg4
= static_cast< long >(val4
);
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= SWIG_Py_Void();
8727 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
= 0;
8729 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8741 PyObject
* obj0
= 0 ;
8742 PyObject
* obj1
= 0 ;
8743 PyObject
* obj2
= 0 ;
8744 PyObject
* obj3
= 0 ;
8745 char * kwnames
[] = {
8746 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8751 if (!SWIG_IsOK(res1
)) {
8752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8754 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8756 if (!SWIG_IsOK(ecode2
)) {
8757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8759 arg2
= static_cast< int >(val2
);
8760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8761 if (!SWIG_IsOK(ecode3
)) {
8762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8764 arg3
= static_cast< int >(val3
);
8765 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
8766 if (!SWIG_IsOK(ecode4
)) {
8767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "4"" of type '" "double""'");
8769 arg4
= static_cast< double >(val4
);
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 resultobj
= SWIG_Py_Void();
8783 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
= 0;
8785 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8797 PyObject
* obj0
= 0 ;
8798 PyObject
* obj1
= 0 ;
8799 PyObject
* obj2
= 0 ;
8800 PyObject
* obj3
= 0 ;
8801 char * kwnames
[] = {
8802 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8807 if (!SWIG_IsOK(res1
)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8810 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8812 if (!SWIG_IsOK(ecode2
)) {
8813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8815 arg2
= static_cast< int >(val2
);
8816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8817 if (!SWIG_IsOK(ecode3
)) {
8818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8820 arg3
= static_cast< int >(val3
);
8821 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
8822 if (!SWIG_IsOK(ecode4
)) {
8823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "4"" of type '" "bool""'");
8825 arg4
= static_cast< bool >(val4
);
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= SWIG_Py_Void();
8839 SWIGINTERN PyObject
*_wrap_GridTableBase_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8840 PyObject
*resultobj
= 0;
8841 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8844 PyObject
*swig_obj
[1] ;
8846 if (!args
) SWIG_fail
;
8848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8849 if (!SWIG_IsOK(res1
)) {
8850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_Clear" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8852 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= SWIG_Py_Void();
8866 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
= 0;
8868 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8869 size_t arg2
= (size_t) 0 ;
8870 size_t arg3
= (size_t) 1 ;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8880 PyObject
* obj2
= 0 ;
8881 char * kwnames
[] = {
8882 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8887 if (!SWIG_IsOK(res1
)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8890 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8892 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8893 if (!SWIG_IsOK(ecode2
)) {
8894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertRows" "', expected argument " "2"" of type '" "size_t""'");
8896 arg2
= static_cast< size_t >(val2
);
8899 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8900 if (!SWIG_IsOK(ecode3
)) {
8901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertRows" "', expected argument " "3"" of type '" "size_t""'");
8903 arg3
= static_cast< size_t >(val3
);
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8920 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
= 0;
8922 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8923 size_t arg2
= (size_t) 1 ;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 char * kwnames
[] = {
8932 (char *) "self",(char *) "numRows", NULL
8935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8937 if (!SWIG_IsOK(res1
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8940 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8942 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8943 if (!SWIG_IsOK(ecode2
)) {
8944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendRows" "', expected argument " "2"" of type '" "size_t""'");
8946 arg2
= static_cast< size_t >(val2
);
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (bool)(arg1
)->AppendRows(arg2
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8963 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
= 0;
8965 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8966 size_t arg2
= (size_t) 0 ;
8967 size_t arg3
= (size_t) 1 ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8977 PyObject
* obj2
= 0 ;
8978 char * kwnames
[] = {
8979 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8984 if (!SWIG_IsOK(res1
)) {
8985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8987 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8989 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8990 if (!SWIG_IsOK(ecode2
)) {
8991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "2"" of type '" "size_t""'");
8993 arg2
= static_cast< size_t >(val2
);
8996 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8997 if (!SWIG_IsOK(ecode3
)) {
8998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "3"" of type '" "size_t""'");
9000 arg3
= static_cast< size_t >(val3
);
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9017 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
= 0;
9019 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9020 size_t arg2
= (size_t) 0 ;
9021 size_t arg3
= (size_t) 1 ;
9029 PyObject
* obj0
= 0 ;
9030 PyObject
* obj1
= 0 ;
9031 PyObject
* obj2
= 0 ;
9032 char * kwnames
[] = {
9033 (char *) "self",(char *) "pos",(char *) "numCols", NULL
9036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9038 if (!SWIG_IsOK(res1
)) {
9039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9041 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9043 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
9044 if (!SWIG_IsOK(ecode2
)) {
9045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertCols" "', expected argument " "2"" of type '" "size_t""'");
9047 arg2
= static_cast< size_t >(val2
);
9050 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
9051 if (!SWIG_IsOK(ecode3
)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertCols" "', expected argument " "3"" of type '" "size_t""'");
9054 arg3
= static_cast< size_t >(val3
);
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9071 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
= 0;
9073 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9074 size_t arg2
= (size_t) 1 ;
9080 PyObject
* obj0
= 0 ;
9081 PyObject
* obj1
= 0 ;
9082 char * kwnames
[] = {
9083 (char *) "self",(char *) "numCols", NULL
9086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9088 if (!SWIG_IsOK(res1
)) {
9089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9091 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9093 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
9094 if (!SWIG_IsOK(ecode2
)) {
9095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendCols" "', expected argument " "2"" of type '" "size_t""'");
9097 arg2
= static_cast< size_t >(val2
);
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= (bool)(arg1
)->AppendCols(arg2
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9114 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
= 0;
9116 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9117 size_t arg2
= (size_t) 0 ;
9118 size_t arg3
= (size_t) 1 ;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9128 PyObject
* obj2
= 0 ;
9129 char * kwnames
[] = {
9130 (char *) "self",(char *) "pos",(char *) "numCols", NULL
9133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9135 if (!SWIG_IsOK(res1
)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9138 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9140 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
9141 if (!SWIG_IsOK(ecode2
)) {
9142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "2"" of type '" "size_t""'");
9144 arg2
= static_cast< size_t >(val2
);
9147 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
9148 if (!SWIG_IsOK(ecode3
)) {
9149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "3"" of type '" "size_t""'");
9151 arg3
= static_cast< size_t >(val3
);
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9168 SWIGINTERN PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
= 0;
9170 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9177 PyObject
* obj0
= 0 ;
9178 PyObject
* obj1
= 0 ;
9179 char * kwnames
[] = {
9180 (char *) "self",(char *) "row", NULL
9183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9185 if (!SWIG_IsOK(res1
)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9188 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9190 if (!SWIG_IsOK(ecode2
)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
9193 arg2
= static_cast< int >(val2
);
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (arg1
)->GetRowLabelValue(arg2
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9213 SWIGINTERN PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9224 char * kwnames
[] = {
9225 (char *) "self",(char *) "col", NULL
9228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9230 if (!SWIG_IsOK(res1
)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9233 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9235 if (!SWIG_IsOK(ecode2
)) {
9236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
9238 arg2
= static_cast< int >(val2
);
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (arg1
)->GetColLabelValue(arg2
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9258 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
= 0;
9260 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9262 wxString
*arg3
= 0 ;
9267 bool temp3
= false ;
9268 PyObject
* obj0
= 0 ;
9269 PyObject
* obj1
= 0 ;
9270 PyObject
* obj2
= 0 ;
9271 char * kwnames
[] = {
9272 (char *) "self",(char *) "row",(char *) "value", NULL
9275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9277 if (!SWIG_IsOK(res1
)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9280 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9282 if (!SWIG_IsOK(ecode2
)) {
9283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
9285 arg2
= static_cast< int >(val2
);
9287 arg3
= wxString_in_helper(obj2
);
9288 if (arg3
== NULL
) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_Py_Void();
9312 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
= 0;
9314 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9316 wxString
*arg3
= 0 ;
9321 bool temp3
= false ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9324 PyObject
* obj2
= 0 ;
9325 char * kwnames
[] = {
9326 (char *) "self",(char *) "col",(char *) "value", NULL
9329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9331 if (!SWIG_IsOK(res1
)) {
9332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9334 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9336 if (!SWIG_IsOK(ecode2
)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
9339 arg2
= static_cast< int >(val2
);
9341 arg3
= wxString_in_helper(obj2
);
9342 if (arg3
== NULL
) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_Py_Void();
9366 SWIGINTERN PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9367 PyObject
*resultobj
= 0;
9368 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9372 PyObject
*swig_obj
[1] ;
9374 if (!args
) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanHaveAttributes" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9380 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (bool)(arg1
)->CanHaveAttributes();
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9396 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
= 0;
9398 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9401 wxGridCellAttr::wxAttrKind arg4
;
9402 wxGridCellAttr
*result
= 0 ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9413 PyObject
* obj2
= 0 ;
9414 PyObject
* obj3
= 0 ;
9415 char * kwnames
[] = {
9416 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
9419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9421 if (!SWIG_IsOK(res1
)) {
9422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9424 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9426 if (!SWIG_IsOK(ecode2
)) {
9427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetAttr" "', expected argument " "2"" of type '" "int""'");
9429 arg2
= static_cast< int >(val2
);
9430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9431 if (!SWIG_IsOK(ecode3
)) {
9432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetAttr" "', expected argument " "3"" of type '" "int""'");
9434 arg3
= static_cast< int >(val3
);
9435 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9436 if (!SWIG_IsOK(ecode4
)) {
9437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
9439 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
9455 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
= 0;
9457 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9458 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9470 PyObject
* obj1
= 0 ;
9471 PyObject
* obj2
= 0 ;
9472 PyObject
* obj3
= 0 ;
9473 char * kwnames
[] = {
9474 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
9477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9479 if (!SWIG_IsOK(res1
)) {
9480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9482 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9483 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9484 if (!SWIG_IsOK(res2
)) {
9485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9487 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9489 if (!SWIG_IsOK(ecode3
)) {
9490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetAttr" "', expected argument " "3"" of type '" "int""'");
9492 arg3
= static_cast< int >(val3
);
9493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9494 if (!SWIG_IsOK(ecode4
)) {
9495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetAttr" "', expected argument " "4"" of type '" "int""'");
9497 arg4
= static_cast< int >(val4
);
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_Py_Void();
9511 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
= 0;
9513 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9514 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9524 PyObject
* obj2
= 0 ;
9525 char * kwnames
[] = {
9526 (char *) "self",(char *) "attr",(char *) "row", NULL
9529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9531 if (!SWIG_IsOK(res1
)) {
9532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9534 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9536 if (!SWIG_IsOK(res2
)) {
9537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9539 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9541 if (!SWIG_IsOK(ecode3
)) {
9542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
9544 arg3
= static_cast< int >(val3
);
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 (arg1
)->SetRowAttr(arg2
,arg3
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 resultobj
= SWIG_Py_Void();
9558 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
= 0;
9560 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9561 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 PyObject
* obj2
= 0 ;
9572 char * kwnames
[] = {
9573 (char *) "self",(char *) "attr",(char *) "col", NULL
9576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9578 if (!SWIG_IsOK(res1
)) {
9579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9581 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9583 if (!SWIG_IsOK(res2
)) {
9584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9586 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9588 if (!SWIG_IsOK(ecode3
)) {
9589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "3"" of type '" "int""'");
9591 arg3
= static_cast< int >(val3
);
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 (arg1
)->SetColAttr(arg2
,arg3
);
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_Py_Void();
9605 SWIGINTERN PyObject
*GridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9608 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableBase
, SWIG_NewClientData(obj
));
9609 return SWIG_Py_Void();
9612 SWIGINTERN PyObject
*_wrap_new_PyGridTableBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9613 PyObject
*resultobj
= 0;
9614 wxPyGridTableBase
*result
= 0 ;
9616 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridTableBase",0,0,0)) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_NEW
| 0 );
9630 SWIGINTERN PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
= 0;
9632 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9633 PyObject
*arg2
= (PyObject
*) 0 ;
9634 PyObject
*arg3
= (PyObject
*) 0 ;
9637 PyObject
* obj0
= 0 ;
9638 PyObject
* obj1
= 0 ;
9639 PyObject
* obj2
= 0 ;
9640 char * kwnames
[] = {
9641 (char *) "self",(char *) "self",(char *) "_class", NULL
9644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9646 if (!SWIG_IsOK(res1
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9649 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= SWIG_Py_Void();
9665 SWIGINTERN PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9666 PyObject
*resultobj
= 0;
9667 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9670 PyObject
*swig_obj
[1] ;
9672 if (!args
) SWIG_fail
;
9674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9675 if (!SWIG_IsOK(res1
)) {
9676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase_Destroy" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9678 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 wxPyGridTableBase_Destroy(arg1
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= SWIG_Py_Void();
9692 SWIGINTERN PyObject
*PyGridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9695 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridTableBase
, SWIG_NewClientData(obj
));
9696 return SWIG_Py_Void();
9699 SWIGINTERN PyObject
*PyGridTableBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9700 return SWIG_Python_InitShadowInstance(args
);
9703 SWIGINTERN PyObject
*_wrap_new_GridStringTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
= 0;
9705 int arg1
= (int) 0 ;
9706 int arg2
= (int) 0 ;
9707 wxGridStringTable
*result
= 0 ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 char * kwnames
[] = {
9715 (char *) "numRows",(char *) "numCols", NULL
9718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9720 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9721 if (!SWIG_IsOK(ecode1
)) {
9722 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridStringTable" "', expected argument " "1"" of type '" "int""'");
9724 arg1
= static_cast< int >(val1
);
9727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9728 if (!SWIG_IsOK(ecode2
)) {
9729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridStringTable" "', expected argument " "2"" of type '" "int""'");
9731 arg2
= static_cast< int >(val2
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridStringTable
, SWIG_POINTER_NEW
| 0 );
9746 SWIGINTERN PyObject
*GridStringTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9749 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridStringTable
, SWIG_NewClientData(obj
));
9750 return SWIG_Py_Void();
9753 SWIGINTERN PyObject
*GridStringTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9754 return SWIG_Python_InitShadowInstance(args
);
9757 SWIGINTERN PyObject
*_wrap_new_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= 0;
9759 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9761 int arg3
= (int) -1 ;
9762 int arg4
= (int) -1 ;
9763 wxGridTableMessage
*result
= 0 ;
9772 PyObject
* obj0
= 0 ;
9773 PyObject
* obj1
= 0 ;
9774 PyObject
* obj2
= 0 ;
9775 PyObject
* obj3
= 0 ;
9776 char * kwnames
[] = {
9777 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
9780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9782 if (!SWIG_IsOK(res1
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9785 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9787 if (!SWIG_IsOK(ecode2
)) {
9788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridTableMessage" "', expected argument " "2"" of type '" "int""'");
9790 arg2
= static_cast< int >(val2
);
9792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9793 if (!SWIG_IsOK(ecode3
)) {
9794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridTableMessage" "', expected argument " "3"" of type '" "int""'");
9796 arg3
= static_cast< int >(val3
);
9799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9800 if (!SWIG_IsOK(ecode4
)) {
9801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridTableMessage" "', expected argument " "4"" of type '" "int""'");
9803 arg4
= static_cast< int >(val4
);
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_NEW
| 0 );
9818 SWIGINTERN PyObject
*_wrap_delete_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9819 PyObject
*resultobj
= 0;
9820 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9823 PyObject
*swig_obj
[1] ;
9825 if (!args
) SWIG_fail
;
9827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_DISOWN
| 0 );
9828 if (!SWIG_IsOK(res1
)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9831 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_Py_Void();
9846 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
= 0;
9848 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9849 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9856 char * kwnames
[] = {
9857 (char *) "self",(char *) "table", NULL
9860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9862 if (!SWIG_IsOK(res1
)) {
9863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9865 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9867 if (!SWIG_IsOK(res2
)) {
9868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
9870 arg2
= reinterpret_cast< wxGridTableBase
* >(argp2
);
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 (arg1
)->SetTableObject(arg2
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_Py_Void();
9884 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9885 PyObject
*resultobj
= 0;
9886 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9887 wxGridTableBase
*result
= 0 ;
9890 PyObject
*swig_obj
[1] ;
9892 if (!args
) SWIG_fail
;
9894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9895 if (!SWIG_IsOK(res1
)) {
9896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage const *""'");
9898 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
9914 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
= 0;
9916 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9922 PyObject
* obj0
= 0 ;
9923 PyObject
* obj1
= 0 ;
9924 char * kwnames
[] = {
9925 (char *) "self",(char *) "id", NULL
9928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9930 if (!SWIG_IsOK(res1
)) {
9931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9933 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9935 if (!SWIG_IsOK(ecode2
)) {
9936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetId" "', expected argument " "2"" of type '" "int""'");
9938 arg2
= static_cast< int >(val2
);
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 (arg1
)->SetId(arg2
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= SWIG_Py_Void();
9952 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9953 PyObject
*resultobj
= 0;
9954 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9958 PyObject
*swig_obj
[1] ;
9960 if (!args
) SWIG_fail
;
9962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9963 if (!SWIG_IsOK(res1
)) {
9964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9966 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 result
= (int)(arg1
)->GetId();
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= SWIG_From_int(static_cast< int >(result
));
9980 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
= 0;
9982 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9990 char * kwnames
[] = {
9991 (char *) "self",(char *) "comInt1", NULL
9994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9996 if (!SWIG_IsOK(res1
)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9999 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
10000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10001 if (!SWIG_IsOK(ecode2
)) {
10002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "2"" of type '" "int""'");
10004 arg2
= static_cast< int >(val2
);
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 (arg1
)->SetCommandInt(arg2
);
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= SWIG_Py_Void();
10018 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10019 PyObject
*resultobj
= 0;
10020 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
10024 PyObject
*swig_obj
[1] ;
10026 if (!args
) SWIG_fail
;
10027 swig_obj
[0] = args
;
10028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
10029 if (!SWIG_IsOK(res1
)) {
10030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
10032 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 result
= (int)(arg1
)->GetCommandInt();
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= SWIG_From_int(static_cast< int >(result
));
10046 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
= 0;
10048 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
10054 PyObject
* obj0
= 0 ;
10055 PyObject
* obj1
= 0 ;
10056 char * kwnames
[] = {
10057 (char *) "self",(char *) "comInt2", NULL
10060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
10062 if (!SWIG_IsOK(res1
)) {
10063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
10065 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
10066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10067 if (!SWIG_IsOK(ecode2
)) {
10068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "2"" of type '" "int""'");
10070 arg2
= static_cast< int >(val2
);
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 (arg1
)->SetCommandInt2(arg2
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_Py_Void();
10084 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10085 PyObject
*resultobj
= 0;
10086 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
10090 PyObject
*swig_obj
[1] ;
10092 if (!args
) SWIG_fail
;
10093 swig_obj
[0] = args
;
10094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
10095 if (!SWIG_IsOK(res1
)) {
10096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
10098 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (int)(arg1
)->GetCommandInt2();
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= SWIG_From_int(static_cast< int >(result
));
10112 SWIGINTERN PyObject
*GridTableMessage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10115 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableMessage
, SWIG_NewClientData(obj
));
10116 return SWIG_Py_Void();
10119 SWIGINTERN PyObject
*GridTableMessage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10120 return SWIG_Python_InitShadowInstance(args
);
10123 SWIGINTERN PyObject
*_wrap_new_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
= 0;
10125 int arg1
= (int) -1 ;
10126 int arg2
= (int) -1 ;
10127 wxGridCellCoords
*result
= 0 ;
10132 PyObject
* obj0
= 0 ;
10133 PyObject
* obj1
= 0 ;
10134 char * kwnames
[] = {
10135 (char *) "r",(char *) "c", NULL
10138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10140 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10141 if (!SWIG_IsOK(ecode1
)) {
10142 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellCoords" "', expected argument " "1"" of type '" "int""'");
10144 arg1
= static_cast< int >(val1
);
10147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10148 if (!SWIG_IsOK(ecode2
)) {
10149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellCoords" "', expected argument " "2"" of type '" "int""'");
10151 arg2
= static_cast< int >(val2
);
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_NEW
| 0 );
10166 SWIGINTERN PyObject
*_wrap_delete_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10167 PyObject
*resultobj
= 0;
10168 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10171 PyObject
*swig_obj
[1] ;
10173 if (!args
) SWIG_fail
;
10174 swig_obj
[0] = args
;
10175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_DISOWN
| 0 );
10176 if (!SWIG_IsOK(res1
)) {
10177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellCoords" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10179 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= SWIG_Py_Void();
10194 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10195 PyObject
*resultobj
= 0;
10196 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10200 PyObject
*swig_obj
[1] ;
10202 if (!args
) SWIG_fail
;
10203 swig_obj
[0] = args
;
10204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10205 if (!SWIG_IsOK(res1
)) {
10206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetRow" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10208 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= SWIG_From_int(static_cast< int >(result
));
10222 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
= 0;
10224 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10230 PyObject
* obj0
= 0 ;
10231 PyObject
* obj1
= 0 ;
10232 char * kwnames
[] = {
10233 (char *) "self",(char *) "n", NULL
10236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10238 if (!SWIG_IsOK(res1
)) {
10239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetRow" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10241 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10243 if (!SWIG_IsOK(ecode2
)) {
10244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetRow" "', expected argument " "2"" of type '" "int""'");
10246 arg2
= static_cast< int >(val2
);
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 (arg1
)->SetRow(arg2
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= SWIG_Py_Void();
10260 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10261 PyObject
*resultobj
= 0;
10262 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10266 PyObject
*swig_obj
[1] ;
10268 if (!args
) SWIG_fail
;
10269 swig_obj
[0] = args
;
10270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10271 if (!SWIG_IsOK(res1
)) {
10272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetCol" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10274 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= SWIG_From_int(static_cast< int >(result
));
10288 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
= 0;
10290 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10296 PyObject
* obj0
= 0 ;
10297 PyObject
* obj1
= 0 ;
10298 char * kwnames
[] = {
10299 (char *) "self",(char *) "n", NULL
10302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10304 if (!SWIG_IsOK(res1
)) {
10305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetCol" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10307 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10309 if (!SWIG_IsOK(ecode2
)) {
10310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetCol" "', expected argument " "2"" of type '" "int""'");
10312 arg2
= static_cast< int >(val2
);
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 (arg1
)->SetCol(arg2
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= SWIG_Py_Void();
10326 SWIGINTERN PyObject
*_wrap_GridCellCoords_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
= 0;
10328 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 PyObject
* obj1
= 0 ;
10339 PyObject
* obj2
= 0 ;
10340 char * kwnames
[] = {
10341 (char *) "self",(char *) "row",(char *) "col", NULL
10344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10346 if (!SWIG_IsOK(res1
)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Set" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10349 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10351 if (!SWIG_IsOK(ecode2
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_Set" "', expected argument " "2"" of type '" "int""'");
10354 arg2
= static_cast< int >(val2
);
10355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10356 if (!SWIG_IsOK(ecode3
)) {
10357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellCoords_Set" "', expected argument " "3"" of type '" "int""'");
10359 arg3
= static_cast< int >(val3
);
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 (arg1
)->Set(arg2
,arg3
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= SWIG_Py_Void();
10373 SWIGINTERN PyObject
*_wrap_GridCellCoords___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
= 0;
10375 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10376 PyObject
*arg2
= (PyObject
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 char * kwnames
[] = {
10383 (char *) "self",(char *) "other", NULL
10386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10388 if (!SWIG_IsOK(res1
)) {
10389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___eq__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10391 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10394 result
= (bool)wxGridCellCoords___eq__(arg1
,arg2
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10406 SWIGINTERN PyObject
*_wrap_GridCellCoords___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
= 0;
10408 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10409 PyObject
*arg2
= (PyObject
*) 0 ;
10413 PyObject
* obj0
= 0 ;
10414 PyObject
* obj1
= 0 ;
10415 char * kwnames
[] = {
10416 (char *) "self",(char *) "other", NULL
10419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10421 if (!SWIG_IsOK(res1
)) {
10422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___ne__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10424 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10427 result
= (bool)wxGridCellCoords___ne__(arg1
,arg2
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10439 SWIGINTERN PyObject
*_wrap_GridCellCoords_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10440 PyObject
*resultobj
= 0;
10441 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10442 PyObject
*result
= 0 ;
10445 PyObject
*swig_obj
[1] ;
10447 if (!args
) SWIG_fail
;
10448 swig_obj
[0] = args
;
10449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10450 if (!SWIG_IsOK(res1
)) {
10451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Get" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10453 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 resultobj
= result
;
10467 SWIGINTERN PyObject
*GridCellCoords_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10470 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellCoords
, SWIG_NewClientData(obj
));
10471 return SWIG_Py_Void();
10474 SWIGINTERN PyObject
*GridCellCoords_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10475 return SWIG_Python_InitShadowInstance(args
);
10478 SWIGINTERN PyObject
*_wrap_new_Grid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
= 0;
10480 wxWindow
*arg1
= (wxWindow
*) 0 ;
10481 int arg2
= (int) -1 ;
10482 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10483 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10484 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10485 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10486 long arg5
= (long) wxWANTS_CHARS
;
10487 wxString
const &arg6_defvalue
= wxPyGridNameStr
;
10488 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10489 wxGrid
*result
= 0 ;
10498 bool temp6
= false ;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 PyObject
* obj2
= 0 ;
10502 PyObject
* obj3
= 0 ;
10503 PyObject
* obj4
= 0 ;
10504 PyObject
* obj5
= 0 ;
10505 char * kwnames
[] = {
10506 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10511 if (!SWIG_IsOK(res1
)) {
10512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Grid" "', expected argument " "1"" of type '" "wxWindow *""'");
10514 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10517 if (!SWIG_IsOK(ecode2
)) {
10518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Grid" "', expected argument " "2"" of type '" "int""'");
10520 arg2
= static_cast< int >(val2
);
10525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10531 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10535 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10536 if (!SWIG_IsOK(ecode5
)) {
10537 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Grid" "', expected argument " "5"" of type '" "long""'");
10539 arg5
= static_cast< long >(val5
);
10543 arg6
= wxString_in_helper(obj5
);
10544 if (arg6
== NULL
) SWIG_fail
;
10549 if (!wxPyCheckForApp()) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_NEW
| 0 );
10570 SWIGINTERN PyObject
*_wrap_new_PreGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10571 PyObject
*resultobj
= 0;
10572 wxGrid
*result
= 0 ;
10574 if (!SWIG_Python_UnpackTuple(args
,"new_PreGrid",0,0,0)) SWIG_fail
;
10576 if (!wxPyCheckForApp()) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (wxGrid
*)new wxGrid();
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_OWN
| 0 );
10589 SWIGINTERN PyObject
*_wrap_Grid_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
= 0;
10591 wxGrid
*arg1
= (wxGrid
*) 0 ;
10592 wxWindow
*arg2
= (wxWindow
*) 0 ;
10593 int arg3
= (int) -1 ;
10594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10598 long arg6
= (long) wxWANTS_CHARS
;
10599 wxString
const &arg7_defvalue
= wxPyGridNameStr
;
10600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10612 bool temp7
= false ;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 PyObject
* obj2
= 0 ;
10616 PyObject
* obj3
= 0 ;
10617 PyObject
* obj4
= 0 ;
10618 PyObject
* obj5
= 0 ;
10619 PyObject
* obj6
= 0 ;
10620 char * kwnames
[] = {
10621 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10626 if (!SWIG_IsOK(res1
)) {
10627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_Create" "', expected argument " "1"" of type '" "wxGrid *""'");
10629 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10631 if (!SWIG_IsOK(res2
)) {
10632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10634 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10637 if (!SWIG_IsOK(ecode3
)) {
10638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_Create" "', expected argument " "3"" of type '" "int""'");
10640 arg3
= static_cast< int >(val3
);
10645 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10651 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10655 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10656 if (!SWIG_IsOK(ecode6
)) {
10657 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_Create" "', expected argument " "6"" of type '" "long""'");
10659 arg6
= static_cast< long >(val6
);
10663 arg7
= wxString_in_helper(obj6
);
10664 if (arg7
== NULL
) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10691 SWIGINTERN PyObject
*_wrap_Grid_CreateGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
= 0;
10693 wxGrid
*arg1
= (wxGrid
*) 0 ;
10696 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10706 PyObject
* obj0
= 0 ;
10707 PyObject
* obj1
= 0 ;
10708 PyObject
* obj2
= 0 ;
10709 PyObject
* obj3
= 0 ;
10710 char * kwnames
[] = {
10711 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
10714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10716 if (!SWIG_IsOK(res1
)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CreateGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
10719 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10721 if (!SWIG_IsOK(ecode2
)) {
10722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CreateGrid" "', expected argument " "2"" of type '" "int""'");
10724 arg2
= static_cast< int >(val2
);
10725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10726 if (!SWIG_IsOK(ecode3
)) {
10727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CreateGrid" "', expected argument " "3"" of type '" "int""'");
10729 arg3
= static_cast< int >(val3
);
10731 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10732 if (!SWIG_IsOK(ecode4
)) {
10733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_CreateGrid" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10735 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10752 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
= 0;
10754 wxGrid
*arg1
= (wxGrid
*) 0 ;
10755 WXGRIDSELECTIONMODES arg2
;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 char * kwnames
[] = {
10763 (char *) "self",(char *) "selmode", NULL
10766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10768 if (!SWIG_IsOK(res1
)) {
10769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10771 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10773 if (!SWIG_IsOK(ecode2
)) {
10774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetSelectionMode" "', expected argument " "2"" of type '" "WXGRIDSELECTIONMODES""'");
10776 arg2
= static_cast< WXGRIDSELECTIONMODES
>(val2
);
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 (arg1
)->SetSelectionMode(arg2
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= SWIG_Py_Void();
10790 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10791 PyObject
*resultobj
= 0;
10792 wxGrid
*arg1
= (wxGrid
*) 0 ;
10793 WXGRIDSELECTIONMODES result
;
10796 PyObject
*swig_obj
[1] ;
10798 if (!args
) SWIG_fail
;
10799 swig_obj
[0] = args
;
10800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10801 if (!SWIG_IsOK(res1
)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10804 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= SWIG_From_int(static_cast< int >(result
));
10818 SWIGINTERN PyObject
*_wrap_Grid_GetNumberRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10819 PyObject
*resultobj
= 0;
10820 wxGrid
*arg1
= (wxGrid
*) 0 ;
10824 PyObject
*swig_obj
[1] ;
10826 if (!args
) SWIG_fail
;
10827 swig_obj
[0] = args
;
10828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10829 if (!SWIG_IsOK(res1
)) {
10830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10832 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (int)(arg1
)->GetNumberRows();
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 resultobj
= SWIG_From_int(static_cast< int >(result
));
10846 SWIGINTERN PyObject
*_wrap_Grid_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10847 PyObject
*resultobj
= 0;
10848 wxGrid
*arg1
= (wxGrid
*) 0 ;
10852 PyObject
*swig_obj
[1] ;
10854 if (!args
) SWIG_fail
;
10855 swig_obj
[0] = args
;
10856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10857 if (!SWIG_IsOK(res1
)) {
10858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberCols" "', expected argument " "1"" of type '" "wxGrid *""'");
10860 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 result
= (int)(arg1
)->GetNumberCols();
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= SWIG_From_int(static_cast< int >(result
));
10874 SWIGINTERN PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
= 0;
10876 wxGrid
*arg1
= (wxGrid
*) 0 ;
10877 wxGridTableMessage
*arg2
= 0 ;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 char * kwnames
[] = {
10886 (char *) "self",(char *)"arg2", NULL
10889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10891 if (!SWIG_IsOK(res1
)) {
10892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "1"" of type '" "wxGrid *""'");
10894 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGridTableMessage
, 0 );
10896 if (!SWIG_IsOK(res2
)) {
10897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10902 arg2
= reinterpret_cast< wxGridTableMessage
* >(argp2
);
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10918 SWIGINTERN PyObject
*_wrap_Grid_GetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10919 PyObject
*resultobj
= 0;
10920 wxGrid
*arg1
= (wxGrid
*) 0 ;
10921 wxGridTableBase
*result
= 0 ;
10924 PyObject
*swig_obj
[1] ;
10926 if (!args
) SWIG_fail
;
10927 swig_obj
[0] = args
;
10928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10929 if (!SWIG_IsOK(res1
)) {
10930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTable" "', expected argument " "1"" of type '" "wxGrid const *""'");
10932 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
10948 SWIGINTERN PyObject
*_wrap_Grid_SetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
= 0;
10950 wxGrid
*arg1
= (wxGrid
*) 0 ;
10951 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
10952 bool arg3
= (bool) false ;
10953 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10962 PyObject
* obj0
= 0 ;
10963 PyObject
* obj1
= 0 ;
10964 PyObject
* obj2
= 0 ;
10965 PyObject
* obj3
= 0 ;
10966 char * kwnames
[] = {
10967 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
10970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10972 if (!SWIG_IsOK(res1
)) {
10973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetTable" "', expected argument " "1"" of type '" "wxGrid *""'");
10975 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10976 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN
| 0 );
10977 if (!SWIG_IsOK(res2
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetTable" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
10981 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10982 if (!SWIG_IsOK(ecode3
)) {
10983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetTable" "', expected argument " "3"" of type '" "bool""'");
10985 arg3
= static_cast< bool >(val3
);
10988 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10989 if (!SWIG_IsOK(ecode4
)) {
10990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetTable" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10992 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11009 SWIGINTERN PyObject
*_wrap_Grid_ClearGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11010 PyObject
*resultobj
= 0;
11011 wxGrid
*arg1
= (wxGrid
*) 0 ;
11014 PyObject
*swig_obj
[1] ;
11016 if (!args
) SWIG_fail
;
11017 swig_obj
[0] = args
;
11018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11019 if (!SWIG_IsOK(res1
)) {
11020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
11022 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 (arg1
)->ClearGrid();
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= SWIG_Py_Void();
11036 SWIGINTERN PyObject
*_wrap_Grid_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
= 0;
11038 wxGrid
*arg1
= (wxGrid
*) 0 ;
11039 int arg2
= (int) 0 ;
11040 int arg3
= (int) 1 ;
11041 bool arg4
= (bool) true ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 PyObject
* obj2
= 0 ;
11054 PyObject
* obj3
= 0 ;
11055 char * kwnames
[] = {
11056 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
11059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11061 if (!SWIG_IsOK(res1
)) {
11062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertRows" "', expected argument " "1"" of type '" "wxGrid *""'");
11064 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11067 if (!SWIG_IsOK(ecode2
)) {
11068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertRows" "', expected argument " "2"" of type '" "int""'");
11070 arg2
= static_cast< int >(val2
);
11073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11074 if (!SWIG_IsOK(ecode3
)) {
11075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertRows" "', expected argument " "3"" of type '" "int""'");
11077 arg3
= static_cast< int >(val3
);
11080 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11081 if (!SWIG_IsOK(ecode4
)) {
11082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertRows" "', expected argument " "4"" of type '" "bool""'");
11084 arg4
= static_cast< bool >(val4
);
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11101 SWIGINTERN PyObject
*_wrap_Grid_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
= 0;
11103 wxGrid
*arg1
= (wxGrid
*) 0 ;
11104 int arg2
= (int) 1 ;
11105 bool arg3
= (bool) true ;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 PyObject
* obj2
= 0 ;
11116 char * kwnames
[] = {
11117 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
11120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11122 if (!SWIG_IsOK(res1
)) {
11123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendRows" "', expected argument " "1"" of type '" "wxGrid *""'");
11125 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11128 if (!SWIG_IsOK(ecode2
)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendRows" "', expected argument " "2"" of type '" "int""'");
11131 arg2
= static_cast< int >(val2
);
11134 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11135 if (!SWIG_IsOK(ecode3
)) {
11136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendRows" "', expected argument " "3"" of type '" "bool""'");
11138 arg3
= static_cast< bool >(val3
);
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11155 SWIGINTERN PyObject
*_wrap_Grid_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
= 0;
11157 wxGrid
*arg1
= (wxGrid
*) 0 ;
11158 int arg2
= (int) 0 ;
11159 int arg3
= (int) 1 ;
11160 bool arg4
= (bool) true ;
11170 PyObject
* obj0
= 0 ;
11171 PyObject
* obj1
= 0 ;
11172 PyObject
* obj2
= 0 ;
11173 PyObject
* obj3
= 0 ;
11174 char * kwnames
[] = {
11175 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
11178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteRows" "', expected argument " "1"" of type '" "wxGrid *""'");
11183 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11186 if (!SWIG_IsOK(ecode2
)) {
11187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteRows" "', expected argument " "2"" of type '" "int""'");
11189 arg2
= static_cast< int >(val2
);
11192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11193 if (!SWIG_IsOK(ecode3
)) {
11194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteRows" "', expected argument " "3"" of type '" "int""'");
11196 arg3
= static_cast< int >(val3
);
11199 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11200 if (!SWIG_IsOK(ecode4
)) {
11201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteRows" "', expected argument " "4"" of type '" "bool""'");
11203 arg4
= static_cast< bool >(val4
);
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11220 SWIGINTERN PyObject
*_wrap_Grid_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
= 0;
11222 wxGrid
*arg1
= (wxGrid
*) 0 ;
11223 int arg2
= (int) 0 ;
11224 int arg3
= (int) 1 ;
11225 bool arg4
= (bool) true ;
11235 PyObject
* obj0
= 0 ;
11236 PyObject
* obj1
= 0 ;
11237 PyObject
* obj2
= 0 ;
11238 PyObject
* obj3
= 0 ;
11239 char * kwnames
[] = {
11240 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
11243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11245 if (!SWIG_IsOK(res1
)) {
11246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11248 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11251 if (!SWIG_IsOK(ecode2
)) {
11252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertCols" "', expected argument " "2"" of type '" "int""'");
11254 arg2
= static_cast< int >(val2
);
11257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11258 if (!SWIG_IsOK(ecode3
)) {
11259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertCols" "', expected argument " "3"" of type '" "int""'");
11261 arg3
= static_cast< int >(val3
);
11264 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11265 if (!SWIG_IsOK(ecode4
)) {
11266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertCols" "', expected argument " "4"" of type '" "bool""'");
11268 arg4
= static_cast< bool >(val4
);
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11285 SWIGINTERN PyObject
*_wrap_Grid_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
= 0;
11287 wxGrid
*arg1
= (wxGrid
*) 0 ;
11288 int arg2
= (int) 1 ;
11289 bool arg3
= (bool) true ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 PyObject
* obj2
= 0 ;
11300 char * kwnames
[] = {
11301 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
11304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11306 if (!SWIG_IsOK(res1
)) {
11307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11309 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11312 if (!SWIG_IsOK(ecode2
)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendCols" "', expected argument " "2"" of type '" "int""'");
11315 arg2
= static_cast< int >(val2
);
11318 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11319 if (!SWIG_IsOK(ecode3
)) {
11320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendCols" "', expected argument " "3"" of type '" "bool""'");
11322 arg3
= static_cast< bool >(val3
);
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11339 SWIGINTERN PyObject
*_wrap_Grid_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
= 0;
11341 wxGrid
*arg1
= (wxGrid
*) 0 ;
11342 int arg2
= (int) 0 ;
11343 int arg3
= (int) 1 ;
11344 bool arg4
= (bool) true ;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 PyObject
* obj2
= 0 ;
11357 PyObject
* obj3
= 0 ;
11358 char * kwnames
[] = {
11359 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
11362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11364 if (!SWIG_IsOK(res1
)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11367 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11370 if (!SWIG_IsOK(ecode2
)) {
11371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteCols" "', expected argument " "2"" of type '" "int""'");
11373 arg2
= static_cast< int >(val2
);
11376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11377 if (!SWIG_IsOK(ecode3
)) {
11378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteCols" "', expected argument " "3"" of type '" "int""'");
11380 arg3
= static_cast< int >(val3
);
11383 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11384 if (!SWIG_IsOK(ecode4
)) {
11385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteCols" "', expected argument " "4"" of type '" "bool""'");
11387 arg4
= static_cast< bool >(val4
);
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11404 SWIGINTERN PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
= 0;
11406 wxGrid
*arg1
= (wxGrid
*) 0 ;
11408 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 PyObject
* obj2
= 0 ;
11418 char * kwnames
[] = {
11419 (char *) "self",(char *) "dc",(char *) "attr", NULL
11422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11424 if (!SWIG_IsOK(res1
)) {
11425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "1"" of type '" "wxGrid *""'");
11427 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11428 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11429 if (!SWIG_IsOK(res2
)) {
11430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11435 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11436 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
11437 if (!SWIG_IsOK(res3
)) {
11438 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "3"" of type '" "wxGridCellAttr const *""'");
11440 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_Py_Void();
11454 SWIGINTERN PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
= 0;
11456 wxGrid
*arg1
= (wxGrid
*) 0 ;
11458 wxString
*arg3
= 0 ;
11460 int arg5
= (int) wxLEFT
;
11461 int arg6
= (int) wxTOP
;
11462 int arg7
= (int) wxHORIZONTAL
;
11467 bool temp3
= false ;
11475 PyObject
* obj0
= 0 ;
11476 PyObject
* obj1
= 0 ;
11477 PyObject
* obj2
= 0 ;
11478 PyObject
* obj3
= 0 ;
11479 PyObject
* obj4
= 0 ;
11480 PyObject
* obj5
= 0 ;
11481 PyObject
* obj6
= 0 ;
11482 char * kwnames
[] = {
11483 (char *) "self",(char *) "dc",(char *)"arg3",(char *)"arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
11486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11488 if (!SWIG_IsOK(res1
)) {
11489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "1"" of type '" "wxGrid *""'");
11491 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11493 if (!SWIG_IsOK(res2
)) {
11494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11499 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11501 arg3
= wxString_in_helper(obj2
);
11502 if (arg3
== NULL
) SWIG_fail
;
11507 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11510 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11511 if (!SWIG_IsOK(ecode5
)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "5"" of type '" "int""'");
11514 arg5
= static_cast< int >(val5
);
11517 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11518 if (!SWIG_IsOK(ecode6
)) {
11519 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "6"" of type '" "int""'");
11521 arg6
= static_cast< int >(val6
);
11524 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11525 if (!SWIG_IsOK(ecode7
)) {
11526 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "7"" of type '" "int""'");
11528 arg7
= static_cast< int >(val7
);
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= SWIG_Py_Void();
11551 SWIGINTERN PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
= 0;
11553 wxGrid
*arg1
= (wxGrid
*) 0 ;
11555 wxArrayString
*arg3
= 0 ;
11556 long *arg4
= (long *) 0 ;
11557 long *arg5
= (long *) 0 ;
11562 bool temp3
= false ;
11564 int res4
= SWIG_TMPOBJ
;
11566 int res5
= SWIG_TMPOBJ
;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 PyObject
* obj2
= 0 ;
11570 char * kwnames
[] = {
11571 (char *) "self",(char *) "dc",(char *) "lines", NULL
11576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11578 if (!SWIG_IsOK(res1
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "1"" of type '" "wxGrid *""'");
11581 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11583 if (!SWIG_IsOK(res2
)) {
11584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11589 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11591 if (! PySequence_Check(obj2
)) {
11592 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11595 arg3
= new wxArrayString
;
11597 int i
, len
=PySequence_Length(obj2
);
11598 for (i
=0; i
<len
; i
++) {
11599 PyObject
* item
= PySequence_GetItem(obj2
, i
);
11600 wxString
* s
= wxString_in_helper(item
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 resultobj
= SWIG_Py_Void();
11614 if (SWIG_IsTmpObj(res4
)) {
11615 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
11617 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11618 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
11620 if (SWIG_IsTmpObj(res5
)) {
11621 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg5
)));
11623 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11624 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, new_flags
));
11627 if (temp3
) delete arg3
;
11632 if (temp3
) delete arg3
;
11638 SWIGINTERN PyObject
*_wrap_Grid_BeginBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11639 PyObject
*resultobj
= 0;
11640 wxGrid
*arg1
= (wxGrid
*) 0 ;
11643 PyObject
*swig_obj
[1] ;
11645 if (!args
) SWIG_fail
;
11646 swig_obj
[0] = args
;
11647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BeginBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11651 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 (arg1
)->BeginBatch();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= SWIG_Py_Void();
11665 SWIGINTERN PyObject
*_wrap_Grid_EndBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11666 PyObject
*resultobj
= 0;
11667 wxGrid
*arg1
= (wxGrid
*) 0 ;
11670 PyObject
*swig_obj
[1] ;
11672 if (!args
) SWIG_fail
;
11673 swig_obj
[0] = args
;
11674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11675 if (!SWIG_IsOK(res1
)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EndBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11678 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 (arg1
)->EndBatch();
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= SWIG_Py_Void();
11692 SWIGINTERN PyObject
*_wrap_Grid_GetBatchCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11693 PyObject
*resultobj
= 0;
11694 wxGrid
*arg1
= (wxGrid
*) 0 ;
11698 PyObject
*swig_obj
[1] ;
11700 if (!args
) SWIG_fail
;
11701 swig_obj
[0] = args
;
11702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11703 if (!SWIG_IsOK(res1
)) {
11704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetBatchCount" "', expected argument " "1"" of type '" "wxGrid *""'");
11706 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (int)(arg1
)->GetBatchCount();
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_From_int(static_cast< int >(result
));
11720 SWIGINTERN PyObject
*_wrap_Grid_ForceRefresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 PyObject
*resultobj
= 0;
11722 wxGrid
*arg1
= (wxGrid
*) 0 ;
11725 PyObject
*swig_obj
[1] ;
11727 if (!args
) SWIG_fail
;
11728 swig_obj
[0] = args
;
11729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11730 if (!SWIG_IsOK(res1
)) {
11731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ForceRefresh" "', expected argument " "1"" of type '" "wxGrid *""'");
11733 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 (arg1
)->ForceRefresh();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_Py_Void();
11747 SWIGINTERN PyObject
*_wrap_Grid_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11748 PyObject
*resultobj
= 0;
11749 wxGrid
*arg1
= (wxGrid
*) 0 ;
11753 PyObject
*swig_obj
[1] ;
11755 if (!args
) SWIG_fail
;
11756 swig_obj
[0] = args
;
11757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11758 if (!SWIG_IsOK(res1
)) {
11759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsEditable" "', expected argument " "1"" of type '" "wxGrid *""'");
11761 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 result
= (bool)(arg1
)->IsEditable();
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11777 SWIGINTERN PyObject
*_wrap_Grid_EnableEditing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11778 PyObject
*resultobj
= 0;
11779 wxGrid
*arg1
= (wxGrid
*) 0 ;
11785 PyObject
* obj0
= 0 ;
11786 PyObject
* obj1
= 0 ;
11787 char * kwnames
[] = {
11788 (char *) "self",(char *) "edit", NULL
11791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11793 if (!SWIG_IsOK(res1
)) {
11794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableEditing" "', expected argument " "1"" of type '" "wxGrid *""'");
11796 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11797 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11798 if (!SWIG_IsOK(ecode2
)) {
11799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableEditing" "', expected argument " "2"" of type '" "bool""'");
11801 arg2
= static_cast< bool >(val2
);
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->EnableEditing(arg2
);
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= SWIG_Py_Void();
11815 SWIGINTERN PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
= 0;
11817 wxGrid
*arg1
= (wxGrid
*) 0 ;
11818 bool arg2
= (bool) true ;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 char * kwnames
[] = {
11826 (char *) "self",(char *) "enable", NULL
11829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11831 if (!SWIG_IsOK(res1
)) {
11832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11834 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11836 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11837 if (!SWIG_IsOK(ecode2
)) {
11838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "2"" of type '" "bool""'");
11840 arg2
= static_cast< bool >(val2
);
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 (arg1
)->EnableCellEditControl(arg2
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= SWIG_Py_Void();
11855 SWIGINTERN PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11856 PyObject
*resultobj
= 0;
11857 wxGrid
*arg1
= (wxGrid
*) 0 ;
11860 PyObject
*swig_obj
[1] ;
11862 if (!args
) SWIG_fail
;
11863 swig_obj
[0] = args
;
11864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11865 if (!SWIG_IsOK(res1
)) {
11866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11868 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 (arg1
)->DisableCellEditControl();
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_Py_Void();
11882 SWIGINTERN PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11883 PyObject
*resultobj
= 0;
11884 wxGrid
*arg1
= (wxGrid
*) 0 ;
11888 PyObject
*swig_obj
[1] ;
11890 if (!args
) SWIG_fail
;
11891 swig_obj
[0] = args
;
11892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11893 if (!SWIG_IsOK(res1
)) {
11894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanEnableCellControl" "', expected argument " "1"" of type '" "wxGrid const *""'");
11896 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11912 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11913 PyObject
*resultobj
= 0;
11914 wxGrid
*arg1
= (wxGrid
*) 0 ;
11918 PyObject
*swig_obj
[1] ;
11920 if (!args
) SWIG_fail
;
11921 swig_obj
[0] = args
;
11922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11923 if (!SWIG_IsOK(res1
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlEnabled" "', expected argument " "1"" of type '" "wxGrid const *""'");
11926 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11942 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11943 PyObject
*resultobj
= 0;
11944 wxGrid
*arg1
= (wxGrid
*) 0 ;
11948 PyObject
*swig_obj
[1] ;
11950 if (!args
) SWIG_fail
;
11951 swig_obj
[0] = args
;
11952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11953 if (!SWIG_IsOK(res1
)) {
11954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlShown" "', expected argument " "1"" of type '" "wxGrid const *""'");
11956 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11972 SWIGINTERN PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11973 PyObject
*resultobj
= 0;
11974 wxGrid
*arg1
= (wxGrid
*) 0 ;
11978 PyObject
*swig_obj
[1] ;
11980 if (!args
) SWIG_fail
;
11981 swig_obj
[0] = args
;
11982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCurrentCellReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
11986 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12002 SWIGINTERN PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12003 PyObject
*resultobj
= 0;
12004 wxGrid
*arg1
= (wxGrid
*) 0 ;
12007 PyObject
*swig_obj
[1] ;
12009 if (!args
) SWIG_fail
;
12010 swig_obj
[0] = args
;
12011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12012 if (!SWIG_IsOK(res1
)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ShowCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
12015 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 (arg1
)->ShowCellEditControl();
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_Py_Void();
12029 SWIGINTERN PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12030 PyObject
*resultobj
= 0;
12031 wxGrid
*arg1
= (wxGrid
*) 0 ;
12034 PyObject
*swig_obj
[1] ;
12036 if (!args
) SWIG_fail
;
12037 swig_obj
[0] = args
;
12038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12039 if (!SWIG_IsOK(res1
)) {
12040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_HideCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
12042 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 (arg1
)->HideCellEditControl();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_Py_Void();
12056 SWIGINTERN PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12057 PyObject
*resultobj
= 0;
12058 wxGrid
*arg1
= (wxGrid
*) 0 ;
12061 PyObject
*swig_obj
[1] ;
12063 if (!args
) SWIG_fail
;
12064 swig_obj
[0] = args
;
12065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12066 if (!SWIG_IsOK(res1
)) {
12067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SaveEditControlValue" "', expected argument " "1"" of type '" "wxGrid *""'");
12069 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 (arg1
)->SaveEditControlValue();
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= SWIG_Py_Void();
12083 SWIGINTERN PyObject
*_wrap_Grid_XYToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
= 0;
12085 wxGrid
*arg1
= (wxGrid
*) 0 ;
12088 wxGridCellCoords result
;
12095 PyObject
* obj0
= 0 ;
12096 PyObject
* obj1
= 0 ;
12097 PyObject
* obj2
= 0 ;
12098 char * kwnames
[] = {
12099 (char *) "self",(char *) "x",(char *) "y", NULL
12102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12104 if (!SWIG_IsOK(res1
)) {
12105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XYToCell" "', expected argument " "1"" of type '" "wxGrid *""'");
12107 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12109 if (!SWIG_IsOK(ecode2
)) {
12110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XYToCell" "', expected argument " "2"" of type '" "int""'");
12112 arg2
= static_cast< int >(val2
);
12113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12114 if (!SWIG_IsOK(ecode3
)) {
12115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XYToCell" "', expected argument " "3"" of type '" "int""'");
12117 arg3
= static_cast< int >(val3
);
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
12131 SWIGINTERN PyObject
*_wrap_Grid_YToRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
= 0;
12133 wxGrid
*arg1
= (wxGrid
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char * kwnames
[] = {
12143 (char *) "self",(char *) "y", NULL
12146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12148 if (!SWIG_IsOK(res1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12151 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12153 if (!SWIG_IsOK(ecode2
)) {
12154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToRow" "', expected argument " "2"" of type '" "int""'");
12156 arg2
= static_cast< int >(val2
);
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= (int)(arg1
)->YToRow(arg2
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= SWIG_From_int(static_cast< int >(result
));
12170 SWIGINTERN PyObject
*_wrap_Grid_XToCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
= 0;
12172 wxGrid
*arg1
= (wxGrid
*) 0 ;
12174 bool arg3
= (bool) false ;
12182 PyObject
* obj0
= 0 ;
12183 PyObject
* obj1
= 0 ;
12184 PyObject
* obj2
= 0 ;
12185 char * kwnames
[] = {
12186 (char *) "self",(char *) "x",(char *) "clipToMinMax", NULL
12189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_XToCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12191 if (!SWIG_IsOK(res1
)) {
12192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12194 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12196 if (!SWIG_IsOK(ecode2
)) {
12197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToCol" "', expected argument " "2"" of type '" "int""'");
12199 arg2
= static_cast< int >(val2
);
12201 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12202 if (!SWIG_IsOK(ecode3
)) {
12203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XToCol" "', expected argument " "3"" of type '" "bool""'");
12205 arg3
= static_cast< bool >(val3
);
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (int)(arg1
)->XToCol(arg2
,arg3
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= SWIG_From_int(static_cast< int >(result
));
12220 SWIGINTERN PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
= 0;
12222 wxGrid
*arg1
= (wxGrid
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 PyObject
* obj1
= 0 ;
12231 char * kwnames
[] = {
12232 (char *) "self",(char *) "y", NULL
12235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12237 if (!SWIG_IsOK(res1
)) {
12238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12240 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12242 if (!SWIG_IsOK(ecode2
)) {
12243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "2"" of type '" "int""'");
12245 arg2
= static_cast< int >(val2
);
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= SWIG_From_int(static_cast< int >(result
));
12259 SWIGINTERN PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
= 0;
12261 wxGrid
*arg1
= (wxGrid
*) 0 ;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 char * kwnames
[] = {
12271 (char *) "self",(char *) "x", NULL
12274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12276 if (!SWIG_IsOK(res1
)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12279 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12281 if (!SWIG_IsOK(ecode2
)) {
12282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "2"" of type '" "int""'");
12284 arg2
= static_cast< int >(val2
);
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= SWIG_From_int(static_cast< int >(result
));
12298 SWIGINTERN PyObject
*_wrap_Grid_CellToRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
= 0;
12300 wxGrid
*arg1
= (wxGrid
*) 0 ;
12310 PyObject
* obj0
= 0 ;
12311 PyObject
* obj1
= 0 ;
12312 PyObject
* obj2
= 0 ;
12313 char * kwnames
[] = {
12314 (char *) "self",(char *) "row",(char *) "col", NULL
12317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12319 if (!SWIG_IsOK(res1
)) {
12320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CellToRect" "', expected argument " "1"" of type '" "wxGrid *""'");
12322 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12324 if (!SWIG_IsOK(ecode2
)) {
12325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CellToRect" "', expected argument " "2"" of type '" "int""'");
12327 arg2
= static_cast< int >(val2
);
12328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12329 if (!SWIG_IsOK(ecode3
)) {
12330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CellToRect" "', expected argument " "3"" of type '" "int""'");
12332 arg3
= static_cast< int >(val3
);
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (arg1
)->CellToRect(arg2
,arg3
);
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12346 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12347 PyObject
*resultobj
= 0;
12348 wxGrid
*arg1
= (wxGrid
*) 0 ;
12352 PyObject
*swig_obj
[1] ;
12354 if (!args
) SWIG_fail
;
12355 swig_obj
[0] = args
;
12356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12357 if (!SWIG_IsOK(res1
)) {
12358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12360 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (int)(arg1
)->GetGridCursorRow();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_From_int(static_cast< int >(result
));
12374 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12375 PyObject
*resultobj
= 0;
12376 wxGrid
*arg1
= (wxGrid
*) 0 ;
12380 PyObject
*swig_obj
[1] ;
12382 if (!args
) SWIG_fail
;
12383 swig_obj
[0] = args
;
12384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12385 if (!SWIG_IsOK(res1
)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12388 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 result
= (int)(arg1
)->GetGridCursorCol();
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= SWIG_From_int(static_cast< int >(result
));
12402 SWIGINTERN PyObject
*_wrap_Grid_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
= 0;
12404 wxGrid
*arg1
= (wxGrid
*) 0 ;
12407 bool arg4
= (bool) true ;
12417 PyObject
* obj0
= 0 ;
12418 PyObject
* obj1
= 0 ;
12419 PyObject
* obj2
= 0 ;
12420 PyObject
* obj3
= 0 ;
12421 char * kwnames
[] = {
12422 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
12425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12427 if (!SWIG_IsOK(res1
)) {
12428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12430 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12432 if (!SWIG_IsOK(ecode2
)) {
12433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsVisible" "', expected argument " "2"" of type '" "int""'");
12435 arg2
= static_cast< int >(val2
);
12436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12437 if (!SWIG_IsOK(ecode3
)) {
12438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsVisible" "', expected argument " "3"" of type '" "int""'");
12440 arg3
= static_cast< int >(val3
);
12442 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12443 if (!SWIG_IsOK(ecode4
)) {
12444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_IsVisible" "', expected argument " "4"" of type '" "bool""'");
12446 arg4
= static_cast< bool >(val4
);
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12463 SWIGINTERN PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
= 0;
12465 wxGrid
*arg1
= (wxGrid
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 PyObject
* obj1
= 0 ;
12476 PyObject
* obj2
= 0 ;
12477 char * kwnames
[] = {
12478 (char *) "self",(char *) "row",(char *) "col", NULL
12481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MakeCellVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12486 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12488 if (!SWIG_IsOK(ecode2
)) {
12489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MakeCellVisible" "', expected argument " "2"" of type '" "int""'");
12491 arg2
= static_cast< int >(val2
);
12492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12493 if (!SWIG_IsOK(ecode3
)) {
12494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_MakeCellVisible" "', expected argument " "3"" of type '" "int""'");
12496 arg3
= static_cast< int >(val3
);
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 (arg1
)->MakeCellVisible(arg2
,arg3
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_Py_Void();
12510 SWIGINTERN PyObject
*_wrap_Grid_SetGridCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
= 0;
12512 wxGrid
*arg1
= (wxGrid
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 PyObject
* obj2
= 0 ;
12524 char * kwnames
[] = {
12525 (char *) "self",(char *) "row",(char *) "col", NULL
12528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridCursor" "', expected argument " "1"" of type '" "wxGrid *""'");
12533 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12535 if (!SWIG_IsOK(ecode2
)) {
12536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetGridCursor" "', expected argument " "2"" of type '" "int""'");
12538 arg2
= static_cast< int >(val2
);
12539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12540 if (!SWIG_IsOK(ecode3
)) {
12541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetGridCursor" "', expected argument " "3"" of type '" "int""'");
12543 arg3
= static_cast< int >(val3
);
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 (arg1
)->SetGridCursor(arg2
,arg3
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 resultobj
= SWIG_Py_Void();
12557 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
= 0;
12559 wxGrid
*arg1
= (wxGrid
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 PyObject
* obj1
= 0 ;
12568 char * kwnames
[] = {
12569 (char *) "self",(char *) "expandSelection", NULL
12572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12574 if (!SWIG_IsOK(res1
)) {
12575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12577 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12578 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12579 if (!SWIG_IsOK(ecode2
)) {
12580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUp" "', expected argument " "2"" of type '" "bool""'");
12582 arg2
= static_cast< bool >(val2
);
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12598 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
= 0;
12600 wxGrid
*arg1
= (wxGrid
*) 0 ;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 char * kwnames
[] = {
12610 (char *) "self",(char *) "expandSelection", NULL
12613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12615 if (!SWIG_IsOK(res1
)) {
12616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12618 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12619 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12620 if (!SWIG_IsOK(ecode2
)) {
12621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDown" "', expected argument " "2"" of type '" "bool""'");
12623 arg2
= static_cast< bool >(val2
);
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12639 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
= 0;
12641 wxGrid
*arg1
= (wxGrid
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 char * kwnames
[] = {
12651 (char *) "self",(char *) "expandSelection", NULL
12654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12656 if (!SWIG_IsOK(res1
)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "1"" of type '" "wxGrid *""'");
12659 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12660 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12661 if (!SWIG_IsOK(ecode2
)) {
12662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "2"" of type '" "bool""'");
12664 arg2
= static_cast< bool >(val2
);
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12680 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
= 0;
12682 wxGrid
*arg1
= (wxGrid
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 char * kwnames
[] = {
12692 (char *) "self",(char *) "expandSelection", NULL
12695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12697 if (!SWIG_IsOK(res1
)) {
12698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRight" "', expected argument " "1"" of type '" "wxGrid *""'");
12700 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12701 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12702 if (!SWIG_IsOK(ecode2
)) {
12703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRight" "', expected argument " "2"" of type '" "bool""'");
12705 arg2
= static_cast< bool >(val2
);
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12721 SWIGINTERN PyObject
*_wrap_Grid_MovePageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12722 PyObject
*resultobj
= 0;
12723 wxGrid
*arg1
= (wxGrid
*) 0 ;
12727 PyObject
*swig_obj
[1] ;
12729 if (!args
) SWIG_fail
;
12730 swig_obj
[0] = args
;
12731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12732 if (!SWIG_IsOK(res1
)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12735 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (bool)(arg1
)->MovePageDown();
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12751 SWIGINTERN PyObject
*_wrap_Grid_MovePageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12752 PyObject
*resultobj
= 0;
12753 wxGrid
*arg1
= (wxGrid
*) 0 ;
12757 PyObject
*swig_obj
[1] ;
12759 if (!args
) SWIG_fail
;
12760 swig_obj
[0] = args
;
12761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12765 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (bool)(arg1
)->MovePageUp();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12781 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
= 0;
12783 wxGrid
*arg1
= (wxGrid
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char * kwnames
[] = {
12793 (char *) "self",(char *) "expandSelection", NULL
12796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12801 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12802 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12803 if (!SWIG_IsOK(ecode2
)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "2"" of type '" "bool""'");
12806 arg2
= static_cast< bool >(val2
);
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12822 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
= 0;
12824 wxGrid
*arg1
= (wxGrid
*) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 PyObject
* obj1
= 0 ;
12833 char * kwnames
[] = {
12834 (char *) "self",(char *) "expandSelection", NULL
12837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12839 if (!SWIG_IsOK(res1
)) {
12840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12842 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12843 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12844 if (!SWIG_IsOK(ecode2
)) {
12845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "2"" of type '" "bool""'");
12847 arg2
= static_cast< bool >(val2
);
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12863 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
= 0;
12865 wxGrid
*arg1
= (wxGrid
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 char * kwnames
[] = {
12875 (char *) "self",(char *) "expandSelection", NULL
12878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12880 if (!SWIG_IsOK(res1
)) {
12881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12883 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12884 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12885 if (!SWIG_IsOK(ecode2
)) {
12886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "2"" of type '" "bool""'");
12888 arg2
= static_cast< bool >(val2
);
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12904 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
= 0;
12906 wxGrid
*arg1
= (wxGrid
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 char * kwnames
[] = {
12916 (char *) "self",(char *) "expandSelection", NULL
12919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12921 if (!SWIG_IsOK(res1
)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12924 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12925 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12926 if (!SWIG_IsOK(ecode2
)) {
12927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "2"" of type '" "bool""'");
12929 arg2
= static_cast< bool >(val2
);
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12945 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12946 PyObject
*resultobj
= 0;
12947 wxGrid
*arg1
= (wxGrid
*) 0 ;
12951 PyObject
*swig_obj
[1] ;
12953 if (!args
) SWIG_fail
;
12954 swig_obj
[0] = args
;
12955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12956 if (!SWIG_IsOK(res1
)) {
12957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12959 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (int)(arg1
)->GetDefaultRowLabelSize();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_From_int(static_cast< int >(result
));
12973 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12974 PyObject
*resultobj
= 0;
12975 wxGrid
*arg1
= (wxGrid
*) 0 ;
12979 PyObject
*swig_obj
[1] ;
12981 if (!args
) SWIG_fail
;
12982 swig_obj
[0] = args
;
12983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12984 if (!SWIG_IsOK(res1
)) {
12985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12987 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (int)(arg1
)->GetRowLabelSize();
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= SWIG_From_int(static_cast< int >(result
));
13001 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13002 PyObject
*resultobj
= 0;
13003 wxGrid
*arg1
= (wxGrid
*) 0 ;
13007 PyObject
*swig_obj
[1] ;
13009 if (!args
) SWIG_fail
;
13010 swig_obj
[0] = args
;
13011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13012 if (!SWIG_IsOK(res1
)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13015 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= (int)(arg1
)->GetDefaultColLabelSize();
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13022 resultobj
= SWIG_From_int(static_cast< int >(result
));
13029 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13030 PyObject
*resultobj
= 0;
13031 wxGrid
*arg1
= (wxGrid
*) 0 ;
13035 PyObject
*swig_obj
[1] ;
13037 if (!args
) SWIG_fail
;
13038 swig_obj
[0] = args
;
13039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13040 if (!SWIG_IsOK(res1
)) {
13041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13043 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 result
= (int)(arg1
)->GetColLabelSize();
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= SWIG_From_int(static_cast< int >(result
));
13057 SWIGINTERN PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13058 PyObject
*resultobj
= 0;
13059 wxGrid
*arg1
= (wxGrid
*) 0 ;
13063 PyObject
*swig_obj
[1] ;
13065 if (!args
) SWIG_fail
;
13066 swig_obj
[0] = args
;
13067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13068 if (!SWIG_IsOK(res1
)) {
13069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13071 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 result
= (arg1
)->GetLabelBackgroundColour();
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13078 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13085 SWIGINTERN PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13086 PyObject
*resultobj
= 0;
13087 wxGrid
*arg1
= (wxGrid
*) 0 ;
13091 PyObject
*swig_obj
[1] ;
13093 if (!args
) SWIG_fail
;
13094 swig_obj
[0] = args
;
13095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13096 if (!SWIG_IsOK(res1
)) {
13097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13099 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 result
= (arg1
)->GetLabelTextColour();
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13113 SWIGINTERN PyObject
*_wrap_Grid_GetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13114 PyObject
*resultobj
= 0;
13115 wxGrid
*arg1
= (wxGrid
*) 0 ;
13119 PyObject
*swig_obj
[1] ;
13121 if (!args
) SWIG_fail
;
13122 swig_obj
[0] = args
;
13123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13124 if (!SWIG_IsOK(res1
)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
13127 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 result
= (arg1
)->GetLabelFont();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13141 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13142 PyObject
*resultobj
= 0;
13143 wxGrid
*arg1
= (wxGrid
*) 0 ;
13144 int *arg2
= (int *) 0 ;
13145 int *arg3
= (int *) 0 ;
13149 int res2
= SWIG_TMPOBJ
;
13151 int res3
= SWIG_TMPOBJ
;
13152 PyObject
*swig_obj
[1] ;
13156 if (!args
) SWIG_fail
;
13157 swig_obj
[0] = args
;
13158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13159 if (!SWIG_IsOK(res1
)) {
13160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13162 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= SWIG_Py_Void();
13170 if (SWIG_IsTmpObj(res2
)) {
13171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
13173 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
13176 if (SWIG_IsTmpObj(res3
)) {
13177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
13179 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
13188 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13189 PyObject
*resultobj
= 0;
13190 wxGrid
*arg1
= (wxGrid
*) 0 ;
13191 int *arg2
= (int *) 0 ;
13192 int *arg3
= (int *) 0 ;
13196 int res2
= SWIG_TMPOBJ
;
13198 int res3
= SWIG_TMPOBJ
;
13199 PyObject
*swig_obj
[1] ;
13203 if (!args
) SWIG_fail
;
13204 swig_obj
[0] = args
;
13205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13206 if (!SWIG_IsOK(res1
)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13209 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= SWIG_Py_Void();
13217 if (SWIG_IsTmpObj(res2
)) {
13218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
13220 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
13223 if (SWIG_IsTmpObj(res3
)) {
13224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
13226 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
13235 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13236 PyObject
*resultobj
= 0;
13237 wxGrid
*arg1
= (wxGrid
*) 0 ;
13241 PyObject
*swig_obj
[1] ;
13243 if (!args
) SWIG_fail
;
13244 swig_obj
[0] = args
;
13245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13246 if (!SWIG_IsOK(res1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
13249 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 result
= (int)(arg1
)->GetColLabelTextOrientation();
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13256 resultobj
= SWIG_From_int(static_cast< int >(result
));
13263 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
= 0;
13265 wxGrid
*arg1
= (wxGrid
*) 0 ;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 char * kwnames
[] = {
13275 (char *) "self",(char *) "row", NULL
13278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13280 if (!SWIG_IsOK(res1
)) {
13281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13283 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13285 if (!SWIG_IsOK(ecode2
)) {
13286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13288 arg2
= static_cast< int >(val2
);
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (arg1
)->GetRowLabelValue(arg2
);
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13308 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
= 0;
13310 wxGrid
*arg1
= (wxGrid
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 char * kwnames
[] = {
13320 (char *) "self",(char *) "col", NULL
13323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13325 if (!SWIG_IsOK(res1
)) {
13326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13328 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13330 if (!SWIG_IsOK(ecode2
)) {
13331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13333 arg2
= static_cast< int >(val2
);
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 result
= (arg1
)->GetColLabelValue(arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13353 SWIGINTERN PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13354 PyObject
*resultobj
= 0;
13355 wxGrid
*arg1
= (wxGrid
*) 0 ;
13359 PyObject
*swig_obj
[1] ;
13361 if (!args
) SWIG_fail
;
13362 swig_obj
[0] = args
;
13363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13364 if (!SWIG_IsOK(res1
)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13367 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (arg1
)->GetGridLineColour();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13381 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultGridLinePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13382 PyObject
*resultobj
= 0;
13383 wxGrid
*arg1
= (wxGrid
*) 0 ;
13387 PyObject
*swig_obj
[1] ;
13389 if (!args
) SWIG_fail
;
13390 swig_obj
[0] = args
;
13391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13392 if (!SWIG_IsOK(res1
)) {
13393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");
13395 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (arg1
)->GetDefaultGridLinePen();
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN
| 0 );
13409 SWIGINTERN PyObject
*_wrap_Grid_GetRowGridLinePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
= 0;
13411 wxGrid
*arg1
= (wxGrid
*) 0 ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 char * kwnames
[] = {
13421 (char *) "self",(char *) "row", NULL
13424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowGridLinePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13426 if (!SWIG_IsOK(res1
)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");
13429 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13431 if (!SWIG_IsOK(ecode2
)) {
13432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowGridLinePen" "', expected argument " "2"" of type '" "int""'");
13434 arg2
= static_cast< int >(val2
);
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 result
= (arg1
)->GetRowGridLinePen(arg2
);
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN
| 0 );
13448 SWIGINTERN PyObject
*_wrap_Grid_GetColGridLinePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
= 0;
13450 wxGrid
*arg1
= (wxGrid
*) 0 ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 char * kwnames
[] = {
13460 (char *) "self",(char *) "col", NULL
13463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColGridLinePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13465 if (!SWIG_IsOK(res1
)) {
13466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");
13468 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13470 if (!SWIG_IsOK(ecode2
)) {
13471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColGridLinePen" "', expected argument " "2"" of type '" "int""'");
13473 arg2
= static_cast< int >(val2
);
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (arg1
)->GetColGridLinePen(arg2
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN
| 0 );
13487 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13488 PyObject
*resultobj
= 0;
13489 wxGrid
*arg1
= (wxGrid
*) 0 ;
13493 PyObject
*swig_obj
[1] ;
13495 if (!args
) SWIG_fail
;
13496 swig_obj
[0] = args
;
13497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13498 if (!SWIG_IsOK(res1
)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13501 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (arg1
)->GetCellHighlightColour();
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13515 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13516 PyObject
*resultobj
= 0;
13517 wxGrid
*arg1
= (wxGrid
*) 0 ;
13521 PyObject
*swig_obj
[1] ;
13523 if (!args
) SWIG_fail
;
13524 swig_obj
[0] = args
;
13525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13526 if (!SWIG_IsOK(res1
)) {
13527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13529 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (int)(arg1
)->GetCellHighlightPenWidth();
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= SWIG_From_int(static_cast< int >(result
));
13543 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13544 PyObject
*resultobj
= 0;
13545 wxGrid
*arg1
= (wxGrid
*) 0 ;
13549 PyObject
*swig_obj
[1] ;
13551 if (!args
) SWIG_fail
;
13552 swig_obj
[0] = args
;
13553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13554 if (!SWIG_IsOK(res1
)) {
13555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13557 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= SWIG_From_int(static_cast< int >(result
));
13571 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
= 0;
13573 wxGrid
*arg1
= (wxGrid
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 PyObject
* obj1
= 0 ;
13581 char * kwnames
[] = {
13582 (char *) "self",(char *) "width", NULL
13585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13587 if (!SWIG_IsOK(res1
)) {
13588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13590 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13592 if (!SWIG_IsOK(ecode2
)) {
13593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "2"" of type '" "int""'");
13595 arg2
= static_cast< int >(val2
);
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 (arg1
)->SetRowLabelSize(arg2
);
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= SWIG_Py_Void();
13609 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
= 0;
13611 wxGrid
*arg1
= (wxGrid
*) 0 ;
13617 PyObject
* obj0
= 0 ;
13618 PyObject
* obj1
= 0 ;
13619 char * kwnames
[] = {
13620 (char *) "self",(char *) "height", NULL
13623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13625 if (!SWIG_IsOK(res1
)) {
13626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13628 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13630 if (!SWIG_IsOK(ecode2
)) {
13631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelSize" "', expected argument " "2"" of type '" "int""'");
13633 arg2
= static_cast< int >(val2
);
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 (arg1
)->SetColLabelSize(arg2
);
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= SWIG_Py_Void();
13647 SWIGINTERN PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
= 0;
13649 wxGrid
*arg1
= (wxGrid
*) 0 ;
13650 wxColour
*arg2
= 0 ;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 char * kwnames
[] = {
13657 (char *) "self",(char *)"arg2", NULL
13660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13662 if (!SWIG_IsOK(res1
)) {
13663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13665 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13668 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 resultobj
= SWIG_Py_Void();
13683 SWIGINTERN PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
= 0;
13685 wxGrid
*arg1
= (wxGrid
*) 0 ;
13686 wxColour
*arg2
= 0 ;
13690 PyObject
* obj0
= 0 ;
13691 PyObject
* obj1
= 0 ;
13692 char * kwnames
[] = {
13693 (char *) "self",(char *)"arg2", NULL
13696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13698 if (!SWIG_IsOK(res1
)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13701 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13704 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= SWIG_Py_Void();
13719 SWIGINTERN PyObject
*_wrap_Grid_SetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
= 0;
13721 wxGrid
*arg1
= (wxGrid
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 char * kwnames
[] = {
13730 (char *) "self",(char *)"arg2", NULL
13733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13735 if (!SWIG_IsOK(res1
)) {
13736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
13738 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
13740 if (!SWIG_IsOK(res2
)) {
13741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13746 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= SWIG_Py_Void();
13760 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
= 0;
13762 wxGrid
*arg1
= (wxGrid
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 PyObject
* obj1
= 0 ;
13773 PyObject
* obj2
= 0 ;
13774 char * kwnames
[] = {
13775 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13780 if (!SWIG_IsOK(res1
)) {
13781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13783 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13785 if (!SWIG_IsOK(ecode2
)) {
13786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13788 arg2
= static_cast< int >(val2
);
13789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13790 if (!SWIG_IsOK(ecode3
)) {
13791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13793 arg3
= static_cast< int >(val3
);
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= SWIG_Py_Void();
13807 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
= 0;
13809 wxGrid
*arg1
= (wxGrid
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 PyObject
* obj1
= 0 ;
13820 PyObject
* obj2
= 0 ;
13821 char * kwnames
[] = {
13822 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13827 if (!SWIG_IsOK(res1
)) {
13828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13830 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13832 if (!SWIG_IsOK(ecode2
)) {
13833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13835 arg2
= static_cast< int >(val2
);
13836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13837 if (!SWIG_IsOK(ecode3
)) {
13838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13840 arg3
= static_cast< int >(val3
);
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= SWIG_Py_Void();
13854 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
= 0;
13856 wxGrid
*arg1
= (wxGrid
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 PyObject
* obj1
= 0 ;
13864 char * kwnames
[] = {
13865 (char *) "self",(char *) "textOrientation", NULL
13868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13870 if (!SWIG_IsOK(res1
)) {
13871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
13873 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13875 if (!SWIG_IsOK(ecode2
)) {
13876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "2"" of type '" "int""'");
13878 arg2
= static_cast< int >(val2
);
13880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13881 (arg1
)->SetColLabelTextOrientation(arg2
);
13882 wxPyEndAllowThreads(__tstate
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13885 resultobj
= SWIG_Py_Void();
13892 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
= 0;
13894 wxGrid
*arg1
= (wxGrid
*) 0 ;
13896 wxString
*arg3
= 0 ;
13901 bool temp3
= false ;
13902 PyObject
* obj0
= 0 ;
13903 PyObject
* obj1
= 0 ;
13904 PyObject
* obj2
= 0 ;
13905 char * kwnames
[] = {
13906 (char *) "self",(char *) "row",(char *)"arg3", NULL
13909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13911 if (!SWIG_IsOK(res1
)) {
13912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13914 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13916 if (!SWIG_IsOK(ecode2
)) {
13917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13919 arg2
= static_cast< int >(val2
);
13921 arg3
= wxString_in_helper(obj2
);
13922 if (arg3
== NULL
) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= SWIG_Py_Void();
13946 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
= 0;
13948 wxGrid
*arg1
= (wxGrid
*) 0 ;
13950 wxString
*arg3
= 0 ;
13955 bool temp3
= false ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 PyObject
* obj2
= 0 ;
13959 char * kwnames
[] = {
13960 (char *) "self",(char *) "col",(char *)"arg3", NULL
13963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13965 if (!SWIG_IsOK(res1
)) {
13966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13968 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13970 if (!SWIG_IsOK(ecode2
)) {
13971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13973 arg2
= static_cast< int >(val2
);
13975 arg3
= wxString_in_helper(obj2
);
13976 if (arg3
== NULL
) SWIG_fail
;
13980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= SWIG_Py_Void();
14000 SWIGINTERN PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
= 0;
14002 wxGrid
*arg1
= (wxGrid
*) 0 ;
14003 wxColour
*arg2
= 0 ;
14007 PyObject
* obj0
= 0 ;
14008 PyObject
* obj1
= 0 ;
14009 char * kwnames
[] = {
14010 (char *) "self",(char *)"arg2", NULL
14013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14015 if (!SWIG_IsOK(res1
)) {
14016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14018 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14021 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_Py_Void();
14036 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
= 0;
14038 wxGrid
*arg1
= (wxGrid
*) 0 ;
14039 wxColour
*arg2
= 0 ;
14043 PyObject
* obj0
= 0 ;
14044 PyObject
* obj1
= 0 ;
14045 char * kwnames
[] = {
14046 (char *) "self",(char *)"arg2", NULL
14049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14051 if (!SWIG_IsOK(res1
)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14054 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14057 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= SWIG_Py_Void();
14072 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
= 0;
14074 wxGrid
*arg1
= (wxGrid
*) 0 ;
14080 PyObject
* obj0
= 0 ;
14081 PyObject
* obj1
= 0 ;
14082 char * kwnames
[] = {
14083 (char *) "self",(char *) "width", NULL
14086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14088 if (!SWIG_IsOK(res1
)) {
14089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
14091 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14093 if (!SWIG_IsOK(ecode2
)) {
14094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "2"" of type '" "int""'");
14096 arg2
= static_cast< int >(val2
);
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 (arg1
)->SetCellHighlightPenWidth(arg2
);
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 resultobj
= SWIG_Py_Void();
14110 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
= 0;
14112 wxGrid
*arg1
= (wxGrid
*) 0 ;
14118 PyObject
* obj0
= 0 ;
14119 PyObject
* obj1
= 0 ;
14120 char * kwnames
[] = {
14121 (char *) "self",(char *) "width", NULL
14124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14126 if (!SWIG_IsOK(res1
)) {
14127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
14129 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14131 if (!SWIG_IsOK(ecode2
)) {
14132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "2"" of type '" "int""'");
14134 arg2
= static_cast< int >(val2
);
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 (arg1
)->SetCellHighlightROPenWidth(arg2
);
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 resultobj
= SWIG_Py_Void();
14148 SWIGINTERN PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
= 0;
14150 wxGrid
*arg1
= (wxGrid
*) 0 ;
14151 bool arg2
= (bool) true ;
14156 PyObject
* obj0
= 0 ;
14157 PyObject
* obj1
= 0 ;
14158 char * kwnames
[] = {
14159 (char *) "self",(char *) "enable", NULL
14162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14164 if (!SWIG_IsOK(res1
)) {
14165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14167 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14169 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14170 if (!SWIG_IsOK(ecode2
)) {
14171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "2"" of type '" "bool""'");
14173 arg2
= static_cast< bool >(val2
);
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 (arg1
)->EnableDragRowSize(arg2
);
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= SWIG_Py_Void();
14188 SWIGINTERN PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 PyObject
*resultobj
= 0;
14190 wxGrid
*arg1
= (wxGrid
*) 0 ;
14193 PyObject
*swig_obj
[1] ;
14195 if (!args
) SWIG_fail
;
14196 swig_obj
[0] = args
;
14197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14198 if (!SWIG_IsOK(res1
)) {
14199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14201 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 (arg1
)->DisableDragRowSize();
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= SWIG_Py_Void();
14215 SWIGINTERN PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14216 PyObject
*resultobj
= 0;
14217 wxGrid
*arg1
= (wxGrid
*) 0 ;
14221 PyObject
*swig_obj
[1] ;
14223 if (!args
) SWIG_fail
;
14224 swig_obj
[0] = args
;
14225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14226 if (!SWIG_IsOK(res1
)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14229 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (bool)(arg1
)->CanDragRowSize();
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14245 SWIGINTERN PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
= 0;
14247 wxGrid
*arg1
= (wxGrid
*) 0 ;
14248 bool arg2
= (bool) true ;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 char * kwnames
[] = {
14256 (char *) "self",(char *) "enable", NULL
14259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14264 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14266 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14267 if (!SWIG_IsOK(ecode2
)) {
14268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColSize" "', expected argument " "2"" of type '" "bool""'");
14270 arg2
= static_cast< bool >(val2
);
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 (arg1
)->EnableDragColSize(arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= SWIG_Py_Void();
14285 SWIGINTERN PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14286 PyObject
*resultobj
= 0;
14287 wxGrid
*arg1
= (wxGrid
*) 0 ;
14290 PyObject
*swig_obj
[1] ;
14292 if (!args
) SWIG_fail
;
14293 swig_obj
[0] = args
;
14294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14295 if (!SWIG_IsOK(res1
)) {
14296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14298 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 (arg1
)->DisableDragColSize();
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= SWIG_Py_Void();
14312 SWIGINTERN PyObject
*_wrap_Grid_CanDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14313 PyObject
*resultobj
= 0;
14314 wxGrid
*arg1
= (wxGrid
*) 0 ;
14318 PyObject
*swig_obj
[1] ;
14320 if (!args
) SWIG_fail
;
14321 swig_obj
[0] = args
;
14322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14323 if (!SWIG_IsOK(res1
)) {
14324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14326 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (bool)(arg1
)->CanDragColSize();
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14342 SWIGINTERN PyObject
*_wrap_Grid_EnableDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
= 0;
14344 wxGrid
*arg1
= (wxGrid
*) 0 ;
14345 bool arg2
= (bool) true ;
14350 PyObject
* obj0
= 0 ;
14351 PyObject
* obj1
= 0 ;
14352 char * kwnames
[] = {
14353 (char *) "self",(char *) "enable", NULL
14356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColMove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14358 if (!SWIG_IsOK(res1
)) {
14359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14361 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14363 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14364 if (!SWIG_IsOK(ecode2
)) {
14365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColMove" "', expected argument " "2"" of type '" "bool""'");
14367 arg2
= static_cast< bool >(val2
);
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->EnableDragColMove(arg2
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_Py_Void();
14382 SWIGINTERN PyObject
*_wrap_Grid_DisableDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14383 PyObject
*resultobj
= 0;
14384 wxGrid
*arg1
= (wxGrid
*) 0 ;
14387 PyObject
*swig_obj
[1] ;
14389 if (!args
) SWIG_fail
;
14390 swig_obj
[0] = args
;
14391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14392 if (!SWIG_IsOK(res1
)) {
14393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14395 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 (arg1
)->DisableDragColMove();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_Py_Void();
14409 SWIGINTERN PyObject
*_wrap_Grid_CanDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14410 PyObject
*resultobj
= 0;
14411 wxGrid
*arg1
= (wxGrid
*) 0 ;
14415 PyObject
*swig_obj
[1] ;
14417 if (!args
) SWIG_fail
;
14418 swig_obj
[0] = args
;
14419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14420 if (!SWIG_IsOK(res1
)) {
14421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14423 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (bool)(arg1
)->CanDragColMove();
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14439 SWIGINTERN PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
= 0;
14441 wxGrid
*arg1
= (wxGrid
*) 0 ;
14442 bool arg2
= (bool) true ;
14447 PyObject
* obj0
= 0 ;
14448 PyObject
* obj1
= 0 ;
14449 char * kwnames
[] = {
14450 (char *) "self",(char *) "enable", NULL
14453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14455 if (!SWIG_IsOK(res1
)) {
14456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14458 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14460 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14461 if (!SWIG_IsOK(ecode2
)) {
14462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "2"" of type '" "bool""'");
14464 arg2
= static_cast< bool >(val2
);
14467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14468 (arg1
)->EnableDragGridSize(arg2
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 resultobj
= SWIG_Py_Void();
14479 SWIGINTERN PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14480 PyObject
*resultobj
= 0;
14481 wxGrid
*arg1
= (wxGrid
*) 0 ;
14484 PyObject
*swig_obj
[1] ;
14486 if (!args
) SWIG_fail
;
14487 swig_obj
[0] = args
;
14488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14489 if (!SWIG_IsOK(res1
)) {
14490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14492 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 (arg1
)->DisableDragGridSize();
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= SWIG_Py_Void();
14506 SWIGINTERN PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14507 PyObject
*resultobj
= 0;
14508 wxGrid
*arg1
= (wxGrid
*) 0 ;
14512 PyObject
*swig_obj
[1] ;
14514 if (!args
) SWIG_fail
;
14515 swig_obj
[0] = args
;
14516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14517 if (!SWIG_IsOK(res1
)) {
14518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14520 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)(arg1
)->CanDragGridSize();
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14536 SWIGINTERN PyObject
*_wrap_Grid_EnableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
= 0;
14538 wxGrid
*arg1
= (wxGrid
*) 0 ;
14539 bool arg2
= (bool) true ;
14544 PyObject
* obj0
= 0 ;
14545 PyObject
* obj1
= 0 ;
14546 char * kwnames
[] = {
14547 (char *) "self",(char *) "enable", NULL
14550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14552 if (!SWIG_IsOK(res1
)) {
14553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14555 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14557 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14558 if (!SWIG_IsOK(ecode2
)) {
14559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragCell" "', expected argument " "2"" of type '" "bool""'");
14561 arg2
= static_cast< bool >(val2
);
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 (arg1
)->EnableDragCell(arg2
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_Py_Void();
14576 SWIGINTERN PyObject
*_wrap_Grid_DisableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14577 PyObject
*resultobj
= 0;
14578 wxGrid
*arg1
= (wxGrid
*) 0 ;
14581 PyObject
*swig_obj
[1] ;
14583 if (!args
) SWIG_fail
;
14584 swig_obj
[0] = args
;
14585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14586 if (!SWIG_IsOK(res1
)) {
14587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14589 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 (arg1
)->DisableDragCell();
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 resultobj
= SWIG_Py_Void();
14603 SWIGINTERN PyObject
*_wrap_Grid_CanDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14604 PyObject
*resultobj
= 0;
14605 wxGrid
*arg1
= (wxGrid
*) 0 ;
14609 PyObject
*swig_obj
[1] ;
14611 if (!args
) SWIG_fail
;
14612 swig_obj
[0] = args
;
14613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14614 if (!SWIG_IsOK(res1
)) {
14615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14617 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (bool)(arg1
)->CanDragCell();
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14633 SWIGINTERN PyObject
*_wrap_Grid_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
= 0;
14635 wxGrid
*arg1
= (wxGrid
*) 0 ;
14638 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 PyObject
* obj1
= 0 ;
14649 PyObject
* obj2
= 0 ;
14650 PyObject
* obj3
= 0 ;
14651 char * kwnames
[] = {
14652 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
14655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14657 if (!SWIG_IsOK(res1
)) {
14658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14660 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14662 if (!SWIG_IsOK(ecode2
)) {
14663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetAttr" "', expected argument " "2"" of type '" "int""'");
14665 arg2
= static_cast< int >(val2
);
14666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14667 if (!SWIG_IsOK(ecode3
)) {
14668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetAttr" "', expected argument " "3"" of type '" "int""'");
14670 arg3
= static_cast< int >(val3
);
14671 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14672 if (!SWIG_IsOK(res4
)) {
14673 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr *""'");
14675 arg4
= reinterpret_cast< wxGridCellAttr
* >(argp4
);
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= SWIG_Py_Void();
14689 SWIGINTERN PyObject
*_wrap_Grid_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
= 0;
14691 wxGrid
*arg1
= (wxGrid
*) 0 ;
14693 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 PyObject
* obj2
= 0 ;
14703 char * kwnames
[] = {
14704 (char *) "self",(char *) "row",(char *) "attr", NULL
14707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14709 if (!SWIG_IsOK(res1
)) {
14710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14712 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14714 if (!SWIG_IsOK(ecode2
)) {
14715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowAttr" "', expected argument " "2"" of type '" "int""'");
14717 arg2
= static_cast< int >(val2
);
14718 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14719 if (!SWIG_IsOK(res3
)) {
14720 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetRowAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14722 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 (arg1
)->SetRowAttr(arg2
,arg3
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= SWIG_Py_Void();
14736 SWIGINTERN PyObject
*_wrap_Grid_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
= 0;
14738 wxGrid
*arg1
= (wxGrid
*) 0 ;
14740 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 PyObject
* obj1
= 0 ;
14749 PyObject
* obj2
= 0 ;
14750 char * kwnames
[] = {
14751 (char *) "self",(char *) "col",(char *) "attr", NULL
14754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14756 if (!SWIG_IsOK(res1
)) {
14757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14759 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14761 if (!SWIG_IsOK(ecode2
)) {
14762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColAttr" "', expected argument " "2"" of type '" "int""'");
14764 arg2
= static_cast< int >(val2
);
14765 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14766 if (!SWIG_IsOK(res3
)) {
14767 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetColAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14769 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 (arg1
)->SetColAttr(arg2
,arg3
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_Py_Void();
14783 SWIGINTERN PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
= 0;
14785 wxGrid
*arg1
= (wxGrid
*) 0 ;
14788 wxGridCellAttr
*result
= 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 PyObject
* obj2
= 0 ;
14798 char * kwnames
[] = {
14799 (char *) "self",(char *) "row",(char *) "col", NULL
14802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14804 if (!SWIG_IsOK(res1
)) {
14805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "1"" of type '" "wxGrid const *""'");
14807 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14809 if (!SWIG_IsOK(ecode2
)) {
14810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "2"" of type '" "int""'");
14812 arg2
= static_cast< int >(val2
);
14813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14814 if (!SWIG_IsOK(ecode3
)) {
14815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "3"" of type '" "int""'");
14817 arg3
= static_cast< int >(val3
);
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
14833 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
= 0;
14835 wxGrid
*arg1
= (wxGrid
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 PyObject
* obj1
= 0 ;
14843 char * kwnames
[] = {
14844 (char *) "self",(char *) "col", NULL
14847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14849 if (!SWIG_IsOK(res1
)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatBool" "', expected argument " "1"" of type '" "wxGrid *""'");
14852 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14854 if (!SWIG_IsOK(ecode2
)) {
14855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatBool" "', expected argument " "2"" of type '" "int""'");
14857 arg2
= static_cast< int >(val2
);
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 (arg1
)->SetColFormatBool(arg2
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= SWIG_Py_Void();
14871 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
= 0;
14873 wxGrid
*arg1
= (wxGrid
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 char * kwnames
[] = {
14882 (char *) "self",(char *) "col", NULL
14885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14887 if (!SWIG_IsOK(res1
)) {
14888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "1"" of type '" "wxGrid *""'");
14890 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14892 if (!SWIG_IsOK(ecode2
)) {
14893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "2"" of type '" "int""'");
14895 arg2
= static_cast< int >(val2
);
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 (arg1
)->SetColFormatNumber(arg2
);
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= SWIG_Py_Void();
14909 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
= 0;
14911 wxGrid
*arg1
= (wxGrid
*) 0 ;
14913 int arg3
= (int) -1 ;
14914 int arg4
= (int) -1 ;
14923 PyObject
* obj0
= 0 ;
14924 PyObject
* obj1
= 0 ;
14925 PyObject
* obj2
= 0 ;
14926 PyObject
* obj3
= 0 ;
14927 char * kwnames
[] = {
14928 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
14931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14933 if (!SWIG_IsOK(res1
)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "1"" of type '" "wxGrid *""'");
14936 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14938 if (!SWIG_IsOK(ecode2
)) {
14939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "2"" of type '" "int""'");
14941 arg2
= static_cast< int >(val2
);
14943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14944 if (!SWIG_IsOK(ecode3
)) {
14945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "3"" of type '" "int""'");
14947 arg3
= static_cast< int >(val3
);
14950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14951 if (!SWIG_IsOK(ecode4
)) {
14952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "4"" of type '" "int""'");
14954 arg4
= static_cast< int >(val4
);
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= SWIG_Py_Void();
14969 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
= 0;
14971 wxGrid
*arg1
= (wxGrid
*) 0 ;
14973 wxString
*arg3
= 0 ;
14978 bool temp3
= false ;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 PyObject
* obj2
= 0 ;
14982 char * kwnames
[] = {
14983 (char *) "self",(char *) "col",(char *) "typeName", NULL
14986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "1"" of type '" "wxGrid *""'");
14991 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14993 if (!SWIG_IsOK(ecode2
)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "2"" of type '" "int""'");
14996 arg2
= static_cast< int >(val2
);
14998 arg3
= wxString_in_helper(obj2
);
14999 if (arg3
== NULL
) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= SWIG_Py_Void();
15023 SWIGINTERN PyObject
*_wrap_Grid_EnableGridLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
= 0;
15025 wxGrid
*arg1
= (wxGrid
*) 0 ;
15026 bool arg2
= (bool) true ;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 char * kwnames
[] = {
15034 (char *) "self",(char *) "enable", NULL
15037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15039 if (!SWIG_IsOK(res1
)) {
15040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableGridLines" "', expected argument " "1"" of type '" "wxGrid *""'");
15042 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15044 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15045 if (!SWIG_IsOK(ecode2
)) {
15046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableGridLines" "', expected argument " "2"" of type '" "bool""'");
15048 arg2
= static_cast< bool >(val2
);
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 (arg1
)->EnableGridLines(arg2
);
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= SWIG_Py_Void();
15063 SWIGINTERN PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15064 PyObject
*resultobj
= 0;
15065 wxGrid
*arg1
= (wxGrid
*) 0 ;
15069 PyObject
*swig_obj
[1] ;
15071 if (!args
) SWIG_fail
;
15072 swig_obj
[0] = args
;
15073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15074 if (!SWIG_IsOK(res1
)) {
15075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GridLinesEnabled" "', expected argument " "1"" of type '" "wxGrid *""'");
15077 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (bool)(arg1
)->GridLinesEnabled();
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15093 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15094 PyObject
*resultobj
= 0;
15095 wxGrid
*arg1
= (wxGrid
*) 0 ;
15099 PyObject
*swig_obj
[1] ;
15101 if (!args
) SWIG_fail
;
15102 swig_obj
[0] = args
;
15103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15104 if (!SWIG_IsOK(res1
)) {
15105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15107 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (int)(arg1
)->GetDefaultRowSize();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_From_int(static_cast< int >(result
));
15121 SWIGINTERN PyObject
*_wrap_Grid_GetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
= 0;
15123 wxGrid
*arg1
= (wxGrid
*) 0 ;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 char * kwnames
[] = {
15133 (char *) "self",(char *) "row", NULL
15136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15138 if (!SWIG_IsOK(res1
)) {
15139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15141 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15143 if (!SWIG_IsOK(ecode2
)) {
15144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowSize" "', expected argument " "2"" of type '" "int""'");
15146 arg2
= static_cast< int >(val2
);
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 result
= (int)(arg1
)->GetRowSize(arg2
);
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= SWIG_From_int(static_cast< int >(result
));
15160 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15161 PyObject
*resultobj
= 0;
15162 wxGrid
*arg1
= (wxGrid
*) 0 ;
15166 PyObject
*swig_obj
[1] ;
15168 if (!args
) SWIG_fail
;
15169 swig_obj
[0] = args
;
15170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15171 if (!SWIG_IsOK(res1
)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15174 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (int)(arg1
)->GetDefaultColSize();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15181 resultobj
= SWIG_From_int(static_cast< int >(result
));
15188 SWIGINTERN PyObject
*_wrap_Grid_GetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
= 0;
15190 wxGrid
*arg1
= (wxGrid
*) 0 ;
15197 PyObject
* obj0
= 0 ;
15198 PyObject
* obj1
= 0 ;
15199 char * kwnames
[] = {
15200 (char *) "self",(char *) "col", NULL
15203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15205 if (!SWIG_IsOK(res1
)) {
15206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15208 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15210 if (!SWIG_IsOK(ecode2
)) {
15211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColSize" "', expected argument " "2"" of type '" "int""'");
15213 arg2
= static_cast< int >(val2
);
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (int)(arg1
)->GetColSize(arg2
);
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= SWIG_From_int(static_cast< int >(result
));
15227 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15228 PyObject
*resultobj
= 0;
15229 wxGrid
*arg1
= (wxGrid
*) 0 ;
15233 PyObject
*swig_obj
[1] ;
15235 if (!args
) SWIG_fail
;
15236 swig_obj
[0] = args
;
15237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15238 if (!SWIG_IsOK(res1
)) {
15239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15241 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (arg1
)->GetDefaultCellBackgroundColour();
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15255 SWIGINTERN PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
= 0;
15257 wxGrid
*arg1
= (wxGrid
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 PyObject
* obj2
= 0 ;
15270 char * kwnames
[] = {
15271 (char *) "self",(char *) "row",(char *) "col", NULL
15274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15276 if (!SWIG_IsOK(res1
)) {
15277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15279 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15281 if (!SWIG_IsOK(ecode2
)) {
15282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
15284 arg2
= static_cast< int >(val2
);
15285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15286 if (!SWIG_IsOK(ecode3
)) {
15287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
15289 arg3
= static_cast< int >(val3
);
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15303 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15304 PyObject
*resultobj
= 0;
15305 wxGrid
*arg1
= (wxGrid
*) 0 ;
15309 PyObject
*swig_obj
[1] ;
15311 if (!args
) SWIG_fail
;
15312 swig_obj
[0] = args
;
15313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15314 if (!SWIG_IsOK(res1
)) {
15315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15317 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (arg1
)->GetDefaultCellTextColour();
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15331 SWIGINTERN PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
= 0;
15333 wxGrid
*arg1
= (wxGrid
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 PyObject
* obj2
= 0 ;
15346 char * kwnames
[] = {
15347 (char *) "self",(char *) "row",(char *) "col", NULL
15350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15352 if (!SWIG_IsOK(res1
)) {
15353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15355 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15357 if (!SWIG_IsOK(ecode2
)) {
15358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellTextColour" "', expected argument " "2"" of type '" "int""'");
15360 arg2
= static_cast< int >(val2
);
15361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15362 if (!SWIG_IsOK(ecode3
)) {
15363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellTextColour" "', expected argument " "3"" of type '" "int""'");
15365 arg3
= static_cast< int >(val3
);
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15379 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15380 PyObject
*resultobj
= 0;
15381 wxGrid
*arg1
= (wxGrid
*) 0 ;
15385 PyObject
*swig_obj
[1] ;
15387 if (!args
) SWIG_fail
;
15388 swig_obj
[0] = args
;
15389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15390 if (!SWIG_IsOK(res1
)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15393 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 result
= (arg1
)->GetDefaultCellFont();
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15407 SWIGINTERN PyObject
*_wrap_Grid_GetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
= 0;
15409 wxGrid
*arg1
= (wxGrid
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 PyObject
* obj2
= 0 ;
15422 char * kwnames
[] = {
15423 (char *) "self",(char *) "row",(char *) "col", NULL
15426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15428 if (!SWIG_IsOK(res1
)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15431 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15433 if (!SWIG_IsOK(ecode2
)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellFont" "', expected argument " "2"" of type '" "int""'");
15436 arg2
= static_cast< int >(val2
);
15437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15438 if (!SWIG_IsOK(ecode3
)) {
15439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellFont" "', expected argument " "3"" of type '" "int""'");
15441 arg3
= static_cast< int >(val3
);
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (arg1
)->GetCellFont(arg2
,arg3
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15455 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15456 PyObject
*resultobj
= 0;
15457 wxGrid
*arg1
= (wxGrid
*) 0 ;
15458 int *arg2
= (int *) 0 ;
15459 int *arg3
= (int *) 0 ;
15463 int res2
= SWIG_TMPOBJ
;
15465 int res3
= SWIG_TMPOBJ
;
15466 PyObject
*swig_obj
[1] ;
15470 if (!args
) SWIG_fail
;
15471 swig_obj
[0] = args
;
15472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15473 if (!SWIG_IsOK(res1
)) {
15474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15476 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 resultobj
= SWIG_Py_Void();
15484 if (SWIG_IsTmpObj(res2
)) {
15485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
15487 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
15490 if (SWIG_IsTmpObj(res3
)) {
15491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
15493 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
15502 SWIGINTERN PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
= 0;
15504 wxGrid
*arg1
= (wxGrid
*) 0 ;
15507 int *arg4
= (int *) 0 ;
15508 int *arg5
= (int *) 0 ;
15516 int res4
= SWIG_TMPOBJ
;
15518 int res5
= SWIG_TMPOBJ
;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 PyObject
* obj2
= 0 ;
15522 char * kwnames
[] = {
15523 (char *) "self",(char *) "row",(char *) "col", NULL
15528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15530 if (!SWIG_IsOK(res1
)) {
15531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15533 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15535 if (!SWIG_IsOK(ecode2
)) {
15536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellAlignment" "', expected argument " "2"" of type '" "int""'");
15538 arg2
= static_cast< int >(val2
);
15539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15540 if (!SWIG_IsOK(ecode3
)) {
15541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellAlignment" "', expected argument " "3"" of type '" "int""'");
15543 arg3
= static_cast< int >(val3
);
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_Py_Void();
15551 if (SWIG_IsTmpObj(res4
)) {
15552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15554 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15557 if (SWIG_IsTmpObj(res5
)) {
15558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15560 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15569 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15570 PyObject
*resultobj
= 0;
15571 wxGrid
*arg1
= (wxGrid
*) 0 ;
15575 PyObject
*swig_obj
[1] ;
15577 if (!args
) SWIG_fail
;
15578 swig_obj
[0] = args
;
15579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15580 if (!SWIG_IsOK(res1
)) {
15581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15583 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (bool)(arg1
)->GetDefaultCellOverflow();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15599 SWIGINTERN PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
= 0;
15601 wxGrid
*arg1
= (wxGrid
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 PyObject
* obj2
= 0 ;
15614 char * kwnames
[] = {
15615 (char *) "self",(char *) "row",(char *) "col", NULL
15618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15620 if (!SWIG_IsOK(res1
)) {
15621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15623 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15625 if (!SWIG_IsOK(ecode2
)) {
15626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellOverflow" "', expected argument " "2"" of type '" "int""'");
15628 arg2
= static_cast< int >(val2
);
15629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15630 if (!SWIG_IsOK(ecode3
)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellOverflow" "', expected argument " "3"" of type '" "int""'");
15633 arg3
= static_cast< int >(val3
);
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15649 SWIGINTERN PyObject
*_wrap_Grid_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
= 0;
15651 wxGrid
*arg1
= (wxGrid
*) 0 ;
15654 int *arg4
= (int *) 0 ;
15655 int *arg5
= (int *) 0 ;
15663 int res4
= SWIG_TMPOBJ
;
15665 int res5
= SWIG_TMPOBJ
;
15666 PyObject
* obj0
= 0 ;
15667 PyObject
* obj1
= 0 ;
15668 PyObject
* obj2
= 0 ;
15669 char * kwnames
[] = {
15670 (char *) "self",(char *) "row",(char *) "col", NULL
15675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15677 if (!SWIG_IsOK(res1
)) {
15678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15680 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15682 if (!SWIG_IsOK(ecode2
)) {
15683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellSize" "', expected argument " "2"" of type '" "int""'");
15685 arg2
= static_cast< int >(val2
);
15686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15687 if (!SWIG_IsOK(ecode3
)) {
15688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellSize" "', expected argument " "3"" of type '" "int""'");
15690 arg3
= static_cast< int >(val3
);
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= SWIG_Py_Void();
15698 if (SWIG_IsTmpObj(res4
)) {
15699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15701 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15704 if (SWIG_IsTmpObj(res5
)) {
15705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15707 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15716 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
= 0;
15718 wxGrid
*arg1
= (wxGrid
*) 0 ;
15720 bool arg3
= (bool) false ;
15727 PyObject
* obj0
= 0 ;
15728 PyObject
* obj1
= 0 ;
15729 PyObject
* obj2
= 0 ;
15730 char * kwnames
[] = {
15731 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
15734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15736 if (!SWIG_IsOK(res1
)) {
15737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15739 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15741 if (!SWIG_IsOK(ecode2
)) {
15742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "2"" of type '" "int""'");
15744 arg2
= static_cast< int >(val2
);
15746 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15747 if (!SWIG_IsOK(ecode3
)) {
15748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "3"" of type '" "bool""'");
15750 arg3
= static_cast< bool >(val3
);
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= SWIG_Py_Void();
15765 SWIGINTERN PyObject
*_wrap_Grid_SetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15766 PyObject
*resultobj
= 0;
15767 wxGrid
*arg1
= (wxGrid
*) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 PyObject
* obj2
= 0 ;
15779 char * kwnames
[] = {
15780 (char *) "self",(char *) "row",(char *) "height", NULL
15783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15785 if (!SWIG_IsOK(res1
)) {
15786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15788 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15790 if (!SWIG_IsOK(ecode2
)) {
15791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowSize" "', expected argument " "2"" of type '" "int""'");
15793 arg2
= static_cast< int >(val2
);
15794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15795 if (!SWIG_IsOK(ecode3
)) {
15796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowSize" "', expected argument " "3"" of type '" "int""'");
15798 arg3
= static_cast< int >(val3
);
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 (arg1
)->SetRowSize(arg2
,arg3
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_Py_Void();
15812 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
= 0;
15814 wxGrid
*arg1
= (wxGrid
*) 0 ;
15816 bool arg3
= (bool) false ;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 PyObject
* obj2
= 0 ;
15826 char * kwnames
[] = {
15827 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
15830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15832 if (!SWIG_IsOK(res1
)) {
15833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15835 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15837 if (!SWIG_IsOK(ecode2
)) {
15838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "2"" of type '" "int""'");
15840 arg2
= static_cast< int >(val2
);
15842 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15843 if (!SWIG_IsOK(ecode3
)) {
15844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "3"" of type '" "bool""'");
15846 arg3
= static_cast< bool >(val3
);
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 (arg1
)->SetDefaultColSize(arg2
,arg3
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_Py_Void();
15861 SWIGINTERN PyObject
*_wrap_Grid_SetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
= 0;
15863 wxGrid
*arg1
= (wxGrid
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 PyObject
* obj1
= 0 ;
15874 PyObject
* obj2
= 0 ;
15875 char * kwnames
[] = {
15876 (char *) "self",(char *) "col",(char *) "width", NULL
15879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15881 if (!SWIG_IsOK(res1
)) {
15882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15884 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15886 if (!SWIG_IsOK(ecode2
)) {
15887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColSize" "', expected argument " "2"" of type '" "int""'");
15889 arg2
= static_cast< int >(val2
);
15890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15891 if (!SWIG_IsOK(ecode3
)) {
15892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColSize" "', expected argument " "3"" of type '" "int""'");
15894 arg3
= static_cast< int >(val3
);
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 (arg1
)->SetColSize(arg2
,arg3
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= SWIG_Py_Void();
15908 SWIGINTERN PyObject
*_wrap_Grid_GetColAt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
= 0;
15910 wxGrid
*arg1
= (wxGrid
*) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 PyObject
* obj1
= 0 ;
15919 char * kwnames
[] = {
15920 (char *) "self",(char *) "colPos", NULL
15923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColAt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15925 if (!SWIG_IsOK(res1
)) {
15926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColAt" "', expected argument " "1"" of type '" "wxGrid const *""'");
15928 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15930 if (!SWIG_IsOK(ecode2
)) {
15931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColAt" "', expected argument " "2"" of type '" "int""'");
15933 arg2
= static_cast< int >(val2
);
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 result
= (int)((wxGrid
const *)arg1
)->GetColAt(arg2
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_From_int(static_cast< int >(result
));
15947 SWIGINTERN PyObject
*_wrap_Grid_SetColPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
= 0;
15949 wxGrid
*arg1
= (wxGrid
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 PyObject
* obj1
= 0 ;
15960 PyObject
* obj2
= 0 ;
15961 char * kwnames
[] = {
15962 (char *) "self",(char *) "colID",(char *) "newPos", NULL
15965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15967 if (!SWIG_IsOK(res1
)) {
15968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColPos" "', expected argument " "1"" of type '" "wxGrid *""'");
15970 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15972 if (!SWIG_IsOK(ecode2
)) {
15973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColPos" "', expected argument " "2"" of type '" "int""'");
15975 arg2
= static_cast< int >(val2
);
15976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15977 if (!SWIG_IsOK(ecode3
)) {
15978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColPos" "', expected argument " "3"" of type '" "int""'");
15980 arg3
= static_cast< int >(val3
);
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 (arg1
)->SetColPos(arg2
,arg3
);
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= SWIG_Py_Void();
15994 SWIGINTERN PyObject
*_wrap_Grid_GetColPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
= 0;
15996 wxGrid
*arg1
= (wxGrid
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 PyObject
* obj1
= 0 ;
16005 char * kwnames
[] = {
16006 (char *) "self",(char *) "colID", NULL
16009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16011 if (!SWIG_IsOK(res1
)) {
16012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColPos" "', expected argument " "1"" of type '" "wxGrid const *""'");
16014 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16016 if (!SWIG_IsOK(ecode2
)) {
16017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColPos" "', expected argument " "2"" of type '" "int""'");
16019 arg2
= static_cast< int >(val2
);
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (int)((wxGrid
const *)arg1
)->GetColPos(arg2
);
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= SWIG_From_int(static_cast< int >(result
));
16033 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
= 0;
16035 wxGrid
*arg1
= (wxGrid
*) 0 ;
16037 bool arg3
= (bool) true ;
16044 PyObject
* obj0
= 0 ;
16045 PyObject
* obj1
= 0 ;
16046 PyObject
* obj2
= 0 ;
16047 char * kwnames
[] = {
16048 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
16051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16053 if (!SWIG_IsOK(res1
)) {
16054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "1"" of type '" "wxGrid *""'");
16056 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16058 if (!SWIG_IsOK(ecode2
)) {
16059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "2"" of type '" "int""'");
16061 arg2
= static_cast< int >(val2
);
16063 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16064 if (!SWIG_IsOK(ecode3
)) {
16065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "3"" of type '" "bool""'");
16067 arg3
= static_cast< bool >(val3
);
16070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 (arg1
)->AutoSizeColumn(arg2
,arg3
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= SWIG_Py_Void();
16082 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
= 0;
16084 wxGrid
*arg1
= (wxGrid
*) 0 ;
16086 bool arg3
= (bool) true ;
16093 PyObject
* obj0
= 0 ;
16094 PyObject
* obj1
= 0 ;
16095 PyObject
* obj2
= 0 ;
16096 char * kwnames
[] = {
16097 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
16100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16102 if (!SWIG_IsOK(res1
)) {
16103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRow" "', expected argument " "1"" of type '" "wxGrid *""'");
16105 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16107 if (!SWIG_IsOK(ecode2
)) {
16108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRow" "', expected argument " "2"" of type '" "int""'");
16110 arg2
= static_cast< int >(val2
);
16112 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16113 if (!SWIG_IsOK(ecode3
)) {
16114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeRow" "', expected argument " "3"" of type '" "bool""'");
16116 arg3
= static_cast< bool >(val3
);
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 (arg1
)->AutoSizeRow(arg2
,arg3
);
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16124 resultobj
= SWIG_Py_Void();
16131 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
= 0;
16133 wxGrid
*arg1
= (wxGrid
*) 0 ;
16134 bool arg2
= (bool) true ;
16139 PyObject
* obj0
= 0 ;
16140 PyObject
* obj1
= 0 ;
16141 char * kwnames
[] = {
16142 (char *) "self",(char *) "setAsMin", NULL
16145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16147 if (!SWIG_IsOK(res1
)) {
16148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "1"" of type '" "wxGrid *""'");
16150 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16152 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16153 if (!SWIG_IsOK(ecode2
)) {
16154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "2"" of type '" "bool""'");
16156 arg2
= static_cast< bool >(val2
);
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 (arg1
)->AutoSizeColumns(arg2
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= SWIG_Py_Void();
16171 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
= 0;
16173 wxGrid
*arg1
= (wxGrid
*) 0 ;
16174 bool arg2
= (bool) true ;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 char * kwnames
[] = {
16182 (char *) "self",(char *) "setAsMin", NULL
16185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16187 if (!SWIG_IsOK(res1
)) {
16188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRows" "', expected argument " "1"" of type '" "wxGrid *""'");
16190 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16192 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16193 if (!SWIG_IsOK(ecode2
)) {
16194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRows" "', expected argument " "2"" of type '" "bool""'");
16196 arg2
= static_cast< bool >(val2
);
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 (arg1
)->AutoSizeRows(arg2
);
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16204 resultobj
= SWIG_Py_Void();
16211 SWIGINTERN PyObject
*_wrap_Grid_AutoSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16212 PyObject
*resultobj
= 0;
16213 wxGrid
*arg1
= (wxGrid
*) 0 ;
16216 PyObject
*swig_obj
[1] ;
16218 if (!args
) SWIG_fail
;
16219 swig_obj
[0] = args
;
16220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16221 if (!SWIG_IsOK(res1
)) {
16222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16224 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 (arg1
)->AutoSize();
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= SWIG_Py_Void();
16238 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
= 0;
16240 wxGrid
*arg1
= (wxGrid
*) 0 ;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 char * kwnames
[] = {
16249 (char *) "self",(char *) "row", NULL
16252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16254 if (!SWIG_IsOK(res1
)) {
16255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16257 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16259 if (!SWIG_IsOK(ecode2
)) {
16260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "2"" of type '" "int""'");
16262 arg2
= static_cast< int >(val2
);
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 (arg1
)->AutoSizeRowLabelSize(arg2
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_Py_Void();
16276 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
= 0;
16278 wxGrid
*arg1
= (wxGrid
*) 0 ;
16284 PyObject
* obj0
= 0 ;
16285 PyObject
* obj1
= 0 ;
16286 char * kwnames
[] = {
16287 (char *) "self",(char *) "col", NULL
16290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16292 if (!SWIG_IsOK(res1
)) {
16293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16295 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16297 if (!SWIG_IsOK(ecode2
)) {
16298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "2"" of type '" "int""'");
16300 arg2
= static_cast< int >(val2
);
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 (arg1
)->AutoSizeColLabelSize(arg2
);
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= SWIG_Py_Void();
16314 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
= 0;
16316 wxGrid
*arg1
= (wxGrid
*) 0 ;
16325 PyObject
* obj0
= 0 ;
16326 PyObject
* obj1
= 0 ;
16327 PyObject
* obj2
= 0 ;
16328 char * kwnames
[] = {
16329 (char *) "self",(char *) "col",(char *) "width", NULL
16332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16334 if (!SWIG_IsOK(res1
)) {
16335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
16337 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16339 if (!SWIG_IsOK(ecode2
)) {
16340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "2"" of type '" "int""'");
16342 arg2
= static_cast< int >(val2
);
16343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16344 if (!SWIG_IsOK(ecode3
)) {
16345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "3"" of type '" "int""'");
16347 arg3
= static_cast< int >(val3
);
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= SWIG_Py_Void();
16361 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
= 0;
16363 wxGrid
*arg1
= (wxGrid
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 PyObject
* obj2
= 0 ;
16375 char * kwnames
[] = {
16376 (char *) "self",(char *) "row",(char *) "width", NULL
16379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16381 if (!SWIG_IsOK(res1
)) {
16382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16384 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16386 if (!SWIG_IsOK(ecode2
)) {
16387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "2"" of type '" "int""'");
16389 arg2
= static_cast< int >(val2
);
16390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16391 if (!SWIG_IsOK(ecode3
)) {
16392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "3"" of type '" "int""'");
16394 arg3
= static_cast< int >(val3
);
16396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16397 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 resultobj
= SWIG_Py_Void();
16408 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
= 0;
16410 wxGrid
*arg1
= (wxGrid
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 PyObject
* obj1
= 0 ;
16418 char * kwnames
[] = {
16419 (char *) "self",(char *) "width", NULL
16422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16424 if (!SWIG_IsOK(res1
)) {
16425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
16427 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16429 if (!SWIG_IsOK(ecode2
)) {
16430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "2"" of type '" "int""'");
16432 arg2
= static_cast< int >(val2
);
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= SWIG_Py_Void();
16446 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
= 0;
16448 wxGrid
*arg1
= (wxGrid
*) 0 ;
16454 PyObject
* obj0
= 0 ;
16455 PyObject
* obj1
= 0 ;
16456 char * kwnames
[] = {
16457 (char *) "self",(char *) "width", NULL
16460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16462 if (!SWIG_IsOK(res1
)) {
16463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16465 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16467 if (!SWIG_IsOK(ecode2
)) {
16468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "2"" of type '" "int""'");
16470 arg2
= static_cast< int >(val2
);
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_Py_Void();
16484 SWIGINTERN PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16485 PyObject
*resultobj
= 0;
16486 wxGrid
*arg1
= (wxGrid
*) 0 ;
16490 PyObject
*swig_obj
[1] ;
16492 if (!args
) SWIG_fail
;
16493 swig_obj
[0] = args
;
16494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16495 if (!SWIG_IsOK(res1
)) {
16496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid const *""'");
16498 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= SWIG_From_int(static_cast< int >(result
));
16512 SWIGINTERN PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16513 PyObject
*resultobj
= 0;
16514 wxGrid
*arg1
= (wxGrid
*) 0 ;
16518 PyObject
*swig_obj
[1] ;
16520 if (!args
) SWIG_fail
;
16521 swig_obj
[0] = args
;
16522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16523 if (!SWIG_IsOK(res1
)) {
16524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid const *""'");
16526 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= SWIG_From_int(static_cast< int >(result
));
16540 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
= 0;
16542 wxGrid
*arg1
= (wxGrid
*) 0 ;
16543 wxColour
*arg2
= 0 ;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 char * kwnames
[] = {
16550 (char *) "self",(char *)"arg2", NULL
16553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16555 if (!SWIG_IsOK(res1
)) {
16556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16558 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16561 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= SWIG_Py_Void();
16576 SWIGINTERN PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
= 0;
16578 wxGrid
*arg1
= (wxGrid
*) 0 ;
16581 wxColour
*arg4
= 0 ;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 PyObject
* obj2
= 0 ;
16592 PyObject
* obj3
= 0 ;
16593 char * kwnames
[] = {
16594 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16599 if (!SWIG_IsOK(res1
)) {
16600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16602 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16604 if (!SWIG_IsOK(ecode2
)) {
16605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
16607 arg2
= static_cast< int >(val2
);
16608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16609 if (!SWIG_IsOK(ecode3
)) {
16610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
16612 arg3
= static_cast< int >(val3
);
16615 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= SWIG_Py_Void();
16630 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
= 0;
16632 wxGrid
*arg1
= (wxGrid
*) 0 ;
16633 wxColour
*arg2
= 0 ;
16637 PyObject
* obj0
= 0 ;
16638 PyObject
* obj1
= 0 ;
16639 char * kwnames
[] = {
16640 (char *) "self",(char *)"arg2", NULL
16643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16645 if (!SWIG_IsOK(res1
)) {
16646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16648 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= SWIG_Py_Void();
16666 SWIGINTERN PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
= 0;
16668 wxGrid
*arg1
= (wxGrid
*) 0 ;
16671 wxColour
*arg4
= 0 ;
16679 PyObject
* obj0
= 0 ;
16680 PyObject
* obj1
= 0 ;
16681 PyObject
* obj2
= 0 ;
16682 PyObject
* obj3
= 0 ;
16683 char * kwnames
[] = {
16684 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16689 if (!SWIG_IsOK(res1
)) {
16690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16692 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16694 if (!SWIG_IsOK(ecode2
)) {
16695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellTextColour" "', expected argument " "2"" of type '" "int""'");
16697 arg2
= static_cast< int >(val2
);
16698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16699 if (!SWIG_IsOK(ecode3
)) {
16700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellTextColour" "', expected argument " "3"" of type '" "int""'");
16702 arg3
= static_cast< int >(val3
);
16705 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_Py_Void();
16720 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
= 0;
16722 wxGrid
*arg1
= (wxGrid
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 char * kwnames
[] = {
16731 (char *) "self",(char *)"arg2", NULL
16734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16736 if (!SWIG_IsOK(res1
)) {
16737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16739 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
16741 if (!SWIG_IsOK(res2
)) {
16742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16747 arg2
= reinterpret_cast< wxFont
* >(argp2
);
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= SWIG_Py_Void();
16761 SWIGINTERN PyObject
*_wrap_Grid_SetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
= 0;
16763 wxGrid
*arg1
= (wxGrid
*) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 PyObject
* obj1
= 0 ;
16777 PyObject
* obj2
= 0 ;
16778 PyObject
* obj3
= 0 ;
16779 char * kwnames
[] = {
16780 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16785 if (!SWIG_IsOK(res1
)) {
16786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16788 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16790 if (!SWIG_IsOK(ecode2
)) {
16791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellFont" "', expected argument " "2"" of type '" "int""'");
16793 arg2
= static_cast< int >(val2
);
16794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16795 if (!SWIG_IsOK(ecode3
)) {
16796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellFont" "', expected argument " "3"" of type '" "int""'");
16798 arg3
= static_cast< int >(val3
);
16799 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
16800 if (!SWIG_IsOK(res4
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16806 arg4
= reinterpret_cast< wxFont
* >(argp4
);
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= SWIG_Py_Void();
16820 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
= 0;
16822 wxGrid
*arg1
= (wxGrid
*) 0 ;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 PyObject
* obj2
= 0 ;
16834 char * kwnames
[] = {
16835 (char *) "self",(char *) "horiz",(char *) "vert", NULL
16838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16840 if (!SWIG_IsOK(res1
)) {
16841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16843 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16845 if (!SWIG_IsOK(ecode2
)) {
16846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "2"" of type '" "int""'");
16848 arg2
= static_cast< int >(val2
);
16849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16850 if (!SWIG_IsOK(ecode3
)) {
16851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "3"" of type '" "int""'");
16853 arg3
= static_cast< int >(val3
);
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_Py_Void();
16867 SWIGINTERN PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
= 0;
16869 wxGrid
*arg1
= (wxGrid
*) 0 ;
16884 PyObject
* obj0
= 0 ;
16885 PyObject
* obj1
= 0 ;
16886 PyObject
* obj2
= 0 ;
16887 PyObject
* obj3
= 0 ;
16888 PyObject
* obj4
= 0 ;
16889 char * kwnames
[] = {
16890 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
16893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16895 if (!SWIG_IsOK(res1
)) {
16896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16898 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16900 if (!SWIG_IsOK(ecode2
)) {
16901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellAlignment" "', expected argument " "2"" of type '" "int""'");
16903 arg2
= static_cast< int >(val2
);
16904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16905 if (!SWIG_IsOK(ecode3
)) {
16906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellAlignment" "', expected argument " "3"" of type '" "int""'");
16908 arg3
= static_cast< int >(val3
);
16909 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16910 if (!SWIG_IsOK(ecode4
)) {
16911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellAlignment" "', expected argument " "4"" of type '" "int""'");
16913 arg4
= static_cast< int >(val4
);
16914 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16915 if (!SWIG_IsOK(ecode5
)) {
16916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellAlignment" "', expected argument " "5"" of type '" "int""'");
16918 arg5
= static_cast< int >(val5
);
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= SWIG_Py_Void();
16932 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
= 0;
16934 wxGrid
*arg1
= (wxGrid
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 char * kwnames
[] = {
16943 (char *) "self",(char *) "allow", NULL
16946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16948 if (!SWIG_IsOK(res1
)) {
16949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16951 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16952 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16953 if (!SWIG_IsOK(ecode2
)) {
16954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "2"" of type '" "bool""'");
16956 arg2
= static_cast< bool >(val2
);
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 (arg1
)->SetDefaultCellOverflow(arg2
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= SWIG_Py_Void();
16970 SWIGINTERN PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
= 0;
16972 wxGrid
*arg1
= (wxGrid
*) 0 ;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 PyObject
* obj2
= 0 ;
16987 PyObject
* obj3
= 0 ;
16988 char * kwnames
[] = {
16989 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
16992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16994 if (!SWIG_IsOK(res1
)) {
16995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16997 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16999 if (!SWIG_IsOK(ecode2
)) {
17000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellOverflow" "', expected argument " "2"" of type '" "int""'");
17002 arg2
= static_cast< int >(val2
);
17003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17004 if (!SWIG_IsOK(ecode3
)) {
17005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellOverflow" "', expected argument " "3"" of type '" "int""'");
17007 arg3
= static_cast< int >(val3
);
17008 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17009 if (!SWIG_IsOK(ecode4
)) {
17010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellOverflow" "', expected argument " "4"" of type '" "bool""'");
17012 arg4
= static_cast< bool >(val4
);
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= SWIG_Py_Void();
17026 SWIGINTERN PyObject
*_wrap_Grid_SetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
= 0;
17028 wxGrid
*arg1
= (wxGrid
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 PyObject
* obj2
= 0 ;
17046 PyObject
* obj3
= 0 ;
17047 PyObject
* obj4
= 0 ;
17048 char * kwnames
[] = {
17049 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
17052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17054 if (!SWIG_IsOK(res1
)) {
17055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
17057 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17059 if (!SWIG_IsOK(ecode2
)) {
17060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellSize" "', expected argument " "2"" of type '" "int""'");
17062 arg2
= static_cast< int >(val2
);
17063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17064 if (!SWIG_IsOK(ecode3
)) {
17065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellSize" "', expected argument " "3"" of type '" "int""'");
17067 arg3
= static_cast< int >(val3
);
17068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17069 if (!SWIG_IsOK(ecode4
)) {
17070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellSize" "', expected argument " "4"" of type '" "int""'");
17072 arg4
= static_cast< int >(val4
);
17073 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17074 if (!SWIG_IsOK(ecode5
)) {
17075 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellSize" "', expected argument " "5"" of type '" "int""'");
17077 arg5
= static_cast< int >(val5
);
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= SWIG_Py_Void();
17091 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
= 0;
17093 wxGrid
*arg1
= (wxGrid
*) 0 ;
17094 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
17099 PyObject
* obj0
= 0 ;
17100 PyObject
* obj1
= 0 ;
17101 char * kwnames
[] = {
17102 (char *) "self",(char *) "renderer", NULL
17105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17107 if (!SWIG_IsOK(res1
)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
17110 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
17112 if (!SWIG_IsOK(res2
)) {
17113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
17115 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 (arg1
)->SetDefaultRenderer(arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_Py_Void();
17129 SWIGINTERN PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
= 0;
17131 wxGrid
*arg1
= (wxGrid
*) 0 ;
17134 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 PyObject
* obj2
= 0 ;
17146 PyObject
* obj3
= 0 ;
17147 char * kwnames
[] = {
17148 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
17151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17153 if (!SWIG_IsOK(res1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
17156 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17158 if (!SWIG_IsOK(ecode2
)) {
17159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellRenderer" "', expected argument " "2"" of type '" "int""'");
17161 arg2
= static_cast< int >(val2
);
17162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17163 if (!SWIG_IsOK(ecode3
)) {
17164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellRenderer" "', expected argument " "3"" of type '" "int""'");
17166 arg3
= static_cast< int >(val3
);
17167 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
17168 if (!SWIG_IsOK(res4
)) {
17169 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellRenderer" "', expected argument " "4"" of type '" "wxGridCellRenderer *""'");
17171 arg4
= reinterpret_cast< wxGridCellRenderer
* >(argp4
);
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= SWIG_Py_Void();
17185 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17186 PyObject
*resultobj
= 0;
17187 wxGrid
*arg1
= (wxGrid
*) 0 ;
17188 wxGridCellRenderer
*result
= 0 ;
17191 PyObject
*swig_obj
[1] ;
17193 if (!args
) SWIG_fail
;
17194 swig_obj
[0] = args
;
17195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17196 if (!SWIG_IsOK(res1
)) {
17197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid const *""'");
17199 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17207 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
17215 SWIGINTERN PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
= 0;
17217 wxGrid
*arg1
= (wxGrid
*) 0 ;
17220 wxGridCellRenderer
*result
= 0 ;
17227 PyObject
* obj0
= 0 ;
17228 PyObject
* obj1
= 0 ;
17229 PyObject
* obj2
= 0 ;
17230 char * kwnames
[] = {
17231 (char *) "self",(char *) "row",(char *) "col", NULL
17234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17236 if (!SWIG_IsOK(res1
)) {
17237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
17239 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17241 if (!SWIG_IsOK(ecode2
)) {
17242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellRenderer" "', expected argument " "2"" of type '" "int""'");
17244 arg2
= static_cast< int >(val2
);
17245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17246 if (!SWIG_IsOK(ecode3
)) {
17247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellRenderer" "', expected argument " "3"" of type '" "int""'");
17249 arg3
= static_cast< int >(val3
);
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17257 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
17265 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
= 0;
17267 wxGrid
*arg1
= (wxGrid
*) 0 ;
17268 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 char * kwnames
[] = {
17276 (char *) "self",(char *) "editor", NULL
17279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17281 if (!SWIG_IsOK(res1
)) {
17282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17284 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
17286 if (!SWIG_IsOK(res2
)) {
17287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
17289 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 (arg1
)->SetDefaultEditor(arg2
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= SWIG_Py_Void();
17303 SWIGINTERN PyObject
*_wrap_Grid_SetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
= 0;
17305 wxGrid
*arg1
= (wxGrid
*) 0 ;
17308 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 PyObject
* obj2
= 0 ;
17320 PyObject
* obj3
= 0 ;
17321 char * kwnames
[] = {
17322 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
17325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17327 if (!SWIG_IsOK(res1
)) {
17328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17330 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17332 if (!SWIG_IsOK(ecode2
)) {
17333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellEditor" "', expected argument " "2"" of type '" "int""'");
17335 arg2
= static_cast< int >(val2
);
17336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17337 if (!SWIG_IsOK(ecode3
)) {
17338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellEditor" "', expected argument " "3"" of type '" "int""'");
17340 arg3
= static_cast< int >(val3
);
17341 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
17342 if (!SWIG_IsOK(res4
)) {
17343 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellEditor" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
17345 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= SWIG_Py_Void();
17359 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17360 PyObject
*resultobj
= 0;
17361 wxGrid
*arg1
= (wxGrid
*) 0 ;
17362 wxGridCellEditor
*result
= 0 ;
17365 PyObject
*swig_obj
[1] ;
17367 if (!args
) SWIG_fail
;
17368 swig_obj
[0] = args
;
17369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17370 if (!SWIG_IsOK(res1
)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid const *""'");
17373 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17389 SWIGINTERN PyObject
*_wrap_Grid_GetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
= 0;
17391 wxGrid
*arg1
= (wxGrid
*) 0 ;
17394 wxGridCellEditor
*result
= 0 ;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 PyObject
* obj2
= 0 ;
17404 char * kwnames
[] = {
17405 (char *) "self",(char *) "row",(char *) "col", NULL
17408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17410 if (!SWIG_IsOK(res1
)) {
17411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17413 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17415 if (!SWIG_IsOK(ecode2
)) {
17416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellEditor" "', expected argument " "2"" of type '" "int""'");
17418 arg2
= static_cast< int >(val2
);
17419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17420 if (!SWIG_IsOK(ecode3
)) {
17421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellEditor" "', expected argument " "3"" of type '" "int""'");
17423 arg3
= static_cast< int >(val3
);
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17439 SWIGINTERN PyObject
*_wrap_Grid_GetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
= 0;
17441 wxGrid
*arg1
= (wxGrid
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 PyObject
* obj2
= 0 ;
17454 char * kwnames
[] = {
17455 (char *) "self",(char *) "row",(char *) "col", NULL
17458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17460 if (!SWIG_IsOK(res1
)) {
17461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17463 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17465 if (!SWIG_IsOK(ecode2
)) {
17466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellValue" "', expected argument " "2"" of type '" "int""'");
17468 arg2
= static_cast< int >(val2
);
17469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17470 if (!SWIG_IsOK(ecode3
)) {
17471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellValue" "', expected argument " "3"" of type '" "int""'");
17473 arg3
= static_cast< int >(val3
);
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17476 result
= (arg1
)->GetCellValue(arg2
,arg3
);
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17493 SWIGINTERN PyObject
*_wrap_Grid_SetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
= 0;
17495 wxGrid
*arg1
= (wxGrid
*) 0 ;
17498 wxString
*arg4
= 0 ;
17505 bool temp4
= false ;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 PyObject
* obj2
= 0 ;
17509 PyObject
* obj3
= 0 ;
17510 char * kwnames
[] = {
17511 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
17514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17516 if (!SWIG_IsOK(res1
)) {
17517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17519 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17521 if (!SWIG_IsOK(ecode2
)) {
17522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellValue" "', expected argument " "2"" of type '" "int""'");
17524 arg2
= static_cast< int >(val2
);
17525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17526 if (!SWIG_IsOK(ecode3
)) {
17527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellValue" "', expected argument " "3"" of type '" "int""'");
17529 arg3
= static_cast< int >(val3
);
17531 arg4
= wxString_in_helper(obj3
);
17532 if (arg4
== NULL
) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= SWIG_Py_Void();
17556 SWIGINTERN PyObject
*_wrap_Grid_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
= 0;
17558 wxGrid
*arg1
= (wxGrid
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 PyObject
* obj2
= 0 ;
17571 char * kwnames
[] = {
17572 (char *) "self",(char *) "row",(char *) "col", NULL
17575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17577 if (!SWIG_IsOK(res1
)) {
17578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
17580 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17582 if (!SWIG_IsOK(ecode2
)) {
17583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsReadOnly" "', expected argument " "2"" of type '" "int""'");
17585 arg2
= static_cast< int >(val2
);
17586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17587 if (!SWIG_IsOK(ecode3
)) {
17588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsReadOnly" "', expected argument " "3"" of type '" "int""'");
17590 arg3
= static_cast< int >(val3
);
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17606 SWIGINTERN PyObject
*_wrap_Grid_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
= 0;
17608 wxGrid
*arg1
= (wxGrid
*) 0 ;
17611 bool arg4
= (bool) true ;
17620 PyObject
* obj0
= 0 ;
17621 PyObject
* obj1
= 0 ;
17622 PyObject
* obj2
= 0 ;
17623 PyObject
* obj3
= 0 ;
17624 char * kwnames
[] = {
17625 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
17628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17630 if (!SWIG_IsOK(res1
)) {
17631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetReadOnly" "', expected argument " "1"" of type '" "wxGrid *""'");
17633 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17635 if (!SWIG_IsOK(ecode2
)) {
17636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetReadOnly" "', expected argument " "2"" of type '" "int""'");
17638 arg2
= static_cast< int >(val2
);
17639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17640 if (!SWIG_IsOK(ecode3
)) {
17641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetReadOnly" "', expected argument " "3"" of type '" "int""'");
17643 arg3
= static_cast< int >(val3
);
17645 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17646 if (!SWIG_IsOK(ecode4
)) {
17647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetReadOnly" "', expected argument " "4"" of type '" "bool""'");
17649 arg4
= static_cast< bool >(val4
);
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= SWIG_Py_Void();
17664 SWIGINTERN PyObject
*_wrap_Grid_SelectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
= 0;
17666 wxGrid
*arg1
= (wxGrid
*) 0 ;
17668 bool arg3
= (bool) false ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 PyObject
* obj2
= 0 ;
17678 char * kwnames
[] = {
17679 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
17682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17684 if (!SWIG_IsOK(res1
)) {
17685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectRow" "', expected argument " "1"" of type '" "wxGrid *""'");
17687 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17689 if (!SWIG_IsOK(ecode2
)) {
17690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectRow" "', expected argument " "2"" of type '" "int""'");
17692 arg2
= static_cast< int >(val2
);
17694 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17695 if (!SWIG_IsOK(ecode3
)) {
17696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectRow" "', expected argument " "3"" of type '" "bool""'");
17698 arg3
= static_cast< bool >(val3
);
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 (arg1
)->SelectRow(arg2
,arg3
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= SWIG_Py_Void();
17713 SWIGINTERN PyObject
*_wrap_Grid_SelectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
= 0;
17715 wxGrid
*arg1
= (wxGrid
*) 0 ;
17717 bool arg3
= (bool) false ;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 PyObject
* obj2
= 0 ;
17727 char * kwnames
[] = {
17728 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
17731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17733 if (!SWIG_IsOK(res1
)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
17736 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17738 if (!SWIG_IsOK(ecode2
)) {
17739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectCol" "', expected argument " "2"" of type '" "int""'");
17741 arg2
= static_cast< int >(val2
);
17743 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17744 if (!SWIG_IsOK(ecode3
)) {
17745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectCol" "', expected argument " "3"" of type '" "bool""'");
17747 arg3
= static_cast< bool >(val3
);
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 (arg1
)->SelectCol(arg2
,arg3
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= SWIG_Py_Void();
17762 SWIGINTERN PyObject
*_wrap_Grid_SelectBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
= 0;
17764 wxGrid
*arg1
= (wxGrid
*) 0 ;
17769 bool arg6
= (bool) false ;
17782 PyObject
* obj0
= 0 ;
17783 PyObject
* obj1
= 0 ;
17784 PyObject
* obj2
= 0 ;
17785 PyObject
* obj3
= 0 ;
17786 PyObject
* obj4
= 0 ;
17787 PyObject
* obj5
= 0 ;
17788 char * kwnames
[] = {
17789 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
17792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17794 if (!SWIG_IsOK(res1
)) {
17795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
17797 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17799 if (!SWIG_IsOK(ecode2
)) {
17800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectBlock" "', expected argument " "2"" of type '" "int""'");
17802 arg2
= static_cast< int >(val2
);
17803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17804 if (!SWIG_IsOK(ecode3
)) {
17805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectBlock" "', expected argument " "3"" of type '" "int""'");
17807 arg3
= static_cast< int >(val3
);
17808 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17809 if (!SWIG_IsOK(ecode4
)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SelectBlock" "', expected argument " "4"" of type '" "int""'");
17812 arg4
= static_cast< int >(val4
);
17813 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17814 if (!SWIG_IsOK(ecode5
)) {
17815 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SelectBlock" "', expected argument " "5"" of type '" "int""'");
17817 arg5
= static_cast< int >(val5
);
17819 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
17820 if (!SWIG_IsOK(ecode6
)) {
17821 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_SelectBlock" "', expected argument " "6"" of type '" "bool""'");
17823 arg6
= static_cast< bool >(val6
);
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_Py_Void();
17838 SWIGINTERN PyObject
*_wrap_Grid_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17839 PyObject
*resultobj
= 0;
17840 wxGrid
*arg1
= (wxGrid
*) 0 ;
17843 PyObject
*swig_obj
[1] ;
17845 if (!args
) SWIG_fail
;
17846 swig_obj
[0] = args
;
17847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17848 if (!SWIG_IsOK(res1
)) {
17849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectAll" "', expected argument " "1"" of type '" "wxGrid *""'");
17851 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 (arg1
)->SelectAll();
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 resultobj
= SWIG_Py_Void();
17865 SWIGINTERN PyObject
*_wrap_Grid_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17866 PyObject
*resultobj
= 0;
17867 wxGrid
*arg1
= (wxGrid
*) 0 ;
17871 PyObject
*swig_obj
[1] ;
17873 if (!args
) SWIG_fail
;
17874 swig_obj
[0] = args
;
17875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17876 if (!SWIG_IsOK(res1
)) {
17877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17879 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 result
= (bool)(arg1
)->IsSelection();
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17895 SWIGINTERN PyObject
*_wrap_Grid_ClearSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17896 PyObject
*resultobj
= 0;
17897 wxGrid
*arg1
= (wxGrid
*) 0 ;
17900 PyObject
*swig_obj
[1] ;
17902 if (!args
) SWIG_fail
;
17903 swig_obj
[0] = args
;
17904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17905 if (!SWIG_IsOK(res1
)) {
17906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17908 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 (arg1
)->ClearSelection();
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= SWIG_Py_Void();
17922 SWIGINTERN PyObject
*_wrap_Grid_IsInSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
= 0;
17924 wxGrid
*arg1
= (wxGrid
*) 0 ;
17934 PyObject
* obj0
= 0 ;
17935 PyObject
* obj1
= 0 ;
17936 PyObject
* obj2
= 0 ;
17937 char * kwnames
[] = {
17938 (char *) "self",(char *) "row",(char *) "col", NULL
17941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17943 if (!SWIG_IsOK(res1
)) {
17944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsInSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17946 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17948 if (!SWIG_IsOK(ecode2
)) {
17949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsInSelection" "', expected argument " "2"" of type '" "int""'");
17951 arg2
= static_cast< int >(val2
);
17952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17953 if (!SWIG_IsOK(ecode3
)) {
17954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsInSelection" "', expected argument " "3"" of type '" "int""'");
17956 arg3
= static_cast< int >(val3
);
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17972 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17973 PyObject
*resultobj
= 0;
17974 wxGrid
*arg1
= (wxGrid
*) 0 ;
17975 wxGridCellCoordsArray result
;
17978 PyObject
*swig_obj
[1] ;
17980 if (!args
) SWIG_fail
;
17981 swig_obj
[0] = args
;
17982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17983 if (!SWIG_IsOK(res1
)) {
17984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCells" "', expected argument " "1"" of type '" "wxGrid const *""'");
17986 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= wxGridCellCoordsArray_helper(result
);
18002 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18003 PyObject
*resultobj
= 0;
18004 wxGrid
*arg1
= (wxGrid
*) 0 ;
18005 wxGridCellCoordsArray result
;
18008 PyObject
*swig_obj
[1] ;
18010 if (!args
) SWIG_fail
;
18011 swig_obj
[0] = args
;
18012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18013 if (!SWIG_IsOK(res1
)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockTopLeft" "', expected argument " "1"" of type '" "wxGrid const *""'");
18016 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= wxGridCellCoordsArray_helper(result
);
18032 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18033 PyObject
*resultobj
= 0;
18034 wxGrid
*arg1
= (wxGrid
*) 0 ;
18035 wxGridCellCoordsArray result
;
18038 PyObject
*swig_obj
[1] ;
18040 if (!args
) SWIG_fail
;
18041 swig_obj
[0] = args
;
18042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18043 if (!SWIG_IsOK(res1
)) {
18044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockBottomRight" "', expected argument " "1"" of type '" "wxGrid const *""'");
18046 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= wxGridCellCoordsArray_helper(result
);
18062 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18063 PyObject
*resultobj
= 0;
18064 wxGrid
*arg1
= (wxGrid
*) 0 ;
18068 PyObject
*swig_obj
[1] ;
18070 if (!args
) SWIG_fail
;
18071 swig_obj
[0] = args
;
18072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18073 if (!SWIG_IsOK(res1
)) {
18074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedRows" "', expected argument " "1"" of type '" "wxGrid const *""'");
18076 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= wxArrayInt2PyList_helper(result
);
18092 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18093 PyObject
*resultobj
= 0;
18094 wxGrid
*arg1
= (wxGrid
*) 0 ;
18098 PyObject
*swig_obj
[1] ;
18100 if (!args
) SWIG_fail
;
18101 swig_obj
[0] = args
;
18102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18103 if (!SWIG_IsOK(res1
)) {
18104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCols" "', expected argument " "1"" of type '" "wxGrid const *""'");
18106 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= wxArrayInt2PyList_helper(result
);
18122 SWIGINTERN PyObject
*_wrap_Grid_DeselectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
= 0;
18124 wxGrid
*arg1
= (wxGrid
*) 0 ;
18130 PyObject
* obj0
= 0 ;
18131 PyObject
* obj1
= 0 ;
18132 char * kwnames
[] = {
18133 (char *) "self",(char *) "row", NULL
18136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18138 if (!SWIG_IsOK(res1
)) {
18139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectRow" "', expected argument " "1"" of type '" "wxGrid *""'");
18141 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18143 if (!SWIG_IsOK(ecode2
)) {
18144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectRow" "', expected argument " "2"" of type '" "int""'");
18146 arg2
= static_cast< int >(val2
);
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 (arg1
)->DeselectRow(arg2
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= SWIG_Py_Void();
18160 SWIGINTERN PyObject
*_wrap_Grid_DeselectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
= 0;
18162 wxGrid
*arg1
= (wxGrid
*) 0 ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18170 char * kwnames
[] = {
18171 (char *) "self",(char *) "col", NULL
18174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18176 if (!SWIG_IsOK(res1
)) {
18177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
18179 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18181 if (!SWIG_IsOK(ecode2
)) {
18182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCol" "', expected argument " "2"" of type '" "int""'");
18184 arg2
= static_cast< int >(val2
);
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 (arg1
)->DeselectCol(arg2
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= SWIG_Py_Void();
18198 SWIGINTERN PyObject
*_wrap_Grid_DeselectCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
= 0;
18200 wxGrid
*arg1
= (wxGrid
*) 0 ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 PyObject
* obj2
= 0 ;
18212 char * kwnames
[] = {
18213 (char *) "self",(char *) "row",(char *) "col", NULL
18216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCell" "', expected argument " "1"" of type '" "wxGrid *""'");
18221 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18223 if (!SWIG_IsOK(ecode2
)) {
18224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCell" "', expected argument " "2"" of type '" "int""'");
18226 arg2
= static_cast< int >(val2
);
18227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18228 if (!SWIG_IsOK(ecode3
)) {
18229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeselectCell" "', expected argument " "3"" of type '" "int""'");
18231 arg3
= static_cast< int >(val3
);
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 (arg1
)->DeselectCell(arg2
,arg3
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_Py_Void();
18245 SWIGINTERN PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
= 0;
18247 wxGrid
*arg1
= (wxGrid
*) 0 ;
18248 wxGridCellCoords
*arg2
= 0 ;
18249 wxGridCellCoords
*arg3
= 0 ;
18253 wxGridCellCoords temp2
;
18254 wxGridCellCoords temp3
;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 PyObject
* obj2
= 0 ;
18258 char * kwnames
[] = {
18259 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
18262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18264 if (!SWIG_IsOK(res1
)) {
18265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BlockToDeviceRect" "', expected argument " "1"" of type '" "wxGrid *""'");
18267 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18270 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
18274 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
18289 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18290 PyObject
*resultobj
= 0;
18291 wxGrid
*arg1
= (wxGrid
*) 0 ;
18295 PyObject
*swig_obj
[1] ;
18297 if (!args
) SWIG_fail
;
18298 swig_obj
[0] = args
;
18299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18300 if (!SWIG_IsOK(res1
)) {
18301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid const *""'");
18303 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18317 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18318 PyObject
*resultobj
= 0;
18319 wxGrid
*arg1
= (wxGrid
*) 0 ;
18323 PyObject
*swig_obj
[1] ;
18325 if (!args
) SWIG_fail
;
18326 swig_obj
[0] = args
;
18327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18328 if (!SWIG_IsOK(res1
)) {
18329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid const *""'");
18331 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18345 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
= 0;
18347 wxGrid
*arg1
= (wxGrid
*) 0 ;
18348 wxColour
*arg2
= 0 ;
18352 PyObject
* obj0
= 0 ;
18353 PyObject
* obj1
= 0 ;
18354 char * kwnames
[] = {
18355 (char *) "self",(char *) "c", NULL
18358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18360 if (!SWIG_IsOK(res1
)) {
18361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid *""'");
18363 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 resultobj
= SWIG_Py_Void();
18381 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
= 0;
18383 wxGrid
*arg1
= (wxGrid
*) 0 ;
18384 wxColour
*arg2
= 0 ;
18388 PyObject
* obj0
= 0 ;
18389 PyObject
* obj1
= 0 ;
18390 char * kwnames
[] = {
18391 (char *) "self",(char *) "c", NULL
18394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18396 if (!SWIG_IsOK(res1
)) {
18397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid *""'");
18399 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18402 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_Py_Void();
18417 SWIGINTERN PyObject
*_wrap_Grid_RegisterDataType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
= 0;
18419 wxGrid
*arg1
= (wxGrid
*) 0 ;
18420 wxString
*arg2
= 0 ;
18421 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
18422 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
18425 bool temp2
= false ;
18430 PyObject
* obj0
= 0 ;
18431 PyObject
* obj1
= 0 ;
18432 PyObject
* obj2
= 0 ;
18433 PyObject
* obj3
= 0 ;
18434 char * kwnames
[] = {
18435 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
18438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18440 if (!SWIG_IsOK(res1
)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_RegisterDataType" "', expected argument " "1"" of type '" "wxGrid *""'");
18443 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18445 arg2
= wxString_in_helper(obj1
);
18446 if (arg2
== NULL
) SWIG_fail
;
18449 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
18450 if (!SWIG_IsOK(res3
)) {
18451 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_RegisterDataType" "', expected argument " "3"" of type '" "wxGridCellRenderer *""'");
18453 arg3
= reinterpret_cast< wxGridCellRenderer
* >(argp3
);
18454 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
18455 if (!SWIG_IsOK(res4
)) {
18456 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_RegisterDataType" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
18458 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= SWIG_Py_Void();
18480 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
= 0;
18482 wxGrid
*arg1
= (wxGrid
*) 0 ;
18485 wxGridCellEditor
*result
= 0 ;
18492 PyObject
* obj0
= 0 ;
18493 PyObject
* obj1
= 0 ;
18494 PyObject
* obj2
= 0 ;
18495 char * kwnames
[] = {
18496 (char *) "self",(char *) "row",(char *) "col", NULL
18499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18501 if (!SWIG_IsOK(res1
)) {
18502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18504 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18506 if (!SWIG_IsOK(ecode2
)) {
18507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "2"" of type '" "int""'");
18509 arg2
= static_cast< int >(val2
);
18510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18511 if (!SWIG_IsOK(ecode3
)) {
18512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "3"" of type '" "int""'");
18514 arg3
= static_cast< int >(val3
);
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18530 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
= 0;
18532 wxGrid
*arg1
= (wxGrid
*) 0 ;
18535 wxGridCellRenderer
*result
= 0 ;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18544 PyObject
* obj2
= 0 ;
18545 char * kwnames
[] = {
18546 (char *) "self",(char *) "row",(char *) "col", NULL
18549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18551 if (!SWIG_IsOK(res1
)) {
18552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18554 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18556 if (!SWIG_IsOK(ecode2
)) {
18557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "2"" of type '" "int""'");
18559 arg2
= static_cast< int >(val2
);
18560 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18561 if (!SWIG_IsOK(ecode3
)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "3"" of type '" "int""'");
18564 arg3
= static_cast< int >(val3
);
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18580 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
= 0;
18582 wxGrid
*arg1
= (wxGrid
*) 0 ;
18583 wxString
*arg2
= 0 ;
18584 wxGridCellEditor
*result
= 0 ;
18587 bool temp2
= false ;
18588 PyObject
* obj0
= 0 ;
18589 PyObject
* obj1
= 0 ;
18590 char * kwnames
[] = {
18591 (char *) "self",(char *) "typeName", NULL
18594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18596 if (!SWIG_IsOK(res1
)) {
18597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18599 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18601 arg2
= wxString_in_helper(obj1
);
18602 if (arg2
== NULL
) SWIG_fail
;
18606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18628 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
= 0;
18630 wxGrid
*arg1
= (wxGrid
*) 0 ;
18631 wxString
*arg2
= 0 ;
18632 wxGridCellRenderer
*result
= 0 ;
18635 bool temp2
= false ;
18636 PyObject
* obj0
= 0 ;
18637 PyObject
* obj1
= 0 ;
18638 char * kwnames
[] = {
18639 (char *) "self",(char *) "typeName", NULL
18642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18644 if (!SWIG_IsOK(res1
)) {
18645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18647 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18649 arg2
= wxString_in_helper(obj1
);
18650 if (arg2
== NULL
) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18676 SWIGINTERN PyObject
*_wrap_Grid_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
= 0;
18678 wxGrid
*arg1
= (wxGrid
*) 0 ;
18687 PyObject
* obj0
= 0 ;
18688 PyObject
* obj1
= 0 ;
18689 PyObject
* obj2
= 0 ;
18690 char * kwnames
[] = {
18691 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
18694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18696 if (!SWIG_IsOK(res1
)) {
18697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetMargins" "', expected argument " "1"" of type '" "wxGrid *""'");
18699 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18701 if (!SWIG_IsOK(ecode2
)) {
18702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetMargins" "', expected argument " "2"" of type '" "int""'");
18704 arg2
= static_cast< int >(val2
);
18705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18706 if (!SWIG_IsOK(ecode3
)) {
18707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetMargins" "', expected argument " "3"" of type '" "int""'");
18709 arg3
= static_cast< int >(val3
);
18711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 (arg1
)->SetMargins(arg2
,arg3
);
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_Py_Void();
18723 SWIGINTERN PyObject
*_wrap_Grid_GetGridWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18724 PyObject
*resultobj
= 0;
18725 wxGrid
*arg1
= (wxGrid
*) 0 ;
18726 wxWindow
*result
= 0 ;
18729 PyObject
*swig_obj
[1] ;
18731 if (!args
) SWIG_fail
;
18732 swig_obj
[0] = args
;
18733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18734 if (!SWIG_IsOK(res1
)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18737 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 result
= (wxWindow
*)(arg1
)->GetGridWindow();
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= wxPyMake_wxObject(result
, 0);
18753 SWIGINTERN PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18754 PyObject
*resultobj
= 0;
18755 wxGrid
*arg1
= (wxGrid
*) 0 ;
18756 wxWindow
*result
= 0 ;
18759 PyObject
*swig_obj
[1] ;
18761 if (!args
) SWIG_fail
;
18762 swig_obj
[0] = args
;
18763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18764 if (!SWIG_IsOK(res1
)) {
18765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridRowLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18767 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18775 resultobj
= wxPyMake_wxObject(result
, 0);
18783 SWIGINTERN PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18784 PyObject
*resultobj
= 0;
18785 wxGrid
*arg1
= (wxGrid
*) 0 ;
18786 wxWindow
*result
= 0 ;
18789 PyObject
*swig_obj
[1] ;
18791 if (!args
) SWIG_fail
;
18792 swig_obj
[0] = args
;
18793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18794 if (!SWIG_IsOK(res1
)) {
18795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridColLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18797 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= wxPyMake_wxObject(result
, 0);
18813 SWIGINTERN PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18814 PyObject
*resultobj
= 0;
18815 wxGrid
*arg1
= (wxGrid
*) 0 ;
18816 wxWindow
*result
= 0 ;
18819 PyObject
*swig_obj
[1] ;
18821 if (!args
) SWIG_fail
;
18822 swig_obj
[0] = args
;
18823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18824 if (!SWIG_IsOK(res1
)) {
18825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCornerLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18827 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= wxPyMake_wxObject(result
, 0);
18843 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
= 0;
18845 wxGrid
*arg1
= (wxGrid
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 PyObject
* obj1
= 0 ;
18853 char * kwnames
[] = {
18854 (char *) "self",(char *) "x", NULL
18857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18859 if (!SWIG_IsOK(res1
)) {
18860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineX" "', expected argument " "1"" of type '" "wxGrid *""'");
18862 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18864 if (!SWIG_IsOK(ecode2
)) {
18865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineX" "', expected argument " "2"" of type '" "int""'");
18867 arg2
= static_cast< int >(val2
);
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 (arg1
)->SetScrollLineX(arg2
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_Py_Void();
18881 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
= 0;
18883 wxGrid
*arg1
= (wxGrid
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 PyObject
* obj1
= 0 ;
18891 char * kwnames
[] = {
18892 (char *) "self",(char *) "y", NULL
18895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18897 if (!SWIG_IsOK(res1
)) {
18898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineY" "', expected argument " "1"" of type '" "wxGrid *""'");
18900 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18902 if (!SWIG_IsOK(ecode2
)) {
18903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineY" "', expected argument " "2"" of type '" "int""'");
18905 arg2
= static_cast< int >(val2
);
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 (arg1
)->SetScrollLineY(arg2
);
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= SWIG_Py_Void();
18919 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18920 PyObject
*resultobj
= 0;
18921 wxGrid
*arg1
= (wxGrid
*) 0 ;
18925 PyObject
*swig_obj
[1] ;
18927 if (!args
) SWIG_fail
;
18928 swig_obj
[0] = args
;
18929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18930 if (!SWIG_IsOK(res1
)) {
18931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18933 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 resultobj
= SWIG_From_int(static_cast< int >(result
));
18947 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18948 PyObject
*resultobj
= 0;
18949 wxGrid
*arg1
= (wxGrid
*) 0 ;
18953 PyObject
*swig_obj
[1] ;
18955 if (!args
) SWIG_fail
;
18956 swig_obj
[0] = args
;
18957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18958 if (!SWIG_IsOK(res1
)) {
18959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineY" "', expected argument " "1"" of type '" "wxGrid const *""'");
18961 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= SWIG_From_int(static_cast< int >(result
));
18975 SWIGINTERN PyObject
*_wrap_Grid_GetScrollX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
= 0;
18977 wxGrid
*arg1
= (wxGrid
*) 0 ;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 char * kwnames
[] = {
18987 (char *) "self",(char *) "x", NULL
18990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18992 if (!SWIG_IsOK(res1
)) {
18993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18995 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18997 if (!SWIG_IsOK(ecode2
)) {
18998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollX" "', expected argument " "2"" of type '" "int""'");
19000 arg2
= static_cast< int >(val2
);
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 resultobj
= SWIG_From_int(static_cast< int >(result
));
19014 SWIGINTERN PyObject
*_wrap_Grid_GetScrollY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
= 0;
19016 wxGrid
*arg1
= (wxGrid
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 PyObject
* obj1
= 0 ;
19025 char * kwnames
[] = {
19026 (char *) "self",(char *) "y", NULL
19029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19031 if (!SWIG_IsOK(res1
)) {
19032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollY" "', expected argument " "1"" of type '" "wxGrid const *""'");
19034 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
19035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19036 if (!SWIG_IsOK(ecode2
)) {
19037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollY" "', expected argument " "2"" of type '" "int""'");
19039 arg2
= static_cast< int >(val2
);
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 resultobj
= SWIG_From_int(static_cast< int >(result
));
19053 SWIGINTERN PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
= 0;
19055 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19056 SwigValueWrapper
<wxVisualAttributes
> result
;
19059 PyObject
* obj0
= 0 ;
19060 char * kwnames
[] = {
19061 (char *) "variant", NULL
19064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19066 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19067 if (!SWIG_IsOK(ecode1
)) {
19068 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Grid_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19070 arg1
= static_cast< wxWindowVariant
>(val1
);
19073 if (!wxPyCheckForApp()) SWIG_fail
;
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 result
= wxGrid::GetClassDefaultAttributes(arg1
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19086 SWIGINTERN PyObject
*Grid_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19089 SWIG_TypeNewClientData(SWIGTYPE_p_wxGrid
, SWIG_NewClientData(obj
));
19090 return SWIG_Py_Void();
19093 SWIGINTERN PyObject
*Grid_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19094 return SWIG_Python_InitShadowInstance(args
);
19097 SWIGINTERN PyObject
*_wrap_new_GridEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
= 0;
19101 wxGrid
*arg3
= (wxGrid
*) 0 ;
19102 int arg4
= (int) -1 ;
19103 int arg5
= (int) -1 ;
19104 int arg6
= (int) -1 ;
19105 int arg7
= (int) -1 ;
19106 bool arg8
= (bool) true ;
19107 bool arg9
= (bool) false ;
19108 bool arg10
= (bool) false ;
19109 bool arg11
= (bool) false ;
19110 bool arg12
= (bool) false ;
19111 wxGridEvent
*result
= 0 ;
19136 PyObject
* obj0
= 0 ;
19137 PyObject
* obj1
= 0 ;
19138 PyObject
* obj2
= 0 ;
19139 PyObject
* obj3
= 0 ;
19140 PyObject
* obj4
= 0 ;
19141 PyObject
* obj5
= 0 ;
19142 PyObject
* obj6
= 0 ;
19143 PyObject
* obj7
= 0 ;
19144 PyObject
* obj8
= 0 ;
19145 PyObject
* obj9
= 0 ;
19146 PyObject
* obj10
= 0 ;
19147 PyObject
* obj11
= 0 ;
19148 char * kwnames
[] = {
19149 (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
19152 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
;
19153 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19154 if (!SWIG_IsOK(ecode1
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEvent" "', expected argument " "1"" of type '" "int""'");
19157 arg1
= static_cast< int >(val1
);
19158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19159 if (!SWIG_IsOK(ecode2
)) {
19160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19162 arg2
= static_cast< wxEventType
>(val2
);
19163 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19164 if (!SWIG_IsOK(res3
)) {
19165 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19167 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19169 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19170 if (!SWIG_IsOK(ecode4
)) {
19171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEvent" "', expected argument " "4"" of type '" "int""'");
19173 arg4
= static_cast< int >(val4
);
19176 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19177 if (!SWIG_IsOK(ecode5
)) {
19178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEvent" "', expected argument " "5"" of type '" "int""'");
19180 arg5
= static_cast< int >(val5
);
19183 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19184 if (!SWIG_IsOK(ecode6
)) {
19185 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridEvent" "', expected argument " "6"" of type '" "int""'");
19187 arg6
= static_cast< int >(val6
);
19190 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19191 if (!SWIG_IsOK(ecode7
)) {
19192 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridEvent" "', expected argument " "7"" of type '" "int""'");
19194 arg7
= static_cast< int >(val7
);
19197 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19198 if (!SWIG_IsOK(ecode8
)) {
19199 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridEvent" "', expected argument " "8"" of type '" "bool""'");
19201 arg8
= static_cast< bool >(val8
);
19204 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19205 if (!SWIG_IsOK(ecode9
)) {
19206 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridEvent" "', expected argument " "9"" of type '" "bool""'");
19208 arg9
= static_cast< bool >(val9
);
19211 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19212 if (!SWIG_IsOK(ecode10
)) {
19213 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridEvent" "', expected argument " "10"" of type '" "bool""'");
19215 arg10
= static_cast< bool >(val10
);
19218 ecode11
= SWIG_AsVal_bool(obj10
, &val11
);
19219 if (!SWIG_IsOK(ecode11
)) {
19220 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "new_GridEvent" "', expected argument " "11"" of type '" "bool""'");
19222 arg11
= static_cast< bool >(val11
);
19225 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
19226 if (!SWIG_IsOK(ecode12
)) {
19227 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "new_GridEvent" "', expected argument " "12"" of type '" "bool""'");
19229 arg12
= static_cast< bool >(val12
);
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_NEW
| 0 );
19244 SWIGINTERN PyObject
*_wrap_GridEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19245 PyObject
*resultobj
= 0;
19246 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19250 PyObject
*swig_obj
[1] ;
19252 if (!args
) SWIG_fail
;
19253 swig_obj
[0] = args
;
19254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19255 if (!SWIG_IsOK(res1
)) {
19256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19258 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 result
= (int)(arg1
)->GetRow();
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= SWIG_From_int(static_cast< int >(result
));
19272 SWIGINTERN PyObject
*_wrap_GridEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19273 PyObject
*resultobj
= 0;
19274 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19278 PyObject
*swig_obj
[1] ;
19280 if (!args
) SWIG_fail
;
19281 swig_obj
[0] = args
;
19282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19283 if (!SWIG_IsOK(res1
)) {
19284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19286 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 result
= (int)(arg1
)->GetCol();
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_From_int(static_cast< int >(result
));
19300 SWIGINTERN PyObject
*_wrap_GridEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19301 PyObject
*resultobj
= 0;
19302 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19306 PyObject
*swig_obj
[1] ;
19308 if (!args
) SWIG_fail
;
19309 swig_obj
[0] = args
;
19310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19311 if (!SWIG_IsOK(res1
)) {
19312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19314 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 result
= (arg1
)->GetPosition();
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19328 SWIGINTERN PyObject
*_wrap_GridEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19329 PyObject
*resultobj
= 0;
19330 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19334 PyObject
*swig_obj
[1] ;
19336 if (!args
) SWIG_fail
;
19337 swig_obj
[0] = args
;
19338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19339 if (!SWIG_IsOK(res1
)) {
19340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_Selecting" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19342 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= (bool)(arg1
)->Selecting();
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19358 SWIGINTERN PyObject
*_wrap_GridEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19359 PyObject
*resultobj
= 0;
19360 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19364 PyObject
*swig_obj
[1] ;
19366 if (!args
) SWIG_fail
;
19367 swig_obj
[0] = args
;
19368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19369 if (!SWIG_IsOK(res1
)) {
19370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19372 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 result
= (bool)(arg1
)->ControlDown();
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19388 SWIGINTERN PyObject
*_wrap_GridEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19389 PyObject
*resultobj
= 0;
19390 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19394 PyObject
*swig_obj
[1] ;
19396 if (!args
) SWIG_fail
;
19397 swig_obj
[0] = args
;
19398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19399 if (!SWIG_IsOK(res1
)) {
19400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19402 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 result
= (bool)(arg1
)->MetaDown();
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19418 SWIGINTERN PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19419 PyObject
*resultobj
= 0;
19420 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19424 PyObject
*swig_obj
[1] ;
19426 if (!args
) SWIG_fail
;
19427 swig_obj
[0] = args
;
19428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19429 if (!SWIG_IsOK(res1
)) {
19430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19432 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 result
= (bool)(arg1
)->ShiftDown();
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19448 SWIGINTERN PyObject
*_wrap_GridEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19449 PyObject
*resultobj
= 0;
19450 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19454 PyObject
*swig_obj
[1] ;
19456 if (!args
) SWIG_fail
;
19457 swig_obj
[0] = args
;
19458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_AltDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19462 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= (bool)(arg1
)->AltDown();
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19478 SWIGINTERN PyObject
*_wrap_GridEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19479 PyObject
*resultobj
= 0;
19480 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19484 PyObject
*swig_obj
[1] ;
19486 if (!args
) SWIG_fail
;
19487 swig_obj
[0] = args
;
19488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19489 if (!SWIG_IsOK(res1
)) {
19490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19492 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 result
= (bool)(arg1
)->CmdDown();
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19508 SWIGINTERN PyObject
*GridEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19511 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEvent
, SWIG_NewClientData(obj
));
19512 return SWIG_Py_Void();
19515 SWIGINTERN PyObject
*GridEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19516 return SWIG_Python_InitShadowInstance(args
);
19519 SWIGINTERN PyObject
*_wrap_new_GridSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
= 0;
19523 wxGrid
*arg3
= (wxGrid
*) 0 ;
19524 int arg4
= (int) -1 ;
19525 int arg5
= (int) -1 ;
19526 int arg6
= (int) -1 ;
19527 bool arg7
= (bool) false ;
19528 bool arg8
= (bool) false ;
19529 bool arg9
= (bool) false ;
19530 bool arg10
= (bool) false ;
19531 wxGridSizeEvent
*result
= 0 ;
19552 PyObject
* obj0
= 0 ;
19553 PyObject
* obj1
= 0 ;
19554 PyObject
* obj2
= 0 ;
19555 PyObject
* obj3
= 0 ;
19556 PyObject
* obj4
= 0 ;
19557 PyObject
* obj5
= 0 ;
19558 PyObject
* obj6
= 0 ;
19559 PyObject
* obj7
= 0 ;
19560 PyObject
* obj8
= 0 ;
19561 PyObject
* obj9
= 0 ;
19562 char * kwnames
[] = {
19563 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19567 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19568 if (!SWIG_IsOK(ecode1
)) {
19569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizeEvent" "', expected argument " "1"" of type '" "int""'");
19571 arg1
= static_cast< int >(val1
);
19572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19573 if (!SWIG_IsOK(ecode2
)) {
19574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizeEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19576 arg2
= static_cast< wxEventType
>(val2
);
19577 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19578 if (!SWIG_IsOK(res3
)) {
19579 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridSizeEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19581 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19584 if (!SWIG_IsOK(ecode4
)) {
19585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizeEvent" "', expected argument " "4"" of type '" "int""'");
19587 arg4
= static_cast< int >(val4
);
19590 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19591 if (!SWIG_IsOK(ecode5
)) {
19592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridSizeEvent" "', expected argument " "5"" of type '" "int""'");
19594 arg5
= static_cast< int >(val5
);
19597 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19598 if (!SWIG_IsOK(ecode6
)) {
19599 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridSizeEvent" "', expected argument " "6"" of type '" "int""'");
19601 arg6
= static_cast< int >(val6
);
19604 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19605 if (!SWIG_IsOK(ecode7
)) {
19606 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridSizeEvent" "', expected argument " "7"" of type '" "bool""'");
19608 arg7
= static_cast< bool >(val7
);
19611 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19612 if (!SWIG_IsOK(ecode8
)) {
19613 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridSizeEvent" "', expected argument " "8"" of type '" "bool""'");
19615 arg8
= static_cast< bool >(val8
);
19618 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19619 if (!SWIG_IsOK(ecode9
)) {
19620 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridSizeEvent" "', expected argument " "9"" of type '" "bool""'");
19622 arg9
= static_cast< bool >(val9
);
19625 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19626 if (!SWIG_IsOK(ecode10
)) {
19627 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridSizeEvent" "', expected argument " "10"" of type '" "bool""'");
19629 arg10
= static_cast< bool >(val10
);
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_NEW
| 0 );
19644 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19645 PyObject
*resultobj
= 0;
19646 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19650 PyObject
*swig_obj
[1] ;
19652 if (!args
) SWIG_fail
;
19653 swig_obj
[0] = args
;
19654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19655 if (!SWIG_IsOK(res1
)) {
19656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetRowOrCol" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19658 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= (int)(arg1
)->GetRowOrCol();
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_From_int(static_cast< int >(result
));
19672 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19673 PyObject
*resultobj
= 0;
19674 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19678 PyObject
*swig_obj
[1] ;
19680 if (!args
) SWIG_fail
;
19681 swig_obj
[0] = args
;
19682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19683 if (!SWIG_IsOK(res1
)) {
19684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19686 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (arg1
)->GetPosition();
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19700 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19701 PyObject
*resultobj
= 0;
19702 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19706 PyObject
*swig_obj
[1] ;
19708 if (!args
) SWIG_fail
;
19709 swig_obj
[0] = args
;
19710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19711 if (!SWIG_IsOK(res1
)) {
19712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19714 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 result
= (bool)(arg1
)->ControlDown();
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19730 SWIGINTERN PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19731 PyObject
*resultobj
= 0;
19732 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19736 PyObject
*swig_obj
[1] ;
19738 if (!args
) SWIG_fail
;
19739 swig_obj
[0] = args
;
19740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19741 if (!SWIG_IsOK(res1
)) {
19742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19744 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (bool)(arg1
)->MetaDown();
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19760 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19761 PyObject
*resultobj
= 0;
19762 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19766 PyObject
*swig_obj
[1] ;
19768 if (!args
) SWIG_fail
;
19769 swig_obj
[0] = args
;
19770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19771 if (!SWIG_IsOK(res1
)) {
19772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19774 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (bool)(arg1
)->ShiftDown();
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19790 SWIGINTERN PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19791 PyObject
*resultobj
= 0;
19792 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19796 PyObject
*swig_obj
[1] ;
19798 if (!args
) SWIG_fail
;
19799 swig_obj
[0] = args
;
19800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19801 if (!SWIG_IsOK(res1
)) {
19802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_AltDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19804 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 result
= (bool)(arg1
)->AltDown();
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19820 SWIGINTERN PyObject
*_wrap_GridSizeEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19821 PyObject
*resultobj
= 0;
19822 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19826 PyObject
*swig_obj
[1] ;
19828 if (!args
) SWIG_fail
;
19829 swig_obj
[0] = args
;
19830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19831 if (!SWIG_IsOK(res1
)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19834 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 result
= (bool)(arg1
)->CmdDown();
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19850 SWIGINTERN PyObject
*GridSizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19853 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizeEvent
, SWIG_NewClientData(obj
));
19854 return SWIG_Py_Void();
19857 SWIGINTERN PyObject
*GridSizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19858 return SWIG_Python_InitShadowInstance(args
);
19861 SWIGINTERN PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
= 0;
19865 wxGrid
*arg3
= (wxGrid
*) 0 ;
19866 wxGridCellCoords
*arg4
= 0 ;
19867 wxGridCellCoords
*arg5
= 0 ;
19868 bool arg6
= (bool) true ;
19869 bool arg7
= (bool) false ;
19870 bool arg8
= (bool) false ;
19871 bool arg9
= (bool) false ;
19872 bool arg10
= (bool) false ;
19873 wxGridRangeSelectEvent
*result
= 0 ;
19880 wxGridCellCoords temp4
;
19881 wxGridCellCoords temp5
;
19892 PyObject
* obj0
= 0 ;
19893 PyObject
* obj1
= 0 ;
19894 PyObject
* obj2
= 0 ;
19895 PyObject
* obj3
= 0 ;
19896 PyObject
* obj4
= 0 ;
19897 PyObject
* obj5
= 0 ;
19898 PyObject
* obj6
= 0 ;
19899 PyObject
* obj7
= 0 ;
19900 PyObject
* obj8
= 0 ;
19901 PyObject
* obj9
= 0 ;
19902 char * kwnames
[] = {
19903 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19907 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19908 if (!SWIG_IsOK(ecode1
)) {
19909 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "1"" of type '" "int""'");
19911 arg1
= static_cast< int >(val1
);
19912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19913 if (!SWIG_IsOK(ecode2
)) {
19914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19916 arg2
= static_cast< wxEventType
>(val2
);
19917 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19918 if (!SWIG_IsOK(res3
)) {
19919 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19921 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19924 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
19928 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
19931 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
19932 if (!SWIG_IsOK(ecode6
)) {
19933 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "6"" of type '" "bool""'");
19935 arg6
= static_cast< bool >(val6
);
19938 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19939 if (!SWIG_IsOK(ecode7
)) {
19940 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "7"" of type '" "bool""'");
19942 arg7
= static_cast< bool >(val7
);
19945 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19946 if (!SWIG_IsOK(ecode8
)) {
19947 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "8"" of type '" "bool""'");
19949 arg8
= static_cast< bool >(val8
);
19952 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19953 if (!SWIG_IsOK(ecode9
)) {
19954 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "9"" of type '" "bool""'");
19956 arg9
= static_cast< bool >(val9
);
19959 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19960 if (!SWIG_IsOK(ecode10
)) {
19961 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "10"" of type '" "bool""'");
19963 arg10
= static_cast< bool >(val10
);
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_NEW
| 0 );
19978 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19979 PyObject
*resultobj
= 0;
19980 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19981 wxGridCellCoords result
;
19984 PyObject
*swig_obj
[1] ;
19986 if (!args
) SWIG_fail
;
19987 swig_obj
[0] = args
;
19988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19989 if (!SWIG_IsOK(res1
)) {
19990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopLeftCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19992 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (arg1
)->GetTopLeftCoords();
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
20006 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20007 PyObject
*resultobj
= 0;
20008 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20009 wxGridCellCoords result
;
20012 PyObject
*swig_obj
[1] ;
20014 if (!args
) SWIG_fail
;
20015 swig_obj
[0] = args
;
20016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20017 if (!SWIG_IsOK(res1
)) {
20018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRightCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20020 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (arg1
)->GetBottomRightCoords();
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
20034 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20035 PyObject
*resultobj
= 0;
20036 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20040 PyObject
*swig_obj
[1] ;
20042 if (!args
) SWIG_fail
;
20043 swig_obj
[0] = args
;
20044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20045 if (!SWIG_IsOK(res1
)) {
20046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20048 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 result
= (int)(arg1
)->GetTopRow();
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_From_int(static_cast< int >(result
));
20062 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20063 PyObject
*resultobj
= 0;
20064 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20068 PyObject
*swig_obj
[1] ;
20070 if (!args
) SWIG_fail
;
20071 swig_obj
[0] = args
;
20072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20073 if (!SWIG_IsOK(res1
)) {
20074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20076 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 result
= (int)(arg1
)->GetBottomRow();
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= SWIG_From_int(static_cast< int >(result
));
20090 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20091 PyObject
*resultobj
= 0;
20092 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20096 PyObject
*swig_obj
[1] ;
20098 if (!args
) SWIG_fail
;
20099 swig_obj
[0] = args
;
20100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20101 if (!SWIG_IsOK(res1
)) {
20102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetLeftCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20104 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= (int)(arg1
)->GetLeftCol();
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= SWIG_From_int(static_cast< int >(result
));
20118 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20119 PyObject
*resultobj
= 0;
20120 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20124 PyObject
*swig_obj
[1] ;
20126 if (!args
) SWIG_fail
;
20127 swig_obj
[0] = args
;
20128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20129 if (!SWIG_IsOK(res1
)) {
20130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetRightCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20132 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 result
= (int)(arg1
)->GetRightCol();
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= SWIG_From_int(static_cast< int >(result
));
20146 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20147 PyObject
*resultobj
= 0;
20148 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20152 PyObject
*swig_obj
[1] ;
20154 if (!args
) SWIG_fail
;
20155 swig_obj
[0] = args
;
20156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20157 if (!SWIG_IsOK(res1
)) {
20158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_Selecting" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20160 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 result
= (bool)(arg1
)->Selecting();
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20176 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20177 PyObject
*resultobj
= 0;
20178 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20182 PyObject
*swig_obj
[1] ;
20184 if (!args
) SWIG_fail
;
20185 swig_obj
[0] = args
;
20186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20187 if (!SWIG_IsOK(res1
)) {
20188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20190 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= (bool)(arg1
)->ControlDown();
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20206 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20207 PyObject
*resultobj
= 0;
20208 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20212 PyObject
*swig_obj
[1] ;
20214 if (!args
) SWIG_fail
;
20215 swig_obj
[0] = args
;
20216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20217 if (!SWIG_IsOK(res1
)) {
20218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20220 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 result
= (bool)(arg1
)->MetaDown();
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20236 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20237 PyObject
*resultobj
= 0;
20238 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20242 PyObject
*swig_obj
[1] ;
20244 if (!args
) SWIG_fail
;
20245 swig_obj
[0] = args
;
20246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20247 if (!SWIG_IsOK(res1
)) {
20248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20250 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 result
= (bool)(arg1
)->ShiftDown();
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20266 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20267 PyObject
*resultobj
= 0;
20268 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20272 PyObject
*swig_obj
[1] ;
20274 if (!args
) SWIG_fail
;
20275 swig_obj
[0] = args
;
20276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20277 if (!SWIG_IsOK(res1
)) {
20278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_AltDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20280 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= (bool)(arg1
)->AltDown();
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20296 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20297 PyObject
*resultobj
= 0;
20298 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20302 PyObject
*swig_obj
[1] ;
20304 if (!args
) SWIG_fail
;
20305 swig_obj
[0] = args
;
20306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20307 if (!SWIG_IsOK(res1
)) {
20308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20310 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20313 result
= (bool)(arg1
)->CmdDown();
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20326 SWIGINTERN PyObject
*GridRangeSelectEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20329 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_NewClientData(obj
));
20330 return SWIG_Py_Void();
20333 SWIGINTERN PyObject
*GridRangeSelectEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20334 return SWIG_Python_InitShadowInstance(args
);
20337 SWIGINTERN PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
= 0;
20341 wxObject
*arg3
= (wxObject
*) 0 ;
20344 wxControl
*arg6
= (wxControl
*) 0 ;
20345 wxGridEditorCreatedEvent
*result
= 0 ;
20358 PyObject
* obj0
= 0 ;
20359 PyObject
* obj1
= 0 ;
20360 PyObject
* obj2
= 0 ;
20361 PyObject
* obj3
= 0 ;
20362 PyObject
* obj4
= 0 ;
20363 PyObject
* obj5
= 0 ;
20364 char * kwnames
[] = {
20365 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
20368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20370 if (!SWIG_IsOK(ecode1
)) {
20371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "1"" of type '" "int""'");
20373 arg1
= static_cast< int >(val1
);
20374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20375 if (!SWIG_IsOK(ecode2
)) {
20376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "2"" of type '" "wxEventType""'");
20378 arg2
= static_cast< wxEventType
>(val2
);
20379 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxObject
, 0 | 0 );
20380 if (!SWIG_IsOK(res3
)) {
20381 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "3"" of type '" "wxObject *""'");
20383 arg3
= reinterpret_cast< wxObject
* >(argp3
);
20384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20385 if (!SWIG_IsOK(ecode4
)) {
20386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "4"" of type '" "int""'");
20388 arg4
= static_cast< int >(val4
);
20389 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20390 if (!SWIG_IsOK(ecode5
)) {
20391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "5"" of type '" "int""'");
20393 arg5
= static_cast< int >(val5
);
20394 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxControl
, 0 | 0 );
20395 if (!SWIG_IsOK(res6
)) {
20396 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "6"" of type '" "wxControl *""'");
20398 arg6
= reinterpret_cast< wxControl
* >(argp6
);
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_NEW
| 0 );
20412 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20413 PyObject
*resultobj
= 0;
20414 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20418 PyObject
*swig_obj
[1] ;
20420 if (!args
) SWIG_fail
;
20421 swig_obj
[0] = args
;
20422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20423 if (!SWIG_IsOK(res1
)) {
20424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20426 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= (int)(arg1
)->GetRow();
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= SWIG_From_int(static_cast< int >(result
));
20440 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20441 PyObject
*resultobj
= 0;
20442 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20446 PyObject
*swig_obj
[1] ;
20448 if (!args
) SWIG_fail
;
20449 swig_obj
[0] = args
;
20450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20451 if (!SWIG_IsOK(res1
)) {
20452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20454 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (int)(arg1
)->GetCol();
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= SWIG_From_int(static_cast< int >(result
));
20468 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20469 PyObject
*resultobj
= 0;
20470 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20471 wxControl
*result
= 0 ;
20474 PyObject
*swig_obj
[1] ;
20476 if (!args
) SWIG_fail
;
20477 swig_obj
[0] = args
;
20478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20479 if (!SWIG_IsOK(res1
)) {
20480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20482 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= (wxControl
*)(arg1
)->GetControl();
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20490 resultobj
= wxPyMake_wxObject(result
, 0);
20498 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
= 0;
20500 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char * kwnames
[] = {
20509 (char *) "self",(char *) "row", NULL
20512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20514 if (!SWIG_IsOK(res1
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20517 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20519 if (!SWIG_IsOK(ecode2
)) {
20520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "2"" of type '" "int""'");
20522 arg2
= static_cast< int >(val2
);
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->SetRow(arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_Py_Void();
20536 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
= 0;
20538 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20544 PyObject
* obj0
= 0 ;
20545 PyObject
* obj1
= 0 ;
20546 char * kwnames
[] = {
20547 (char *) "self",(char *) "col", NULL
20550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20552 if (!SWIG_IsOK(res1
)) {
20553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20555 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20557 if (!SWIG_IsOK(ecode2
)) {
20558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "2"" of type '" "int""'");
20560 arg2
= static_cast< int >(val2
);
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 (arg1
)->SetCol(arg2
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_Py_Void();
20574 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
= 0;
20576 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20577 wxControl
*arg2
= (wxControl
*) 0 ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char * kwnames
[] = {
20585 (char *) "self",(char *) "ctrl", NULL
20588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20590 if (!SWIG_IsOK(res1
)) {
20591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20593 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
20595 if (!SWIG_IsOK(res2
)) {
20596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
20598 arg2
= reinterpret_cast< wxControl
* >(argp2
);
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 (arg1
)->SetControl(arg2
);
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 resultobj
= SWIG_Py_Void();
20612 SWIGINTERN PyObject
*GridEditorCreatedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20615 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_NewClientData(obj
));
20616 return SWIG_Py_Void();
20619 SWIGINTERN PyObject
*GridEditorCreatedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20620 return SWIG_Python_InitShadowInstance(args
);
20623 static PyMethodDef SwigMethods
[] = {
20624 { (char *)"GridCellWorker__setOORInfo", (PyCFunction
) _wrap_GridCellWorker__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20625 { (char *)"delete_GridCellWorker", (PyCFunction
)_wrap_delete_GridCellWorker
, METH_O
, NULL
},
20626 { (char *)"GridCellWorker_SetParameters", (PyCFunction
) _wrap_GridCellWorker_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20627 { (char *)"GridCellWorker_IncRef", (PyCFunction
)_wrap_GridCellWorker_IncRef
, METH_O
, NULL
},
20628 { (char *)"GridCellWorker_DecRef", (PyCFunction
)_wrap_GridCellWorker_DecRef
, METH_O
, NULL
},
20629 { (char *)"GridCellWorker_swigregister", GridCellWorker_swigregister
, METH_VARARGS
, NULL
},
20630 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20631 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20632 { (char *)"GridCellRenderer_Clone", (PyCFunction
)_wrap_GridCellRenderer_Clone
, METH_O
, NULL
},
20633 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20634 { (char *)"new_PyGridCellRenderer", (PyCFunction
)_wrap_new_PyGridCellRenderer
, METH_NOARGS
, NULL
},
20635 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20636 { (char *)"PyGridCellRenderer_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20637 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20638 { (char *)"PyGridCellRenderer_swiginit", PyGridCellRenderer_swiginit
, METH_VARARGS
, NULL
},
20639 { (char *)"new_GridCellStringRenderer", (PyCFunction
)_wrap_new_GridCellStringRenderer
, METH_NOARGS
, NULL
},
20640 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20641 { (char *)"GridCellStringRenderer_swiginit", GridCellStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20642 { (char *)"new_GridCellNumberRenderer", (PyCFunction
)_wrap_new_GridCellNumberRenderer
, METH_NOARGS
, NULL
},
20643 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
20644 { (char *)"GridCellNumberRenderer_swiginit", GridCellNumberRenderer_swiginit
, METH_VARARGS
, NULL
},
20645 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20646 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
)_wrap_GridCellFloatRenderer_GetWidth
, METH_O
, NULL
},
20647 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20648 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
)_wrap_GridCellFloatRenderer_GetPrecision
, METH_O
, NULL
},
20649 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20650 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
20651 { (char *)"GridCellFloatRenderer_swiginit", GridCellFloatRenderer_swiginit
, METH_VARARGS
, NULL
},
20652 { (char *)"new_GridCellBoolRenderer", (PyCFunction
)_wrap_new_GridCellBoolRenderer
, METH_NOARGS
, NULL
},
20653 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
20654 { (char *)"GridCellBoolRenderer_swiginit", GridCellBoolRenderer_swiginit
, METH_VARARGS
, NULL
},
20655 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20656 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
20657 { (char *)"GridCellDateTimeRenderer_swiginit", GridCellDateTimeRenderer_swiginit
, METH_VARARGS
, NULL
},
20658 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20659 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
20660 { (char *)"GridCellEnumRenderer_swiginit", GridCellEnumRenderer_swiginit
, METH_VARARGS
, NULL
},
20661 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
)_wrap_new_GridCellAutoWrapStringRenderer
, METH_NOARGS
, NULL
},
20662 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20663 { (char *)"GridCellAutoWrapStringRenderer_swiginit", GridCellAutoWrapStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20664 { (char *)"GridCellEditor_IsCreated", (PyCFunction
)_wrap_GridCellEditor_IsCreated
, METH_O
, NULL
},
20665 { (char *)"GridCellEditor_GetControl", (PyCFunction
)_wrap_GridCellEditor_GetControl
, METH_O
, NULL
},
20666 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20667 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
)_wrap_GridCellEditor_GetCellAttr
, METH_O
, NULL
},
20668 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20669 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20670 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20671 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20672 { (char *)"GridCellEditor_Reset", (PyCFunction
)_wrap_GridCellEditor_Reset
, METH_O
, NULL
},
20673 { (char *)"GridCellEditor_Clone", (PyCFunction
)_wrap_GridCellEditor_Clone
, METH_O
, NULL
},
20674 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20675 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20676 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20677 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20678 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20679 { (char *)"GridCellEditor_StartingClick", (PyCFunction
)_wrap_GridCellEditor_StartingClick
, METH_O
, NULL
},
20680 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20681 { (char *)"GridCellEditor_Destroy", (PyCFunction
)_wrap_GridCellEditor_Destroy
, METH_O
, NULL
},
20682 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20683 { (char *)"new_PyGridCellEditor", (PyCFunction
)_wrap_new_PyGridCellEditor
, METH_NOARGS
, NULL
},
20684 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20685 { (char *)"PyGridCellEditor_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20686 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20687 { (char *)"PyGridCellEditor_swiginit", PyGridCellEditor_swiginit
, METH_VARARGS
, NULL
},
20688 { (char *)"new_GridCellTextEditor", (PyCFunction
)_wrap_new_GridCellTextEditor
, METH_NOARGS
, NULL
},
20689 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
)_wrap_GridCellTextEditor_GetValue
, METH_O
, NULL
},
20690 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
20691 { (char *)"GridCellTextEditor_swiginit", GridCellTextEditor_swiginit
, METH_VARARGS
, NULL
},
20692 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20693 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
20694 { (char *)"GridCellNumberEditor_swiginit", GridCellNumberEditor_swiginit
, METH_VARARGS
, NULL
},
20695 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20696 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
20697 { (char *)"GridCellFloatEditor_swiginit", GridCellFloatEditor_swiginit
, METH_VARARGS
, NULL
},
20698 { (char *)"new_GridCellBoolEditor", (PyCFunction
)_wrap_new_GridCellBoolEditor
, METH_NOARGS
, NULL
},
20699 { (char *)"GridCellBoolEditor_UseStringValues", (PyCFunction
) _wrap_GridCellBoolEditor_UseStringValues
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20700 { (char *)"GridCellBoolEditor_IsTrueValue", (PyCFunction
) _wrap_GridCellBoolEditor_IsTrueValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20701 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
20702 { (char *)"GridCellBoolEditor_swiginit", GridCellBoolEditor_swiginit
, METH_VARARGS
, NULL
},
20703 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20704 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
20705 { (char *)"GridCellChoiceEditor_swiginit", GridCellChoiceEditor_swiginit
, METH_VARARGS
, NULL
},
20706 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20707 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
20708 { (char *)"GridCellEnumEditor_swiginit", GridCellEnumEditor_swiginit
, METH_VARARGS
, NULL
},
20709 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
)_wrap_new_GridCellAutoWrapStringEditor
, METH_NOARGS
, NULL
},
20710 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
20711 { (char *)"GridCellAutoWrapStringEditor_swiginit", GridCellAutoWrapStringEditor_swiginit
, METH_VARARGS
, NULL
},
20712 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20713 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20714 { (char *)"delete_GridCellAttr", (PyCFunction
)_wrap_delete_GridCellAttr
, METH_O
, NULL
},
20715 { (char *)"GridCellAttr_Clone", (PyCFunction
)_wrap_GridCellAttr_Clone
, METH_O
, NULL
},
20716 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20717 { (char *)"GridCellAttr_IncRef", (PyCFunction
)_wrap_GridCellAttr_IncRef
, METH_O
, NULL
},
20718 { (char *)"GridCellAttr_DecRef", (PyCFunction
)_wrap_GridCellAttr_DecRef
, METH_O
, NULL
},
20719 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20720 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20721 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20722 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20723 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20724 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20725 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20726 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20727 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20728 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20729 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
)_wrap_GridCellAttr_HasTextColour
, METH_O
, NULL
},
20730 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_HasBackgroundColour
, METH_O
, NULL
},
20731 { (char *)"GridCellAttr_HasFont", (PyCFunction
)_wrap_GridCellAttr_HasFont
, METH_O
, NULL
},
20732 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
)_wrap_GridCellAttr_HasAlignment
, METH_O
, NULL
},
20733 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
)_wrap_GridCellAttr_HasRenderer
, METH_O
, NULL
},
20734 { (char *)"GridCellAttr_HasEditor", (PyCFunction
)_wrap_GridCellAttr_HasEditor
, METH_O
, NULL
},
20735 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
)_wrap_GridCellAttr_HasReadWriteMode
, METH_O
, NULL
},
20736 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
)_wrap_GridCellAttr_HasOverflowMode
, METH_O
, NULL
},
20737 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
)_wrap_GridCellAttr_GetTextColour
, METH_O
, NULL
},
20738 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_GetBackgroundColour
, METH_O
, NULL
},
20739 { (char *)"GridCellAttr_GetFont", (PyCFunction
)_wrap_GridCellAttr_GetFont
, METH_O
, NULL
},
20740 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
)_wrap_GridCellAttr_GetAlignment
, METH_O
, NULL
},
20741 { (char *)"GridCellAttr_GetSize", (PyCFunction
)_wrap_GridCellAttr_GetSize
, METH_O
, NULL
},
20742 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
)_wrap_GridCellAttr_GetOverflow
, METH_O
, NULL
},
20743 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20744 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20745 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
)_wrap_GridCellAttr_IsReadOnly
, METH_O
, NULL
},
20746 { (char *)"GridCellAttr_GetKind", (PyCFunction
)_wrap_GridCellAttr_GetKind
, METH_O
, NULL
},
20747 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20748 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
20749 { (char *)"GridCellAttr_swiginit", GridCellAttr_swiginit
, METH_VARARGS
, NULL
},
20750 { (char *)"new_GridCellAttrProvider", (PyCFunction
)_wrap_new_GridCellAttrProvider
, METH_NOARGS
, NULL
},
20751 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20752 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20753 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20754 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20755 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20756 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20757 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20758 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20759 { (char *)"GridCellAttrProvider_swiginit", GridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20760 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
)_wrap_new_PyGridCellAttrProvider
, METH_NOARGS
, NULL
},
20761 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20762 { (char *)"PyGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20763 { (char *)"PyGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20764 { (char *)"PyGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20765 { (char *)"PyGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20766 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20767 { (char *)"PyGridCellAttrProvider_swiginit", PyGridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20768 { (char *)"delete_GridTableBase", (PyCFunction
)_wrap_delete_GridTableBase
, METH_O
, NULL
},
20769 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20770 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20771 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
)_wrap_GridTableBase_GetAttrProvider
, METH_O
, NULL
},
20772 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20773 { (char *)"GridTableBase_GetView", (PyCFunction
)_wrap_GridTableBase_GetView
, METH_O
, NULL
},
20774 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
)_wrap_GridTableBase_GetNumberRows
, METH_O
, NULL
},
20775 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
)_wrap_GridTableBase_GetNumberCols
, METH_O
, NULL
},
20776 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20777 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20778 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20779 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20780 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20781 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20782 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20783 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20784 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20785 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20786 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20787 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20788 { (char *)"GridTableBase_Clear", (PyCFunction
)_wrap_GridTableBase_Clear
, METH_O
, NULL
},
20789 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20790 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20791 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20792 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20793 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20794 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20795 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20796 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20797 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20798 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20799 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
)_wrap_GridTableBase_CanHaveAttributes
, METH_O
, NULL
},
20800 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20801 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20802 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20803 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20804 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
20805 { (char *)"new_PyGridTableBase", (PyCFunction
)_wrap_new_PyGridTableBase
, METH_NOARGS
, NULL
},
20806 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20807 { (char *)"PyGridTableBase_Destroy", (PyCFunction
)_wrap_PyGridTableBase_Destroy
, METH_O
, NULL
},
20808 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
20809 { (char *)"PyGridTableBase_swiginit", PyGridTableBase_swiginit
, METH_VARARGS
, NULL
},
20810 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20811 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
20812 { (char *)"GridStringTable_swiginit", GridStringTable_swiginit
, METH_VARARGS
, NULL
},
20813 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20814 { (char *)"delete_GridTableMessage", (PyCFunction
)_wrap_delete_GridTableMessage
, METH_O
, NULL
},
20815 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20816 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
)_wrap_GridTableMessage_GetTableObject
, METH_O
, NULL
},
20817 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20818 { (char *)"GridTableMessage_GetId", (PyCFunction
)_wrap_GridTableMessage_GetId
, METH_O
, NULL
},
20819 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20820 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt
, METH_O
, NULL
},
20821 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20822 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt2
, METH_O
, NULL
},
20823 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
20824 { (char *)"GridTableMessage_swiginit", GridTableMessage_swiginit
, METH_VARARGS
, NULL
},
20825 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20826 { (char *)"delete_GridCellCoords", (PyCFunction
)_wrap_delete_GridCellCoords
, METH_O
, NULL
},
20827 { (char *)"GridCellCoords_GetRow", (PyCFunction
)_wrap_GridCellCoords_GetRow
, METH_O
, NULL
},
20828 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20829 { (char *)"GridCellCoords_GetCol", (PyCFunction
)_wrap_GridCellCoords_GetCol
, METH_O
, NULL
},
20830 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20831 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20832 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20833 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20834 { (char *)"GridCellCoords_Get", (PyCFunction
)_wrap_GridCellCoords_Get
, METH_O
, NULL
},
20835 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
20836 { (char *)"GridCellCoords_swiginit", GridCellCoords_swiginit
, METH_VARARGS
, NULL
},
20837 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20838 { (char *)"new_PreGrid", (PyCFunction
)_wrap_new_PreGrid
, METH_NOARGS
, NULL
},
20839 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20840 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20841 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20842 { (char *)"Grid_GetSelectionMode", (PyCFunction
)_wrap_Grid_GetSelectionMode
, METH_O
, NULL
},
20843 { (char *)"Grid_GetNumberRows", (PyCFunction
)_wrap_Grid_GetNumberRows
, METH_O
, NULL
},
20844 { (char *)"Grid_GetNumberCols", (PyCFunction
)_wrap_Grid_GetNumberCols
, METH_O
, NULL
},
20845 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20846 { (char *)"Grid_GetTable", (PyCFunction
)_wrap_Grid_GetTable
, METH_O
, NULL
},
20847 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20848 { (char *)"Grid_ClearGrid", (PyCFunction
)_wrap_Grid_ClearGrid
, METH_O
, NULL
},
20849 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20850 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20851 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20852 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20853 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20854 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20855 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20856 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20857 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20858 { (char *)"Grid_BeginBatch", (PyCFunction
)_wrap_Grid_BeginBatch
, METH_O
, NULL
},
20859 { (char *)"Grid_EndBatch", (PyCFunction
)_wrap_Grid_EndBatch
, METH_O
, NULL
},
20860 { (char *)"Grid_GetBatchCount", (PyCFunction
)_wrap_Grid_GetBatchCount
, METH_O
, NULL
},
20861 { (char *)"Grid_ForceRefresh", (PyCFunction
)_wrap_Grid_ForceRefresh
, METH_O
, NULL
},
20862 { (char *)"Grid_IsEditable", (PyCFunction
)_wrap_Grid_IsEditable
, METH_O
, NULL
},
20863 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20864 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20865 { (char *)"Grid_DisableCellEditControl", (PyCFunction
)_wrap_Grid_DisableCellEditControl
, METH_O
, NULL
},
20866 { (char *)"Grid_CanEnableCellControl", (PyCFunction
)_wrap_Grid_CanEnableCellControl
, METH_O
, NULL
},
20867 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
)_wrap_Grid_IsCellEditControlEnabled
, METH_O
, NULL
},
20868 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
)_wrap_Grid_IsCellEditControlShown
, METH_O
, NULL
},
20869 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
)_wrap_Grid_IsCurrentCellReadOnly
, METH_O
, NULL
},
20870 { (char *)"Grid_ShowCellEditControl", (PyCFunction
)_wrap_Grid_ShowCellEditControl
, METH_O
, NULL
},
20871 { (char *)"Grid_HideCellEditControl", (PyCFunction
)_wrap_Grid_HideCellEditControl
, METH_O
, NULL
},
20872 { (char *)"Grid_SaveEditControlValue", (PyCFunction
)_wrap_Grid_SaveEditControlValue
, METH_O
, NULL
},
20873 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20874 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20875 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20876 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20877 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20878 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20879 { (char *)"Grid_GetGridCursorRow", (PyCFunction
)_wrap_Grid_GetGridCursorRow
, METH_O
, NULL
},
20880 { (char *)"Grid_GetGridCursorCol", (PyCFunction
)_wrap_Grid_GetGridCursorCol
, METH_O
, NULL
},
20881 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20882 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20883 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20884 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20885 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20886 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20887 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20888 { (char *)"Grid_MovePageDown", (PyCFunction
)_wrap_Grid_MovePageDown
, METH_O
, NULL
},
20889 { (char *)"Grid_MovePageUp", (PyCFunction
)_wrap_Grid_MovePageUp
, METH_O
, NULL
},
20890 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20891 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20892 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20893 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20894 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultRowLabelSize
, METH_O
, NULL
},
20895 { (char *)"Grid_GetRowLabelSize", (PyCFunction
)_wrap_Grid_GetRowLabelSize
, METH_O
, NULL
},
20896 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultColLabelSize
, METH_O
, NULL
},
20897 { (char *)"Grid_GetColLabelSize", (PyCFunction
)_wrap_Grid_GetColLabelSize
, METH_O
, NULL
},
20898 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
)_wrap_Grid_GetLabelBackgroundColour
, METH_O
, NULL
},
20899 { (char *)"Grid_GetLabelTextColour", (PyCFunction
)_wrap_Grid_GetLabelTextColour
, METH_O
, NULL
},
20900 { (char *)"Grid_GetLabelFont", (PyCFunction
)_wrap_Grid_GetLabelFont
, METH_O
, NULL
},
20901 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
)_wrap_Grid_GetRowLabelAlignment
, METH_O
, NULL
},
20902 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
)_wrap_Grid_GetColLabelAlignment
, METH_O
, NULL
},
20903 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
)_wrap_Grid_GetColLabelTextOrientation
, METH_O
, NULL
},
20904 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20905 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20906 { (char *)"Grid_GetGridLineColour", (PyCFunction
)_wrap_Grid_GetGridLineColour
, METH_O
, NULL
},
20907 { (char *)"Grid_GetDefaultGridLinePen", (PyCFunction
)_wrap_Grid_GetDefaultGridLinePen
, METH_O
, NULL
},
20908 { (char *)"Grid_GetRowGridLinePen", (PyCFunction
) _wrap_Grid_GetRowGridLinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20909 { (char *)"Grid_GetColGridLinePen", (PyCFunction
) _wrap_Grid_GetColGridLinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20910 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
)_wrap_Grid_GetCellHighlightColour
, METH_O
, NULL
},
20911 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightPenWidth
, METH_O
, NULL
},
20912 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightROPenWidth
, METH_O
, NULL
},
20913 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20914 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20915 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20916 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20917 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20918 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20919 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20920 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20921 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20922 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20923 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20924 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20925 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20926 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20927 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20928 { (char *)"Grid_DisableDragRowSize", (PyCFunction
)_wrap_Grid_DisableDragRowSize
, METH_O
, NULL
},
20929 { (char *)"Grid_CanDragRowSize", (PyCFunction
)_wrap_Grid_CanDragRowSize
, METH_O
, NULL
},
20930 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20931 { (char *)"Grid_DisableDragColSize", (PyCFunction
)_wrap_Grid_DisableDragColSize
, METH_O
, NULL
},
20932 { (char *)"Grid_CanDragColSize", (PyCFunction
)_wrap_Grid_CanDragColSize
, METH_O
, NULL
},
20933 { (char *)"Grid_EnableDragColMove", (PyCFunction
) _wrap_Grid_EnableDragColMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20934 { (char *)"Grid_DisableDragColMove", (PyCFunction
)_wrap_Grid_DisableDragColMove
, METH_O
, NULL
},
20935 { (char *)"Grid_CanDragColMove", (PyCFunction
)_wrap_Grid_CanDragColMove
, METH_O
, NULL
},
20936 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20937 { (char *)"Grid_DisableDragGridSize", (PyCFunction
)_wrap_Grid_DisableDragGridSize
, METH_O
, NULL
},
20938 { (char *)"Grid_CanDragGridSize", (PyCFunction
)_wrap_Grid_CanDragGridSize
, METH_O
, NULL
},
20939 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20940 { (char *)"Grid_DisableDragCell", (PyCFunction
)_wrap_Grid_DisableDragCell
, METH_O
, NULL
},
20941 { (char *)"Grid_CanDragCell", (PyCFunction
)_wrap_Grid_CanDragCell
, METH_O
, NULL
},
20942 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20943 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20944 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20945 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20946 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20947 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20948 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20949 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20950 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20951 { (char *)"Grid_GridLinesEnabled", (PyCFunction
)_wrap_Grid_GridLinesEnabled
, METH_O
, NULL
},
20952 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
)_wrap_Grid_GetDefaultRowSize
, METH_O
, NULL
},
20953 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20954 { (char *)"Grid_GetDefaultColSize", (PyCFunction
)_wrap_Grid_GetDefaultColSize
, METH_O
, NULL
},
20955 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20956 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
)_wrap_Grid_GetDefaultCellBackgroundColour
, METH_O
, NULL
},
20957 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20958 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
)_wrap_Grid_GetDefaultCellTextColour
, METH_O
, NULL
},
20959 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20960 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
)_wrap_Grid_GetDefaultCellFont
, METH_O
, NULL
},
20961 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20962 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
)_wrap_Grid_GetDefaultCellAlignment
, METH_O
, NULL
},
20963 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20964 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
)_wrap_Grid_GetDefaultCellOverflow
, METH_O
, NULL
},
20965 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20966 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20967 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20968 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20969 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20970 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20971 { (char *)"Grid_GetColAt", (PyCFunction
) _wrap_Grid_GetColAt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20972 { (char *)"Grid_SetColPos", (PyCFunction
) _wrap_Grid_SetColPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20973 { (char *)"Grid_GetColPos", (PyCFunction
) _wrap_Grid_GetColPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20974 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20975 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20976 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20977 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20978 { (char *)"Grid_AutoSize", (PyCFunction
)_wrap_Grid_AutoSize
, METH_O
, NULL
},
20979 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20980 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20981 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20982 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20983 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20984 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20985 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
)_wrap_Grid_GetColMinimalAcceptableWidth
, METH_O
, NULL
},
20986 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
)_wrap_Grid_GetRowMinimalAcceptableHeight
, METH_O
, NULL
},
20987 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20988 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20989 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20990 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20991 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20992 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20993 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20994 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20995 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20996 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20997 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20998 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20999 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21000 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
)_wrap_Grid_GetDefaultRenderer
, METH_O
, NULL
},
21001 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21002 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21003 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21004 { (char *)"Grid_GetDefaultEditor", (PyCFunction
)_wrap_Grid_GetDefaultEditor
, METH_O
, NULL
},
21005 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21006 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21007 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21008 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21009 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21010 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21011 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21012 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21013 { (char *)"Grid_SelectAll", (PyCFunction
)_wrap_Grid_SelectAll
, METH_O
, NULL
},
21014 { (char *)"Grid_IsSelection", (PyCFunction
)_wrap_Grid_IsSelection
, METH_O
, NULL
},
21015 { (char *)"Grid_ClearSelection", (PyCFunction
)_wrap_Grid_ClearSelection
, METH_O
, NULL
},
21016 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21017 { (char *)"Grid_GetSelectedCells", (PyCFunction
)_wrap_Grid_GetSelectedCells
, METH_O
, NULL
},
21018 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
)_wrap_Grid_GetSelectionBlockTopLeft
, METH_O
, NULL
},
21019 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
)_wrap_Grid_GetSelectionBlockBottomRight
, METH_O
, NULL
},
21020 { (char *)"Grid_GetSelectedRows", (PyCFunction
)_wrap_Grid_GetSelectedRows
, METH_O
, NULL
},
21021 { (char *)"Grid_GetSelectedCols", (PyCFunction
)_wrap_Grid_GetSelectedCols
, METH_O
, NULL
},
21022 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21023 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21024 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21025 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21026 { (char *)"Grid_GetSelectionBackground", (PyCFunction
)_wrap_Grid_GetSelectionBackground
, METH_O
, NULL
},
21027 { (char *)"Grid_GetSelectionForeground", (PyCFunction
)_wrap_Grid_GetSelectionForeground
, METH_O
, NULL
},
21028 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21029 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21030 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21031 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21032 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21033 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21034 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21035 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21036 { (char *)"Grid_GetGridWindow", (PyCFunction
)_wrap_Grid_GetGridWindow
, METH_O
, NULL
},
21037 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
)_wrap_Grid_GetGridRowLabelWindow
, METH_O
, NULL
},
21038 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
)_wrap_Grid_GetGridColLabelWindow
, METH_O
, NULL
},
21039 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
)_wrap_Grid_GetGridCornerLabelWindow
, METH_O
, NULL
},
21040 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21041 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21042 { (char *)"Grid_GetScrollLineX", (PyCFunction
)_wrap_Grid_GetScrollLineX
, METH_O
, NULL
},
21043 { (char *)"Grid_GetScrollLineY", (PyCFunction
)_wrap_Grid_GetScrollLineY
, METH_O
, NULL
},
21044 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21045 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21046 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21047 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
21048 { (char *)"Grid_swiginit", Grid_swiginit
, METH_VARARGS
, NULL
},
21049 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21050 { (char *)"GridEvent_GetRow", (PyCFunction
)_wrap_GridEvent_GetRow
, METH_O
, NULL
},
21051 { (char *)"GridEvent_GetCol", (PyCFunction
)_wrap_GridEvent_GetCol
, METH_O
, NULL
},
21052 { (char *)"GridEvent_GetPosition", (PyCFunction
)_wrap_GridEvent_GetPosition
, METH_O
, NULL
},
21053 { (char *)"GridEvent_Selecting", (PyCFunction
)_wrap_GridEvent_Selecting
, METH_O
, NULL
},
21054 { (char *)"GridEvent_ControlDown", (PyCFunction
)_wrap_GridEvent_ControlDown
, METH_O
, NULL
},
21055 { (char *)"GridEvent_MetaDown", (PyCFunction
)_wrap_GridEvent_MetaDown
, METH_O
, NULL
},
21056 { (char *)"GridEvent_ShiftDown", (PyCFunction
)_wrap_GridEvent_ShiftDown
, METH_O
, NULL
},
21057 { (char *)"GridEvent_AltDown", (PyCFunction
)_wrap_GridEvent_AltDown
, METH_O
, NULL
},
21058 { (char *)"GridEvent_CmdDown", (PyCFunction
)_wrap_GridEvent_CmdDown
, METH_O
, NULL
},
21059 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
21060 { (char *)"GridEvent_swiginit", GridEvent_swiginit
, METH_VARARGS
, NULL
},
21061 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21062 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
)_wrap_GridSizeEvent_GetRowOrCol
, METH_O
, NULL
},
21063 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
)_wrap_GridSizeEvent_GetPosition
, METH_O
, NULL
},
21064 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
)_wrap_GridSizeEvent_ControlDown
, METH_O
, NULL
},
21065 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
)_wrap_GridSizeEvent_MetaDown
, METH_O
, NULL
},
21066 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
)_wrap_GridSizeEvent_ShiftDown
, METH_O
, NULL
},
21067 { (char *)"GridSizeEvent_AltDown", (PyCFunction
)_wrap_GridSizeEvent_AltDown
, METH_O
, NULL
},
21068 { (char *)"GridSizeEvent_CmdDown", (PyCFunction
)_wrap_GridSizeEvent_CmdDown
, METH_O
, NULL
},
21069 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
21070 { (char *)"GridSizeEvent_swiginit", GridSizeEvent_swiginit
, METH_VARARGS
, NULL
},
21071 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21072 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_O
, NULL
},
21073 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_O
, NULL
},
21074 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopRow
, METH_O
, NULL
},
21075 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRow
, METH_O
, NULL
},
21076 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetLeftCol
, METH_O
, NULL
},
21077 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetRightCol
, METH_O
, NULL
},
21078 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
)_wrap_GridRangeSelectEvent_Selecting
, METH_O
, NULL
},
21079 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ControlDown
, METH_O
, NULL
},
21080 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
)_wrap_GridRangeSelectEvent_MetaDown
, METH_O
, NULL
},
21081 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ShiftDown
, METH_O
, NULL
},
21082 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
)_wrap_GridRangeSelectEvent_AltDown
, METH_O
, NULL
},
21083 { (char *)"GridRangeSelectEvent_CmdDown", (PyCFunction
)_wrap_GridRangeSelectEvent_CmdDown
, METH_O
, NULL
},
21084 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
21085 { (char *)"GridRangeSelectEvent_swiginit", GridRangeSelectEvent_swiginit
, METH_VARARGS
, NULL
},
21086 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21087 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetRow
, METH_O
, NULL
},
21088 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetCol
, METH_O
, NULL
},
21089 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetControl
, METH_O
, NULL
},
21090 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21091 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21092 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21093 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
21094 { (char *)"GridEditorCreatedEvent_swiginit", GridEditorCreatedEvent_swiginit
, METH_VARARGS
, NULL
},
21095 { NULL
, NULL
, 0, NULL
}
21099 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21101 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
21102 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
21104 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
21105 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
21107 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
21108 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
21110 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
21111 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
21113 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
21114 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
21116 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
21117 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
21119 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
21120 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
21122 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
21123 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
21125 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
21126 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
21128 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
21129 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
21131 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
21132 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
21134 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
21135 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
21137 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
21138 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
21140 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellWorker(void *x
) {
21141 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
21143 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellWorker(void *x
) {
21144 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
21146 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellWorker(void *x
) {
21147 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
21149 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellWorker(void *x
) {
21150 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
21152 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellWorker(void *x
) {
21153 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
21155 static void *_p_wxGridCellTextEditorTo_p_wxGridCellWorker(void *x
) {
21156 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
21158 static void *_p_wxPyGridCellEditorTo_p_wxGridCellWorker(void *x
) {
21159 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
21161 static void *_p_wxGridCellEditorTo_p_wxGridCellWorker(void *x
) {
21162 return (void *)((wxGridCellWorker
*) ((wxGridCellEditor
*) x
));
21164 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellWorker(void *x
) {
21165 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
21167 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellWorker(void *x
) {
21168 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
21170 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellWorker(void *x
) {
21171 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
21173 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellWorker(void *x
) {
21174 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
21176 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellWorker(void *x
) {
21177 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
21179 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellWorker(void *x
) {
21180 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
21182 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellWorker(void *x
) {
21183 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
21185 static void *_p_wxGridCellStringRendererTo_p_wxGridCellWorker(void *x
) {
21186 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
21188 static void *_p_wxPyGridCellRendererTo_p_wxGridCellWorker(void *x
) {
21189 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
21191 static void *_p_wxGridCellRendererTo_p_wxGridCellWorker(void *x
) {
21192 return (void *)((wxGridCellWorker
*) ((wxGridCellRenderer
*) x
));
21194 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
21195 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
21197 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
21198 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21200 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
21201 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21203 static void *_p_wxGridTo_p_wxPanel(void *x
) {
21204 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
21206 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
21207 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21209 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
21210 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21212 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
21213 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
21215 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
21216 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
21218 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
21219 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21221 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
21222 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
21224 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
21225 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21227 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
21228 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21230 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
21231 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21233 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21234 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21236 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
21237 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
21239 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
21240 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21242 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
21243 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
21245 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
21246 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21248 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
21249 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21251 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
21252 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21254 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
21255 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
21257 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
21258 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
21260 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
21261 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21263 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
21264 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21266 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
21267 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21269 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
21270 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
21272 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
21273 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21275 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
21276 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21278 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
21279 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21281 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
21282 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21284 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
21285 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21287 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
21288 return (void *)((wxWindow
*) ((wxPanel
*) x
));
21290 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
21291 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
21293 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
21294 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21296 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
21297 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21299 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
21300 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21302 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
21303 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
21305 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
21306 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21308 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
21309 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
21311 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
21312 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
21314 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
21315 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
21317 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
21318 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
21320 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
21321 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
21323 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
21324 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
21326 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
21327 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21329 static void *_p_wxControlTo_p_wxWindow(void *x
) {
21330 return (void *)((wxWindow
*) ((wxControl
*) x
));
21332 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
21333 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21335 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
21336 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21338 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
21339 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21341 static void *_p_wxGridTo_p_wxWindow(void *x
) {
21342 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21344 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
21345 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
21347 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
21348 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
21350 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
21351 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21353 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
21354 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
21356 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
21357 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21359 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
21360 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21362 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
21363 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
21365 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
21366 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21368 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
21369 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
21371 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
21372 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21374 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
21375 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21377 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
21378 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21380 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
21381 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
21383 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
21384 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21386 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
21387 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
21389 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21390 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21392 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21393 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21395 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21396 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21398 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21399 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21401 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21402 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21404 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21405 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21407 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21408 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21410 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21411 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21413 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21414 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21416 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21417 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21419 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21420 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21422 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
21423 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
21425 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21426 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21428 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21429 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21431 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
21432 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21434 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21435 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21437 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21438 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21440 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21441 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21443 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21444 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21446 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21447 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21449 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21450 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21452 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21453 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21455 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21456 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21458 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
21459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
21461 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
21462 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21464 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21465 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21467 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21468 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21470 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
21471 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21473 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21474 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21476 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21477 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21479 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21480 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21482 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21483 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21485 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21486 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21488 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
21489 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
21491 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
21492 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21494 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21495 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21497 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21498 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21500 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21501 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21503 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21504 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21506 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21507 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21509 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21510 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21512 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21513 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21515 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21516 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21518 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21519 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21521 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21522 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21524 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21525 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21527 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21528 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21530 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21531 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21533 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21534 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21536 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21537 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21539 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21542 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21545 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21546 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21548 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21549 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21551 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21552 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21554 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21555 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21557 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21558 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21560 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21561 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21563 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21564 return (void *)((wxObject
*) ((wxSizer
*) x
));
21566 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21567 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21569 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21570 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21572 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21575 static void *_p_wxEventTo_p_wxObject(void *x
) {
21576 return (void *)((wxObject
*) ((wxEvent
*) x
));
21578 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21579 return (void *)((wxObject
*) ((wxFontData
*) x
));
21581 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21582 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21584 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21585 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21587 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21588 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21590 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21591 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21593 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21594 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21596 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
21597 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
21599 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21602 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
21603 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
21605 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
21606 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21608 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21609 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21611 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21612 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21614 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21615 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21617 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21618 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21620 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21621 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21623 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21624 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21626 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21629 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
21630 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
21632 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
21633 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21635 static void *_p_wxControlTo_p_wxObject(void *x
) {
21636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21638 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21639 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21641 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21644 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21645 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21647 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21648 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21650 static void *_p_wxGridTo_p_wxObject(void *x
) {
21651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21653 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21654 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21656 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21659 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
21660 return (void *)((wxObject
*) ((wxColourData
*) x
));
21662 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21663 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21665 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21668 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
21669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
21671 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
21672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21674 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
21675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21677 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
21678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21680 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
21681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21683 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
21684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21686 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
21687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21689 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
21690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
21692 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
21693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21695 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
21696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21698 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
21699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21701 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21702 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21704 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
21705 return (void *)((wxObject
*) ((wxPrinter
*) x
));
21707 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21708 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21710 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
21711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
21713 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21714 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21716 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21717 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21719 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21720 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21722 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21723 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21725 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21726 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21728 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21729 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21731 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21732 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21734 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21735 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21737 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
21738 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21740 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21741 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21743 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21744 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21746 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21747 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21749 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21750 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21752 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21753 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21755 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21756 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21758 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21759 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21761 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21762 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21764 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21765 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21767 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
21768 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
21770 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21771 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21773 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21774 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21776 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21777 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21779 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
21780 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
21782 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21783 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21785 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
21786 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
21788 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
21789 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21791 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
21792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21794 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
21795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21797 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
21798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21800 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
21801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
21803 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21804 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21806 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
21807 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
21809 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
21810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21812 static void *_p_wxImageTo_p_wxObject(void *x
) {
21813 return (void *)((wxObject
*) ((wxImage
*) x
));
21815 static void *_p_wxFrameTo_p_wxObject(void *x
) {
21816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21818 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
21819 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
21821 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21822 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21824 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
21825 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21827 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
21828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
21830 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
21831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21833 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21834 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21836 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21837 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21839 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21840 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21842 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21843 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21845 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21846 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21848 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21851 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
21852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21854 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
21855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
21857 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
21858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
21860 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
21861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
21863 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
21864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
21866 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
21867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21869 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
21870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
21872 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
21873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21875 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
21876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21878 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
21879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21881 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
21882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
21884 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
21885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21887 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
21888 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
21890 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
21891 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
21893 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
21894 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
21896 static void *_p_wxPanelTo_p_wxObject(void *x
) {
21897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
21899 static void *_p_wxDialogTo_p_wxObject(void *x
) {
21900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21902 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
21903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21905 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
21906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21908 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
21909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21911 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
21912 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
21914 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
21915 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
21917 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21918 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21920 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21921 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21923 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21924 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21926 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21927 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21929 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21930 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21932 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21933 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21935 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21936 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21938 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
21939 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
21941 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
21942 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
21944 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21945 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21947 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21948 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21950 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
21951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21953 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
21954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21956 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21957 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21959 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21960 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21962 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21963 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21965 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21968 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
21969 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
21971 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
21972 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
21974 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21977 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21978 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21980 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21983 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21986 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21989 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21990 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21992 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21993 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21995 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21996 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21998 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21999 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
22001 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
22002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22004 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
22005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22007 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
22008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22010 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
22011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22013 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
22014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
22016 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
22017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
22019 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
22020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22022 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
22023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22025 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
22026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22028 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
22029 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
22031 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
22032 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
22034 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
22035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22037 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
22038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22040 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
22041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22043 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
22044 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
22046 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
22047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22049 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
22050 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
22052 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
22053 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
22055 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
22056 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
22058 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
22059 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
22061 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
22062 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
22064 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
22065 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
22067 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
22068 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
22070 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
22071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
22073 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
22074 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
22076 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
22077 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22079 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
22080 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22082 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
22083 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22085 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
22086 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
22088 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
22089 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
22091 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
22092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22094 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
22095 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
22097 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
22098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22100 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
22101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
22103 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
22104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22106 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
22107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22109 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
22110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22112 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
22113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22115 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
22116 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
22118 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
22119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22121 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
22122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22124 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
22125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22127 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
22128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22130 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
22131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22133 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
22134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22136 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
22137 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
22139 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
22140 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
22142 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
22143 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
22145 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
22146 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
22148 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
22149 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
22151 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
22152 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
22154 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
22155 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
22157 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
22158 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
22160 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
22161 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
22163 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
22164 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
22166 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
22167 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
22169 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
22170 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
22172 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
22173 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
22175 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22176 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22178 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22179 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22181 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22182 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22184 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
22185 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
22187 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22188 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22190 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22191 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22193 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22194 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22196 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22197 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22199 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
22200 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
22202 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22203 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22205 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
22206 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
22208 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
22209 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
22211 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
22212 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
22214 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
22215 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
22217 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22218 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22220 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22221 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22223 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22224 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22226 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
22227 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
22229 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
22230 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
22232 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
22233 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};
22234 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
22235 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
22236 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
22237 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
22238 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
22239 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
22240 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
22241 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
22242 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
22243 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
22244 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
22245 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
22246 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
22247 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
22248 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
22249 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
22250 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
22251 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
22252 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
22253 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
22254 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
22255 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
22256 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
22257 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
22258 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
22259 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
22260 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
22261 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
22262 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
22263 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
22264 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
22265 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
22266 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
22267 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
22268 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
22269 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
22270 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
22271 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
22272 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
22273 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
22274 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
22275 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
22276 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
22277 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
22278 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
22279 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
22280 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
22281 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
22282 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
22283 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
22284 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
22285 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
22286 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
22287 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
22288 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
22289 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
22290 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
22291 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
22292 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
22293 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
22294 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
22295 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
22296 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
22297 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
22298 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
22299 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
22300 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
22301 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
22302 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
22303 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
22304 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
22305 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
22306 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
22307 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
22308 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
22309 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
22310 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
22311 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
22312 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
22313 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
22314 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
22315 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
22316 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
22317 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
22318 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
22319 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
22320 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
22321 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
22322 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
22323 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
22324 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
22325 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
22326 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
22327 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
22328 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
22329 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
22330 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
22331 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
22332 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
22333 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
22334 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
22335 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
22336 static swig_type_info _swigt__p_wxGrid
= {"_p_wxGrid", "wxGrid *", 0, 0, (void*)0, 0};
22337 static swig_type_info _swigt__p_wxGridCellAttr
= {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, (void*)0, 0};
22338 static swig_type_info _swigt__p_wxGridCellAttrProvider
= {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, (void*)0, 0};
22339 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
= {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, (void*)0, 0};
22340 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
= {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, (void*)0, 0};
22341 static swig_type_info _swigt__p_wxGridCellBoolEditor
= {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, (void*)0, 0};
22342 static swig_type_info _swigt__p_wxGridCellBoolRenderer
= {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, (void*)0, 0};
22343 static swig_type_info _swigt__p_wxGridCellChoiceEditor
= {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, (void*)0, 0};
22344 static swig_type_info _swigt__p_wxGridCellCoords
= {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, (void*)0, 0};
22345 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
= {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, (void*)0, 0};
22346 static swig_type_info _swigt__p_wxGridCellEditor
= {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, (void*)0, 0};
22347 static swig_type_info _swigt__p_wxGridCellEnumEditor
= {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, (void*)0, 0};
22348 static swig_type_info _swigt__p_wxGridCellEnumRenderer
= {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, (void*)0, 0};
22349 static swig_type_info _swigt__p_wxGridCellFloatEditor
= {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, (void*)0, 0};
22350 static swig_type_info _swigt__p_wxGridCellFloatRenderer
= {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, (void*)0, 0};
22351 static swig_type_info _swigt__p_wxGridCellNumberEditor
= {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, (void*)0, 0};
22352 static swig_type_info _swigt__p_wxGridCellNumberRenderer
= {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, (void*)0, 0};
22353 static swig_type_info _swigt__p_wxGridCellRenderer
= {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, (void*)0, 0};
22354 static swig_type_info _swigt__p_wxGridCellStringRenderer
= {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, (void*)0, 0};
22355 static swig_type_info _swigt__p_wxGridCellTextEditor
= {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, (void*)0, 0};
22356 static swig_type_info _swigt__p_wxGridCellWorker
= {"_p_wxGridCellWorker", "wxGridCellWorker *", 0, 0, (void*)0, 0};
22357 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
= {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, (void*)0, 0};
22358 static swig_type_info _swigt__p_wxGridEvent
= {"_p_wxGridEvent", "wxGridEvent *", 0, 0, (void*)0, 0};
22359 static swig_type_info _swigt__p_wxGridRangeSelectEvent
= {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, (void*)0, 0};
22360 static swig_type_info _swigt__p_wxGridSizeEvent
= {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, (void*)0, 0};
22361 static swig_type_info _swigt__p_wxGridStringTable
= {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, (void*)0, 0};
22362 static swig_type_info _swigt__p_wxGridTableBase
= {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, (void*)0, 0};
22363 static swig_type_info _swigt__p_wxGridTableMessage
= {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, (void*)0, 0};
22364 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
22365 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
22366 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
22367 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
22368 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
22369 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
22370 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
22371 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
22372 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
22373 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
22374 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
22375 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
22376 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
22377 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
22378 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
22379 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
22380 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
22381 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
22382 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
22383 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
22384 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
22385 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
22386 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
22387 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
22388 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
22389 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
22390 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
22391 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
22392 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
22393 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
22394 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
22395 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
22396 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
22397 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
22398 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
22399 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
22400 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
22401 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
22402 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
22403 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
22404 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
22405 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
22406 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
22407 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
22408 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22409 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
22410 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
22411 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
22412 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22413 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
22414 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22415 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
= {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, (void*)0, 0};
22416 static swig_type_info _swigt__p_wxPyGridCellEditor
= {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, (void*)0, 0};
22417 static swig_type_info _swigt__p_wxPyGridCellRenderer
= {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, (void*)0, 0};
22418 static swig_type_info _swigt__p_wxPyGridTableBase
= {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, (void*)0, 0};
22419 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22420 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
22421 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
22422 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
22423 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
22424 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22426 static swig_type_info
*swig_type_initial
[] = {
22428 &_swigt__p_form_ops_t
,
22431 &_swigt__p_unsigned_char
,
22432 &_swigt__p_unsigned_int
,
22433 &_swigt__p_unsigned_long
,
22434 &_swigt__p_wxANIHandler
,
22435 &_swigt__p_wxAcceleratorTable
,
22436 &_swigt__p_wxActivateEvent
,
22437 &_swigt__p_wxArrayString
,
22438 &_swigt__p_wxBMPHandler
,
22439 &_swigt__p_wxBoxSizer
,
22440 &_swigt__p_wxCURHandler
,
22441 &_swigt__p_wxCalculateLayoutEvent
,
22442 &_swigt__p_wxChildFocusEvent
,
22443 &_swigt__p_wxClipboardTextEvent
,
22444 &_swigt__p_wxCloseEvent
,
22445 &_swigt__p_wxColour
,
22446 &_swigt__p_wxColourData
,
22447 &_swigt__p_wxColourDialog
,
22448 &_swigt__p_wxCommandEvent
,
22449 &_swigt__p_wxContextMenuEvent
,
22450 &_swigt__p_wxControl
,
22451 &_swigt__p_wxControlWithItems
,
22453 &_swigt__p_wxDateEvent
,
22454 &_swigt__p_wxDialog
,
22455 &_swigt__p_wxDirDialog
,
22456 &_swigt__p_wxDisplayChangedEvent
,
22457 &_swigt__p_wxDropFilesEvent
,
22458 &_swigt__p_wxDuplexMode
,
22459 &_swigt__p_wxEraseEvent
,
22460 &_swigt__p_wxEvent
,
22461 &_swigt__p_wxEvtHandler
,
22462 &_swigt__p_wxFSFile
,
22463 &_swigt__p_wxFileDialog
,
22464 &_swigt__p_wxFileSystem
,
22465 &_swigt__p_wxFindDialogEvent
,
22466 &_swigt__p_wxFindReplaceData
,
22467 &_swigt__p_wxFindReplaceDialog
,
22468 &_swigt__p_wxFlexGridSizer
,
22469 &_swigt__p_wxFocusEvent
,
22471 &_swigt__p_wxFontData
,
22472 &_swigt__p_wxFontDialog
,
22473 &_swigt__p_wxFrame
,
22474 &_swigt__p_wxGBSizerItem
,
22475 &_swigt__p_wxGIFHandler
,
22477 &_swigt__p_wxGridBagSizer
,
22478 &_swigt__p_wxGridCellAttr
,
22479 &_swigt__p_wxGridCellAttrProvider
,
22480 &_swigt__p_wxGridCellAutoWrapStringEditor
,
22481 &_swigt__p_wxGridCellAutoWrapStringRenderer
,
22482 &_swigt__p_wxGridCellBoolEditor
,
22483 &_swigt__p_wxGridCellBoolRenderer
,
22484 &_swigt__p_wxGridCellChoiceEditor
,
22485 &_swigt__p_wxGridCellCoords
,
22486 &_swigt__p_wxGridCellDateTimeRenderer
,
22487 &_swigt__p_wxGridCellEditor
,
22488 &_swigt__p_wxGridCellEnumEditor
,
22489 &_swigt__p_wxGridCellEnumRenderer
,
22490 &_swigt__p_wxGridCellFloatEditor
,
22491 &_swigt__p_wxGridCellFloatRenderer
,
22492 &_swigt__p_wxGridCellNumberEditor
,
22493 &_swigt__p_wxGridCellNumberRenderer
,
22494 &_swigt__p_wxGridCellRenderer
,
22495 &_swigt__p_wxGridCellStringRenderer
,
22496 &_swigt__p_wxGridCellTextEditor
,
22497 &_swigt__p_wxGridCellWorker
,
22498 &_swigt__p_wxGridEditorCreatedEvent
,
22499 &_swigt__p_wxGridEvent
,
22500 &_swigt__p_wxGridRangeSelectEvent
,
22501 &_swigt__p_wxGridSizeEvent
,
22502 &_swigt__p_wxGridSizer
,
22503 &_swigt__p_wxGridStringTable
,
22504 &_swigt__p_wxGridTableBase
,
22505 &_swigt__p_wxGridTableMessage
,
22506 &_swigt__p_wxICOHandler
,
22507 &_swigt__p_wxIconizeEvent
,
22508 &_swigt__p_wxIdleEvent
,
22509 &_swigt__p_wxImage
,
22510 &_swigt__p_wxImageHandler
,
22511 &_swigt__p_wxIndividualLayoutConstraint
,
22512 &_swigt__p_wxInitDialogEvent
,
22513 &_swigt__p_wxJPEGHandler
,
22514 &_swigt__p_wxKeyEvent
,
22515 &_swigt__p_wxLayoutAlgorithm
,
22516 &_swigt__p_wxLayoutConstraints
,
22517 &_swigt__p_wxMDIChildFrame
,
22518 &_swigt__p_wxMDIClientWindow
,
22519 &_swigt__p_wxMDIParentFrame
,
22520 &_swigt__p_wxMaximizeEvent
,
22522 &_swigt__p_wxMenuBar
,
22523 &_swigt__p_wxMenuEvent
,
22524 &_swigt__p_wxMenuItem
,
22525 &_swigt__p_wxMessageDialog
,
22526 &_swigt__p_wxMiniFrame
,
22527 &_swigt__p_wxMouseCaptureChangedEvent
,
22528 &_swigt__p_wxMouseCaptureLostEvent
,
22529 &_swigt__p_wxMouseEvent
,
22530 &_swigt__p_wxMoveEvent
,
22531 &_swigt__p_wxMultiChoiceDialog
,
22532 &_swigt__p_wxNavigationKeyEvent
,
22533 &_swigt__p_wxNcPaintEvent
,
22534 &_swigt__p_wxNotifyEvent
,
22535 &_swigt__p_wxNumberEntryDialog
,
22536 &_swigt__p_wxObject
,
22537 &_swigt__p_wxPCXHandler
,
22538 &_swigt__p_wxPNGHandler
,
22539 &_swigt__p_wxPNMHandler
,
22540 &_swigt__p_wxPageSetupDialog
,
22541 &_swigt__p_wxPageSetupDialogData
,
22542 &_swigt__p_wxPaintEvent
,
22543 &_swigt__p_wxPaletteChangedEvent
,
22544 &_swigt__p_wxPanel
,
22545 &_swigt__p_wxPaperSize
,
22546 &_swigt__p_wxPasswordEntryDialog
,
22548 &_swigt__p_wxPoint
,
22549 &_swigt__p_wxPopupWindow
,
22550 &_swigt__p_wxPreviewCanvas
,
22551 &_swigt__p_wxPreviewControlBar
,
22552 &_swigt__p_wxPreviewFrame
,
22553 &_swigt__p_wxPrintData
,
22554 &_swigt__p_wxPrintDialog
,
22555 &_swigt__p_wxPrintDialogData
,
22556 &_swigt__p_wxPrintPreview
,
22557 &_swigt__p_wxPrinter
,
22558 &_swigt__p_wxProgressDialog
,
22559 &_swigt__p_wxPyApp
,
22560 &_swigt__p_wxPyCommandEvent
,
22561 &_swigt__p_wxPyEvent
,
22562 &_swigt__p_wxPyGridCellAttrProvider
,
22563 &_swigt__p_wxPyGridCellEditor
,
22564 &_swigt__p_wxPyGridCellRenderer
,
22565 &_swigt__p_wxPyGridTableBase
,
22566 &_swigt__p_wxPyHtmlListBox
,
22567 &_swigt__p_wxPyImageHandler
,
22568 &_swigt__p_wxPyPanel
,
22569 &_swigt__p_wxPyPopupTransientWindow
,
22570 &_swigt__p_wxPyPreviewControlBar
,
22571 &_swigt__p_wxPyPreviewFrame
,
22572 &_swigt__p_wxPyPrintPreview
,
22573 &_swigt__p_wxPyPrintout
,
22574 &_swigt__p_wxPyScrolledWindow
,
22575 &_swigt__p_wxPySizer
,
22576 &_swigt__p_wxPyTaskBarIcon
,
22577 &_swigt__p_wxPyVListBox
,
22578 &_swigt__p_wxPyVScrolledWindow
,
22579 &_swigt__p_wxPyValidator
,
22580 &_swigt__p_wxPyWindow
,
22581 &_swigt__p_wxQueryLayoutInfoEvent
,
22582 &_swigt__p_wxQueryNewPaletteEvent
,
22584 &_swigt__p_wxSashEvent
,
22585 &_swigt__p_wxSashLayoutWindow
,
22586 &_swigt__p_wxSashWindow
,
22587 &_swigt__p_wxScrollEvent
,
22588 &_swigt__p_wxScrollWinEvent
,
22589 &_swigt__p_wxScrolledWindow
,
22590 &_swigt__p_wxSetCursorEvent
,
22591 &_swigt__p_wxShowEvent
,
22592 &_swigt__p_wxSimpleHtmlListBox
,
22593 &_swigt__p_wxSingleChoiceDialog
,
22595 &_swigt__p_wxSizeEvent
,
22596 &_swigt__p_wxSizer
,
22597 &_swigt__p_wxSizerItem
,
22598 &_swigt__p_wxSplashScreen
,
22599 &_swigt__p_wxSplashScreenWindow
,
22600 &_swigt__p_wxSplitterEvent
,
22601 &_swigt__p_wxSplitterWindow
,
22602 &_swigt__p_wxStaticBoxSizer
,
22603 &_swigt__p_wxStatusBar
,
22604 &_swigt__p_wxStdDialogButtonSizer
,
22605 &_swigt__p_wxString
,
22606 &_swigt__p_wxSysColourChangedEvent
,
22607 &_swigt__p_wxTGAHandler
,
22608 &_swigt__p_wxTIFFHandler
,
22609 &_swigt__p_wxTaskBarIconEvent
,
22610 &_swigt__p_wxTextEntryDialog
,
22611 &_swigt__p_wxTipWindow
,
22612 &_swigt__p_wxTopLevelWindow
,
22613 &_swigt__p_wxUpdateUIEvent
,
22614 &_swigt__p_wxValidator
,
22615 &_swigt__p_wxVisualAttributes
,
22616 &_swigt__p_wxWindow
,
22617 &_swigt__p_wxWindowCreateEvent
,
22618 &_swigt__p_wxWindowDestroyEvent
,
22619 &_swigt__p_wxXPMHandler
,
22622 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
22623 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
22624 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
22625 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
22626 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
22627 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
22628 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
22629 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
22630 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
22631 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
22632 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22633 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
22634 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
22635 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
22636 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
22637 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22638 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22639 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22640 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22641 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22642 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
22643 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}};
22644 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
22645 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}};
22646 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
22647 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
22648 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22649 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22650 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22651 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22652 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
22653 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22654 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22655 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
22656 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
22657 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
22658 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
22659 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22660 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22661 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22662 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22663 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
22664 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22665 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22666 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22667 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22668 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22669 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22670 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
22671 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22672 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
22673 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
22674 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22675 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
22676 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
22677 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}};
22678 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
22679 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
22680 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
22681 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
22682 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
22683 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
22684 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22685 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22686 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
22687 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22688 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
22689 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
22690 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22691 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22692 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22693 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
22694 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
22695 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
22696 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
22697 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
22698 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22699 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22700 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22701 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
22702 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
22703 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22704 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
22705 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22706 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22707 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
22708 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
22709 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
22710 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
22711 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = {{&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
22712 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
22713 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
22714 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22715 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22716 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
22717 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
22718 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
22719 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
22720 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
22721 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
22722 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
22723 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
22724 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}};
22725 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
22726 static swig_cast_info _swigc__p_wxGrid
[] = { {&_swigt__p_wxGrid
, 0, 0, 0},{0, 0, 0, 0}};
22727 static swig_cast_info _swigc__p_wxGridCellAttr
[] = { {&_swigt__p_wxGridCellAttr
, 0, 0, 0},{0, 0, 0, 0}};
22728 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}};
22729 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor
[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor
, 0, 0, 0},{0, 0, 0, 0}};
22730 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer
[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22731 static swig_cast_info _swigc__p_wxGridCellBoolEditor
[] = { {&_swigt__p_wxGridCellBoolEditor
, 0, 0, 0},{0, 0, 0, 0}};
22732 static swig_cast_info _swigc__p_wxGridCellBoolRenderer
[] = { {&_swigt__p_wxGridCellBoolRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22733 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}};
22734 static swig_cast_info _swigc__p_wxGridCellCoords
[] = { {&_swigt__p_wxGridCellCoords
, 0, 0, 0},{0, 0, 0, 0}};
22735 static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer
[] = { {&_swigt__p_wxGridCellDateTimeRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22736 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}};
22737 static swig_cast_info _swigc__p_wxGridCellEnumEditor
[] = { {&_swigt__p_wxGridCellEnumEditor
, 0, 0, 0},{0, 0, 0, 0}};
22738 static swig_cast_info _swigc__p_wxGridCellEnumRenderer
[] = { {&_swigt__p_wxGridCellEnumRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22739 static swig_cast_info _swigc__p_wxGridCellFloatEditor
[] = { {&_swigt__p_wxGridCellFloatEditor
, 0, 0, 0},{0, 0, 0, 0}};
22740 static swig_cast_info _swigc__p_wxGridCellFloatRenderer
[] = { {&_swigt__p_wxGridCellFloatRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22741 static swig_cast_info _swigc__p_wxGridCellNumberEditor
[] = { {&_swigt__p_wxGridCellNumberEditor
, 0, 0, 0},{0, 0, 0, 0}};
22742 static swig_cast_info _swigc__p_wxGridCellNumberRenderer
[] = { {&_swigt__p_wxGridCellNumberRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22743 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}};
22744 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}};
22745 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}};
22746 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}};
22747 static swig_cast_info _swigc__p_wxGridEditorCreatedEvent
[] = { {&_swigt__p_wxGridEditorCreatedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22748 static swig_cast_info _swigc__p_wxGridEvent
[] = { {&_swigt__p_wxGridEvent
, 0, 0, 0},{0, 0, 0, 0}};
22749 static swig_cast_info _swigc__p_wxGridRangeSelectEvent
[] = { {&_swigt__p_wxGridRangeSelectEvent
, 0, 0, 0},{0, 0, 0, 0}};
22750 static swig_cast_info _swigc__p_wxGridSizeEvent
[] = { {&_swigt__p_wxGridSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22751 static swig_cast_info _swigc__p_wxGridStringTable
[] = { {&_swigt__p_wxGridStringTable
, 0, 0, 0},{0, 0, 0, 0}};
22752 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}};
22753 static swig_cast_info _swigc__p_wxGridTableMessage
[] = { {&_swigt__p_wxGridTableMessage
, 0, 0, 0},{0, 0, 0, 0}};
22754 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22755 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}};
22756 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
22757 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22758 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22759 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
22760 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22761 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22762 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22763 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
22764 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
22765 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
22766 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22767 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22768 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
22769 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
22770 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
22771 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
22772 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
22773 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
22774 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
22775 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22776 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
22777 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22778 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22779 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22780 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
22781 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
22782 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
22783 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
22784 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22785 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22786 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22787 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22788 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
22789 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
22790 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
22791 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
22792 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
22793 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22794 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22795 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
22796 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
22797 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
22798 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22799 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22800 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}};
22801 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}};
22802 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
22803 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
22804 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
22805 static swig_cast_info _swigc__p_wxPyGridCellAttrProvider
[] = { {&_swigt__p_wxPyGridCellAttrProvider
, 0, 0, 0},{0, 0, 0, 0}};
22806 static swig_cast_info _swigc__p_wxPyGridCellEditor
[] = { {&_swigt__p_wxPyGridCellEditor
, 0, 0, 0},{0, 0, 0, 0}};
22807 static swig_cast_info _swigc__p_wxPyGridCellRenderer
[] = { {&_swigt__p_wxPyGridCellRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22808 static swig_cast_info _swigc__p_wxPyGridTableBase
[] = { {&_swigt__p_wxPyGridTableBase
, 0, 0, 0},{0, 0, 0, 0}};
22809 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
22810 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}};
22811 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
22812 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
22813 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
22814 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}};
22816 static swig_cast_info
*swig_cast_initial
[] = {
22818 _swigc__p_form_ops_t
,
22821 _swigc__p_unsigned_char
,
22822 _swigc__p_unsigned_int
,
22823 _swigc__p_unsigned_long
,
22824 _swigc__p_wxANIHandler
,
22825 _swigc__p_wxAcceleratorTable
,
22826 _swigc__p_wxActivateEvent
,
22827 _swigc__p_wxArrayString
,
22828 _swigc__p_wxBMPHandler
,
22829 _swigc__p_wxBoxSizer
,
22830 _swigc__p_wxCURHandler
,
22831 _swigc__p_wxCalculateLayoutEvent
,
22832 _swigc__p_wxChildFocusEvent
,
22833 _swigc__p_wxClipboardTextEvent
,
22834 _swigc__p_wxCloseEvent
,
22835 _swigc__p_wxColour
,
22836 _swigc__p_wxColourData
,
22837 _swigc__p_wxColourDialog
,
22838 _swigc__p_wxCommandEvent
,
22839 _swigc__p_wxContextMenuEvent
,
22840 _swigc__p_wxControl
,
22841 _swigc__p_wxControlWithItems
,
22843 _swigc__p_wxDateEvent
,
22844 _swigc__p_wxDialog
,
22845 _swigc__p_wxDirDialog
,
22846 _swigc__p_wxDisplayChangedEvent
,
22847 _swigc__p_wxDropFilesEvent
,
22848 _swigc__p_wxDuplexMode
,
22849 _swigc__p_wxEraseEvent
,
22851 _swigc__p_wxEvtHandler
,
22852 _swigc__p_wxFSFile
,
22853 _swigc__p_wxFileDialog
,
22854 _swigc__p_wxFileSystem
,
22855 _swigc__p_wxFindDialogEvent
,
22856 _swigc__p_wxFindReplaceData
,
22857 _swigc__p_wxFindReplaceDialog
,
22858 _swigc__p_wxFlexGridSizer
,
22859 _swigc__p_wxFocusEvent
,
22861 _swigc__p_wxFontData
,
22862 _swigc__p_wxFontDialog
,
22864 _swigc__p_wxGBSizerItem
,
22865 _swigc__p_wxGIFHandler
,
22867 _swigc__p_wxGridBagSizer
,
22868 _swigc__p_wxGridCellAttr
,
22869 _swigc__p_wxGridCellAttrProvider
,
22870 _swigc__p_wxGridCellAutoWrapStringEditor
,
22871 _swigc__p_wxGridCellAutoWrapStringRenderer
,
22872 _swigc__p_wxGridCellBoolEditor
,
22873 _swigc__p_wxGridCellBoolRenderer
,
22874 _swigc__p_wxGridCellChoiceEditor
,
22875 _swigc__p_wxGridCellCoords
,
22876 _swigc__p_wxGridCellDateTimeRenderer
,
22877 _swigc__p_wxGridCellEditor
,
22878 _swigc__p_wxGridCellEnumEditor
,
22879 _swigc__p_wxGridCellEnumRenderer
,
22880 _swigc__p_wxGridCellFloatEditor
,
22881 _swigc__p_wxGridCellFloatRenderer
,
22882 _swigc__p_wxGridCellNumberEditor
,
22883 _swigc__p_wxGridCellNumberRenderer
,
22884 _swigc__p_wxGridCellRenderer
,
22885 _swigc__p_wxGridCellStringRenderer
,
22886 _swigc__p_wxGridCellTextEditor
,
22887 _swigc__p_wxGridCellWorker
,
22888 _swigc__p_wxGridEditorCreatedEvent
,
22889 _swigc__p_wxGridEvent
,
22890 _swigc__p_wxGridRangeSelectEvent
,
22891 _swigc__p_wxGridSizeEvent
,
22892 _swigc__p_wxGridSizer
,
22893 _swigc__p_wxGridStringTable
,
22894 _swigc__p_wxGridTableBase
,
22895 _swigc__p_wxGridTableMessage
,
22896 _swigc__p_wxICOHandler
,
22897 _swigc__p_wxIconizeEvent
,
22898 _swigc__p_wxIdleEvent
,
22900 _swigc__p_wxImageHandler
,
22901 _swigc__p_wxIndividualLayoutConstraint
,
22902 _swigc__p_wxInitDialogEvent
,
22903 _swigc__p_wxJPEGHandler
,
22904 _swigc__p_wxKeyEvent
,
22905 _swigc__p_wxLayoutAlgorithm
,
22906 _swigc__p_wxLayoutConstraints
,
22907 _swigc__p_wxMDIChildFrame
,
22908 _swigc__p_wxMDIClientWindow
,
22909 _swigc__p_wxMDIParentFrame
,
22910 _swigc__p_wxMaximizeEvent
,
22912 _swigc__p_wxMenuBar
,
22913 _swigc__p_wxMenuEvent
,
22914 _swigc__p_wxMenuItem
,
22915 _swigc__p_wxMessageDialog
,
22916 _swigc__p_wxMiniFrame
,
22917 _swigc__p_wxMouseCaptureChangedEvent
,
22918 _swigc__p_wxMouseCaptureLostEvent
,
22919 _swigc__p_wxMouseEvent
,
22920 _swigc__p_wxMoveEvent
,
22921 _swigc__p_wxMultiChoiceDialog
,
22922 _swigc__p_wxNavigationKeyEvent
,
22923 _swigc__p_wxNcPaintEvent
,
22924 _swigc__p_wxNotifyEvent
,
22925 _swigc__p_wxNumberEntryDialog
,
22926 _swigc__p_wxObject
,
22927 _swigc__p_wxPCXHandler
,
22928 _swigc__p_wxPNGHandler
,
22929 _swigc__p_wxPNMHandler
,
22930 _swigc__p_wxPageSetupDialog
,
22931 _swigc__p_wxPageSetupDialogData
,
22932 _swigc__p_wxPaintEvent
,
22933 _swigc__p_wxPaletteChangedEvent
,
22935 _swigc__p_wxPaperSize
,
22936 _swigc__p_wxPasswordEntryDialog
,
22939 _swigc__p_wxPopupWindow
,
22940 _swigc__p_wxPreviewCanvas
,
22941 _swigc__p_wxPreviewControlBar
,
22942 _swigc__p_wxPreviewFrame
,
22943 _swigc__p_wxPrintData
,
22944 _swigc__p_wxPrintDialog
,
22945 _swigc__p_wxPrintDialogData
,
22946 _swigc__p_wxPrintPreview
,
22947 _swigc__p_wxPrinter
,
22948 _swigc__p_wxProgressDialog
,
22950 _swigc__p_wxPyCommandEvent
,
22951 _swigc__p_wxPyEvent
,
22952 _swigc__p_wxPyGridCellAttrProvider
,
22953 _swigc__p_wxPyGridCellEditor
,
22954 _swigc__p_wxPyGridCellRenderer
,
22955 _swigc__p_wxPyGridTableBase
,
22956 _swigc__p_wxPyHtmlListBox
,
22957 _swigc__p_wxPyImageHandler
,
22958 _swigc__p_wxPyPanel
,
22959 _swigc__p_wxPyPopupTransientWindow
,
22960 _swigc__p_wxPyPreviewControlBar
,
22961 _swigc__p_wxPyPreviewFrame
,
22962 _swigc__p_wxPyPrintPreview
,
22963 _swigc__p_wxPyPrintout
,
22964 _swigc__p_wxPyScrolledWindow
,
22965 _swigc__p_wxPySizer
,
22966 _swigc__p_wxPyTaskBarIcon
,
22967 _swigc__p_wxPyVListBox
,
22968 _swigc__p_wxPyVScrolledWindow
,
22969 _swigc__p_wxPyValidator
,
22970 _swigc__p_wxPyWindow
,
22971 _swigc__p_wxQueryLayoutInfoEvent
,
22972 _swigc__p_wxQueryNewPaletteEvent
,
22974 _swigc__p_wxSashEvent
,
22975 _swigc__p_wxSashLayoutWindow
,
22976 _swigc__p_wxSashWindow
,
22977 _swigc__p_wxScrollEvent
,
22978 _swigc__p_wxScrollWinEvent
,
22979 _swigc__p_wxScrolledWindow
,
22980 _swigc__p_wxSetCursorEvent
,
22981 _swigc__p_wxShowEvent
,
22982 _swigc__p_wxSimpleHtmlListBox
,
22983 _swigc__p_wxSingleChoiceDialog
,
22985 _swigc__p_wxSizeEvent
,
22987 _swigc__p_wxSizerItem
,
22988 _swigc__p_wxSplashScreen
,
22989 _swigc__p_wxSplashScreenWindow
,
22990 _swigc__p_wxSplitterEvent
,
22991 _swigc__p_wxSplitterWindow
,
22992 _swigc__p_wxStaticBoxSizer
,
22993 _swigc__p_wxStatusBar
,
22994 _swigc__p_wxStdDialogButtonSizer
,
22995 _swigc__p_wxString
,
22996 _swigc__p_wxSysColourChangedEvent
,
22997 _swigc__p_wxTGAHandler
,
22998 _swigc__p_wxTIFFHandler
,
22999 _swigc__p_wxTaskBarIconEvent
,
23000 _swigc__p_wxTextEntryDialog
,
23001 _swigc__p_wxTipWindow
,
23002 _swigc__p_wxTopLevelWindow
,
23003 _swigc__p_wxUpdateUIEvent
,
23004 _swigc__p_wxValidator
,
23005 _swigc__p_wxVisualAttributes
,
23006 _swigc__p_wxWindow
,
23007 _swigc__p_wxWindowCreateEvent
,
23008 _swigc__p_wxWindowDestroyEvent
,
23009 _swigc__p_wxXPMHandler
,
23013 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23015 static swig_const_info swig_const_table
[] = {
23016 {0, 0, 0, 0.0, 0, 0}};
23021 /* -----------------------------------------------------------------------------
23022 * Type initialization:
23023 * This problem is tough by the requirement that no dynamic
23024 * memory is used. Also, since swig_type_info structures store pointers to
23025 * swig_cast_info structures and swig_cast_info structures store pointers back
23026 * to swig_type_info structures, we need some lookup code at initialization.
23027 * The idea is that swig generates all the structures that are needed.
23028 * The runtime then collects these partially filled structures.
23029 * The SWIG_InitializeModule function takes these initial arrays out of
23030 * swig_module, and does all the lookup, filling in the swig_module.types
23031 * array with the correct data and linking the correct swig_cast_info
23032 * structures together.
23034 * The generated swig_type_info structures are assigned staticly to an initial
23035 * array. We just loop though that array, and handle each type individually.
23036 * First we lookup if this type has been already loaded, and if so, use the
23037 * loaded structure instead of the generated one. Then we have to fill in the
23038 * cast linked list. The cast data is initially stored in something like a
23039 * two-dimensional array. Each row corresponds to a type (there are the same
23040 * number of rows as there are in the swig_type_initial array). Each entry in
23041 * a column is one of the swig_cast_info structures for that type.
23042 * The cast_initial array is actually an array of arrays, because each row has
23043 * a variable number of columns. So to actually build the cast linked list,
23044 * we find the array of casts associated with the type, and loop through it
23045 * adding the casts to the list. The one last trick we need to do is making
23046 * sure the type pointer in the swig_cast_info struct is correct.
23048 * First off, we lookup the cast->type name to see if it is already loaded.
23049 * There are three cases to handle:
23050 * 1) If the cast->type has already been loaded AND the type we are adding
23051 * casting info to has not been loaded (it is in this module), THEN we
23052 * replace the cast->type pointer with the type pointer that has already
23054 * 2) If BOTH types (the one we are adding casting info to, and the
23055 * cast->type) are loaded, THEN the cast info has already been loaded by
23056 * the previous module so we just ignore it.
23057 * 3) Finally, if cast->type has not already been loaded, then we add that
23058 * swig_cast_info to the linked list (because the cast->type) pointer will
23060 * ----------------------------------------------------------------------------- */
23070 #define SWIGRUNTIME_DEBUG
23074 SWIG_InitializeModule(void *clientdata
) {
23076 swig_module_info
*module_head
;
23077 static int init_run
= 0;
23079 clientdata
= clientdata
;
23081 if (init_run
) return;
23084 /* Initialize the swig_module */
23085 swig_module
.type_initial
= swig_type_initial
;
23086 swig_module
.cast_initial
= swig_cast_initial
;
23088 /* Try and load any already created modules */
23089 module_head
= SWIG_GetModule(clientdata
);
23091 swig_module
.next
= module_head
->next
;
23092 module_head
->next
= &swig_module
;
23094 /* This is the first module loaded */
23095 swig_module
.next
= &swig_module
;
23096 SWIG_SetModule(clientdata
, &swig_module
);
23099 /* Now work on filling in swig_module.types */
23100 #ifdef SWIGRUNTIME_DEBUG
23101 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
23103 for (i
= 0; i
< swig_module
.size
; ++i
) {
23104 swig_type_info
*type
= 0;
23105 swig_type_info
*ret
;
23106 swig_cast_info
*cast
;
23108 #ifdef SWIGRUNTIME_DEBUG
23109 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
23112 /* if there is another module already loaded */
23113 if (swig_module
.next
!= &swig_module
) {
23114 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
23117 /* Overwrite clientdata field */
23118 #ifdef SWIGRUNTIME_DEBUG
23119 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
23121 if (swig_module
.type_initial
[i
]->clientdata
) {
23122 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
23123 #ifdef SWIGRUNTIME_DEBUG
23124 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
23128 type
= swig_module
.type_initial
[i
];
23131 /* Insert casting types */
23132 cast
= swig_module
.cast_initial
[i
];
23133 while (cast
->type
) {
23134 /* Don't need to add information already in the list */
23136 #ifdef SWIGRUNTIME_DEBUG
23137 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
23139 if (swig_module
.next
!= &swig_module
) {
23140 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
23141 #ifdef SWIGRUNTIME_DEBUG
23142 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
23146 if (type
== swig_module
.type_initial
[i
]) {
23147 #ifdef SWIGRUNTIME_DEBUG
23148 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
23153 /* Check for casting already in the list */
23154 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
23155 #ifdef SWIGRUNTIME_DEBUG
23156 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
23158 if (!ocast
) ret
= 0;
23163 #ifdef SWIGRUNTIME_DEBUG
23164 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
23167 type
->cast
->prev
= cast
;
23168 cast
->next
= type
->cast
;
23174 /* Set entry in modules->types array equal to the type */
23175 swig_module
.types
[i
] = type
;
23177 swig_module
.types
[i
] = 0;
23179 #ifdef SWIGRUNTIME_DEBUG
23180 printf("**** SWIG_InitializeModule: Cast List ******\n");
23181 for (i
= 0; i
< swig_module
.size
; ++i
) {
23183 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
23184 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
23185 while (cast
->type
) {
23186 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
23190 printf("---- Total casts: %d\n",j
);
23192 printf("**** SWIG_InitializeModule: Cast List ******\n");
23196 /* This function will propagate the clientdata field of type to
23197 * any new swig_type_info structures that have been added into the list
23198 * of equivalent types. It is like calling
23199 * SWIG_TypeClientData(type, clientdata) a second time.
23202 SWIG_PropagateClientData(void) {
23204 swig_cast_info
*equiv
;
23205 static int init_run
= 0;
23207 if (init_run
) return;
23210 for (i
= 0; i
< swig_module
.size
; i
++) {
23211 if (swig_module
.types
[i
]->clientdata
) {
23212 equiv
= swig_module
.types
[i
]->cast
;
23214 if (!equiv
->converter
) {
23215 if (equiv
->type
&& !equiv
->type
->clientdata
)
23216 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
23218 equiv
= equiv
->next
;
23238 /* Python-specific SWIG API */
23239 #define SWIG_newvarlink() SWIG_Python_newvarlink()
23240 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
23241 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
23243 /* -----------------------------------------------------------------------------
23244 * global variable support code.
23245 * ----------------------------------------------------------------------------- */
23247 typedef struct swig_globalvar
{
23248 char *name
; /* Name of global variable */
23249 PyObject
*(*get_attr
)(void); /* Return the current value */
23250 int (*set_attr
)(PyObject
*); /* Set the value */
23251 struct swig_globalvar
*next
;
23254 typedef struct swig_varlinkobject
{
23256 swig_globalvar
*vars
;
23257 } swig_varlinkobject
;
23259 SWIGINTERN PyObject
*
23260 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
23261 return PyString_FromString("<Swig global variables>");
23264 SWIGINTERN PyObject
*
23265 swig_varlink_str(swig_varlinkobject
*v
) {
23266 PyObject
*str
= PyString_FromString("(");
23267 swig_globalvar
*var
;
23268 for (var
= v
->vars
; var
; var
=var
->next
) {
23269 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
23270 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
23272 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
23277 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
23278 PyObject
*str
= swig_varlink_str(v
);
23279 fprintf(fp
,"Swig global variables ");
23280 fprintf(fp
,"%s\n", PyString_AsString(str
));
23286 swig_varlink_dealloc(swig_varlinkobject
*v
) {
23287 swig_globalvar
*var
= v
->vars
;
23289 swig_globalvar
*n
= var
->next
;
23296 SWIGINTERN PyObject
*
23297 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
23298 PyObject
*res
= NULL
;
23299 swig_globalvar
*var
= v
->vars
;
23301 if (strcmp(var
->name
,n
) == 0) {
23302 res
= (*var
->get_attr
)();
23307 if (res
== NULL
&& !PyErr_Occurred()) {
23308 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23314 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
23316 swig_globalvar
*var
= v
->vars
;
23318 if (strcmp(var
->name
,n
) == 0) {
23319 res
= (*var
->set_attr
)(p
);
23324 if (res
== 1 && !PyErr_Occurred()) {
23325 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23330 SWIGINTERN PyTypeObject
*
23331 swig_varlink_type(void) {
23332 static char varlink__doc__
[] = "Swig var link object";
23333 static PyTypeObject varlink_type
;
23334 static int type_init
= 0;
23336 const PyTypeObject tmp
23338 PyObject_HEAD_INIT(NULL
)
23339 0, /* Number of items in variable part (ob_size) */
23340 (char *)"swigvarlink", /* Type name (tp_name) */
23341 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
23342 0, /* Itemsize (tp_itemsize) */
23343 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
23344 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
23345 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
23346 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
23347 0, /* tp_compare */
23348 (reprfunc
) swig_varlink_repr
, /* tp_repr */
23349 0, /* tp_as_number */
23350 0, /* tp_as_sequence */
23351 0, /* tp_as_mapping */
23354 (reprfunc
)swig_varlink_str
, /* tp_str */
23355 0, /* tp_getattro */
23356 0, /* tp_setattro */
23357 0, /* tp_as_buffer */
23359 varlink__doc__
, /* tp_doc */
23360 0, /* tp_traverse */
23362 0, /* tp_richcompare */
23363 0, /* tp_weaklistoffset */
23364 #if PY_VERSION_HEX >= 0x02020000
23365 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
23367 #if PY_VERSION_HEX >= 0x02030000
23370 #ifdef COUNT_ALLOCS
23371 0,0,0,0 /* tp_alloc -> tp_next */
23374 varlink_type
= tmp
;
23375 varlink_type
.ob_type
= &PyType_Type
;
23378 return &varlink_type
;
23381 /* Create a variable linking object for use later */
23382 SWIGINTERN PyObject
*
23383 SWIG_Python_newvarlink(void) {
23384 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
23388 return ((PyObject
*) result
);
23392 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
23393 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
23394 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
23396 size_t size
= strlen(name
)+1;
23397 gv
->name
= (char *)malloc(size
);
23399 strncpy(gv
->name
,name
,size
);
23400 gv
->get_attr
= get_attr
;
23401 gv
->set_attr
= set_attr
;
23402 gv
->next
= v
->vars
;
23408 SWIGINTERN PyObject
*
23410 static PyObject
*_SWIG_globals
= 0;
23411 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
23412 return _SWIG_globals
;
23415 /* -----------------------------------------------------------------------------
23416 * constants/methods manipulation
23417 * ----------------------------------------------------------------------------- */
23419 /* Install Constants */
23421 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
23424 for (i
= 0; constants
[i
].type
; ++i
) {
23425 switch(constants
[i
].type
) {
23426 case SWIG_PY_POINTER
:
23427 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
23429 case SWIG_PY_BINARY
:
23430 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
23437 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
23443 /* -----------------------------------------------------------------------------*/
23444 /* Fix SwigMethods to carry the callback ptrs when needed */
23445 /* -----------------------------------------------------------------------------*/
23448 SWIG_Python_FixMethods(PyMethodDef
*methods
,
23449 swig_const_info
*const_table
,
23450 swig_type_info
**types
,
23451 swig_type_info
**types_initial
) {
23453 for (i
= 0; methods
[i
].ml_name
; ++i
) {
23454 const char *c
= methods
[i
].ml_doc
;
23455 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
23457 swig_const_info
*ci
= 0;
23458 const char *name
= c
+ 10;
23459 for (j
= 0; const_table
[j
].type
; ++j
) {
23460 if (strncmp(const_table
[j
].name
, name
,
23461 strlen(const_table
[j
].name
)) == 0) {
23462 ci
= &(const_table
[j
]);
23467 size_t shift
= (ci
->ptype
) - types
;
23468 swig_type_info
*ty
= types_initial
[shift
];
23469 size_t ldoc
= (c
- methods
[i
].ml_doc
);
23470 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
23471 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
23474 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
23476 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
23478 strncpy(buff
, "swig_ptr: ", 10);
23480 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
23481 methods
[i
].ml_doc
= ndoc
;
23493 /* -----------------------------------------------------------------------------*
23494 * Partial Init method
23495 * -----------------------------------------------------------------------------*/
23500 SWIGEXPORT
void SWIG_init(void) {
23503 /* Fix SwigMethods to carry the callback ptrs when needed */
23504 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
23506 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23507 d
= PyModule_GetDict(m
);
23509 SWIG_InitializeModule(0);
23510 SWIG_InstallConstants(d
,swig_const_table
);
23513 SWIG_Python_SetConstant(d
, "GRID_VALUE_STRING",SWIG_FromCharPtr("string"));
23514 SWIG_Python_SetConstant(d
, "GRID_VALUE_BOOL",SWIG_FromCharPtr("bool"));
23515 SWIG_Python_SetConstant(d
, "GRID_VALUE_NUMBER",SWIG_FromCharPtr("long"));
23516 SWIG_Python_SetConstant(d
, "GRID_VALUE_FLOAT",SWIG_FromCharPtr("double"));
23517 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICE",SWIG_FromCharPtr("choice"));
23518 SWIG_Python_SetConstant(d
, "GRID_VALUE_TEXT",SWIG_FromCharPtr("string"));
23519 SWIG_Python_SetConstant(d
, "GRID_VALUE_LONG",SWIG_FromCharPtr("long"));
23520 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICEINT",SWIG_FromCharPtr("choiceint"));
23521 SWIG_Python_SetConstant(d
, "GRID_VALUE_DATETIME",SWIG_FromCharPtr("datetime"));
23522 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
23523 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellCoords",GridNoCellCoords_get
, GridNoCellCoords_set
);
23524 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellRect",GridNoCellRect_get
, GridNoCellRect_set
);
23525 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_ROWS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_ROWS
)));
23526 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_COLS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_COLS
)));
23527 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_HEIGHT
)));
23528 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_WIDTH
)));
23529 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_LABEL_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
23530 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_LABEL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
23531 SWIG_Python_SetConstant(d
, "GRID_LABEL_EDGE_ZONE",SWIG_From_int(static_cast< int >(wxGRID_LABEL_EDGE_ZONE
)));
23532 SWIG_Python_SetConstant(d
, "GRID_MIN_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_MIN_ROW_HEIGHT
)));
23533 SWIG_Python_SetConstant(d
, "GRID_MIN_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_MIN_COL_WIDTH
)));
23534 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_SCROLLBAR_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
23535 SWIG_addvarlink(SWIG_globals(),(char*)"OneString",OneString_get
, OneString_set
);
23536 SWIG_Python_SetConstant(d
, "GridCellAttr_Any",SWIG_From_int(static_cast< int >(wxGridCellAttr::Any
)));
23537 SWIG_Python_SetConstant(d
, "GridCellAttr_Default",SWIG_From_int(static_cast< int >(wxGridCellAttr::Default
)));
23538 SWIG_Python_SetConstant(d
, "GridCellAttr_Cell",SWIG_From_int(static_cast< int >(wxGridCellAttr::Cell
)));
23539 SWIG_Python_SetConstant(d
, "GridCellAttr_Row",SWIG_From_int(static_cast< int >(wxGridCellAttr::Row
)));
23540 SWIG_Python_SetConstant(d
, "GridCellAttr_Col",SWIG_From_int(static_cast< int >(wxGridCellAttr::Col
)));
23541 SWIG_Python_SetConstant(d
, "GridCellAttr_Merged",SWIG_From_int(static_cast< int >(wxGridCellAttr::Merged
)));
23542 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_GET_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
23543 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_SEND_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
23544 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
23545 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
23546 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
23547 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
23548 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
23549 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
23550 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells
)));
23551 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows
)));
23552 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns
)));
23553 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
23554 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
23555 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
23556 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
23557 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
23558 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
23559 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
23560 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
23561 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
23562 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
23563 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
23564 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
23565 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
23566 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
23567 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
23568 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
23569 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));