1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_long swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayString swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[16]
2479 #define SWIGTYPE_p_wxCloseEvent swig_types[17]
2480 #define SWIGTYPE_p_wxColour swig_types[18]
2481 #define SWIGTYPE_p_wxColourData swig_types[19]
2482 #define SWIGTYPE_p_wxColourDialog swig_types[20]
2483 #define SWIGTYPE_p_wxCommandEvent swig_types[21]
2484 #define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
2485 #define SWIGTYPE_p_wxControl swig_types[23]
2486 #define SWIGTYPE_p_wxControlWithItems swig_types[24]
2487 #define SWIGTYPE_p_wxDC swig_types[25]
2488 #define SWIGTYPE_p_wxDateEvent swig_types[26]
2489 #define SWIGTYPE_p_wxDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDirDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDropFilesEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDuplexMode swig_types[31]
2494 #define SWIGTYPE_p_wxEraseEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvtHandler swig_types[34]
2497 #define SWIGTYPE_p_wxFSFile swig_types[35]
2498 #define SWIGTYPE_p_wxFileDialog swig_types[36]
2499 #define SWIGTYPE_p_wxFileSystem swig_types[37]
2500 #define SWIGTYPE_p_wxFindDialogEvent swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceData swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[40]
2503 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2504 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
2505 #define SWIGTYPE_p_wxFont swig_types[43]
2506 #define SWIGTYPE_p_wxFontData swig_types[44]
2507 #define SWIGTYPE_p_wxFontDialog swig_types[45]
2508 #define SWIGTYPE_p_wxFrame swig_types[46]
2509 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2510 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
2511 #define SWIGTYPE_p_wxGrid swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridCellAttr swig_types[51]
2514 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[52]
2515 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[53]
2516 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[54]
2517 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[55]
2518 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[56]
2519 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[57]
2520 #define SWIGTYPE_p_wxGridCellCoords swig_types[58]
2521 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[59]
2522 #define SWIGTYPE_p_wxGridCellEditor swig_types[60]
2523 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[61]
2524 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[62]
2525 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[63]
2526 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[64]
2527 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[65]
2528 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[66]
2529 #define SWIGTYPE_p_wxGridCellRenderer swig_types[67]
2530 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[68]
2531 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[69]
2532 #define SWIGTYPE_p_wxGridCellWorker swig_types[70]
2533 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[71]
2534 #define SWIGTYPE_p_wxGridEvent swig_types[72]
2535 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[73]
2536 #define SWIGTYPE_p_wxGridSizeEvent swig_types[74]
2537 #define SWIGTYPE_p_wxGridSizer swig_types[75]
2538 #define SWIGTYPE_p_wxGridStringTable swig_types[76]
2539 #define SWIGTYPE_p_wxGridTableBase swig_types[77]
2540 #define SWIGTYPE_p_wxGridTableMessage swig_types[78]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[79]
2542 #define SWIGTYPE_p_wxIconizeEvent swig_types[80]
2543 #define SWIGTYPE_p_wxIdleEvent swig_types[81]
2544 #define SWIGTYPE_p_wxImage swig_types[82]
2545 #define SWIGTYPE_p_wxImageHandler swig_types[83]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2548 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2549 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2550 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[88]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2552 #define SWIGTYPE_p_wxMDIChildFrame swig_types[90]
2553 #define SWIGTYPE_p_wxMDIClientWindow swig_types[91]
2554 #define SWIGTYPE_p_wxMDIParentFrame swig_types[92]
2555 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2556 #define SWIGTYPE_p_wxMenu swig_types[94]
2557 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2558 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2559 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2560 #define SWIGTYPE_p_wxMessageDialog swig_types[98]
2561 #define SWIGTYPE_p_wxMiniFrame swig_types[99]
2562 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2564 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2565 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[103]
2566 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxNcPaintEvent swig_types[105]
2568 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2569 #define SWIGTYPE_p_wxObject swig_types[107]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2573 #define SWIGTYPE_p_wxPageSetupDialog swig_types[111]
2574 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[112]
2575 #define SWIGTYPE_p_wxPaintEvent swig_types[113]
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[114]
2577 #define SWIGTYPE_p_wxPanel swig_types[115]
2578 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2579 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[117]
2580 #define SWIGTYPE_p_wxPoint swig_types[118]
2581 #define SWIGTYPE_p_wxPopupWindow swig_types[119]
2582 #define SWIGTYPE_p_wxPreviewCanvas swig_types[120]
2583 #define SWIGTYPE_p_wxPreviewControlBar swig_types[121]
2584 #define SWIGTYPE_p_wxPreviewFrame swig_types[122]
2585 #define SWIGTYPE_p_wxPrintData swig_types[123]
2586 #define SWIGTYPE_p_wxPrintDialog swig_types[124]
2587 #define SWIGTYPE_p_wxPrintDialogData swig_types[125]
2588 #define SWIGTYPE_p_wxPrintPreview swig_types[126]
2589 #define SWIGTYPE_p_wxPrinter swig_types[127]
2590 #define SWIGTYPE_p_wxProgressDialog swig_types[128]
2591 #define SWIGTYPE_p_wxPyApp swig_types[129]
2592 #define SWIGTYPE_p_wxPyCommandEvent swig_types[130]
2593 #define SWIGTYPE_p_wxPyEvent swig_types[131]
2594 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[132]
2595 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[133]
2596 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[134]
2597 #define SWIGTYPE_p_wxPyGridTableBase swig_types[135]
2598 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[136]
2599 #define SWIGTYPE_p_wxPyImageHandler swig_types[137]
2600 #define SWIGTYPE_p_wxPyPanel swig_types[138]
2601 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[139]
2602 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[140]
2603 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[141]
2604 #define SWIGTYPE_p_wxPyPrintPreview swig_types[142]
2605 #define SWIGTYPE_p_wxPyPrintout swig_types[143]
2606 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[144]
2607 #define SWIGTYPE_p_wxPySizer swig_types[145]
2608 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[146]
2609 #define SWIGTYPE_p_wxPyVListBox swig_types[147]
2610 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[148]
2611 #define SWIGTYPE_p_wxPyValidator swig_types[149]
2612 #define SWIGTYPE_p_wxPyWindow swig_types[150]
2613 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[151]
2614 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[152]
2615 #define SWIGTYPE_p_wxRect swig_types[153]
2616 #define SWIGTYPE_p_wxSashEvent swig_types[154]
2617 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[155]
2618 #define SWIGTYPE_p_wxSashWindow swig_types[156]
2619 #define SWIGTYPE_p_wxScrollEvent swig_types[157]
2620 #define SWIGTYPE_p_wxScrollWinEvent swig_types[158]
2621 #define SWIGTYPE_p_wxScrolledWindow swig_types[159]
2622 #define SWIGTYPE_p_wxSetCursorEvent swig_types[160]
2623 #define SWIGTYPE_p_wxShowEvent swig_types[161]
2624 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[162]
2625 #define SWIGTYPE_p_wxSizeEvent swig_types[163]
2626 #define SWIGTYPE_p_wxSizer swig_types[164]
2627 #define SWIGTYPE_p_wxSizerItem swig_types[165]
2628 #define SWIGTYPE_p_wxSplashScreen swig_types[166]
2629 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[167]
2630 #define SWIGTYPE_p_wxSplitterEvent swig_types[168]
2631 #define SWIGTYPE_p_wxSplitterWindow swig_types[169]
2632 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[170]
2633 #define SWIGTYPE_p_wxStatusBar swig_types[171]
2634 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[172]
2635 #define SWIGTYPE_p_wxString swig_types[173]
2636 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[174]
2637 #define SWIGTYPE_p_wxTIFFHandler swig_types[175]
2638 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[176]
2639 #define SWIGTYPE_p_wxTextEntryDialog swig_types[177]
2640 #define SWIGTYPE_p_wxTipWindow swig_types[178]
2641 #define SWIGTYPE_p_wxTopLevelWindow swig_types[179]
2642 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[180]
2643 #define SWIGTYPE_p_wxValidator swig_types[181]
2644 #define SWIGTYPE_p_wxVisualAttributes swig_types[182]
2645 #define SWIGTYPE_p_wxWindow swig_types[183]
2646 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[184]
2647 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[185]
2648 #define SWIGTYPE_p_wxXPMHandler swig_types[186]
2649 static swig_type_info
*swig_types
[188];
2650 static swig_module_info swig_module
= {swig_types
, 187, 0, 0, 0, 0};
2651 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2652 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2654 /* -------- TYPES TABLE (END) -------- */
2656 #if (PY_VERSION_HEX <= 0x02000000)
2657 # if !defined(SWIG_PYTHON_CLASSIC)
2658 # error "This python version requires to use swig with the '-classic' option"
2661 #if (PY_VERSION_HEX <= 0x02020000)
2662 # error "This python version requires to use swig with the '-nomodern' option"
2664 #if (PY_VERSION_HEX <= 0x02020000)
2665 # error "This python version requires to use swig with the '-nomodernargs' option"
2668 # error "This python version requires to use swig with the '-nofastunpack' option"
2671 /*-----------------------------------------------
2672 @(target):= _grid.so
2673 ------------------------------------------------*/
2674 #define SWIG_init init_grid
2676 #define SWIG_name "_grid"
2678 #define SWIGVERSION 0x010329
2681 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2682 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2685 #include <stdexcept>
2689 class PyObject_ptr
{
2694 PyObject_ptr() :_obj(0)
2698 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2703 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2705 if (initial_ref
) Py_XINCREF(_obj
);
2708 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2710 Py_XINCREF(item
._obj
);
2721 operator PyObject
*() const
2726 PyObject
*operator->() const
2735 struct PyObject_var
: PyObject_ptr
{
2736 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2738 PyObject_var
& operator = (PyObject
* obj
)
2748 #include "wx/wxPython/wxPython.h"
2749 #include "wx/wxPython/pyclasses.h"
2750 #include "wx/wxPython/printfw.h"
2752 #include <wx/grid.h>
2753 #include <wx/generic/gridctrl.h>
2756 static const wxString
wxPyEmptyString(wxEmptyString
);
2757 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2758 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2761 #define wxPyMake_TEMPLATE(TYPE) \
2762 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
2763 PyObject* target = NULL; \
2765 /* Check if there is already a pointer to a Python object in the \
2766 OOR data that we can use. */ \
2767 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
2769 target = data->m_obj; \
2771 Py_INCREF(target); \
2773 /* Otherwise make a new wrapper for it the old fashioned way and \
2774 give it the OOR treatment */ \
2776 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
2778 source->SetClientObject(new wxPyOORClientData(target)); \
2780 } else { /* source was NULL so return None. */ \
2781 Py_INCREF(Py_None); target = Py_None; \
2787 wxPyMake_TEMPLATE(wxGridCellRenderer)
2788 wxPyMake_TEMPLATE(wxGridCellEditor
)
2789 wxPyMake_TEMPLATE(wxGridCellAttr
)
2790 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
2791 wxPyMake_TEMPLATE(wxGridTableBase
)
2795 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
2796 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
2797 wxGridCellAttr* rval = NULL; \
2799 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2800 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2802 wxGridCellAttr* ptr; \
2803 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
2805 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
2810 wxPyEndBlockThreads(blocked); \
2812 rval = PCLASS::CBNAME(a, b, c); \
2817 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
2818 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
2819 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2821 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2822 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
2823 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
2826 wxPyEndBlockThreads(blocked); \
2828 PCLASS::CBNAME(attr, a, b); \
2833 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
2834 void CBNAME(wxGridCellAttr *attr, int val) { \
2835 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2837 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2838 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
2839 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
2842 wxPyEndBlockThreads(blocked); \
2844 PCLASS::CBNAME(attr, val); \
2849 #define PYCALLBACK_INT__pure(CBNAME) \
2851 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2853 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
2854 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
2855 wxPyEndBlockThreads(blocked); \
2861 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
2862 bool CBNAME(int a, int b) { \
2863 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2865 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
2866 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
2867 wxPyEndBlockThreads(blocked); \
2872 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
2873 wxString CBNAME(int a, int b) { \
2874 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2876 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
2878 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2880 rval = Py2wxString(ro); \
2884 wxPyEndBlockThreads(blocked); \
2889 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
2890 void CBNAME(int a, int b, const wxString& c) { \
2891 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2892 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
2893 PyObject* s = wx2PyString(c); \
2894 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
2897 wxPyEndBlockThreads(blocked); \
2901 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
2902 wxString CBNAME(int a, int b) { \
2904 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2906 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2908 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2910 rval = Py2wxString(ro); \
2914 wxPyEndBlockThreads(blocked); \
2916 rval = PCLASS::CBNAME(a, b); \
2921 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
2922 bool CBNAME(int a, int b, const wxString& c) { \
2925 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2926 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2927 PyObject* s = wx2PyString(c); \
2928 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
2931 wxPyEndBlockThreads(blocked); \
2933 rval = PCLASS::CBNAME(a,b,c); \
2940 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
2941 long CBNAME(int a, int b) { \
2944 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2945 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2946 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
2947 wxPyEndBlockThreads(blocked); \
2949 rval = PCLASS::CBNAME(a,b); \
2954 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
2955 bool CBNAME(int a, int b) { \
2958 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2959 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2960 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
2961 wxPyEndBlockThreads(blocked); \
2963 rval = PCLASS::CBNAME(a,b); \
2969 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
2970 double CBNAME(int a, int b) { \
2972 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2974 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2976 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2978 PyObject* str = PyObject_Str(ro); \
2979 rval = PyFloat_AsDouble(str); \
2980 Py_DECREF(ro); Py_DECREF(str); \
2983 wxPyEndBlockThreads(blocked); \
2985 rval = PCLASS::CBNAME(a, b); \
2991 #define PYCALLBACK__(PCLASS, CBNAME) \
2994 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2995 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2996 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
2997 wxPyEndBlockThreads(blocked); \
3004 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
3005 bool CBNAME(size_t a, size_t b) { \
3008 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3009 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3010 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
3011 wxPyEndBlockThreads(blocked); \
3013 rval = PCLASS::CBNAME(a,b); \
3019 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
3020 bool CBNAME(size_t a) { \
3023 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3024 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3025 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
3026 wxPyEndBlockThreads(blocked); \
3028 rval = PCLASS::CBNAME(a); \
3033 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
3034 wxString CBNAME(int a) { \
3036 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3038 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3040 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
3042 rval = Py2wxString(ro); \
3046 wxPyEndBlockThreads(blocked); \
3048 rval = PCLASS::CBNAME(a); \
3053 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
3054 void CBNAME(int a, const wxString& c) { \
3056 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3057 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3058 PyObject* s = wx2PyString(c); \
3059 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
3062 wxPyEndBlockThreads(blocked); \
3064 PCLASS::CBNAME(a,c); \
3070 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
3074 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3075 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3076 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
3077 wxPyEndBlockThreads(blocked); \
3079 rval = PCLASS::CBNAME(); \
3085 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
3086 void CBNAME(size_t a, int b) { \
3088 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3089 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3090 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
3091 wxPyEndBlockThreads(blocked); \
3093 PCLASS::CBNAME(a,b); \
3099 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
3100 void CBNAME(int a, int b, long c) { \
3102 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3103 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3104 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
3105 wxPyEndBlockThreads(blocked); \
3107 PCLASS::CBNAME(a,b,c); \
3113 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
3114 void CBNAME(int a, int b, double c) { \
3116 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3117 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3118 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
3119 wxPyEndBlockThreads(blocked); \
3121 PCLASS::CBNAME(a,b,c); \
3126 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
3127 void CBNAME(int a, int b, bool c) { \
3129 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3130 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3131 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
3132 wxPyEndBlockThreads(blocked); \
3134 PCLASS::CBNAME(a,b,c); \
3141 SWIGINTERN swig_type_info
*
3142 SWIG_pchar_descriptor()
3144 static int init
= 0;
3145 static swig_type_info
* info
= 0;
3147 info
= SWIG_TypeQuery("_p_char");
3154 SWIGINTERNINLINE PyObject
*
3155 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3158 if (size
> INT_MAX
) {
3159 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3160 return pchar_descriptor
?
3161 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3163 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3166 return SWIG_Py_Void();
3171 SWIGINTERNINLINE PyObject
*
3172 SWIG_FromCharPtr(const char *cptr
)
3174 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3178 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
3179 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
3180 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
3181 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
3182 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
3183 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
3184 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
3185 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
3186 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
3187 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
3190 #define SWIG_From_long PyInt_FromLong
3193 SWIGINTERNINLINE PyObject
*
3194 SWIG_From_int (int value
)
3196 return SWIG_From_long (value
);
3199 SWIGINTERN
void wxGridCellWorker__setOORInfo(wxGridCellWorker
*self
,PyObject
*_self
){
3200 if (!self
->GetClientObject())
3201 self
->SetClientObject(new wxPyOORClientData(_self
));
3203 SWIGINTERN
void delete_wxGridCellWorker(wxGridCellWorker
*self
){
3206 class wxPyGridCellRenderer
: public wxGridCellRenderer
3209 wxPyGridCellRenderer() : wxGridCellRenderer() {};
3211 // Implement Python callback aware virtual methods
3212 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
3213 wxDC
& dc
, const wxRect
& rect
,
3214 int row
, int col
, bool isSelected
) {
3215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3216 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
3217 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
3218 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
3219 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
3220 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
3222 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
3223 row
, col
, isSelected
));
3229 wxPyEndBlockThreads(blocked
);
3232 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
3235 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3236 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
3239 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
3240 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
3241 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
3243 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
3251 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
3252 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
3255 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
3256 PyObject
* o1
= PySequence_GetItem(ro
, 0);
3257 PyObject
* o2
= PySequence_GetItem(ro
, 1);
3258 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
3259 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3261 PyErr_SetString(PyExc_TypeError
, errmsg
);
3266 PyErr_SetString(PyExc_TypeError
, errmsg
);
3271 wxPyEndBlockThreads(blocked
);
3276 wxGridCellRenderer
*Clone() const {
3277 wxGridCellRenderer
* rval
= NULL
;
3278 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3279 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3281 wxGridCellRenderer
* ptr
;
3282 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3284 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
3289 wxPyEndBlockThreads(blocked
);
3293 DEC_PYCALLBACK__STRING(SetParameters
);
3298 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
3304 # define LLONG_MIN LONG_LONG_MIN
3307 # define LLONG_MAX LONG_LONG_MAX
3310 # define ULLONG_MAX ULONG_LONG_MAX
3315 SWIG_AsVal_long (PyObject
* obj
, long* val
)
3317 if (PyNumber_Check(obj
)) {
3318 if (val
) *val
= PyInt_AsLong(obj
);
3321 return SWIG_TypeError
;
3326 SWIG_AsVal_int (PyObject
* obj
, int *val
)
3329 int res
= SWIG_AsVal_long (obj
, &v
);
3330 if (SWIG_IsOK(res
)) {
3331 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
3332 return SWIG_OverflowError
;
3334 if (val
) *val
= static_cast< int >(v
);
3342 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3344 if (obj
== Py_True
) {
3345 if (val
) *val
= true;
3347 } else if (obj
== Py_False
) {
3348 if (val
) *val
= false;
3352 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3353 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3359 class wxPyGridCellEditor
: public wxGridCellEditor
3362 wxPyGridCellEditor() : wxGridCellEditor() {}
3364 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
3365 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3366 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
3367 PyObject
* po
= wxPyMake_wxObject(parent
,false);
3368 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
3370 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
3374 wxPyEndBlockThreads(blocked
);
3378 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
3379 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3380 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
3381 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3382 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3385 wxPyEndBlockThreads(blocked
);
3389 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
3391 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3392 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
3393 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3394 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3397 wxPyEndBlockThreads(blocked
);
3402 wxGridCellEditor
* Clone() const {
3403 wxGridCellEditor
* rval
= NULL
;
3404 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3405 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3407 wxGridCellEditor
* ptr
;
3408 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3410 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
3415 wxPyEndBlockThreads(blocked
);
3420 void Show(bool show
, wxGridCellAttr
*attr
) {
3422 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3423 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
3424 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3425 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
3428 wxPyEndBlockThreads(blocked
);
3430 wxGridCellEditor::Show(show
, attr
);
3434 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
3436 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3437 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
3438 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3439 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
3441 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
3446 wxPyEndBlockThreads(blocked
);
3448 wxGridCellEditor::PaintBackground(rectCell
, attr
);
3452 DEC_PYCALLBACK___pure(Reset
);
3453 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
3454 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
3455 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
3456 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
3457 DEC_PYCALLBACK__(StartingClick
);
3458 DEC_PYCALLBACK__(Destroy
);
3459 DEC_PYCALLBACK__STRING(SetParameters
);
3460 DEC_PYCALLBACK_STRING__constpure(GetValue
);
3466 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
3467 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
3468 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
3469 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
3470 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
3471 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
3472 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
3473 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
3474 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
3477 SWIGINTERN
void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
3478 if (!self
->GetClientObject())
3479 self
->SetClientObject(new wxPyOORClientData(_self
));
3481 SWIGINTERN
void delete_wxGridCellAttr(wxGridCellAttr
*self
){
3483 SWIGINTERN
void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
3484 if (!self
->GetClientObject())
3485 self
->SetClientObject(new wxPyOORClientData(_self
));
3489 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3492 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3493 return SWIG_TypeError
;
3496 *val
= (unsigned long)v
;
3501 SWIGINTERNINLINE
int
3502 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3505 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3506 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3511 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
3514 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
3516 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
3517 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
3518 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
3519 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
3524 SWIGINTERN
void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
3525 if (!self
->GetClientObject())
3526 self
->SetClientObject(new wxPyOORClientData(_self
));
3529 #define SWIG_From_double PyFloat_FromDouble
3533 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3535 if (PyNumber_Check(obj
)) {
3536 if (val
) *val
= PyFloat_AsDouble(obj
);
3539 return SWIG_TypeError
;
3543 class wxPyGridTableBase
: public wxGridTableBase
3546 wxPyGridTableBase() : wxGridTableBase() {}
3548 PYCALLBACK_INT__pure(GetNumberRows
);
3549 PYCALLBACK_INT__pure(GetNumberCols
);
3550 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
3551 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
3552 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
3553 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
3554 PYCALLBACK__(wxGridTableBase
, Clear
);
3555 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
3556 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
3557 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
3558 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
3559 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
3560 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
3561 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
3562 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
3563 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
3564 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
3565 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
3566 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
3567 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
3568 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
3569 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
3572 wxString
GetValue(int row
, int col
) {
3573 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3575 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3577 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
3579 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
3581 ro
= PyObject_Str(ro
);
3584 rval
= Py2wxString(ro
);
3588 wxPyEndBlockThreads(blocked
);
3592 void SetValue(int row
, int col
, const wxString
& val
) {
3593 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3594 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3595 PyObject
* s
= wx2PyString(val
);
3596 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
3599 wxPyEndBlockThreads(blocked
);
3603 // Map the Get/Set methods for the standard non-string types to
3604 // the GetValue and SetValue python methods.
3605 long GetValueAsLong( int row
, int col
) {
3607 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3608 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3611 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3612 if (ro
&& PyNumber_Check(ro
)) {
3613 num
= PyNumber_Int(ro
);
3615 rval
= PyInt_AsLong(num
);
3621 wxPyEndBlockThreads(blocked
);
3625 double GetValueAsDouble( int row
, int col
) {
3627 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3628 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3631 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3632 if (ro
&& PyNumber_Check(ro
)) {
3633 num
= PyNumber_Float(ro
);
3635 rval
= PyFloat_AsDouble(num
);
3641 wxPyEndBlockThreads(blocked
);
3645 bool GetValueAsBool( int row
, int col
) {
3646 return (bool)GetValueAsLong(row
, col
);
3649 void SetValueAsLong( int row
, int col
, long value
) {
3650 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3651 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3652 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
3654 wxPyEndBlockThreads(blocked
);
3657 void SetValueAsDouble( int row
, int col
, double value
) {
3658 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3659 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3660 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
3662 wxPyEndBlockThreads(blocked
);
3665 void SetValueAsBool( int row
, int col
, bool value
) {
3666 SetValueAsLong( row
, col
, (long)value
);
3673 SWIGINTERN
void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
3675 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
3677 if (source
== Py_None
) {
3678 **obj
= wxGridCellCoords(-1,-1);
3682 // If source is an object instance then it may already be the right type
3683 if (wxPySwigInstance_Check(source
)) {
3684 wxGridCellCoords
* ptr
;
3685 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3690 // otherwise a 2-tuple of integers is expected
3691 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
3692 PyObject
* o1
= PySequence_GetItem(source
, 0);
3693 PyObject
* o2
= PySequence_GetItem(source
, 1);
3694 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
3699 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3706 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
3711 bool wxGridCellCoords_typecheck(PyObject
* source
) {
3714 if (wxPySwigInstance_Check(source
) &&
3715 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3719 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
3726 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
3728 PyObject
* list
= PyList_New(0);
3730 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
3731 wxGridCellCoords
& coord
= source
.Item(idx
);
3732 PyObject
* tup
= PyTuple_New(2);
3733 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
3734 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
3735 PyList_Append(list
, tup
);
3741 SWIGINTERN
bool wxGridCellCoords___eq__(wxGridCellCoords
*self
,PyObject
*other
){
3742 wxGridCellCoords temp
, *obj
= &temp
;
3743 if ( other
== Py_None
) return false;
3744 if ( ! wxGridCellCoords_helper(other
, &obj
) ) {
3748 return self
->operator==(*obj
);
3750 SWIGINTERN
bool wxGridCellCoords___ne__(wxGridCellCoords
*self
,PyObject
*other
){
3751 wxGridCellCoords temp
, *obj
= &temp
;
3752 if ( other
== Py_None
) return true;
3753 if ( ! wxGridCellCoords_helper(other
, &obj
)) {
3757 return self
->operator!=(*obj
);
3759 SWIGINTERN PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
3760 PyObject
* tup
= PyTuple_New(2);
3761 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3762 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3766 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
3768 SWIGINTERN wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
3769 wxGridCellCoords rv
;
3770 self
->XYToCell(x
, y
, rv
);
3776 SWIGINTERN
int GridNoCellCoords_set(PyObject
*) {
3777 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellCoords is read-only.");
3782 SWIGINTERN PyObject
*GridNoCellCoords_get(void) {
3783 PyObject
*pyobj
= 0;
3785 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0 );
3790 SWIGINTERN
int GridNoCellRect_set(PyObject
*) {
3791 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellRect is read-only.");
3796 SWIGINTERN PyObject
*GridNoCellRect_get(void) {
3797 PyObject
*pyobj
= 0;
3799 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0 );
3804 SWIGINTERN PyObject
*_wrap_GridCellWorker__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
= 0;
3806 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3807 PyObject
*arg2
= (PyObject
*) 0 ;
3810 PyObject
* obj0
= 0 ;
3811 PyObject
* obj1
= 0 ;
3812 char * kwnames
[] = {
3813 (char *) "self",(char *) "_self", NULL
3816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3818 if (!SWIG_IsOK(res1
)) {
3819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3821 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 wxGridCellWorker__setOORInfo(arg1
,arg2
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_Py_Void();
3836 SWIGINTERN PyObject
*_wrap_delete_GridCellWorker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3837 PyObject
*resultobj
= 0;
3838 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3841 PyObject
*swig_obj
[1] ;
3843 if (!args
) SWIG_fail
;
3845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, SWIG_POINTER_DISOWN
| 0 );
3846 if (!SWIG_IsOK(res1
)) {
3847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellWorker" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3849 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 delete_wxGridCellWorker(arg1
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= SWIG_Py_Void();
3864 SWIGINTERN PyObject
*_wrap_GridCellWorker_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
= 0;
3866 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3867 wxString
*arg2
= 0 ;
3870 bool temp2
= false ;
3871 PyObject
* obj0
= 0 ;
3872 PyObject
* obj1
= 0 ;
3873 char * kwnames
[] = {
3874 (char *) "self",(char *) "params", NULL
3877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3879 if (!SWIG_IsOK(res1
)) {
3880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_SetParameters" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3882 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3884 arg2
= wxString_in_helper(obj1
);
3885 if (arg2
== NULL
) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 (arg1
)->SetParameters((wxString
const &)*arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 resultobj
= SWIG_Py_Void();
3909 SWIGINTERN PyObject
*_wrap_GridCellWorker_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3910 PyObject
*resultobj
= 0;
3911 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3914 PyObject
*swig_obj
[1] ;
3916 if (!args
) SWIG_fail
;
3918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3919 if (!SWIG_IsOK(res1
)) {
3920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_IncRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3922 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= SWIG_Py_Void();
3936 SWIGINTERN PyObject
*_wrap_GridCellWorker_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3937 PyObject
*resultobj
= 0;
3938 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3941 PyObject
*swig_obj
[1] ;
3943 if (!args
) SWIG_fail
;
3945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3946 if (!SWIG_IsOK(res1
)) {
3947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_DecRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3949 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_Py_Void();
3963 SWIGINTERN PyObject
*GridCellWorker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3966 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellWorker
, SWIG_NewClientData(obj
));
3967 return SWIG_Py_Void();
3970 SWIGINTERN PyObject
*GridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3973 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellRenderer
, SWIG_NewClientData(obj
));
3974 return SWIG_Py_Void();
3977 SWIGINTERN PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3978 PyObject
*resultobj
= 0;
3979 wxPyGridCellRenderer
*result
= 0 ;
3981 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellRenderer",0,0,0)) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_NEW
| 0 );
3995 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
= 0;
3997 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
3998 PyObject
*arg2
= (PyObject
*) 0 ;
3999 PyObject
*arg3
= (PyObject
*) 0 ;
4002 PyObject
* obj0
= 0 ;
4003 PyObject
* obj1
= 0 ;
4004 PyObject
* obj2
= 0 ;
4005 char * kwnames
[] = {
4006 (char *) "self",(char *) "self",(char *) "_class", NULL
4009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4011 if (!SWIG_IsOK(res1
)) {
4012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4014 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4023 resultobj
= SWIG_Py_Void();
4030 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
= 0;
4032 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
4033 wxString
*arg2
= 0 ;
4036 bool temp2
= false ;
4037 PyObject
* obj0
= 0 ;
4038 PyObject
* obj1
= 0 ;
4039 char * kwnames
[] = {
4040 (char *) "self",(char *) "params", NULL
4043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4045 if (!SWIG_IsOK(res1
)) {
4046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4048 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4050 arg2
= wxString_in_helper(obj1
);
4051 if (arg2
== NULL
) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 (arg1
)->SetParameters((wxString
const &)*arg2
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= SWIG_Py_Void();
4075 SWIGINTERN PyObject
*PyGridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4078 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_NewClientData(obj
));
4079 return SWIG_Py_Void();
4082 SWIGINTERN PyObject
*PyGridCellRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4083 return SWIG_Python_InitShadowInstance(args
);
4086 SWIGINTERN PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4087 PyObject
*resultobj
= 0;
4088 wxGridCellStringRenderer
*result
= 0 ;
4090 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellStringRenderer",0,0,0)) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_POINTER_NEW
| 0 );
4104 SWIGINTERN PyObject
*GridCellStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4107 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_NewClientData(obj
));
4108 return SWIG_Py_Void();
4111 SWIGINTERN PyObject
*GridCellStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4112 return SWIG_Python_InitShadowInstance(args
);
4115 SWIGINTERN PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4116 PyObject
*resultobj
= 0;
4117 wxGridCellNumberRenderer
*result
= 0 ;
4119 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellNumberRenderer",0,0,0)) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_POINTER_NEW
| 0 );
4133 SWIGINTERN PyObject
*GridCellNumberRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4136 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_NewClientData(obj
));
4137 return SWIG_Py_Void();
4140 SWIGINTERN PyObject
*GridCellNumberRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4141 return SWIG_Python_InitShadowInstance(args
);
4144 SWIGINTERN PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
= 0;
4146 int arg1
= (int) -1 ;
4147 int arg2
= (int) -1 ;
4148 wxGridCellFloatRenderer
*result
= 0 ;
4153 PyObject
* obj0
= 0 ;
4154 PyObject
* obj1
= 0 ;
4155 char * kwnames
[] = {
4156 (char *) "width",(char *) "precision", NULL
4159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4161 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4162 if (!SWIG_IsOK(ecode1
)) {
4163 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "1"" of type '" "int""'");
4165 arg1
= static_cast< int >(val1
);
4168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4169 if (!SWIG_IsOK(ecode2
)) {
4170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "2"" of type '" "int""'");
4172 arg2
= static_cast< int >(val2
);
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_NEW
| 0 );
4187 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4188 PyObject
*resultobj
= 0;
4189 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4193 PyObject
*swig_obj
[1] ;
4195 if (!args
) SWIG_fail
;
4197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4198 if (!SWIG_IsOK(res1
)) {
4199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4201 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) SWIG_fail
;
4208 resultobj
= SWIG_From_int(static_cast< int >(result
));
4215 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
*resultobj
= 0;
4217 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4224 PyObject
* obj1
= 0 ;
4225 char * kwnames
[] = {
4226 (char *) "self",(char *) "width", NULL
4229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4231 if (!SWIG_IsOK(res1
)) {
4232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");
4234 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4236 if (!SWIG_IsOK(ecode2
)) {
4237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "2"" of type '" "int""'");
4239 arg2
= static_cast< int >(val2
);
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 (arg1
)->SetWidth(arg2
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= SWIG_Py_Void();
4253 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4254 PyObject
*resultobj
= 0;
4255 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4259 PyObject
*swig_obj
[1] ;
4261 if (!args
) SWIG_fail
;
4263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4264 if (!SWIG_IsOK(res1
)) {
4265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4267 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_From_int(static_cast< int >(result
));
4281 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
= 0;
4283 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4289 PyObject
* obj0
= 0 ;
4290 PyObject
* obj1
= 0 ;
4291 char * kwnames
[] = {
4292 (char *) "self",(char *) "precision", NULL
4295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4297 if (!SWIG_IsOK(res1
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");
4300 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4302 if (!SWIG_IsOK(ecode2
)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "2"" of type '" "int""'");
4305 arg2
= static_cast< int >(val2
);
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->SetPrecision(arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_Py_Void();
4319 SWIGINTERN PyObject
*GridCellFloatRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4322 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_NewClientData(obj
));
4323 return SWIG_Py_Void();
4326 SWIGINTERN PyObject
*GridCellFloatRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4327 return SWIG_Python_InitShadowInstance(args
);
4330 SWIGINTERN PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4331 PyObject
*resultobj
= 0;
4332 wxGridCellBoolRenderer
*result
= 0 ;
4334 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolRenderer",0,0,0)) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_POINTER_NEW
| 0 );
4348 SWIGINTERN PyObject
*GridCellBoolRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4351 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_NewClientData(obj
));
4352 return SWIG_Py_Void();
4355 SWIGINTERN PyObject
*GridCellBoolRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4356 return SWIG_Python_InitShadowInstance(args
);
4359 SWIGINTERN PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
= 0;
4361 wxString arg1
= (wxString
) wxPyDefaultDateTimeFormat
;
4362 wxString arg2
= (wxString
) wxPyDefaultDateTimeFormat
;
4363 wxGridCellDateTimeRenderer
*result
= 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 char * kwnames
[] = {
4367 (char *) "outformat",(char *) "informat", NULL
4370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4373 wxString
* sptr
= wxString_in_helper(obj0
);
4374 if (sptr
== NULL
) SWIG_fail
;
4381 wxString
* sptr
= wxString_in_helper(obj1
);
4382 if (sptr
== NULL
) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_POINTER_NEW
| 0 );
4400 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4403 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_NewClientData(obj
));
4404 return SWIG_Py_Void();
4407 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4408 return SWIG_Python_InitShadowInstance(args
);
4411 SWIGINTERN PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
= 0;
4413 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4414 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4415 wxGridCellEnumRenderer
*result
= 0 ;
4416 bool temp1
= false ;
4417 PyObject
* obj0
= 0 ;
4418 char * kwnames
[] = {
4419 (char *) "choices", NULL
4422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) SWIG_fail
;
4425 arg1
= wxString_in_helper(obj0
);
4426 if (arg1
== NULL
) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_POINTER_NEW
| 0 );
4451 SWIGINTERN PyObject
*GridCellEnumRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4454 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_NewClientData(obj
));
4455 return SWIG_Py_Void();
4458 SWIGINTERN PyObject
*GridCellEnumRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4459 return SWIG_Python_InitShadowInstance(args
);
4462 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4463 PyObject
*resultobj
= 0;
4464 wxGridCellAutoWrapStringRenderer
*result
= 0 ;
4466 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringRenderer",0,0,0)) SWIG_fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_POINTER_NEW
| 0 );
4480 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4483 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_NewClientData(obj
));
4484 return SWIG_Py_Void();
4487 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4488 return SWIG_Python_InitShadowInstance(args
);
4491 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4492 PyObject
*resultobj
= 0;
4493 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4497 PyObject
*swig_obj
[1] ;
4499 if (!args
) SWIG_fail
;
4501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4502 if (!SWIG_IsOK(res1
)) {
4503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsCreated" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4505 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 result
= (bool)(arg1
)->IsCreated();
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4521 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4522 PyObject
*resultobj
= 0;
4523 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4524 wxControl
*result
= 0 ;
4527 PyObject
*swig_obj
[1] ;
4529 if (!args
) SWIG_fail
;
4531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4532 if (!SWIG_IsOK(res1
)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4535 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 result
= (wxControl
*)(arg1
)->GetControl();
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= wxPyMake_wxObject(result
, 0);
4551 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
= 0;
4553 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4554 wxControl
*arg2
= (wxControl
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4561 char * kwnames
[] = {
4562 (char *) "self",(char *) "control", NULL
4565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4567 if (!SWIG_IsOK(res1
)) {
4568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4570 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
4572 if (!SWIG_IsOK(res2
)) {
4573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
4575 arg2
= reinterpret_cast< wxControl
* >(argp2
);
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 (arg1
)->SetControl(arg2
);
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 resultobj
= SWIG_Py_Void();
4589 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4590 PyObject
*resultobj
= 0;
4591 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4592 wxGridCellAttr
*result
= 0 ;
4595 PyObject
*swig_obj
[1] ;
4597 if (!args
) SWIG_fail
;
4599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4600 if (!SWIG_IsOK(res1
)) {
4601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4603 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4611 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
4619 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
= 0;
4621 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4622 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4628 PyObject
* obj1
= 0 ;
4629 char * kwnames
[] = {
4630 (char *) "self",(char *) "attr", NULL
4633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4635 if (!SWIG_IsOK(res1
)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4638 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
4640 if (!SWIG_IsOK(res2
)) {
4641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
4643 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 (arg1
)->SetCellAttr(arg2
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= SWIG_Py_Void();
4657 SWIGINTERN PyObject
*_wrap_GridCellEditor_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
= 0;
4659 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4660 wxWindow
*arg2
= (wxWindow
*) 0 ;
4662 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4673 PyObject
* obj2
= 0 ;
4674 PyObject
* obj3
= 0 ;
4675 char * kwnames
[] = {
4676 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
4679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4681 if (!SWIG_IsOK(res1
)) {
4682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Create" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4684 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4686 if (!SWIG_IsOK(res2
)) {
4687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4689 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4691 if (!SWIG_IsOK(ecode3
)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_Create" "', expected argument " "3"" of type '" "int""'");
4694 arg3
= static_cast< int >(val3
);
4695 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
4696 if (!SWIG_IsOK(res4
)) {
4697 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_Create" "', expected argument " "4"" of type '" "wxEvtHandler *""'");
4699 arg4
= reinterpret_cast< wxEvtHandler
* >(argp4
);
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 (arg1
)->Create(arg2
,arg3
,arg4
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_Py_Void();
4713 SWIGINTERN PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
= 0;
4715 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4718 wxGrid
*arg4
= (wxGrid
*) 0 ;
4727 PyObject
* obj0
= 0 ;
4728 PyObject
* obj1
= 0 ;
4729 PyObject
* obj2
= 0 ;
4730 PyObject
* obj3
= 0 ;
4731 char * kwnames
[] = {
4732 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
4735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4737 if (!SWIG_IsOK(res1
)) {
4738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4740 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4742 if (!SWIG_IsOK(ecode2
)) {
4743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "2"" of type '" "int""'");
4745 arg2
= static_cast< int >(val2
);
4746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4747 if (!SWIG_IsOK(ecode3
)) {
4748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "3"" of type '" "int""'");
4750 arg3
= static_cast< int >(val3
);
4751 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
4752 if (!SWIG_IsOK(res4
)) {
4753 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
4755 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= SWIG_Py_Void();
4769 SWIGINTERN PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
= 0;
4771 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4774 wxGrid
*arg4
= (wxGrid
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4785 PyObject
* obj1
= 0 ;
4786 PyObject
* obj2
= 0 ;
4787 PyObject
* obj3
= 0 ;
4788 char * kwnames
[] = {
4789 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
4792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4794 if (!SWIG_IsOK(res1
)) {
4795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4797 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4799 if (!SWIG_IsOK(ecode2
)) {
4800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "2"" of type '" "int""'");
4802 arg2
= static_cast< int >(val2
);
4803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4804 if (!SWIG_IsOK(ecode3
)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "3"" of type '" "int""'");
4807 arg3
= static_cast< int >(val3
);
4808 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
4809 if (!SWIG_IsOK(res4
)) {
4810 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
4812 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4828 SWIGINTERN PyObject
*_wrap_GridCellEditor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4829 PyObject
*resultobj
= 0;
4830 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4833 PyObject
*swig_obj
[1] ;
4835 if (!args
) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Reset" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4841 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= SWIG_Py_Void();
4855 SWIGINTERN PyObject
*_wrap_GridCellEditor_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4856 PyObject
*resultobj
= 0;
4857 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4858 wxGridCellEditor
*result
= 0 ;
4861 PyObject
*swig_obj
[1] ;
4863 if (!args
) SWIG_fail
;
4865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4866 if (!SWIG_IsOK(res1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Clone" "', expected argument " "1"" of type '" "wxGridCellEditor const *""'");
4869 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
4885 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
= 0;
4887 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4892 PyObject
* obj0
= 0 ;
4893 PyObject
* obj1
= 0 ;
4894 char * kwnames
[] = {
4895 (char *) "self",(char *) "rect", NULL
4898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4900 if (!SWIG_IsOK(res1
)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetSize" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4903 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4906 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 (arg1
)->SetSize((wxRect
const &)*arg2
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_Py_Void();
4921 SWIGINTERN PyObject
*_wrap_GridCellEditor_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
= 0;
4923 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4925 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4934 PyObject
* obj2
= 0 ;
4935 char * kwnames
[] = {
4936 (char *) "self",(char *) "show",(char *) "attr", NULL
4939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4941 if (!SWIG_IsOK(res1
)) {
4942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Show" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4944 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4945 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4946 if (!SWIG_IsOK(ecode2
)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_Show" "', expected argument " "2"" of type '" "bool""'");
4949 arg2
= static_cast< bool >(val2
);
4951 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
4952 if (!SWIG_IsOK(res3
)) {
4953 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_Show" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
4955 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 (arg1
)->Show(arg2
,arg3
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_Py_Void();
4970 SWIGINTERN PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
= 0;
4972 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4974 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
4980 PyObject
* obj0
= 0 ;
4981 PyObject
* obj1
= 0 ;
4982 PyObject
* obj2
= 0 ;
4983 char * kwnames
[] = {
4984 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
4987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4989 if (!SWIG_IsOK(res1
)) {
4990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4992 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4995 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4997 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
4998 if (!SWIG_IsOK(res3
)) {
4999 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
5001 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_Py_Void();
5015 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
= 0;
5017 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5018 wxKeyEvent
*arg2
= 0 ;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5026 char * kwnames
[] = {
5027 (char *) "self",(char *) "event", NULL
5030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5035 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5037 if (!SWIG_IsOK(res2
)) {
5038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5043 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5059 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
= 0;
5061 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5062 wxKeyEvent
*arg2
= 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5069 char * kwnames
[] = {
5070 (char *) "self",(char *) "event", NULL
5073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5075 if (!SWIG_IsOK(res1
)) {
5076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5078 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5080 if (!SWIG_IsOK(res2
)) {
5081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5086 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->StartingKey(*arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_Py_Void();
5100 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5101 PyObject
*resultobj
= 0;
5102 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5105 PyObject
*swig_obj
[1] ;
5107 if (!args
) SWIG_fail
;
5109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5110 if (!SWIG_IsOK(res1
)) {
5111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingClick" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5113 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 (arg1
)->StartingClick();
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= SWIG_Py_Void();
5127 SWIGINTERN PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
= 0;
5129 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5130 wxKeyEvent
*arg2
= 0 ;
5135 PyObject
* obj0
= 0 ;
5136 PyObject
* obj1
= 0 ;
5137 char * kwnames
[] = {
5138 (char *) "self",(char *) "event", NULL
5141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5143 if (!SWIG_IsOK(res1
)) {
5144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5146 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5148 if (!SWIG_IsOK(res2
)) {
5149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5154 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->HandleReturn(*arg2
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_Py_Void();
5168 SWIGINTERN PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5169 PyObject
*resultobj
= 0;
5170 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5173 PyObject
*swig_obj
[1] ;
5175 if (!args
) SWIG_fail
;
5177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5178 if (!SWIG_IsOK(res1
)) {
5179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Destroy" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5181 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_Py_Void();
5195 SWIGINTERN PyObject
*GridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5198 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEditor
, SWIG_NewClientData(obj
));
5199 return SWIG_Py_Void();
5202 SWIGINTERN PyObject
*_wrap_new_PyGridCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5203 PyObject
*resultobj
= 0;
5204 wxPyGridCellEditor
*result
= 0 ;
5206 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellEditor",0,0,0)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_NEW
| 0 );
5220 SWIGINTERN PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
= 0;
5222 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5223 PyObject
*arg2
= (PyObject
*) 0 ;
5224 PyObject
*arg3
= (PyObject
*) 0 ;
5227 PyObject
* obj0
= 0 ;
5228 PyObject
* obj1
= 0 ;
5229 PyObject
* obj2
= 0 ;
5230 char * kwnames
[] = {
5231 (char *) "self",(char *) "self",(char *) "_class", NULL
5234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5236 if (!SWIG_IsOK(res1
)) {
5237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5239 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 resultobj
= SWIG_Py_Void();
5255 SWIGINTERN PyObject
*_wrap_PyGridCellEditor_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
= 0;
5257 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5258 wxString
*arg2
= 0 ;
5261 bool temp2
= false ;
5262 PyObject
* obj0
= 0 ;
5263 PyObject
* obj1
= 0 ;
5264 char * kwnames
[] = {
5265 (char *) "self",(char *) "params", NULL
5268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5270 if (!SWIG_IsOK(res1
)) {
5271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5273 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5275 arg2
= wxString_in_helper(obj1
);
5276 if (arg2
== NULL
) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 (arg1
)->SetParameters((wxString
const &)*arg2
);
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= SWIG_Py_Void();
5300 SWIGINTERN PyObject
*PyGridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5303 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellEditor
, SWIG_NewClientData(obj
));
5304 return SWIG_Py_Void();
5307 SWIGINTERN PyObject
*PyGridCellEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5308 return SWIG_Python_InitShadowInstance(args
);
5311 SWIGINTERN PyObject
*_wrap_new_GridCellTextEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5312 PyObject
*resultobj
= 0;
5313 wxGridCellTextEditor
*result
= 0 ;
5315 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellTextEditor",0,0,0)) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_NEW
| 0 );
5329 SWIGINTERN PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5330 PyObject
*resultobj
= 0;
5331 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
5335 PyObject
*swig_obj
[1] ;
5337 if (!args
) SWIG_fail
;
5339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellTextEditor
, 0 | 0 );
5340 if (!SWIG_IsOK(res1
)) {
5341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellTextEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellTextEditor *""'");
5343 arg1
= reinterpret_cast< wxGridCellTextEditor
* >(argp1
);
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (arg1
)->GetValue();
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5363 SWIGINTERN PyObject
*GridCellTextEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5366 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellTextEditor
, SWIG_NewClientData(obj
));
5367 return SWIG_Py_Void();
5370 SWIGINTERN PyObject
*GridCellTextEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5371 return SWIG_Python_InitShadowInstance(args
);
5374 SWIGINTERN PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
= 0;
5376 int arg1
= (int) -1 ;
5377 int arg2
= (int) -1 ;
5378 wxGridCellNumberEditor
*result
= 0 ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5385 char * kwnames
[] = {
5386 (char *) "min",(char *) "max", NULL
5389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5391 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5392 if (!SWIG_IsOK(ecode1
)) {
5393 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellNumberEditor" "', expected argument " "1"" of type '" "int""'");
5395 arg1
= static_cast< int >(val1
);
5398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5399 if (!SWIG_IsOK(ecode2
)) {
5400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellNumberEditor" "', expected argument " "2"" of type '" "int""'");
5402 arg2
= static_cast< int >(val2
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_NEW
| 0 );
5417 SWIGINTERN PyObject
*GridCellNumberEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5420 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_NewClientData(obj
));
5421 return SWIG_Py_Void();
5424 SWIGINTERN PyObject
*GridCellNumberEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5425 return SWIG_Python_InitShadowInstance(args
);
5428 SWIGINTERN PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
= 0;
5430 int arg1
= (int) -1 ;
5431 int arg2
= (int) -1 ;
5432 wxGridCellFloatEditor
*result
= 0 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5439 char * kwnames
[] = {
5440 (char *) "width",(char *) "precision", NULL
5443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5446 if (!SWIG_IsOK(ecode1
)) {
5447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatEditor" "', expected argument " "1"" of type '" "int""'");
5449 arg1
= static_cast< int >(val1
);
5452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5453 if (!SWIG_IsOK(ecode2
)) {
5454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatEditor" "', expected argument " "2"" of type '" "int""'");
5456 arg2
= static_cast< int >(val2
);
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_NEW
| 0 );
5471 SWIGINTERN PyObject
*GridCellFloatEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5474 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_NewClientData(obj
));
5475 return SWIG_Py_Void();
5478 SWIGINTERN PyObject
*GridCellFloatEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5479 return SWIG_Python_InitShadowInstance(args
);
5482 SWIGINTERN PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5483 PyObject
*resultobj
= 0;
5484 wxGridCellBoolEditor
*result
= 0 ;
5486 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolEditor",0,0,0)) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_NEW
| 0 );
5500 SWIGINTERN PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5501 PyObject
*resultobj
= 0;
5502 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
5506 PyObject
*swig_obj
[1] ;
5508 if (!args
) SWIG_fail
;
5510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellBoolEditor
, 0 | 0 );
5511 if (!SWIG_IsOK(res1
)) {
5512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellBoolEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellBoolEditor *""'");
5514 arg1
= reinterpret_cast< wxGridCellBoolEditor
* >(argp1
);
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (arg1
)->GetValue();
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5534 SWIGINTERN PyObject
*GridCellBoolEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5537 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_NewClientData(obj
));
5538 return SWIG_Py_Void();
5541 SWIGINTERN PyObject
*GridCellBoolEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5542 return SWIG_Python_InitShadowInstance(args
);
5545 SWIGINTERN PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
= 0;
5547 int arg1
= (int) 0 ;
5548 wxString
*arg2
= (wxString
*) NULL
;
5549 bool arg3
= (bool) false ;
5550 wxGridCellChoiceEditor
*result
= 0 ;
5553 PyObject
* obj0
= 0 ;
5554 PyObject
* obj1
= 0 ;
5555 char * kwnames
[] = {
5556 (char *) "choices",(char *) "allowOthers", NULL
5559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5562 arg1
= PyList_Size(obj0
);
5563 arg2
= wxString_LIST_helper(obj0
);
5564 if (arg2
== NULL
) SWIG_fail
;
5568 ecode3
= SWIG_AsVal_bool(obj1
, &val3
);
5569 if (!SWIG_IsOK(ecode3
)) {
5570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridCellChoiceEditor" "', expected argument " "3"" of type '" "bool""'");
5572 arg3
= static_cast< bool >(val3
);
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_NEW
| 0 );
5582 if (arg2
) delete [] arg2
;
5587 if (arg2
) delete [] arg2
;
5593 SWIGINTERN PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5594 PyObject
*resultobj
= 0;
5595 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
5599 PyObject
*swig_obj
[1] ;
5601 if (!args
) SWIG_fail
;
5603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellChoiceEditor
, 0 | 0 );
5604 if (!SWIG_IsOK(res1
)) {
5605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellChoiceEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellChoiceEditor *""'");
5607 arg1
= reinterpret_cast< wxGridCellChoiceEditor
* >(argp1
);
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 result
= (arg1
)->GetValue();
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5627 SWIGINTERN PyObject
*GridCellChoiceEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5629 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5630 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_NewClientData(obj
));
5631 return SWIG_Py_Void();
5634 SWIGINTERN PyObject
*GridCellChoiceEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5635 return SWIG_Python_InitShadowInstance(args
);
5638 SWIGINTERN PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
= 0;
5640 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5641 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5642 wxGridCellEnumEditor
*result
= 0 ;
5643 bool temp1
= false ;
5644 PyObject
* obj0
= 0 ;
5645 char * kwnames
[] = {
5646 (char *) "choices", NULL
5649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) SWIG_fail
;
5652 arg1
= wxString_in_helper(obj0
);
5653 if (arg1
== NULL
) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_NEW
| 0 );
5678 SWIGINTERN PyObject
*GridCellEnumEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5681 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_NewClientData(obj
));
5682 return SWIG_Py_Void();
5685 SWIGINTERN PyObject
*GridCellEnumEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5686 return SWIG_Python_InitShadowInstance(args
);
5689 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5690 PyObject
*resultobj
= 0;
5691 wxGridCellAutoWrapStringEditor
*result
= 0 ;
5693 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringEditor",0,0,0)) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_NEW
| 0 );
5707 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5710 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_NewClientData(obj
));
5711 return SWIG_Py_Void();
5714 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5715 return SWIG_Python_InitShadowInstance(args
);
5718 SWIGINTERN PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
= 0;
5720 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5721 PyObject
*arg2
= (PyObject
*) 0 ;
5724 PyObject
* obj0
= 0 ;
5725 PyObject
* obj1
= 0 ;
5726 char * kwnames
[] = {
5727 (char *) "self",(char *) "_self", NULL
5730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5732 if (!SWIG_IsOK(res1
)) {
5733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5735 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 wxGridCellAttr__setOORInfo(arg1
,arg2
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 resultobj
= SWIG_Py_Void();
5750 SWIGINTERN PyObject
*_wrap_new_GridCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
= 0;
5752 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
5753 wxGridCellAttr
*result
= 0 ;
5756 PyObject
* obj0
= 0 ;
5757 char * kwnames
[] = {
5758 (char *) "attrDefault", NULL
5761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) SWIG_fail
;
5763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5764 if (!SWIG_IsOK(res1
)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5767 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5776 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)SWIG_POINTER_NEW
);
5784 SWIGINTERN PyObject
*_wrap_delete_GridCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5785 PyObject
*resultobj
= 0;
5786 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5789 PyObject
*swig_obj
[1] ;
5791 if (!args
) SWIG_fail
;
5793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_DISOWN
| 0 );
5794 if (!SWIG_IsOK(res1
)) {
5795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5797 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 delete_wxGridCellAttr(arg1
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= SWIG_Py_Void();
5812 SWIGINTERN PyObject
*_wrap_GridCellAttr_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5813 PyObject
*resultobj
= 0;
5814 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5815 wxGridCellAttr
*result
= 0 ;
5818 PyObject
*swig_obj
[1] ;
5820 if (!args
) SWIG_fail
;
5822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5823 if (!SWIG_IsOK(res1
)) {
5824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_Clone" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
5826 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
5842 SWIGINTERN PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
= 0;
5844 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5845 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5850 PyObject
* obj0
= 0 ;
5851 PyObject
* obj1
= 0 ;
5852 char * kwnames
[] = {
5853 (char *) "self",(char *) "mergefrom", NULL
5856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5858 if (!SWIG_IsOK(res1
)) {
5859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5861 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5862 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5863 if (!SWIG_IsOK(res2
)) {
5864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
5866 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 (arg1
)->MergeWith(arg2
);
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= SWIG_Py_Void();
5880 SWIGINTERN PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5881 PyObject
*resultobj
= 0;
5882 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5885 PyObject
*swig_obj
[1] ;
5887 if (!args
) SWIG_fail
;
5889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5890 if (!SWIG_IsOK(res1
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IncRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5893 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= SWIG_Py_Void();
5907 SWIGINTERN PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5908 PyObject
*resultobj
= 0;
5909 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5912 PyObject
*swig_obj
[1] ;
5914 if (!args
) SWIG_fail
;
5916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5917 if (!SWIG_IsOK(res1
)) {
5918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_DecRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5920 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_Py_Void();
5934 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
= 0;
5936 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5937 wxColour
*arg2
= 0 ;
5941 PyObject
* obj0
= 0 ;
5942 PyObject
* obj1
= 0 ;
5943 char * kwnames
[] = {
5944 (char *) "self",(char *) "colText", NULL
5947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5949 if (!SWIG_IsOK(res1
)) {
5950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5952 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5955 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_Py_Void();
5970 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
= 0;
5972 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5973 wxColour
*arg2
= 0 ;
5977 PyObject
* obj0
= 0 ;
5978 PyObject
* obj1
= 0 ;
5979 char * kwnames
[] = {
5980 (char *) "self",(char *) "colBack", NULL
5983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5985 if (!SWIG_IsOK(res1
)) {
5986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5988 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5991 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_Py_Void();
6006 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
= 0;
6008 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6016 char * kwnames
[] = {
6017 (char *) "self",(char *) "font", NULL
6020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6022 if (!SWIG_IsOK(res1
)) {
6023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetFont" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6025 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6026 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
6027 if (!SWIG_IsOK(res2
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6033 arg2
= reinterpret_cast< wxFont
* >(argp2
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 (arg1
)->SetFont((wxFont
const &)*arg2
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_Py_Void();
6047 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
= 0;
6049 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 PyObject
* obj2
= 0 ;
6061 char * kwnames
[] = {
6062 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
6065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6067 if (!SWIG_IsOK(res1
)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6070 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6072 if (!SWIG_IsOK(ecode2
)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "2"" of type '" "int""'");
6075 arg2
= static_cast< int >(val2
);
6076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6077 if (!SWIG_IsOK(ecode3
)) {
6078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "3"" of type '" "int""'");
6080 arg3
= static_cast< int >(val3
);
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 (arg1
)->SetAlignment(arg2
,arg3
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= SWIG_Py_Void();
6094 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
= 0;
6096 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6107 PyObject
* obj2
= 0 ;
6108 char * kwnames
[] = {
6109 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
6112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6114 if (!SWIG_IsOK(res1
)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetSize" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6117 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6119 if (!SWIG_IsOK(ecode2
)) {
6120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetSize" "', expected argument " "2"" of type '" "int""'");
6122 arg2
= static_cast< int >(val2
);
6123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6124 if (!SWIG_IsOK(ecode3
)) {
6125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetSize" "', expected argument " "3"" of type '" "int""'");
6127 arg3
= static_cast< int >(val3
);
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 (arg1
)->SetSize(arg2
,arg3
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6134 resultobj
= SWIG_Py_Void();
6141 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
= 0;
6143 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6144 bool arg2
= (bool) true ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 char * kwnames
[] = {
6152 (char *) "self",(char *) "allow", NULL
6155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6157 if (!SWIG_IsOK(res1
)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6160 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6162 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "2"" of type '" "bool""'");
6166 arg2
= static_cast< bool >(val2
);
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 (arg1
)->SetOverflow(arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_Py_Void();
6181 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
= 0;
6183 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6184 bool arg2
= (bool) true ;
6189 PyObject
* obj0
= 0 ;
6190 PyObject
* obj1
= 0 ;
6191 char * kwnames
[] = {
6192 (char *) "self",(char *) "isReadOnly", NULL
6195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6197 if (!SWIG_IsOK(res1
)) {
6198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6200 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6202 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6203 if (!SWIG_IsOK(ecode2
)) {
6204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
6206 arg2
= static_cast< bool >(val2
);
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 (arg1
)->SetReadOnly(arg2
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= SWIG_Py_Void();
6221 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
= 0;
6223 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6224 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
6229 PyObject
* obj0
= 0 ;
6230 PyObject
* obj1
= 0 ;
6231 char * kwnames
[] = {
6232 (char *) "self",(char *) "renderer", NULL
6235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6237 if (!SWIG_IsOK(res1
)) {
6238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6240 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
6242 if (!SWIG_IsOK(res2
)) {
6243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
6245 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 (arg1
)->SetRenderer(arg2
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_Py_Void();
6259 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
= 0;
6261 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6262 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6269 char * kwnames
[] = {
6270 (char *) "self",(char *) "editor", NULL
6273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6275 if (!SWIG_IsOK(res1
)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6278 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
6280 if (!SWIG_IsOK(res2
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
6283 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 (arg1
)->SetEditor(arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= SWIG_Py_Void();
6297 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
= 0;
6299 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6300 wxGridCellAttr::wxAttrKind arg2
;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6307 char * kwnames
[] = {
6308 (char *) "self",(char *) "kind", NULL
6311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6313 if (!SWIG_IsOK(res1
)) {
6314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6316 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6318 if (!SWIG_IsOK(ecode2
)) {
6319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetKind" "', expected argument " "2"" of type '" "wxGridCellAttr::wxAttrKind""'");
6321 arg2
= static_cast< wxGridCellAttr::wxAttrKind
>(val2
);
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 (arg1
)->SetKind(arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_Py_Void();
6335 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6336 PyObject
*resultobj
= 0;
6337 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6341 PyObject
*swig_obj
[1] ;
6343 if (!args
) SWIG_fail
;
6345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6346 if (!SWIG_IsOK(res1
)) {
6347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6349 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6365 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6366 PyObject
*resultobj
= 0;
6367 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6371 PyObject
*swig_obj
[1] ;
6373 if (!args
) SWIG_fail
;
6375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6376 if (!SWIG_IsOK(res1
)) {
6377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6379 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6395 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6396 PyObject
*resultobj
= 0;
6397 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6401 PyObject
*swig_obj
[1] ;
6403 if (!args
) SWIG_fail
;
6405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6406 if (!SWIG_IsOK(res1
)) {
6407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6409 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6425 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6426 PyObject
*resultobj
= 0;
6427 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6431 PyObject
*swig_obj
[1] ;
6433 if (!args
) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6439 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6455 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6456 PyObject
*resultobj
= 0;
6457 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6461 PyObject
*swig_obj
[1] ;
6463 if (!args
) SWIG_fail
;
6465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6466 if (!SWIG_IsOK(res1
)) {
6467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6469 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6485 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6486 PyObject
*resultobj
= 0;
6487 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6491 PyObject
*swig_obj
[1] ;
6493 if (!args
) SWIG_fail
;
6495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6496 if (!SWIG_IsOK(res1
)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6499 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6515 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6516 PyObject
*resultobj
= 0;
6517 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6521 PyObject
*swig_obj
[1] ;
6523 if (!args
) SWIG_fail
;
6525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6526 if (!SWIG_IsOK(res1
)) {
6527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasReadWriteMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6529 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6545 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6546 PyObject
*resultobj
= 0;
6547 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6551 PyObject
*swig_obj
[1] ;
6553 if (!args
) SWIG_fail
;
6555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6556 if (!SWIG_IsOK(res1
)) {
6557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasOverflowMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6559 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6575 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6576 PyObject
*resultobj
= 0;
6577 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6581 PyObject
*swig_obj
[1] ;
6583 if (!args
) SWIG_fail
;
6585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6586 if (!SWIG_IsOK(res1
)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6589 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6603 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6604 PyObject
*resultobj
= 0;
6605 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6609 PyObject
*swig_obj
[1] ;
6611 if (!args
) SWIG_fail
;
6613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6614 if (!SWIG_IsOK(res1
)) {
6615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6617 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6631 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6632 PyObject
*resultobj
= 0;
6633 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6637 PyObject
*swig_obj
[1] ;
6639 if (!args
) SWIG_fail
;
6641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6642 if (!SWIG_IsOK(res1
)) {
6643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6645 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
6659 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6660 PyObject
*resultobj
= 0;
6661 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6662 int *arg2
= (int *) 0 ;
6663 int *arg3
= (int *) 0 ;
6667 int res2
= SWIG_TMPOBJ
;
6669 int res3
= SWIG_TMPOBJ
;
6670 PyObject
*swig_obj
[1] ;
6674 if (!args
) SWIG_fail
;
6676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6677 if (!SWIG_IsOK(res1
)) {
6678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6680 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= SWIG_Py_Void();
6688 if (SWIG_IsTmpObj(res2
)) {
6689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6691 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6694 if (SWIG_IsTmpObj(res3
)) {
6695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6697 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6706 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6707 PyObject
*resultobj
= 0;
6708 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6709 int *arg2
= (int *) 0 ;
6710 int *arg3
= (int *) 0 ;
6714 int res2
= SWIG_TMPOBJ
;
6716 int res3
= SWIG_TMPOBJ
;
6717 PyObject
*swig_obj
[1] ;
6721 if (!args
) SWIG_fail
;
6723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6724 if (!SWIG_IsOK(res1
)) {
6725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetSize" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6727 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= SWIG_Py_Void();
6735 if (SWIG_IsTmpObj(res2
)) {
6736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6738 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6741 if (SWIG_IsTmpObj(res3
)) {
6742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6744 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6753 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6754 PyObject
*resultobj
= 0;
6755 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6759 PyObject
*swig_obj
[1] ;
6761 if (!args
) SWIG_fail
;
6763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6764 if (!SWIG_IsOK(res1
)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6767 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6783 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
= 0;
6785 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6786 wxGrid
*arg2
= (wxGrid
*) 0 ;
6789 wxGridCellRenderer
*result
= 0 ;
6798 PyObject
* obj0
= 0 ;
6799 PyObject
* obj1
= 0 ;
6800 PyObject
* obj2
= 0 ;
6801 PyObject
* obj3
= 0 ;
6802 char * kwnames
[] = {
6803 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6808 if (!SWIG_IsOK(res1
)) {
6809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6811 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
6813 if (!SWIG_IsOK(res2
)) {
6814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "2"" of type '" "wxGrid *""'");
6816 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
6817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6818 if (!SWIG_IsOK(ecode3
)) {
6819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "3"" of type '" "int""'");
6821 arg3
= static_cast< int >(val3
);
6822 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6823 if (!SWIG_IsOK(ecode4
)) {
6824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "4"" of type '" "int""'");
6826 arg4
= static_cast< int >(val4
);
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
6842 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
= 0;
6844 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6845 wxGrid
*arg2
= (wxGrid
*) 0 ;
6848 wxGridCellEditor
*result
= 0 ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6859 PyObject
* obj2
= 0 ;
6860 PyObject
* obj3
= 0 ;
6861 char * kwnames
[] = {
6862 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6867 if (!SWIG_IsOK(res1
)) {
6868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6870 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6871 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
6872 if (!SWIG_IsOK(res2
)) {
6873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "2"" of type '" "wxGrid *""'");
6875 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
6876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6877 if (!SWIG_IsOK(ecode3
)) {
6878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "3"" of type '" "int""'");
6880 arg3
= static_cast< int >(val3
);
6881 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6882 if (!SWIG_IsOK(ecode4
)) {
6883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "4"" of type '" "int""'");
6885 arg4
= static_cast< int >(val4
);
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6893 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
6901 SWIGINTERN PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6902 PyObject
*resultobj
= 0;
6903 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6907 PyObject
*swig_obj
[1] ;
6909 if (!args
) SWIG_fail
;
6911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6912 if (!SWIG_IsOK(res1
)) {
6913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IsReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6915 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6931 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6932 PyObject
*resultobj
= 0;
6933 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6934 wxGridCellAttr::wxAttrKind result
;
6937 PyObject
*swig_obj
[1] ;
6939 if (!args
) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6945 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_From_int(static_cast< int >(result
));
6959 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
= 0;
6961 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6962 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 char * kwnames
[] = {
6970 (char *) "self",(char *) "defAttr", NULL
6973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6975 if (!SWIG_IsOK(res1
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6978 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6980 if (!SWIG_IsOK(res2
)) {
6981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
6983 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 (arg1
)->SetDefAttr(arg2
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_Py_Void();
6997 SWIGINTERN PyObject
*GridCellAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7000 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttr
, SWIG_NewClientData(obj
));
7001 return SWIG_Py_Void();
7004 SWIGINTERN PyObject
*GridCellAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7005 return SWIG_Python_InitShadowInstance(args
);
7008 SWIGINTERN PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7009 PyObject
*resultobj
= 0;
7010 wxGridCellAttrProvider
*result
= 0 ;
7012 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAttrProvider",0,0,0)) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)SWIG_POINTER_NEW
);
7028 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
= 0;
7030 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7031 PyObject
*arg2
= (PyObject
*) 0 ;
7034 PyObject
* obj0
= 0 ;
7035 PyObject
* obj1
= 0 ;
7036 char * kwnames
[] = {
7037 (char *) "self",(char *) "_self", NULL
7040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7042 if (!SWIG_IsOK(res1
)) {
7043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7045 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_Py_Void();
7060 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= 0;
7062 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7065 wxGridCellAttr::wxAttrKind arg4
;
7066 wxGridCellAttr
*result
= 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7077 PyObject
* obj2
= 0 ;
7078 PyObject
* obj3
= 0 ;
7079 char * kwnames
[] = {
7080 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7085 if (!SWIG_IsOK(res1
)) {
7086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider const *""'");
7088 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7090 if (!SWIG_IsOK(ecode2
)) {
7091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7093 arg2
= static_cast< int >(val2
);
7094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7095 if (!SWIG_IsOK(ecode3
)) {
7096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7098 arg3
= static_cast< int >(val3
);
7099 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7100 if (!SWIG_IsOK(ecode4
)) {
7101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7103 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,arg4
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7119 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
= 0;
7121 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7122 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7133 PyObject
* obj0
= 0 ;
7134 PyObject
* obj1
= 0 ;
7135 PyObject
* obj2
= 0 ;
7136 PyObject
* obj3
= 0 ;
7137 char * kwnames
[] = {
7138 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7143 if (!SWIG_IsOK(res1
)) {
7144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7146 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7148 if (!SWIG_IsOK(res2
)) {
7149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7151 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7153 if (!SWIG_IsOK(ecode3
)) {
7154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7156 arg3
= static_cast< int >(val3
);
7157 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7158 if (!SWIG_IsOK(ecode4
)) {
7159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7161 arg4
= static_cast< int >(val4
);
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= SWIG_Py_Void();
7175 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
= 0;
7177 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7178 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7186 PyObject
* obj0
= 0 ;
7187 PyObject
* obj1
= 0 ;
7188 PyObject
* obj2
= 0 ;
7189 char * kwnames
[] = {
7190 (char *) "self",(char *) "attr",(char *) "row", NULL
7193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7195 if (!SWIG_IsOK(res1
)) {
7196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7198 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7199 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7200 if (!SWIG_IsOK(res2
)) {
7201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7203 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7205 if (!SWIG_IsOK(ecode3
)) {
7206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7208 arg3
= static_cast< int >(val3
);
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 (arg1
)->SetRowAttr(arg2
,arg3
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_Py_Void();
7222 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
= 0;
7224 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7225 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7235 PyObject
* obj2
= 0 ;
7236 char * kwnames
[] = {
7237 (char *) "self",(char *) "attr",(char *) "col", NULL
7240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7242 if (!SWIG_IsOK(res1
)) {
7243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7245 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7247 if (!SWIG_IsOK(res2
)) {
7248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7250 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7252 if (!SWIG_IsOK(ecode3
)) {
7253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7255 arg3
= static_cast< int >(val3
);
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 (arg1
)->SetColAttr(arg2
,arg3
);
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 resultobj
= SWIG_Py_Void();
7269 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
= 0;
7271 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7282 PyObject
* obj2
= 0 ;
7283 char * kwnames
[] = {
7284 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7289 if (!SWIG_IsOK(res1
)) {
7290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7292 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7293 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7294 if (!SWIG_IsOK(ecode2
)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "2"" of type '" "size_t""'");
7297 arg2
= static_cast< size_t >(val2
);
7298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7299 if (!SWIG_IsOK(ecode3
)) {
7300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "3"" of type '" "int""'");
7302 arg3
= static_cast< int >(val3
);
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 (arg1
)->UpdateAttrRows(arg2
,arg3
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 resultobj
= SWIG_Py_Void();
7316 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
= 0;
7318 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7329 PyObject
* obj2
= 0 ;
7330 char * kwnames
[] = {
7331 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7336 if (!SWIG_IsOK(res1
)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7339 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7340 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7341 if (!SWIG_IsOK(ecode2
)) {
7342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "2"" of type '" "size_t""'");
7344 arg2
= static_cast< size_t >(val2
);
7345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7346 if (!SWIG_IsOK(ecode3
)) {
7347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "3"" of type '" "int""'");
7349 arg3
= static_cast< int >(val3
);
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 (arg1
)->UpdateAttrCols(arg2
,arg3
);
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_Py_Void();
7363 SWIGINTERN PyObject
*GridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7366 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_NewClientData(obj
));
7367 return SWIG_Py_Void();
7370 SWIGINTERN PyObject
*GridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7371 return SWIG_Python_InitShadowInstance(args
);
7374 SWIGINTERN PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7375 PyObject
*resultobj
= 0;
7376 wxPyGridCellAttrProvider
*result
= 0 ;
7378 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellAttrProvider",0,0,0)) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_NEW
| 0 );
7392 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
= 0;
7394 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7395 PyObject
*arg2
= (PyObject
*) 0 ;
7396 PyObject
*arg3
= (PyObject
*) 0 ;
7399 PyObject
* obj0
= 0 ;
7400 PyObject
* obj1
= 0 ;
7401 PyObject
* obj2
= 0 ;
7402 char * kwnames
[] = {
7403 (char *) "self",(char *) "self",(char *) "_class", NULL
7406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7408 if (!SWIG_IsOK(res1
)) {
7409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7411 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= SWIG_Py_Void();
7427 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
= 0;
7429 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7432 wxGridCellAttr::wxAttrKind arg4
;
7433 wxGridCellAttr
*result
= 0 ;
7442 PyObject
* obj0
= 0 ;
7443 PyObject
* obj1
= 0 ;
7444 PyObject
* obj2
= 0 ;
7445 PyObject
* obj3
= 0 ;
7446 char * kwnames
[] = {
7447 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7452 if (!SWIG_IsOK(res1
)) {
7453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7455 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7457 if (!SWIG_IsOK(ecode2
)) {
7458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7460 arg2
= static_cast< int >(val2
);
7461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7462 if (!SWIG_IsOK(ecode3
)) {
7463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7465 arg3
= static_cast< int >(val3
);
7466 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7467 if (!SWIG_IsOK(ecode4
)) {
7468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7470 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7478 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7486 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
= 0;
7488 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7489 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7500 PyObject
* obj0
= 0 ;
7501 PyObject
* obj1
= 0 ;
7502 PyObject
* obj2
= 0 ;
7503 PyObject
* obj3
= 0 ;
7504 char * kwnames
[] = {
7505 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7510 if (!SWIG_IsOK(res1
)) {
7511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7513 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7515 if (!SWIG_IsOK(res2
)) {
7516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7518 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7520 if (!SWIG_IsOK(ecode3
)) {
7521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7523 arg3
= static_cast< int >(val3
);
7524 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7525 if (!SWIG_IsOK(ecode4
)) {
7526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7528 arg4
= static_cast< int >(val4
);
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= SWIG_Py_Void();
7542 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
= 0;
7544 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7545 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7553 PyObject
* obj0
= 0 ;
7554 PyObject
* obj1
= 0 ;
7555 PyObject
* obj2
= 0 ;
7556 char * kwnames
[] = {
7557 (char *) "self",(char *) "attr",(char *) "row", NULL
7560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7562 if (!SWIG_IsOK(res1
)) {
7563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7565 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7567 if (!SWIG_IsOK(res2
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7570 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7572 if (!SWIG_IsOK(ecode3
)) {
7573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7575 arg3
= static_cast< int >(val3
);
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 (arg1
)->SetRowAttr(arg2
,arg3
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 resultobj
= SWIG_Py_Void();
7589 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
= 0;
7591 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7592 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7602 PyObject
* obj2
= 0 ;
7603 char * kwnames
[] = {
7604 (char *) "self",(char *) "attr",(char *) "col", NULL
7607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7612 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7614 if (!SWIG_IsOK(res2
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7617 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7619 if (!SWIG_IsOK(ecode3
)) {
7620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7622 arg3
= static_cast< int >(val3
);
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 (arg1
)->SetColAttr(arg2
,arg3
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_Py_Void();
7636 SWIGINTERN PyObject
*PyGridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7639 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_NewClientData(obj
));
7640 return SWIG_Py_Void();
7643 SWIGINTERN PyObject
*PyGridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7644 return SWIG_Python_InitShadowInstance(args
);
7647 SWIGINTERN PyObject
*_wrap_delete_GridTableBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7648 PyObject
*resultobj
= 0;
7649 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7652 PyObject
*swig_obj
[1] ;
7654 if (!args
) SWIG_fail
;
7656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN
| 0 );
7657 if (!SWIG_IsOK(res1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableBase" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7660 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_Py_Void();
7675 SWIGINTERN PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
= 0;
7677 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7678 PyObject
*arg2
= (PyObject
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7682 PyObject
* obj1
= 0 ;
7683 char * kwnames
[] = {
7684 (char *) "self",(char *) "_self", NULL
7687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7689 if (!SWIG_IsOK(res1
)) {
7690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase__setOORInfo" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7692 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 wxGridTableBase__setOORInfo(arg1
,arg2
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= SWIG_Py_Void();
7707 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
= 0;
7709 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7710 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7716 PyObject
* obj1
= 0 ;
7717 char * kwnames
[] = {
7718 (char *) "self",(char *) "attrProvider", NULL
7721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7723 if (!SWIG_IsOK(res1
)) {
7724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7726 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7728 if (!SWIG_IsOK(res2
)) {
7729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "2"" of type '" "wxGridCellAttrProvider *""'");
7731 arg2
= reinterpret_cast< wxGridCellAttrProvider
* >(argp2
);
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 (arg1
)->SetAttrProvider(arg2
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= SWIG_Py_Void();
7745 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7746 PyObject
*resultobj
= 0;
7747 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7748 wxGridCellAttrProvider
*result
= 0 ;
7751 PyObject
*swig_obj
[1] ;
7753 if (!args
) SWIG_fail
;
7755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7756 if (!SWIG_IsOK(res1
)) {
7757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
7759 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)0);
7775 SWIGINTERN PyObject
*_wrap_GridTableBase_SetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
= 0;
7777 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7778 wxGrid
*arg2
= (wxGrid
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7784 PyObject
* obj1
= 0 ;
7785 char * kwnames
[] = {
7786 (char *) "self",(char *) "grid", NULL
7789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7791 if (!SWIG_IsOK(res1
)) {
7792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetView" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7794 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
7796 if (!SWIG_IsOK(res2
)) {
7797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetView" "', expected argument " "2"" of type '" "wxGrid *""'");
7799 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 (arg1
)->SetView(arg2
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= SWIG_Py_Void();
7813 SWIGINTERN PyObject
*_wrap_GridTableBase_GetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7814 PyObject
*resultobj
= 0;
7815 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7816 wxGrid
*result
= 0 ;
7819 PyObject
*swig_obj
[1] ;
7821 if (!args
) SWIG_fail
;
7823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7824 if (!SWIG_IsOK(res1
)) {
7825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetView" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
7827 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7843 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7844 PyObject
*resultobj
= 0;
7845 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7849 PyObject
*swig_obj
[1] ;
7851 if (!args
) SWIG_fail
;
7853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7854 if (!SWIG_IsOK(res1
)) {
7855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7857 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 result
= (int)(arg1
)->GetNumberRows();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_From_int(static_cast< int >(result
));
7871 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7872 PyObject
*resultobj
= 0;
7873 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7877 PyObject
*swig_obj
[1] ;
7879 if (!args
) SWIG_fail
;
7881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7882 if (!SWIG_IsOK(res1
)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7885 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 result
= (int)(arg1
)->GetNumberCols();
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_From_int(static_cast< int >(result
));
7899 SWIGINTERN PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
= 0;
7901 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7913 PyObject
* obj2
= 0 ;
7914 char * kwnames
[] = {
7915 (char *) "self",(char *) "row",(char *) "col", NULL
7918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7920 if (!SWIG_IsOK(res1
)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7923 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7925 if (!SWIG_IsOK(ecode2
)) {
7926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "2"" of type '" "int""'");
7928 arg2
= static_cast< int >(val2
);
7929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7930 if (!SWIG_IsOK(ecode3
)) {
7931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "3"" of type '" "int""'");
7933 arg3
= static_cast< int >(val3
);
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7949 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
= 0;
7951 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7963 PyObject
* obj2
= 0 ;
7964 char * kwnames
[] = {
7965 (char *) "self",(char *) "row",(char *) "col", NULL
7968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7970 if (!SWIG_IsOK(res1
)) {
7971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7973 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7975 if (!SWIG_IsOK(ecode2
)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValue" "', expected argument " "2"" of type '" "int""'");
7978 arg2
= static_cast< int >(val2
);
7979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7980 if (!SWIG_IsOK(ecode3
)) {
7981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValue" "', expected argument " "3"" of type '" "int""'");
7983 arg3
= static_cast< int >(val3
);
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (arg1
)->GetValue(arg2
,arg3
);
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8003 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
= 0;
8005 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8008 wxString
*arg4
= 0 ;
8015 bool temp4
= false ;
8016 PyObject
* obj0
= 0 ;
8017 PyObject
* obj1
= 0 ;
8018 PyObject
* obj2
= 0 ;
8019 PyObject
* obj3
= 0 ;
8020 char * kwnames
[] = {
8021 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8026 if (!SWIG_IsOK(res1
)) {
8027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8029 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8031 if (!SWIG_IsOK(ecode2
)) {
8032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValue" "', expected argument " "2"" of type '" "int""'");
8034 arg2
= static_cast< int >(val2
);
8035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8036 if (!SWIG_IsOK(ecode3
)) {
8037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValue" "', expected argument " "3"" of type '" "int""'");
8039 arg3
= static_cast< int >(val3
);
8041 arg4
= wxString_in_helper(obj3
);
8042 if (arg4
== NULL
) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_Py_Void();
8066 SWIGINTERN PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
= 0;
8068 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8079 PyObject
* obj1
= 0 ;
8080 PyObject
* obj2
= 0 ;
8081 char * kwnames
[] = {
8082 (char *) "self",(char *) "row",(char *) "col", NULL
8085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8087 if (!SWIG_IsOK(res1
)) {
8088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8090 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8092 if (!SWIG_IsOK(ecode2
)) {
8093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "2"" of type '" "int""'");
8095 arg2
= static_cast< int >(val2
);
8096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8097 if (!SWIG_IsOK(ecode3
)) {
8098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "3"" of type '" "int""'");
8100 arg3
= static_cast< int >(val3
);
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (arg1
)->GetTypeName(arg2
,arg3
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8120 SWIGINTERN PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
*resultobj
= 0;
8122 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8125 wxString
*arg4
= 0 ;
8133 bool temp4
= false ;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8136 PyObject
* obj2
= 0 ;
8137 PyObject
* obj3
= 0 ;
8138 char * kwnames
[] = {
8139 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8144 if (!SWIG_IsOK(res1
)) {
8145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8147 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8149 if (!SWIG_IsOK(ecode2
)) {
8150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "2"" of type '" "int""'");
8152 arg2
= static_cast< int >(val2
);
8153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8154 if (!SWIG_IsOK(ecode3
)) {
8155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "3"" of type '" "int""'");
8157 arg3
= static_cast< int >(val3
);
8159 arg4
= wxString_in_helper(obj3
);
8160 if (arg4
== NULL
) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8186 SWIGINTERN PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
= 0;
8188 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8191 wxString
*arg4
= 0 ;
8199 bool temp4
= false ;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8202 PyObject
* obj2
= 0 ;
8203 PyObject
* obj3
= 0 ;
8204 char * kwnames
[] = {
8205 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8210 if (!SWIG_IsOK(res1
)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8213 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8215 if (!SWIG_IsOK(ecode2
)) {
8216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "2"" of type '" "int""'");
8218 arg2
= static_cast< int >(val2
);
8219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8220 if (!SWIG_IsOK(ecode3
)) {
8221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "3"" of type '" "int""'");
8223 arg3
= static_cast< int >(val3
);
8225 arg4
= wxString_in_helper(obj3
);
8226 if (arg4
== NULL
) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8252 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
= 0;
8254 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8264 PyObject
* obj0
= 0 ;
8265 PyObject
* obj1
= 0 ;
8266 PyObject
* obj2
= 0 ;
8267 char * kwnames
[] = {
8268 (char *) "self",(char *) "row",(char *) "col", NULL
8271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8273 if (!SWIG_IsOK(res1
)) {
8274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8276 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8278 if (!SWIG_IsOK(ecode2
)) {
8279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8281 arg2
= static_cast< int >(val2
);
8282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8283 if (!SWIG_IsOK(ecode3
)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8286 arg3
= static_cast< int >(val3
);
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 resultobj
= SWIG_From_long(static_cast< long >(result
));
8300 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
= 0;
8302 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8314 PyObject
* obj2
= 0 ;
8315 char * kwnames
[] = {
8316 (char *) "self",(char *) "row",(char *) "col", NULL
8319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8321 if (!SWIG_IsOK(res1
)) {
8322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8324 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8326 if (!SWIG_IsOK(ecode2
)) {
8327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8329 arg2
= static_cast< int >(val2
);
8330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8331 if (!SWIG_IsOK(ecode3
)) {
8332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8334 arg3
= static_cast< int >(val3
);
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= SWIG_From_double(static_cast< double >(result
));
8348 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
= 0;
8350 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8362 PyObject
* obj2
= 0 ;
8363 char * kwnames
[] = {
8364 (char *) "self",(char *) "row",(char *) "col", NULL
8367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8369 if (!SWIG_IsOK(res1
)) {
8370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8372 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8374 if (!SWIG_IsOK(ecode2
)) {
8375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8377 arg2
= static_cast< int >(val2
);
8378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8379 if (!SWIG_IsOK(ecode3
)) {
8380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8382 arg3
= static_cast< int >(val3
);
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8398 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
= 0;
8400 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8414 PyObject
* obj2
= 0 ;
8415 PyObject
* obj3
= 0 ;
8416 char * kwnames
[] = {
8417 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8422 if (!SWIG_IsOK(res1
)) {
8423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8425 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8427 if (!SWIG_IsOK(ecode2
)) {
8428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8430 arg2
= static_cast< int >(val2
);
8431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8432 if (!SWIG_IsOK(ecode3
)) {
8433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8435 arg3
= static_cast< int >(val3
);
8436 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8437 if (!SWIG_IsOK(ecode4
)) {
8438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "4"" of type '" "long""'");
8440 arg4
= static_cast< long >(val4
);
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_Py_Void();
8454 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
= 0;
8456 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8468 PyObject
* obj0
= 0 ;
8469 PyObject
* obj1
= 0 ;
8470 PyObject
* obj2
= 0 ;
8471 PyObject
* obj3
= 0 ;
8472 char * kwnames
[] = {
8473 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8478 if (!SWIG_IsOK(res1
)) {
8479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8481 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8483 if (!SWIG_IsOK(ecode2
)) {
8484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8486 arg2
= static_cast< int >(val2
);
8487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8488 if (!SWIG_IsOK(ecode3
)) {
8489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8491 arg3
= static_cast< int >(val3
);
8492 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
8493 if (!SWIG_IsOK(ecode4
)) {
8494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "4"" of type '" "double""'");
8496 arg4
= static_cast< double >(val4
);
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= SWIG_Py_Void();
8510 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
= 0;
8512 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8525 PyObject
* obj1
= 0 ;
8526 PyObject
* obj2
= 0 ;
8527 PyObject
* obj3
= 0 ;
8528 char * kwnames
[] = {
8529 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8534 if (!SWIG_IsOK(res1
)) {
8535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8537 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8539 if (!SWIG_IsOK(ecode2
)) {
8540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8542 arg2
= static_cast< int >(val2
);
8543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8544 if (!SWIG_IsOK(ecode3
)) {
8545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8547 arg3
= static_cast< int >(val3
);
8548 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
8549 if (!SWIG_IsOK(ecode4
)) {
8550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "4"" of type '" "bool""'");
8552 arg4
= static_cast< bool >(val4
);
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8559 resultobj
= SWIG_Py_Void();
8566 SWIGINTERN PyObject
*_wrap_GridTableBase_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8567 PyObject
*resultobj
= 0;
8568 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8571 PyObject
*swig_obj
[1] ;
8573 if (!args
) SWIG_fail
;
8575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8576 if (!SWIG_IsOK(res1
)) {
8577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_Clear" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8579 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= SWIG_Py_Void();
8593 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
= 0;
8595 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8596 size_t arg2
= (size_t) 0 ;
8597 size_t arg3
= (size_t) 1 ;
8605 PyObject
* obj0
= 0 ;
8606 PyObject
* obj1
= 0 ;
8607 PyObject
* obj2
= 0 ;
8608 char * kwnames
[] = {
8609 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8614 if (!SWIG_IsOK(res1
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8617 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8619 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8620 if (!SWIG_IsOK(ecode2
)) {
8621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertRows" "', expected argument " "2"" of type '" "size_t""'");
8623 arg2
= static_cast< size_t >(val2
);
8626 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8627 if (!SWIG_IsOK(ecode3
)) {
8628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertRows" "', expected argument " "3"" of type '" "size_t""'");
8630 arg3
= static_cast< size_t >(val3
);
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8647 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
= 0;
8649 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8650 size_t arg2
= (size_t) 1 ;
8656 PyObject
* obj0
= 0 ;
8657 PyObject
* obj1
= 0 ;
8658 char * kwnames
[] = {
8659 (char *) "self",(char *) "numRows", NULL
8662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8664 if (!SWIG_IsOK(res1
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8667 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8669 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8670 if (!SWIG_IsOK(ecode2
)) {
8671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendRows" "', expected argument " "2"" of type '" "size_t""'");
8673 arg2
= static_cast< size_t >(val2
);
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= (bool)(arg1
)->AppendRows(arg2
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8690 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
= 0;
8692 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8693 size_t arg2
= (size_t) 0 ;
8694 size_t arg3
= (size_t) 1 ;
8702 PyObject
* obj0
= 0 ;
8703 PyObject
* obj1
= 0 ;
8704 PyObject
* obj2
= 0 ;
8705 char * kwnames
[] = {
8706 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8711 if (!SWIG_IsOK(res1
)) {
8712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8714 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8716 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8717 if (!SWIG_IsOK(ecode2
)) {
8718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "2"" of type '" "size_t""'");
8720 arg2
= static_cast< size_t >(val2
);
8723 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8724 if (!SWIG_IsOK(ecode3
)) {
8725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "3"" of type '" "size_t""'");
8727 arg3
= static_cast< size_t >(val3
);
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8744 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
= 0;
8746 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8747 size_t arg2
= (size_t) 0 ;
8748 size_t arg3
= (size_t) 1 ;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8759 char * kwnames
[] = {
8760 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8765 if (!SWIG_IsOK(res1
)) {
8766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8768 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8770 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8771 if (!SWIG_IsOK(ecode2
)) {
8772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertCols" "', expected argument " "2"" of type '" "size_t""'");
8774 arg2
= static_cast< size_t >(val2
);
8777 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8778 if (!SWIG_IsOK(ecode3
)) {
8779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertCols" "', expected argument " "3"" of type '" "size_t""'");
8781 arg3
= static_cast< size_t >(val3
);
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8798 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
= 0;
8800 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8801 size_t arg2
= (size_t) 1 ;
8807 PyObject
* obj0
= 0 ;
8808 PyObject
* obj1
= 0 ;
8809 char * kwnames
[] = {
8810 (char *) "self",(char *) "numCols", NULL
8813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8815 if (!SWIG_IsOK(res1
)) {
8816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8818 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8820 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8821 if (!SWIG_IsOK(ecode2
)) {
8822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendCols" "', expected argument " "2"" of type '" "size_t""'");
8824 arg2
= static_cast< size_t >(val2
);
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 result
= (bool)(arg1
)->AppendCols(arg2
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8841 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
= 0;
8843 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8844 size_t arg2
= (size_t) 0 ;
8845 size_t arg3
= (size_t) 1 ;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8855 PyObject
* obj2
= 0 ;
8856 char * kwnames
[] = {
8857 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8862 if (!SWIG_IsOK(res1
)) {
8863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8865 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8867 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8868 if (!SWIG_IsOK(ecode2
)) {
8869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "2"" of type '" "size_t""'");
8871 arg2
= static_cast< size_t >(val2
);
8874 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8875 if (!SWIG_IsOK(ecode3
)) {
8876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "3"" of type '" "size_t""'");
8878 arg3
= static_cast< size_t >(val3
);
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8895 SWIGINTERN PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
= 0;
8897 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8904 PyObject
* obj0
= 0 ;
8905 PyObject
* obj1
= 0 ;
8906 char * kwnames
[] = {
8907 (char *) "self",(char *) "row", NULL
8910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8912 if (!SWIG_IsOK(res1
)) {
8913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8915 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8917 if (!SWIG_IsOK(ecode2
)) {
8918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
8920 arg2
= static_cast< int >(val2
);
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (arg1
)->GetRowLabelValue(arg2
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8940 SWIGINTERN PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
= 0;
8942 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8950 PyObject
* obj1
= 0 ;
8951 char * kwnames
[] = {
8952 (char *) "self",(char *) "col", NULL
8955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8957 if (!SWIG_IsOK(res1
)) {
8958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8960 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8962 if (!SWIG_IsOK(ecode2
)) {
8963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
8965 arg2
= static_cast< int >(val2
);
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= (arg1
)->GetColLabelValue(arg2
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8985 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
= 0;
8987 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8989 wxString
*arg3
= 0 ;
8994 bool temp3
= false ;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8997 PyObject
* obj2
= 0 ;
8998 char * kwnames
[] = {
8999 (char *) "self",(char *) "row",(char *) "value", NULL
9002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9004 if (!SWIG_IsOK(res1
)) {
9005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9007 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9009 if (!SWIG_IsOK(ecode2
)) {
9010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
9012 arg2
= static_cast< int >(val2
);
9014 arg3
= wxString_in_helper(obj2
);
9015 if (arg3
== NULL
) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_Py_Void();
9039 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
= 0;
9041 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9043 wxString
*arg3
= 0 ;
9048 bool temp3
= false ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9051 PyObject
* obj2
= 0 ;
9052 char * kwnames
[] = {
9053 (char *) "self",(char *) "col",(char *) "value", NULL
9056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9058 if (!SWIG_IsOK(res1
)) {
9059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9061 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9063 if (!SWIG_IsOK(ecode2
)) {
9064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
9066 arg2
= static_cast< int >(val2
);
9068 arg3
= wxString_in_helper(obj2
);
9069 if (arg3
== NULL
) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= SWIG_Py_Void();
9093 SWIGINTERN PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9094 PyObject
*resultobj
= 0;
9095 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9099 PyObject
*swig_obj
[1] ;
9101 if (!args
) SWIG_fail
;
9103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9104 if (!SWIG_IsOK(res1
)) {
9105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanHaveAttributes" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9107 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 result
= (bool)(arg1
)->CanHaveAttributes();
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9123 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
= 0;
9125 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9128 wxGridCellAttr::wxAttrKind arg4
;
9129 wxGridCellAttr
*result
= 0 ;
9138 PyObject
* obj0
= 0 ;
9139 PyObject
* obj1
= 0 ;
9140 PyObject
* obj2
= 0 ;
9141 PyObject
* obj3
= 0 ;
9142 char * kwnames
[] = {
9143 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
9146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9148 if (!SWIG_IsOK(res1
)) {
9149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9151 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9153 if (!SWIG_IsOK(ecode2
)) {
9154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetAttr" "', expected argument " "2"" of type '" "int""'");
9156 arg2
= static_cast< int >(val2
);
9157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9158 if (!SWIG_IsOK(ecode3
)) {
9159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetAttr" "', expected argument " "3"" of type '" "int""'");
9161 arg3
= static_cast< int >(val3
);
9162 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9163 if (!SWIG_IsOK(ecode4
)) {
9164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
9166 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
9182 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
= 0;
9184 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9185 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 PyObject
* obj2
= 0 ;
9199 PyObject
* obj3
= 0 ;
9200 char * kwnames
[] = {
9201 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
9204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9206 if (!SWIG_IsOK(res1
)) {
9207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9209 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9211 if (!SWIG_IsOK(res2
)) {
9212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9214 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9216 if (!SWIG_IsOK(ecode3
)) {
9217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetAttr" "', expected argument " "3"" of type '" "int""'");
9219 arg3
= static_cast< int >(val3
);
9220 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9221 if (!SWIG_IsOK(ecode4
)) {
9222 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetAttr" "', expected argument " "4"" of type '" "int""'");
9224 arg4
= static_cast< int >(val4
);
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= SWIG_Py_Void();
9238 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
= 0;
9240 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9241 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9251 PyObject
* obj2
= 0 ;
9252 char * kwnames
[] = {
9253 (char *) "self",(char *) "attr",(char *) "row", NULL
9256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9258 if (!SWIG_IsOK(res1
)) {
9259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9261 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9263 if (!SWIG_IsOK(res2
)) {
9264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9266 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9268 if (!SWIG_IsOK(ecode3
)) {
9269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
9271 arg3
= static_cast< int >(val3
);
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 (arg1
)->SetRowAttr(arg2
,arg3
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_Py_Void();
9285 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
= 0;
9287 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9288 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 PyObject
* obj2
= 0 ;
9299 char * kwnames
[] = {
9300 (char *) "self",(char *) "attr",(char *) "col", NULL
9303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9305 if (!SWIG_IsOK(res1
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9308 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9310 if (!SWIG_IsOK(res2
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9313 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9315 if (!SWIG_IsOK(ecode3
)) {
9316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "3"" of type '" "int""'");
9318 arg3
= static_cast< int >(val3
);
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 (arg1
)->SetColAttr(arg2
,arg3
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_Py_Void();
9332 SWIGINTERN PyObject
*GridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9335 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableBase
, SWIG_NewClientData(obj
));
9336 return SWIG_Py_Void();
9339 SWIGINTERN PyObject
*_wrap_new_PyGridTableBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9340 PyObject
*resultobj
= 0;
9341 wxPyGridTableBase
*result
= 0 ;
9343 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridTableBase",0,0,0)) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_NEW
| 0 );
9357 SWIGINTERN PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
= 0;
9359 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9360 PyObject
*arg2
= (PyObject
*) 0 ;
9361 PyObject
*arg3
= (PyObject
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9365 PyObject
* obj1
= 0 ;
9366 PyObject
* obj2
= 0 ;
9367 char * kwnames
[] = {
9368 (char *) "self",(char *) "self",(char *) "_class", NULL
9371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9373 if (!SWIG_IsOK(res1
)) {
9374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9376 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= SWIG_Py_Void();
9392 SWIGINTERN PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9393 PyObject
*resultobj
= 0;
9394 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9397 PyObject
*swig_obj
[1] ;
9399 if (!args
) SWIG_fail
;
9401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9402 if (!SWIG_IsOK(res1
)) {
9403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase_Destroy" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9405 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 wxPyGridTableBase_Destroy(arg1
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_Py_Void();
9419 SWIGINTERN PyObject
*PyGridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9422 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridTableBase
, SWIG_NewClientData(obj
));
9423 return SWIG_Py_Void();
9426 SWIGINTERN PyObject
*PyGridTableBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9427 return SWIG_Python_InitShadowInstance(args
);
9430 SWIGINTERN PyObject
*_wrap_new_GridStringTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
= 0;
9432 int arg1
= (int) 0 ;
9433 int arg2
= (int) 0 ;
9434 wxGridStringTable
*result
= 0 ;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9441 char * kwnames
[] = {
9442 (char *) "numRows",(char *) "numCols", NULL
9445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9447 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9448 if (!SWIG_IsOK(ecode1
)) {
9449 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridStringTable" "', expected argument " "1"" of type '" "int""'");
9451 arg1
= static_cast< int >(val1
);
9454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9455 if (!SWIG_IsOK(ecode2
)) {
9456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridStringTable" "', expected argument " "2"" of type '" "int""'");
9458 arg2
= static_cast< int >(val2
);
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridStringTable
, SWIG_POINTER_NEW
| 0 );
9473 SWIGINTERN PyObject
*GridStringTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9476 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridStringTable
, SWIG_NewClientData(obj
));
9477 return SWIG_Py_Void();
9480 SWIGINTERN PyObject
*GridStringTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9481 return SWIG_Python_InitShadowInstance(args
);
9484 SWIGINTERN PyObject
*_wrap_new_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
= 0;
9486 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9488 int arg3
= (int) -1 ;
9489 int arg4
= (int) -1 ;
9490 wxGridTableMessage
*result
= 0 ;
9499 PyObject
* obj0
= 0 ;
9500 PyObject
* obj1
= 0 ;
9501 PyObject
* obj2
= 0 ;
9502 PyObject
* obj3
= 0 ;
9503 char * kwnames
[] = {
9504 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
9507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9509 if (!SWIG_IsOK(res1
)) {
9510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9512 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9514 if (!SWIG_IsOK(ecode2
)) {
9515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridTableMessage" "', expected argument " "2"" of type '" "int""'");
9517 arg2
= static_cast< int >(val2
);
9519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9520 if (!SWIG_IsOK(ecode3
)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridTableMessage" "', expected argument " "3"" of type '" "int""'");
9523 arg3
= static_cast< int >(val3
);
9526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9527 if (!SWIG_IsOK(ecode4
)) {
9528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridTableMessage" "', expected argument " "4"" of type '" "int""'");
9530 arg4
= static_cast< int >(val4
);
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_NEW
| 0 );
9545 SWIGINTERN PyObject
*_wrap_delete_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9546 PyObject
*resultobj
= 0;
9547 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9550 PyObject
*swig_obj
[1] ;
9552 if (!args
) SWIG_fail
;
9554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_DISOWN
| 0 );
9555 if (!SWIG_IsOK(res1
)) {
9556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9558 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= SWIG_Py_Void();
9573 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
= 0;
9575 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9576 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9583 char * kwnames
[] = {
9584 (char *) "self",(char *) "table", NULL
9587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9589 if (!SWIG_IsOK(res1
)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9592 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9594 if (!SWIG_IsOK(res2
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
9597 arg2
= reinterpret_cast< wxGridTableBase
* >(argp2
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 (arg1
)->SetTableObject(arg2
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_Py_Void();
9611 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9612 PyObject
*resultobj
= 0;
9613 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9614 wxGridTableBase
*result
= 0 ;
9617 PyObject
*swig_obj
[1] ;
9619 if (!args
) SWIG_fail
;
9621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9622 if (!SWIG_IsOK(res1
)) {
9623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage const *""'");
9625 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
9641 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
= 0;
9643 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9651 char * kwnames
[] = {
9652 (char *) "self",(char *) "id", NULL
9655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9657 if (!SWIG_IsOK(res1
)) {
9658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9660 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9662 if (!SWIG_IsOK(ecode2
)) {
9663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetId" "', expected argument " "2"" of type '" "int""'");
9665 arg2
= static_cast< int >(val2
);
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 (arg1
)->SetId(arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= SWIG_Py_Void();
9679 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9680 PyObject
*resultobj
= 0;
9681 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9685 PyObject
*swig_obj
[1] ;
9687 if (!args
) SWIG_fail
;
9689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9690 if (!SWIG_IsOK(res1
)) {
9691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9693 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (int)(arg1
)->GetId();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_From_int(static_cast< int >(result
));
9707 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
= 0;
9709 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9717 char * kwnames
[] = {
9718 (char *) "self",(char *) "comInt1", NULL
9721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9723 if (!SWIG_IsOK(res1
)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9726 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9728 if (!SWIG_IsOK(ecode2
)) {
9729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "2"" of type '" "int""'");
9731 arg2
= static_cast< int >(val2
);
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 (arg1
)->SetCommandInt(arg2
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_Py_Void();
9745 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9746 PyObject
*resultobj
= 0;
9747 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9751 PyObject
*swig_obj
[1] ;
9753 if (!args
) SWIG_fail
;
9755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9756 if (!SWIG_IsOK(res1
)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9759 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (int)(arg1
)->GetCommandInt();
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= SWIG_From_int(static_cast< int >(result
));
9773 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
= 0;
9775 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9783 char * kwnames
[] = {
9784 (char *) "self",(char *) "comInt2", NULL
9787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9789 if (!SWIG_IsOK(res1
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9792 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9794 if (!SWIG_IsOK(ecode2
)) {
9795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "2"" of type '" "int""'");
9797 arg2
= static_cast< int >(val2
);
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 (arg1
)->SetCommandInt2(arg2
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_Py_Void();
9811 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9812 PyObject
*resultobj
= 0;
9813 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9817 PyObject
*swig_obj
[1] ;
9819 if (!args
) SWIG_fail
;
9821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9822 if (!SWIG_IsOK(res1
)) {
9823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9825 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (int)(arg1
)->GetCommandInt2();
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_From_int(static_cast< int >(result
));
9839 SWIGINTERN PyObject
*GridTableMessage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9842 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableMessage
, SWIG_NewClientData(obj
));
9843 return SWIG_Py_Void();
9846 SWIGINTERN PyObject
*GridTableMessage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9847 return SWIG_Python_InitShadowInstance(args
);
9850 SWIGINTERN PyObject
*_wrap_new_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
= 0;
9852 int arg1
= (int) -1 ;
9853 int arg2
= (int) -1 ;
9854 wxGridCellCoords
*result
= 0 ;
9859 PyObject
* obj0
= 0 ;
9860 PyObject
* obj1
= 0 ;
9861 char * kwnames
[] = {
9862 (char *) "r",(char *) "c", NULL
9865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9867 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9868 if (!SWIG_IsOK(ecode1
)) {
9869 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellCoords" "', expected argument " "1"" of type '" "int""'");
9871 arg1
= static_cast< int >(val1
);
9874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9875 if (!SWIG_IsOK(ecode2
)) {
9876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellCoords" "', expected argument " "2"" of type '" "int""'");
9878 arg2
= static_cast< int >(val2
);
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_NEW
| 0 );
9893 SWIGINTERN PyObject
*_wrap_delete_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9894 PyObject
*resultobj
= 0;
9895 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9898 PyObject
*swig_obj
[1] ;
9900 if (!args
) SWIG_fail
;
9902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_DISOWN
| 0 );
9903 if (!SWIG_IsOK(res1
)) {
9904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellCoords" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
9906 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_Py_Void();
9921 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9922 PyObject
*resultobj
= 0;
9923 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9927 PyObject
*swig_obj
[1] ;
9929 if (!args
) SWIG_fail
;
9931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
9932 if (!SWIG_IsOK(res1
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetRow" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
9935 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= SWIG_From_int(static_cast< int >(result
));
9949 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
= 0;
9951 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9958 PyObject
* obj1
= 0 ;
9959 char * kwnames
[] = {
9960 (char *) "self",(char *) "n", NULL
9963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
9965 if (!SWIG_IsOK(res1
)) {
9966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetRow" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
9968 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
9969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9970 if (!SWIG_IsOK(ecode2
)) {
9971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetRow" "', expected argument " "2"" of type '" "int""'");
9973 arg2
= static_cast< int >(val2
);
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 (arg1
)->SetRow(arg2
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= SWIG_Py_Void();
9987 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9988 PyObject
*resultobj
= 0;
9989 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
9993 PyObject
*swig_obj
[1] ;
9995 if (!args
) SWIG_fail
;
9997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
9998 if (!SWIG_IsOK(res1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetCol" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10001 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= SWIG_From_int(static_cast< int >(result
));
10015 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
= 0;
10017 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 char * kwnames
[] = {
10026 (char *) "self",(char *) "n", NULL
10029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10031 if (!SWIG_IsOK(res1
)) {
10032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetCol" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10034 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10036 if (!SWIG_IsOK(ecode2
)) {
10037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetCol" "', expected argument " "2"" of type '" "int""'");
10039 arg2
= static_cast< int >(val2
);
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 (arg1
)->SetCol(arg2
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_Py_Void();
10053 SWIGINTERN PyObject
*_wrap_GridCellCoords_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
= 0;
10055 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 PyObject
* obj2
= 0 ;
10067 char * kwnames
[] = {
10068 (char *) "self",(char *) "row",(char *) "col", NULL
10071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10073 if (!SWIG_IsOK(res1
)) {
10074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Set" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10076 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10078 if (!SWIG_IsOK(ecode2
)) {
10079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_Set" "', expected argument " "2"" of type '" "int""'");
10081 arg2
= static_cast< int >(val2
);
10082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10083 if (!SWIG_IsOK(ecode3
)) {
10084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellCoords_Set" "', expected argument " "3"" of type '" "int""'");
10086 arg3
= static_cast< int >(val3
);
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 (arg1
)->Set(arg2
,arg3
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= SWIG_Py_Void();
10100 SWIGINTERN PyObject
*_wrap_GridCellCoords___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
= 0;
10102 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10103 PyObject
*arg2
= (PyObject
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 PyObject
* obj1
= 0 ;
10109 char * kwnames
[] = {
10110 (char *) "self",(char *) "other", NULL
10113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10115 if (!SWIG_IsOK(res1
)) {
10116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___eq__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10118 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10121 result
= (bool)wxGridCellCoords___eq__(arg1
,arg2
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10133 SWIGINTERN PyObject
*_wrap_GridCellCoords___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
= 0;
10135 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10136 PyObject
*arg2
= (PyObject
*) 0 ;
10140 PyObject
* obj0
= 0 ;
10141 PyObject
* obj1
= 0 ;
10142 char * kwnames
[] = {
10143 (char *) "self",(char *) "other", NULL
10146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10148 if (!SWIG_IsOK(res1
)) {
10149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___ne__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10151 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10154 result
= (bool)wxGridCellCoords___ne__(arg1
,arg2
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10166 SWIGINTERN PyObject
*_wrap_GridCellCoords_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10167 PyObject
*resultobj
= 0;
10168 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10169 PyObject
*result
= 0 ;
10172 PyObject
*swig_obj
[1] ;
10174 if (!args
) SWIG_fail
;
10175 swig_obj
[0] = args
;
10176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10177 if (!SWIG_IsOK(res1
)) {
10178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Get" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10180 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= result
;
10194 SWIGINTERN PyObject
*GridCellCoords_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10197 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellCoords
, SWIG_NewClientData(obj
));
10198 return SWIG_Py_Void();
10201 SWIGINTERN PyObject
*GridCellCoords_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10202 return SWIG_Python_InitShadowInstance(args
);
10205 SWIGINTERN PyObject
*_wrap_new_Grid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
= 0;
10207 wxWindow
*arg1
= (wxWindow
*) 0 ;
10208 int arg2
= (int) -1 ;
10209 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10210 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10211 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10212 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10213 long arg5
= (long) wxWANTS_CHARS
;
10214 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10215 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10216 wxGrid
*result
= 0 ;
10225 bool temp6
= false ;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 PyObject
* obj2
= 0 ;
10229 PyObject
* obj3
= 0 ;
10230 PyObject
* obj4
= 0 ;
10231 PyObject
* obj5
= 0 ;
10232 char * kwnames
[] = {
10233 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10238 if (!SWIG_IsOK(res1
)) {
10239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Grid" "', expected argument " "1"" of type '" "wxWindow *""'");
10241 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10244 if (!SWIG_IsOK(ecode2
)) {
10245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Grid" "', expected argument " "2"" of type '" "int""'");
10247 arg2
= static_cast< int >(val2
);
10252 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10258 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10262 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10263 if (!SWIG_IsOK(ecode5
)) {
10264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Grid" "', expected argument " "5"" of type '" "long""'");
10266 arg5
= static_cast< long >(val5
);
10270 arg6
= wxString_in_helper(obj5
);
10271 if (arg6
== NULL
) SWIG_fail
;
10276 if (!wxPyCheckForApp()) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_NEW
| 0 );
10297 SWIGINTERN PyObject
*_wrap_new_PreGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10298 PyObject
*resultobj
= 0;
10299 wxGrid
*result
= 0 ;
10301 if (!SWIG_Python_UnpackTuple(args
,"new_PreGrid",0,0,0)) SWIG_fail
;
10303 if (!wxPyCheckForApp()) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (wxGrid
*)new wxGrid();
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_OWN
| 0 );
10316 SWIGINTERN PyObject
*_wrap_Grid_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
= 0;
10318 wxGrid
*arg1
= (wxGrid
*) 0 ;
10319 wxWindow
*arg2
= (wxWindow
*) 0 ;
10320 int arg3
= (int) -1 ;
10321 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10322 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10323 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10324 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10325 long arg6
= (long) wxWANTS_CHARS
;
10326 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
10327 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10339 bool temp7
= false ;
10340 PyObject
* obj0
= 0 ;
10341 PyObject
* obj1
= 0 ;
10342 PyObject
* obj2
= 0 ;
10343 PyObject
* obj3
= 0 ;
10344 PyObject
* obj4
= 0 ;
10345 PyObject
* obj5
= 0 ;
10346 PyObject
* obj6
= 0 ;
10347 char * kwnames
[] = {
10348 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10353 if (!SWIG_IsOK(res1
)) {
10354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_Create" "', expected argument " "1"" of type '" "wxGrid *""'");
10356 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10358 if (!SWIG_IsOK(res2
)) {
10359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10361 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10364 if (!SWIG_IsOK(ecode3
)) {
10365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_Create" "', expected argument " "3"" of type '" "int""'");
10367 arg3
= static_cast< int >(val3
);
10372 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10378 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10382 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10383 if (!SWIG_IsOK(ecode6
)) {
10384 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_Create" "', expected argument " "6"" of type '" "long""'");
10386 arg6
= static_cast< long >(val6
);
10390 arg7
= wxString_in_helper(obj6
);
10391 if (arg7
== NULL
) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10418 SWIGINTERN PyObject
*_wrap_Grid_CreateGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
= 0;
10420 wxGrid
*arg1
= (wxGrid
*) 0 ;
10423 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10433 PyObject
* obj0
= 0 ;
10434 PyObject
* obj1
= 0 ;
10435 PyObject
* obj2
= 0 ;
10436 PyObject
* obj3
= 0 ;
10437 char * kwnames
[] = {
10438 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
10441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10443 if (!SWIG_IsOK(res1
)) {
10444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CreateGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
10446 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10448 if (!SWIG_IsOK(ecode2
)) {
10449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CreateGrid" "', expected argument " "2"" of type '" "int""'");
10451 arg2
= static_cast< int >(val2
);
10452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10453 if (!SWIG_IsOK(ecode3
)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CreateGrid" "', expected argument " "3"" of type '" "int""'");
10456 arg3
= static_cast< int >(val3
);
10458 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10459 if (!SWIG_IsOK(ecode4
)) {
10460 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_CreateGrid" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10462 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10479 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
= 0;
10481 wxGrid
*arg1
= (wxGrid
*) 0 ;
10482 WXGRIDSELECTIONMODES arg2
;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 char * kwnames
[] = {
10490 (char *) "self",(char *) "selmode", NULL
10493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10495 if (!SWIG_IsOK(res1
)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10498 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10500 if (!SWIG_IsOK(ecode2
)) {
10501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetSelectionMode" "', expected argument " "2"" of type '" "WXGRIDSELECTIONMODES""'");
10503 arg2
= static_cast< WXGRIDSELECTIONMODES
>(val2
);
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 (arg1
)->SetSelectionMode(arg2
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_Py_Void();
10517 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10518 PyObject
*resultobj
= 0;
10519 wxGrid
*arg1
= (wxGrid
*) 0 ;
10520 WXGRIDSELECTIONMODES result
;
10523 PyObject
*swig_obj
[1] ;
10525 if (!args
) SWIG_fail
;
10526 swig_obj
[0] = args
;
10527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10531 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_From_int(static_cast< int >(result
));
10545 SWIGINTERN PyObject
*_wrap_Grid_GetNumberRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 PyObject
*resultobj
= 0;
10547 wxGrid
*arg1
= (wxGrid
*) 0 ;
10551 PyObject
*swig_obj
[1] ;
10553 if (!args
) SWIG_fail
;
10554 swig_obj
[0] = args
;
10555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10559 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (int)(arg1
)->GetNumberRows();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_From_int(static_cast< int >(result
));
10573 SWIGINTERN PyObject
*_wrap_Grid_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10574 PyObject
*resultobj
= 0;
10575 wxGrid
*arg1
= (wxGrid
*) 0 ;
10579 PyObject
*swig_obj
[1] ;
10581 if (!args
) SWIG_fail
;
10582 swig_obj
[0] = args
;
10583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10584 if (!SWIG_IsOK(res1
)) {
10585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberCols" "', expected argument " "1"" of type '" "wxGrid *""'");
10587 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (int)(arg1
)->GetNumberCols();
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= SWIG_From_int(static_cast< int >(result
));
10601 SWIGINTERN PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10602 PyObject
*resultobj
= 0;
10603 wxGrid
*arg1
= (wxGrid
*) 0 ;
10604 wxGridTableMessage
*arg2
= 0 ;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 char * kwnames
[] = {
10613 (char *) "self",(char *)"arg2", NULL
10616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10618 if (!SWIG_IsOK(res1
)) {
10619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "1"" of type '" "wxGrid *""'");
10621 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGridTableMessage
, 0 );
10623 if (!SWIG_IsOK(res2
)) {
10624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10629 arg2
= reinterpret_cast< wxGridTableMessage
* >(argp2
);
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10645 SWIGINTERN PyObject
*_wrap_Grid_GetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10646 PyObject
*resultobj
= 0;
10647 wxGrid
*arg1
= (wxGrid
*) 0 ;
10648 wxGridTableBase
*result
= 0 ;
10651 PyObject
*swig_obj
[1] ;
10653 if (!args
) SWIG_fail
;
10654 swig_obj
[0] = args
;
10655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10656 if (!SWIG_IsOK(res1
)) {
10657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTable" "', expected argument " "1"" of type '" "wxGrid const *""'");
10659 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
10675 SWIGINTERN PyObject
*_wrap_Grid_SetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
= 0;
10677 wxGrid
*arg1
= (wxGrid
*) 0 ;
10678 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
10679 bool arg3
= (bool) false ;
10680 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 PyObject
* obj2
= 0 ;
10692 PyObject
* obj3
= 0 ;
10693 char * kwnames
[] = {
10694 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
10697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10699 if (!SWIG_IsOK(res1
)) {
10700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetTable" "', expected argument " "1"" of type '" "wxGrid *""'");
10702 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10703 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN
| 0 );
10704 if (!SWIG_IsOK(res2
)) {
10705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetTable" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
10708 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10709 if (!SWIG_IsOK(ecode3
)) {
10710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetTable" "', expected argument " "3"" of type '" "bool""'");
10712 arg3
= static_cast< bool >(val3
);
10715 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10716 if (!SWIG_IsOK(ecode4
)) {
10717 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetTable" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10719 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10736 SWIGINTERN PyObject
*_wrap_Grid_ClearGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10737 PyObject
*resultobj
= 0;
10738 wxGrid
*arg1
= (wxGrid
*) 0 ;
10741 PyObject
*swig_obj
[1] ;
10743 if (!args
) SWIG_fail
;
10744 swig_obj
[0] = args
;
10745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10746 if (!SWIG_IsOK(res1
)) {
10747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
10749 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 (arg1
)->ClearGrid();
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= SWIG_Py_Void();
10763 SWIGINTERN PyObject
*_wrap_Grid_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
= 0;
10765 wxGrid
*arg1
= (wxGrid
*) 0 ;
10766 int arg2
= (int) 0 ;
10767 int arg3
= (int) 1 ;
10768 bool arg4
= (bool) true ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 PyObject
* obj2
= 0 ;
10781 PyObject
* obj3
= 0 ;
10782 char * kwnames
[] = {
10783 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10788 if (!SWIG_IsOK(res1
)) {
10789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10791 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10794 if (!SWIG_IsOK(ecode2
)) {
10795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertRows" "', expected argument " "2"" of type '" "int""'");
10797 arg2
= static_cast< int >(val2
);
10800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10801 if (!SWIG_IsOK(ecode3
)) {
10802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertRows" "', expected argument " "3"" of type '" "int""'");
10804 arg3
= static_cast< int >(val3
);
10807 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10808 if (!SWIG_IsOK(ecode4
)) {
10809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertRows" "', expected argument " "4"" of type '" "bool""'");
10811 arg4
= static_cast< bool >(val4
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10828 SWIGINTERN PyObject
*_wrap_Grid_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
= 0;
10830 wxGrid
*arg1
= (wxGrid
*) 0 ;
10831 int arg2
= (int) 1 ;
10832 bool arg3
= (bool) true ;
10840 PyObject
* obj0
= 0 ;
10841 PyObject
* obj1
= 0 ;
10842 PyObject
* obj2
= 0 ;
10843 char * kwnames
[] = {
10844 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
10847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10849 if (!SWIG_IsOK(res1
)) {
10850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10852 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10855 if (!SWIG_IsOK(ecode2
)) {
10856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendRows" "', expected argument " "2"" of type '" "int""'");
10858 arg2
= static_cast< int >(val2
);
10861 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10862 if (!SWIG_IsOK(ecode3
)) {
10863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendRows" "', expected argument " "3"" of type '" "bool""'");
10865 arg3
= static_cast< bool >(val3
);
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10882 SWIGINTERN PyObject
*_wrap_Grid_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
= 0;
10884 wxGrid
*arg1
= (wxGrid
*) 0 ;
10885 int arg2
= (int) 0 ;
10886 int arg3
= (int) 1 ;
10887 bool arg4
= (bool) true ;
10897 PyObject
* obj0
= 0 ;
10898 PyObject
* obj1
= 0 ;
10899 PyObject
* obj2
= 0 ;
10900 PyObject
* obj3
= 0 ;
10901 char * kwnames
[] = {
10902 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10907 if (!SWIG_IsOK(res1
)) {
10908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10910 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10913 if (!SWIG_IsOK(ecode2
)) {
10914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteRows" "', expected argument " "2"" of type '" "int""'");
10916 arg2
= static_cast< int >(val2
);
10919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10920 if (!SWIG_IsOK(ecode3
)) {
10921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteRows" "', expected argument " "3"" of type '" "int""'");
10923 arg3
= static_cast< int >(val3
);
10926 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10927 if (!SWIG_IsOK(ecode4
)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteRows" "', expected argument " "4"" of type '" "bool""'");
10930 arg4
= static_cast< bool >(val4
);
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10947 SWIGINTERN PyObject
*_wrap_Grid_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
= 0;
10949 wxGrid
*arg1
= (wxGrid
*) 0 ;
10950 int arg2
= (int) 0 ;
10951 int arg3
= (int) 1 ;
10952 bool arg4
= (bool) true ;
10962 PyObject
* obj0
= 0 ;
10963 PyObject
* obj1
= 0 ;
10964 PyObject
* obj2
= 0 ;
10965 PyObject
* obj3
= 0 ;
10966 char * kwnames
[] = {
10967 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
10970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",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_InsertCols" "', expected argument " "1"" of type '" "wxGrid *""'");
10975 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10978 if (!SWIG_IsOK(ecode2
)) {
10979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertCols" "', expected argument " "2"" of type '" "int""'");
10981 arg2
= static_cast< int >(val2
);
10984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10985 if (!SWIG_IsOK(ecode3
)) {
10986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertCols" "', expected argument " "3"" of type '" "int""'");
10988 arg3
= static_cast< int >(val3
);
10991 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10992 if (!SWIG_IsOK(ecode4
)) {
10993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertCols" "', expected argument " "4"" of type '" "bool""'");
10995 arg4
= static_cast< bool >(val4
);
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11012 SWIGINTERN PyObject
*_wrap_Grid_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
= 0;
11014 wxGrid
*arg1
= (wxGrid
*) 0 ;
11015 int arg2
= (int) 1 ;
11016 bool arg3
= (bool) true ;
11024 PyObject
* obj0
= 0 ;
11025 PyObject
* obj1
= 0 ;
11026 PyObject
* obj2
= 0 ;
11027 char * kwnames
[] = {
11028 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
11031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11033 if (!SWIG_IsOK(res1
)) {
11034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11036 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11039 if (!SWIG_IsOK(ecode2
)) {
11040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendCols" "', expected argument " "2"" of type '" "int""'");
11042 arg2
= static_cast< int >(val2
);
11045 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11046 if (!SWIG_IsOK(ecode3
)) {
11047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendCols" "', expected argument " "3"" of type '" "bool""'");
11049 arg3
= static_cast< bool >(val3
);
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11066 SWIGINTERN PyObject
*_wrap_Grid_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
= 0;
11068 wxGrid
*arg1
= (wxGrid
*) 0 ;
11069 int arg2
= (int) 0 ;
11070 int arg3
= (int) 1 ;
11071 bool arg4
= (bool) true ;
11081 PyObject
* obj0
= 0 ;
11082 PyObject
* obj1
= 0 ;
11083 PyObject
* obj2
= 0 ;
11084 PyObject
* obj3
= 0 ;
11085 char * kwnames
[] = {
11086 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
11089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11091 if (!SWIG_IsOK(res1
)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11094 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11097 if (!SWIG_IsOK(ecode2
)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteCols" "', expected argument " "2"" of type '" "int""'");
11100 arg2
= static_cast< int >(val2
);
11103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11104 if (!SWIG_IsOK(ecode3
)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteCols" "', expected argument " "3"" of type '" "int""'");
11107 arg3
= static_cast< int >(val3
);
11110 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11111 if (!SWIG_IsOK(ecode4
)) {
11112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteCols" "', expected argument " "4"" of type '" "bool""'");
11114 arg4
= static_cast< bool >(val4
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11131 SWIGINTERN PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
= 0;
11133 wxGrid
*arg1
= (wxGrid
*) 0 ;
11135 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 PyObject
* obj1
= 0 ;
11144 PyObject
* obj2
= 0 ;
11145 char * kwnames
[] = {
11146 (char *) "self",(char *) "dc",(char *) "attr", NULL
11149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11151 if (!SWIG_IsOK(res1
)) {
11152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "1"" of type '" "wxGrid *""'");
11154 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11156 if (!SWIG_IsOK(res2
)) {
11157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11162 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11163 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
11164 if (!SWIG_IsOK(res3
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "3"" of type '" "wxGridCellAttr const *""'");
11167 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= SWIG_Py_Void();
11181 SWIGINTERN PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
= 0;
11183 wxGrid
*arg1
= (wxGrid
*) 0 ;
11185 wxString
*arg3
= 0 ;
11187 int arg5
= (int) wxLEFT
;
11188 int arg6
= (int) wxTOP
;
11189 int arg7
= (int) wxHORIZONTAL
;
11194 bool temp3
= false ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 PyObject
* obj2
= 0 ;
11205 PyObject
* obj3
= 0 ;
11206 PyObject
* obj4
= 0 ;
11207 PyObject
* obj5
= 0 ;
11208 PyObject
* obj6
= 0 ;
11209 char * kwnames
[] = {
11210 (char *) "self",(char *) "dc",(char *)"arg3",(char *)"arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
11213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11215 if (!SWIG_IsOK(res1
)) {
11216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "1"" of type '" "wxGrid *""'");
11218 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11220 if (!SWIG_IsOK(res2
)) {
11221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11226 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11228 arg3
= wxString_in_helper(obj2
);
11229 if (arg3
== NULL
) SWIG_fail
;
11234 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11238 if (!SWIG_IsOK(ecode5
)) {
11239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "5"" of type '" "int""'");
11241 arg5
= static_cast< int >(val5
);
11244 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11245 if (!SWIG_IsOK(ecode6
)) {
11246 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "6"" of type '" "int""'");
11248 arg6
= static_cast< int >(val6
);
11251 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11252 if (!SWIG_IsOK(ecode7
)) {
11253 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "7"" of type '" "int""'");
11255 arg7
= static_cast< int >(val7
);
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= SWIG_Py_Void();
11278 SWIGINTERN PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
= 0;
11280 wxGrid
*arg1
= (wxGrid
*) 0 ;
11282 wxArrayString
*arg3
= 0 ;
11283 long *arg4
= (long *) 0 ;
11284 long *arg5
= (long *) 0 ;
11289 bool temp3
= false ;
11291 int res4
= SWIG_TMPOBJ
;
11293 int res5
= SWIG_TMPOBJ
;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 PyObject
* obj2
= 0 ;
11297 char * kwnames
[] = {
11298 (char *) "self",(char *) "dc",(char *) "lines", NULL
11303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11305 if (!SWIG_IsOK(res1
)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "1"" of type '" "wxGrid *""'");
11308 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11310 if (!SWIG_IsOK(res2
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11316 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11318 if (! PySequence_Check(obj2
)) {
11319 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11322 arg3
= new wxArrayString
;
11324 int i
, len
=PySequence_Length(obj2
);
11325 for (i
=0; i
<len
; i
++) {
11326 PyObject
* item
= PySequence_GetItem(obj2
, i
);
11327 wxString
* s
= wxString_in_helper(item
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_Py_Void();
11341 if (SWIG_IsTmpObj(res4
)) {
11342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
11344 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
11347 if (SWIG_IsTmpObj(res5
)) {
11348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg5
)));
11350 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, new_flags
));
11354 if (temp3
) delete arg3
;
11359 if (temp3
) delete arg3
;
11365 SWIGINTERN PyObject
*_wrap_Grid_BeginBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11366 PyObject
*resultobj
= 0;
11367 wxGrid
*arg1
= (wxGrid
*) 0 ;
11370 PyObject
*swig_obj
[1] ;
11372 if (!args
) SWIG_fail
;
11373 swig_obj
[0] = args
;
11374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11375 if (!SWIG_IsOK(res1
)) {
11376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BeginBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11378 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 (arg1
)->BeginBatch();
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= SWIG_Py_Void();
11392 SWIGINTERN PyObject
*_wrap_Grid_EndBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11393 PyObject
*resultobj
= 0;
11394 wxGrid
*arg1
= (wxGrid
*) 0 ;
11397 PyObject
*swig_obj
[1] ;
11399 if (!args
) SWIG_fail
;
11400 swig_obj
[0] = args
;
11401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11402 if (!SWIG_IsOK(res1
)) {
11403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EndBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11405 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 (arg1
)->EndBatch();
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_Py_Void();
11419 SWIGINTERN PyObject
*_wrap_Grid_GetBatchCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11420 PyObject
*resultobj
= 0;
11421 wxGrid
*arg1
= (wxGrid
*) 0 ;
11425 PyObject
*swig_obj
[1] ;
11427 if (!args
) SWIG_fail
;
11428 swig_obj
[0] = args
;
11429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11430 if (!SWIG_IsOK(res1
)) {
11431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetBatchCount" "', expected argument " "1"" of type '" "wxGrid *""'");
11433 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (int)(arg1
)->GetBatchCount();
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= SWIG_From_int(static_cast< int >(result
));
11447 SWIGINTERN PyObject
*_wrap_Grid_ForceRefresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11448 PyObject
*resultobj
= 0;
11449 wxGrid
*arg1
= (wxGrid
*) 0 ;
11452 PyObject
*swig_obj
[1] ;
11454 if (!args
) SWIG_fail
;
11455 swig_obj
[0] = args
;
11456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11457 if (!SWIG_IsOK(res1
)) {
11458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ForceRefresh" "', expected argument " "1"" of type '" "wxGrid *""'");
11460 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 (arg1
)->ForceRefresh();
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= SWIG_Py_Void();
11474 SWIGINTERN PyObject
*_wrap_Grid_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11475 PyObject
*resultobj
= 0;
11476 wxGrid
*arg1
= (wxGrid
*) 0 ;
11480 PyObject
*swig_obj
[1] ;
11482 if (!args
) SWIG_fail
;
11483 swig_obj
[0] = args
;
11484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11485 if (!SWIG_IsOK(res1
)) {
11486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsEditable" "', expected argument " "1"" of type '" "wxGrid *""'");
11488 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (bool)(arg1
)->IsEditable();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11504 SWIGINTERN PyObject
*_wrap_Grid_EnableEditing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
= 0;
11506 wxGrid
*arg1
= (wxGrid
*) 0 ;
11512 PyObject
* obj0
= 0 ;
11513 PyObject
* obj1
= 0 ;
11514 char * kwnames
[] = {
11515 (char *) "self",(char *) "edit", NULL
11518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11520 if (!SWIG_IsOK(res1
)) {
11521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableEditing" "', expected argument " "1"" of type '" "wxGrid *""'");
11523 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11524 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11525 if (!SWIG_IsOK(ecode2
)) {
11526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableEditing" "', expected argument " "2"" of type '" "bool""'");
11528 arg2
= static_cast< bool >(val2
);
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 (arg1
)->EnableEditing(arg2
);
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= SWIG_Py_Void();
11542 SWIGINTERN PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
= 0;
11544 wxGrid
*arg1
= (wxGrid
*) 0 ;
11545 bool arg2
= (bool) true ;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 char * kwnames
[] = {
11553 (char *) "self",(char *) "enable", NULL
11556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11558 if (!SWIG_IsOK(res1
)) {
11559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11561 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11563 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11564 if (!SWIG_IsOK(ecode2
)) {
11565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "2"" of type '" "bool""'");
11567 arg2
= static_cast< bool >(val2
);
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 (arg1
)->EnableCellEditControl(arg2
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= SWIG_Py_Void();
11582 SWIGINTERN PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11583 PyObject
*resultobj
= 0;
11584 wxGrid
*arg1
= (wxGrid
*) 0 ;
11587 PyObject
*swig_obj
[1] ;
11589 if (!args
) SWIG_fail
;
11590 swig_obj
[0] = args
;
11591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11592 if (!SWIG_IsOK(res1
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11595 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 (arg1
)->DisableCellEditControl();
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 resultobj
= SWIG_Py_Void();
11609 SWIGINTERN PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11610 PyObject
*resultobj
= 0;
11611 wxGrid
*arg1
= (wxGrid
*) 0 ;
11615 PyObject
*swig_obj
[1] ;
11617 if (!args
) SWIG_fail
;
11618 swig_obj
[0] = args
;
11619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11620 if (!SWIG_IsOK(res1
)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanEnableCellControl" "', expected argument " "1"" of type '" "wxGrid const *""'");
11623 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11639 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11640 PyObject
*resultobj
= 0;
11641 wxGrid
*arg1
= (wxGrid
*) 0 ;
11645 PyObject
*swig_obj
[1] ;
11647 if (!args
) SWIG_fail
;
11648 swig_obj
[0] = args
;
11649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11650 if (!SWIG_IsOK(res1
)) {
11651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlEnabled" "', expected argument " "1"" of type '" "wxGrid const *""'");
11653 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11669 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11670 PyObject
*resultobj
= 0;
11671 wxGrid
*arg1
= (wxGrid
*) 0 ;
11675 PyObject
*swig_obj
[1] ;
11677 if (!args
) SWIG_fail
;
11678 swig_obj
[0] = args
;
11679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11680 if (!SWIG_IsOK(res1
)) {
11681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlShown" "', expected argument " "1"" of type '" "wxGrid const *""'");
11683 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11699 SWIGINTERN PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11700 PyObject
*resultobj
= 0;
11701 wxGrid
*arg1
= (wxGrid
*) 0 ;
11705 PyObject
*swig_obj
[1] ;
11707 if (!args
) SWIG_fail
;
11708 swig_obj
[0] = args
;
11709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11710 if (!SWIG_IsOK(res1
)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCurrentCellReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
11713 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11729 SWIGINTERN PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11730 PyObject
*resultobj
= 0;
11731 wxGrid
*arg1
= (wxGrid
*) 0 ;
11734 PyObject
*swig_obj
[1] ;
11736 if (!args
) SWIG_fail
;
11737 swig_obj
[0] = args
;
11738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11739 if (!SWIG_IsOK(res1
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ShowCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11742 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 (arg1
)->ShowCellEditControl();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= SWIG_Py_Void();
11756 SWIGINTERN PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11757 PyObject
*resultobj
= 0;
11758 wxGrid
*arg1
= (wxGrid
*) 0 ;
11761 PyObject
*swig_obj
[1] ;
11763 if (!args
) SWIG_fail
;
11764 swig_obj
[0] = args
;
11765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11766 if (!SWIG_IsOK(res1
)) {
11767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_HideCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11769 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 (arg1
)->HideCellEditControl();
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= SWIG_Py_Void();
11783 SWIGINTERN PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11784 PyObject
*resultobj
= 0;
11785 wxGrid
*arg1
= (wxGrid
*) 0 ;
11788 PyObject
*swig_obj
[1] ;
11790 if (!args
) SWIG_fail
;
11791 swig_obj
[0] = args
;
11792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11793 if (!SWIG_IsOK(res1
)) {
11794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SaveEditControlValue" "', expected argument " "1"" of type '" "wxGrid *""'");
11796 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 (arg1
)->SaveEditControlValue();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= SWIG_Py_Void();
11810 SWIGINTERN PyObject
*_wrap_Grid_XYToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
= 0;
11812 wxGrid
*arg1
= (wxGrid
*) 0 ;
11815 wxGridCellCoords result
;
11822 PyObject
* obj0
= 0 ;
11823 PyObject
* obj1
= 0 ;
11824 PyObject
* obj2
= 0 ;
11825 char * kwnames
[] = {
11826 (char *) "self",(char *) "x",(char *) "y", NULL
11829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) 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_XYToCell" "', expected argument " "1"" of type '" "wxGrid *""'");
11834 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11836 if (!SWIG_IsOK(ecode2
)) {
11837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XYToCell" "', expected argument " "2"" of type '" "int""'");
11839 arg2
= static_cast< int >(val2
);
11840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11841 if (!SWIG_IsOK(ecode3
)) {
11842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XYToCell" "', expected argument " "3"" of type '" "int""'");
11844 arg3
= static_cast< int >(val3
);
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11851 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
11858 SWIGINTERN PyObject
*_wrap_Grid_YToRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
= 0;
11860 wxGrid
*arg1
= (wxGrid
*) 0 ;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 char * kwnames
[] = {
11870 (char *) "self",(char *) "y", NULL
11873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToRow" "', expected argument " "1"" of type '" "wxGrid *""'");
11878 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11880 if (!SWIG_IsOK(ecode2
)) {
11881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToRow" "', expected argument " "2"" of type '" "int""'");
11883 arg2
= static_cast< int >(val2
);
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (int)(arg1
)->YToRow(arg2
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_From_int(static_cast< int >(result
));
11897 SWIGINTERN PyObject
*_wrap_Grid_XToCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
= 0;
11899 wxGrid
*arg1
= (wxGrid
*) 0 ;
11901 bool arg3
= (bool) false ;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 PyObject
* obj2
= 0 ;
11912 char * kwnames
[] = {
11913 (char *) "self",(char *) "x",(char *) "clipToMinMax", NULL
11916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_XToCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11918 if (!SWIG_IsOK(res1
)) {
11919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToCol" "', expected argument " "1"" of type '" "wxGrid *""'");
11921 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11923 if (!SWIG_IsOK(ecode2
)) {
11924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToCol" "', expected argument " "2"" of type '" "int""'");
11926 arg2
= static_cast< int >(val2
);
11928 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11929 if (!SWIG_IsOK(ecode3
)) {
11930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XToCol" "', expected argument " "3"" of type '" "bool""'");
11932 arg3
= static_cast< bool >(val3
);
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (int)(arg1
)->XToCol(arg2
,arg3
);
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 resultobj
= SWIG_From_int(static_cast< int >(result
));
11947 SWIGINTERN PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
= 0;
11949 wxGrid
*arg1
= (wxGrid
*) 0 ;
11956 PyObject
* obj0
= 0 ;
11957 PyObject
* obj1
= 0 ;
11958 char * kwnames
[] = {
11959 (char *) "self",(char *) "y", NULL
11962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11964 if (!SWIG_IsOK(res1
)) {
11965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "1"" of type '" "wxGrid *""'");
11967 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11969 if (!SWIG_IsOK(ecode2
)) {
11970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "2"" of type '" "int""'");
11972 arg2
= static_cast< int >(val2
);
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_From_int(static_cast< int >(result
));
11986 SWIGINTERN PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
= 0;
11988 wxGrid
*arg1
= (wxGrid
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char * kwnames
[] = {
11998 (char *) "self",(char *) "x", NULL
12001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12006 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12008 if (!SWIG_IsOK(ecode2
)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "2"" of type '" "int""'");
12011 arg2
= static_cast< int >(val2
);
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_From_int(static_cast< int >(result
));
12025 SWIGINTERN PyObject
*_wrap_Grid_CellToRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
= 0;
12027 wxGrid
*arg1
= (wxGrid
*) 0 ;
12037 PyObject
* obj0
= 0 ;
12038 PyObject
* obj1
= 0 ;
12039 PyObject
* obj2
= 0 ;
12040 char * kwnames
[] = {
12041 (char *) "self",(char *) "row",(char *) "col", NULL
12044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12046 if (!SWIG_IsOK(res1
)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CellToRect" "', expected argument " "1"" of type '" "wxGrid *""'");
12049 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12051 if (!SWIG_IsOK(ecode2
)) {
12052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CellToRect" "', expected argument " "2"" of type '" "int""'");
12054 arg2
= static_cast< int >(val2
);
12055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12056 if (!SWIG_IsOK(ecode3
)) {
12057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CellToRect" "', expected argument " "3"" of type '" "int""'");
12059 arg3
= static_cast< int >(val3
);
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (arg1
)->CellToRect(arg2
,arg3
);
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12073 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12074 PyObject
*resultobj
= 0;
12075 wxGrid
*arg1
= (wxGrid
*) 0 ;
12079 PyObject
*swig_obj
[1] ;
12081 if (!args
) SWIG_fail
;
12082 swig_obj
[0] = args
;
12083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12084 if (!SWIG_IsOK(res1
)) {
12085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12087 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 result
= (int)(arg1
)->GetGridCursorRow();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_From_int(static_cast< int >(result
));
12101 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12102 PyObject
*resultobj
= 0;
12103 wxGrid
*arg1
= (wxGrid
*) 0 ;
12107 PyObject
*swig_obj
[1] ;
12109 if (!args
) SWIG_fail
;
12110 swig_obj
[0] = args
;
12111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12115 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (int)(arg1
)->GetGridCursorCol();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_From_int(static_cast< int >(result
));
12129 SWIGINTERN PyObject
*_wrap_Grid_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= 0;
12131 wxGrid
*arg1
= (wxGrid
*) 0 ;
12134 bool arg4
= (bool) true ;
12144 PyObject
* obj0
= 0 ;
12145 PyObject
* obj1
= 0 ;
12146 PyObject
* obj2
= 0 ;
12147 PyObject
* obj3
= 0 ;
12148 char * kwnames
[] = {
12149 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
12152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12154 if (!SWIG_IsOK(res1
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12157 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12159 if (!SWIG_IsOK(ecode2
)) {
12160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsVisible" "', expected argument " "2"" of type '" "int""'");
12162 arg2
= static_cast< int >(val2
);
12163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12164 if (!SWIG_IsOK(ecode3
)) {
12165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsVisible" "', expected argument " "3"" of type '" "int""'");
12167 arg3
= static_cast< int >(val3
);
12169 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12170 if (!SWIG_IsOK(ecode4
)) {
12171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_IsVisible" "', expected argument " "4"" of type '" "bool""'");
12173 arg4
= static_cast< bool >(val4
);
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12190 SWIGINTERN PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
= 0;
12192 wxGrid
*arg1
= (wxGrid
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 PyObject
* obj1
= 0 ;
12203 PyObject
* obj2
= 0 ;
12204 char * kwnames
[] = {
12205 (char *) "self",(char *) "row",(char *) "col", NULL
12208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MakeCellVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12213 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12215 if (!SWIG_IsOK(ecode2
)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MakeCellVisible" "', expected argument " "2"" of type '" "int""'");
12218 arg2
= static_cast< int >(val2
);
12219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12220 if (!SWIG_IsOK(ecode3
)) {
12221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_MakeCellVisible" "', expected argument " "3"" of type '" "int""'");
12223 arg3
= static_cast< int >(val3
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 (arg1
)->MakeCellVisible(arg2
,arg3
);
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= SWIG_Py_Void();
12237 SWIGINTERN PyObject
*_wrap_Grid_SetGridCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
= 0;
12239 wxGrid
*arg1
= (wxGrid
*) 0 ;
12248 PyObject
* obj0
= 0 ;
12249 PyObject
* obj1
= 0 ;
12250 PyObject
* obj2
= 0 ;
12251 char * kwnames
[] = {
12252 (char *) "self",(char *) "row",(char *) "col", NULL
12255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12257 if (!SWIG_IsOK(res1
)) {
12258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridCursor" "', expected argument " "1"" of type '" "wxGrid *""'");
12260 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12262 if (!SWIG_IsOK(ecode2
)) {
12263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetGridCursor" "', expected argument " "2"" of type '" "int""'");
12265 arg2
= static_cast< int >(val2
);
12266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12267 if (!SWIG_IsOK(ecode3
)) {
12268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetGridCursor" "', expected argument " "3"" of type '" "int""'");
12270 arg3
= static_cast< int >(val3
);
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 (arg1
)->SetGridCursor(arg2
,arg3
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= SWIG_Py_Void();
12284 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
= 0;
12286 wxGrid
*arg1
= (wxGrid
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 PyObject
* obj1
= 0 ;
12295 char * kwnames
[] = {
12296 (char *) "self",(char *) "expandSelection", NULL
12299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12301 if (!SWIG_IsOK(res1
)) {
12302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12304 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12305 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12306 if (!SWIG_IsOK(ecode2
)) {
12307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUp" "', expected argument " "2"" of type '" "bool""'");
12309 arg2
= static_cast< bool >(val2
);
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12325 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
= 0;
12327 wxGrid
*arg1
= (wxGrid
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 char * kwnames
[] = {
12337 (char *) "self",(char *) "expandSelection", NULL
12340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12345 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12346 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12347 if (!SWIG_IsOK(ecode2
)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDown" "', expected argument " "2"" of type '" "bool""'");
12350 arg2
= static_cast< bool >(val2
);
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12366 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
= 0;
12368 wxGrid
*arg1
= (wxGrid
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 PyObject
* obj1
= 0 ;
12377 char * kwnames
[] = {
12378 (char *) "self",(char *) "expandSelection", NULL
12381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12383 if (!SWIG_IsOK(res1
)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "1"" of type '" "wxGrid *""'");
12386 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12387 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12388 if (!SWIG_IsOK(ecode2
)) {
12389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "2"" of type '" "bool""'");
12391 arg2
= static_cast< bool >(val2
);
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12407 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
= 0;
12409 wxGrid
*arg1
= (wxGrid
*) 0 ;
12416 PyObject
* obj0
= 0 ;
12417 PyObject
* obj1
= 0 ;
12418 char * kwnames
[] = {
12419 (char *) "self",(char *) "expandSelection", NULL
12422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12424 if (!SWIG_IsOK(res1
)) {
12425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRight" "', expected argument " "1"" of type '" "wxGrid *""'");
12427 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12428 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12429 if (!SWIG_IsOK(ecode2
)) {
12430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRight" "', expected argument " "2"" of type '" "bool""'");
12432 arg2
= static_cast< bool >(val2
);
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12448 SWIGINTERN PyObject
*_wrap_Grid_MovePageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12449 PyObject
*resultobj
= 0;
12450 wxGrid
*arg1
= (wxGrid
*) 0 ;
12454 PyObject
*swig_obj
[1] ;
12456 if (!args
) SWIG_fail
;
12457 swig_obj
[0] = args
;
12458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12459 if (!SWIG_IsOK(res1
)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12462 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (bool)(arg1
)->MovePageDown();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12478 SWIGINTERN PyObject
*_wrap_Grid_MovePageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12479 PyObject
*resultobj
= 0;
12480 wxGrid
*arg1
= (wxGrid
*) 0 ;
12484 PyObject
*swig_obj
[1] ;
12486 if (!args
) SWIG_fail
;
12487 swig_obj
[0] = args
;
12488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12489 if (!SWIG_IsOK(res1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12492 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (bool)(arg1
)->MovePageUp();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12508 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
= 0;
12510 wxGrid
*arg1
= (wxGrid
*) 0 ;
12517 PyObject
* obj0
= 0 ;
12518 PyObject
* obj1
= 0 ;
12519 char * kwnames
[] = {
12520 (char *) "self",(char *) "expandSelection", NULL
12523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12525 if (!SWIG_IsOK(res1
)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12528 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12530 if (!SWIG_IsOK(ecode2
)) {
12531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "2"" of type '" "bool""'");
12533 arg2
= static_cast< bool >(val2
);
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12549 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
= 0;
12551 wxGrid
*arg1
= (wxGrid
*) 0 ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 char * kwnames
[] = {
12561 (char *) "self",(char *) "expandSelection", NULL
12564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12566 if (!SWIG_IsOK(res1
)) {
12567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12569 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12570 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12571 if (!SWIG_IsOK(ecode2
)) {
12572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "2"" of type '" "bool""'");
12574 arg2
= static_cast< bool >(val2
);
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12590 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
= 0;
12592 wxGrid
*arg1
= (wxGrid
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 PyObject
* obj1
= 0 ;
12601 char * kwnames
[] = {
12602 (char *) "self",(char *) "expandSelection", NULL
12605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12607 if (!SWIG_IsOK(res1
)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12610 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12611 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12612 if (!SWIG_IsOK(ecode2
)) {
12613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "2"" of type '" "bool""'");
12615 arg2
= static_cast< bool >(val2
);
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12631 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
= 0;
12633 wxGrid
*arg1
= (wxGrid
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 char * kwnames
[] = {
12643 (char *) "self",(char *) "expandSelection", NULL
12646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12648 if (!SWIG_IsOK(res1
)) {
12649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12651 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12652 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12653 if (!SWIG_IsOK(ecode2
)) {
12654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "2"" of type '" "bool""'");
12656 arg2
= static_cast< bool >(val2
);
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12672 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12673 PyObject
*resultobj
= 0;
12674 wxGrid
*arg1
= (wxGrid
*) 0 ;
12678 PyObject
*swig_obj
[1] ;
12680 if (!args
) SWIG_fail
;
12681 swig_obj
[0] = args
;
12682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12683 if (!SWIG_IsOK(res1
)) {
12684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12686 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= (int)(arg1
)->GetDefaultRowLabelSize();
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_From_int(static_cast< int >(result
));
12700 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12701 PyObject
*resultobj
= 0;
12702 wxGrid
*arg1
= (wxGrid
*) 0 ;
12706 PyObject
*swig_obj
[1] ;
12708 if (!args
) SWIG_fail
;
12709 swig_obj
[0] = args
;
12710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12711 if (!SWIG_IsOK(res1
)) {
12712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12714 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 result
= (int)(arg1
)->GetRowLabelSize();
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= SWIG_From_int(static_cast< int >(result
));
12728 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12729 PyObject
*resultobj
= 0;
12730 wxGrid
*arg1
= (wxGrid
*) 0 ;
12734 PyObject
*swig_obj
[1] ;
12736 if (!args
) SWIG_fail
;
12737 swig_obj
[0] = args
;
12738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12739 if (!SWIG_IsOK(res1
)) {
12740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12742 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (int)(arg1
)->GetDefaultColLabelSize();
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= SWIG_From_int(static_cast< int >(result
));
12756 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12757 PyObject
*resultobj
= 0;
12758 wxGrid
*arg1
= (wxGrid
*) 0 ;
12762 PyObject
*swig_obj
[1] ;
12764 if (!args
) SWIG_fail
;
12765 swig_obj
[0] = args
;
12766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12767 if (!SWIG_IsOK(res1
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12770 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (int)(arg1
)->GetColLabelSize();
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= SWIG_From_int(static_cast< int >(result
));
12784 SWIGINTERN PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12785 PyObject
*resultobj
= 0;
12786 wxGrid
*arg1
= (wxGrid
*) 0 ;
12790 PyObject
*swig_obj
[1] ;
12792 if (!args
) SWIG_fail
;
12793 swig_obj
[0] = args
;
12794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12795 if (!SWIG_IsOK(res1
)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
12798 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (arg1
)->GetLabelBackgroundColour();
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
12812 SWIGINTERN PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12813 PyObject
*resultobj
= 0;
12814 wxGrid
*arg1
= (wxGrid
*) 0 ;
12818 PyObject
*swig_obj
[1] ;
12820 if (!args
) SWIG_fail
;
12821 swig_obj
[0] = args
;
12822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12823 if (!SWIG_IsOK(res1
)) {
12824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
12826 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (arg1
)->GetLabelTextColour();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
12840 SWIGINTERN PyObject
*_wrap_Grid_GetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12841 PyObject
*resultobj
= 0;
12842 wxGrid
*arg1
= (wxGrid
*) 0 ;
12846 PyObject
*swig_obj
[1] ;
12848 if (!args
) SWIG_fail
;
12849 swig_obj
[0] = args
;
12850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12851 if (!SWIG_IsOK(res1
)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
12854 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (arg1
)->GetLabelFont();
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12868 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12869 PyObject
*resultobj
= 0;
12870 wxGrid
*arg1
= (wxGrid
*) 0 ;
12871 int *arg2
= (int *) 0 ;
12872 int *arg3
= (int *) 0 ;
12876 int res2
= SWIG_TMPOBJ
;
12878 int res3
= SWIG_TMPOBJ
;
12879 PyObject
*swig_obj
[1] ;
12883 if (!args
) SWIG_fail
;
12884 swig_obj
[0] = args
;
12885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12886 if (!SWIG_IsOK(res1
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
12889 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 resultobj
= SWIG_Py_Void();
12897 if (SWIG_IsTmpObj(res2
)) {
12898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
12900 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
12903 if (SWIG_IsTmpObj(res3
)) {
12904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
12906 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
12915 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12916 PyObject
*resultobj
= 0;
12917 wxGrid
*arg1
= (wxGrid
*) 0 ;
12918 int *arg2
= (int *) 0 ;
12919 int *arg3
= (int *) 0 ;
12923 int res2
= SWIG_TMPOBJ
;
12925 int res3
= SWIG_TMPOBJ
;
12926 PyObject
*swig_obj
[1] ;
12930 if (!args
) SWIG_fail
;
12931 swig_obj
[0] = args
;
12932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
12936 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_Py_Void();
12944 if (SWIG_IsTmpObj(res2
)) {
12945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
12947 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
12950 if (SWIG_IsTmpObj(res3
)) {
12951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
12953 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
12962 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 PyObject
*resultobj
= 0;
12964 wxGrid
*arg1
= (wxGrid
*) 0 ;
12968 PyObject
*swig_obj
[1] ;
12970 if (!args
) SWIG_fail
;
12971 swig_obj
[0] = args
;
12972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12973 if (!SWIG_IsOK(res1
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
12976 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (int)(arg1
)->GetColLabelTextOrientation();
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_From_int(static_cast< int >(result
));
12990 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
= 0;
12992 wxGrid
*arg1
= (wxGrid
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 char * kwnames
[] = {
13002 (char *) "self",(char *) "row", NULL
13005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13007 if (!SWIG_IsOK(res1
)) {
13008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13010 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13012 if (!SWIG_IsOK(ecode2
)) {
13013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13015 arg2
= static_cast< int >(val2
);
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= (arg1
)->GetRowLabelValue(arg2
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13035 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
= 0;
13037 wxGrid
*arg1
= (wxGrid
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 PyObject
* obj1
= 0 ;
13046 char * kwnames
[] = {
13047 (char *) "self",(char *) "col", NULL
13050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13052 if (!SWIG_IsOK(res1
)) {
13053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13055 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13057 if (!SWIG_IsOK(ecode2
)) {
13058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13060 arg2
= static_cast< int >(val2
);
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 result
= (arg1
)->GetColLabelValue(arg2
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13080 SWIGINTERN PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13081 PyObject
*resultobj
= 0;
13082 wxGrid
*arg1
= (wxGrid
*) 0 ;
13086 PyObject
*swig_obj
[1] ;
13088 if (!args
) SWIG_fail
;
13089 swig_obj
[0] = args
;
13090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13091 if (!SWIG_IsOK(res1
)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13094 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (arg1
)->GetGridLineColour();
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13108 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13109 PyObject
*resultobj
= 0;
13110 wxGrid
*arg1
= (wxGrid
*) 0 ;
13114 PyObject
*swig_obj
[1] ;
13116 if (!args
) SWIG_fail
;
13117 swig_obj
[0] = args
;
13118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13122 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (arg1
)->GetCellHighlightColour();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13136 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13137 PyObject
*resultobj
= 0;
13138 wxGrid
*arg1
= (wxGrid
*) 0 ;
13142 PyObject
*swig_obj
[1] ;
13144 if (!args
) SWIG_fail
;
13145 swig_obj
[0] = args
;
13146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13147 if (!SWIG_IsOK(res1
)) {
13148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13150 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (int)(arg1
)->GetCellHighlightPenWidth();
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= SWIG_From_int(static_cast< int >(result
));
13164 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13165 PyObject
*resultobj
= 0;
13166 wxGrid
*arg1
= (wxGrid
*) 0 ;
13170 PyObject
*swig_obj
[1] ;
13172 if (!args
) SWIG_fail
;
13173 swig_obj
[0] = args
;
13174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13175 if (!SWIG_IsOK(res1
)) {
13176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13178 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= SWIG_From_int(static_cast< int >(result
));
13192 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
= 0;
13194 wxGrid
*arg1
= (wxGrid
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 char * kwnames
[] = {
13203 (char *) "self",(char *) "width", NULL
13206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13208 if (!SWIG_IsOK(res1
)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13211 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13213 if (!SWIG_IsOK(ecode2
)) {
13214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "2"" of type '" "int""'");
13216 arg2
= static_cast< int >(val2
);
13218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13219 (arg1
)->SetRowLabelSize(arg2
);
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= SWIG_Py_Void();
13230 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
= 0;
13232 wxGrid
*arg1
= (wxGrid
*) 0 ;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 char * kwnames
[] = {
13241 (char *) "self",(char *) "height", NULL
13244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13246 if (!SWIG_IsOK(res1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13249 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13251 if (!SWIG_IsOK(ecode2
)) {
13252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelSize" "', expected argument " "2"" of type '" "int""'");
13254 arg2
= static_cast< int >(val2
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 (arg1
)->SetColLabelSize(arg2
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_Py_Void();
13268 SWIGINTERN PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
= 0;
13270 wxGrid
*arg1
= (wxGrid
*) 0 ;
13271 wxColour
*arg2
= 0 ;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 char * kwnames
[] = {
13278 (char *) "self",(char *)"arg2", NULL
13281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13286 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13289 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_Py_Void();
13304 SWIGINTERN PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
= 0;
13306 wxGrid
*arg1
= (wxGrid
*) 0 ;
13307 wxColour
*arg2
= 0 ;
13311 PyObject
* obj0
= 0 ;
13312 PyObject
* obj1
= 0 ;
13313 char * kwnames
[] = {
13314 (char *) "self",(char *)"arg2", NULL
13317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13319 if (!SWIG_IsOK(res1
)) {
13320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13322 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_Py_Void();
13340 SWIGINTERN PyObject
*_wrap_Grid_SetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
= 0;
13342 wxGrid
*arg1
= (wxGrid
*) 0 ;
13348 PyObject
* obj0
= 0 ;
13349 PyObject
* obj1
= 0 ;
13350 char * kwnames
[] = {
13351 (char *) "self",(char *)"arg2", NULL
13354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13356 if (!SWIG_IsOK(res1
)) {
13357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
13359 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
13361 if (!SWIG_IsOK(res2
)) {
13362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13367 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_Py_Void();
13381 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
= 0;
13383 wxGrid
*arg1
= (wxGrid
*) 0 ;
13392 PyObject
* obj0
= 0 ;
13393 PyObject
* obj1
= 0 ;
13394 PyObject
* obj2
= 0 ;
13395 char * kwnames
[] = {
13396 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13401 if (!SWIG_IsOK(res1
)) {
13402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13404 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13406 if (!SWIG_IsOK(ecode2
)) {
13407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13409 arg2
= static_cast< int >(val2
);
13410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13411 if (!SWIG_IsOK(ecode3
)) {
13412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13414 arg3
= static_cast< int >(val3
);
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= SWIG_Py_Void();
13428 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
= 0;
13430 wxGrid
*arg1
= (wxGrid
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 PyObject
* obj2
= 0 ;
13442 char * kwnames
[] = {
13443 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13448 if (!SWIG_IsOK(res1
)) {
13449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13451 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13453 if (!SWIG_IsOK(ecode2
)) {
13454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13456 arg2
= static_cast< int >(val2
);
13457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13458 if (!SWIG_IsOK(ecode3
)) {
13459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13461 arg3
= static_cast< int >(val3
);
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= SWIG_Py_Void();
13475 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
= 0;
13477 wxGrid
*arg1
= (wxGrid
*) 0 ;
13483 PyObject
* obj0
= 0 ;
13484 PyObject
* obj1
= 0 ;
13485 char * kwnames
[] = {
13486 (char *) "self",(char *) "textOrientation", NULL
13489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13491 if (!SWIG_IsOK(res1
)) {
13492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
13494 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13496 if (!SWIG_IsOK(ecode2
)) {
13497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "2"" of type '" "int""'");
13499 arg2
= static_cast< int >(val2
);
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 (arg1
)->SetColLabelTextOrientation(arg2
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_Py_Void();
13513 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
= 0;
13515 wxGrid
*arg1
= (wxGrid
*) 0 ;
13517 wxString
*arg3
= 0 ;
13522 bool temp3
= false ;
13523 PyObject
* obj0
= 0 ;
13524 PyObject
* obj1
= 0 ;
13525 PyObject
* obj2
= 0 ;
13526 char * kwnames
[] = {
13527 (char *) "self",(char *) "row",(char *)"arg3", NULL
13530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13532 if (!SWIG_IsOK(res1
)) {
13533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13535 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13537 if (!SWIG_IsOK(ecode2
)) {
13538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13540 arg2
= static_cast< int >(val2
);
13542 arg3
= wxString_in_helper(obj2
);
13543 if (arg3
== NULL
) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_Py_Void();
13567 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
= 0;
13569 wxGrid
*arg1
= (wxGrid
*) 0 ;
13571 wxString
*arg3
= 0 ;
13576 bool temp3
= false ;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 PyObject
* obj2
= 0 ;
13580 char * kwnames
[] = {
13581 (char *) "self",(char *) "col",(char *)"arg3", NULL
13584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13586 if (!SWIG_IsOK(res1
)) {
13587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13589 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13591 if (!SWIG_IsOK(ecode2
)) {
13592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13594 arg2
= static_cast< int >(val2
);
13596 arg3
= wxString_in_helper(obj2
);
13597 if (arg3
== NULL
) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13606 resultobj
= SWIG_Py_Void();
13621 SWIGINTERN PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
= 0;
13623 wxGrid
*arg1
= (wxGrid
*) 0 ;
13624 wxColour
*arg2
= 0 ;
13628 PyObject
* obj0
= 0 ;
13629 PyObject
* obj1
= 0 ;
13630 char * kwnames
[] = {
13631 (char *) "self",(char *)"arg2", NULL
13634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13636 if (!SWIG_IsOK(res1
)) {
13637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13639 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13642 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= SWIG_Py_Void();
13657 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
*resultobj
= 0;
13659 wxGrid
*arg1
= (wxGrid
*) 0 ;
13660 wxColour
*arg2
= 0 ;
13664 PyObject
* obj0
= 0 ;
13665 PyObject
* obj1
= 0 ;
13666 char * kwnames
[] = {
13667 (char *) "self",(char *)"arg2", NULL
13670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13672 if (!SWIG_IsOK(res1
)) {
13673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13675 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13678 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= SWIG_Py_Void();
13693 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
= 0;
13695 wxGrid
*arg1
= (wxGrid
*) 0 ;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 char * kwnames
[] = {
13704 (char *) "self",(char *) "width", NULL
13707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13709 if (!SWIG_IsOK(res1
)) {
13710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13712 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13714 if (!SWIG_IsOK(ecode2
)) {
13715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "2"" of type '" "int""'");
13717 arg2
= static_cast< int >(val2
);
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 (arg1
)->SetCellHighlightPenWidth(arg2
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= SWIG_Py_Void();
13731 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
= 0;
13733 wxGrid
*arg1
= (wxGrid
*) 0 ;
13739 PyObject
* obj0
= 0 ;
13740 PyObject
* obj1
= 0 ;
13741 char * kwnames
[] = {
13742 (char *) "self",(char *) "width", NULL
13745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13747 if (!SWIG_IsOK(res1
)) {
13748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13750 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13752 if (!SWIG_IsOK(ecode2
)) {
13753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "2"" of type '" "int""'");
13755 arg2
= static_cast< int >(val2
);
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 (arg1
)->SetCellHighlightROPenWidth(arg2
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= SWIG_Py_Void();
13769 SWIGINTERN PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
= 0;
13771 wxGrid
*arg1
= (wxGrid
*) 0 ;
13772 bool arg2
= (bool) true ;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 char * kwnames
[] = {
13780 (char *) "self",(char *) "enable", NULL
13783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13785 if (!SWIG_IsOK(res1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13788 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13790 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13791 if (!SWIG_IsOK(ecode2
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "2"" of type '" "bool""'");
13794 arg2
= static_cast< bool >(val2
);
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 (arg1
)->EnableDragRowSize(arg2
);
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= SWIG_Py_Void();
13809 SWIGINTERN PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13810 PyObject
*resultobj
= 0;
13811 wxGrid
*arg1
= (wxGrid
*) 0 ;
13814 PyObject
*swig_obj
[1] ;
13816 if (!args
) SWIG_fail
;
13817 swig_obj
[0] = args
;
13818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13819 if (!SWIG_IsOK(res1
)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13822 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 (arg1
)->DisableDragRowSize();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= SWIG_Py_Void();
13836 SWIGINTERN PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13837 PyObject
*resultobj
= 0;
13838 wxGrid
*arg1
= (wxGrid
*) 0 ;
13842 PyObject
*swig_obj
[1] ;
13844 if (!args
) SWIG_fail
;
13845 swig_obj
[0] = args
;
13846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13847 if (!SWIG_IsOK(res1
)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13850 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (bool)(arg1
)->CanDragRowSize();
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13866 SWIGINTERN PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
= 0;
13868 wxGrid
*arg1
= (wxGrid
*) 0 ;
13869 bool arg2
= (bool) true ;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 char * kwnames
[] = {
13877 (char *) "self",(char *) "enable", NULL
13880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13882 if (!SWIG_IsOK(res1
)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13885 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13887 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13888 if (!SWIG_IsOK(ecode2
)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColSize" "', expected argument " "2"" of type '" "bool""'");
13891 arg2
= static_cast< bool >(val2
);
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 (arg1
)->EnableDragColSize(arg2
);
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= SWIG_Py_Void();
13906 SWIGINTERN PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13907 PyObject
*resultobj
= 0;
13908 wxGrid
*arg1
= (wxGrid
*) 0 ;
13911 PyObject
*swig_obj
[1] ;
13913 if (!args
) SWIG_fail
;
13914 swig_obj
[0] = args
;
13915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13916 if (!SWIG_IsOK(res1
)) {
13917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13919 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 (arg1
)->DisableDragColSize();
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= SWIG_Py_Void();
13933 SWIGINTERN PyObject
*_wrap_Grid_CanDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13934 PyObject
*resultobj
= 0;
13935 wxGrid
*arg1
= (wxGrid
*) 0 ;
13939 PyObject
*swig_obj
[1] ;
13941 if (!args
) SWIG_fail
;
13942 swig_obj
[0] = args
;
13943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13944 if (!SWIG_IsOK(res1
)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13947 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (bool)(arg1
)->CanDragColSize();
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13963 SWIGINTERN PyObject
*_wrap_Grid_EnableDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
= 0;
13965 wxGrid
*arg1
= (wxGrid
*) 0 ;
13966 bool arg2
= (bool) true ;
13971 PyObject
* obj0
= 0 ;
13972 PyObject
* obj1
= 0 ;
13973 char * kwnames
[] = {
13974 (char *) "self",(char *) "enable", NULL
13977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColMove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13979 if (!SWIG_IsOK(res1
)) {
13980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
13982 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13984 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13985 if (!SWIG_IsOK(ecode2
)) {
13986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColMove" "', expected argument " "2"" of type '" "bool""'");
13988 arg2
= static_cast< bool >(val2
);
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 (arg1
)->EnableDragColMove(arg2
);
13993 wxPyEndAllowThreads(__tstate
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13996 resultobj
= SWIG_Py_Void();
14003 SWIGINTERN PyObject
*_wrap_Grid_DisableDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14004 PyObject
*resultobj
= 0;
14005 wxGrid
*arg1
= (wxGrid
*) 0 ;
14008 PyObject
*swig_obj
[1] ;
14010 if (!args
) SWIG_fail
;
14011 swig_obj
[0] = args
;
14012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14013 if (!SWIG_IsOK(res1
)) {
14014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14016 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 (arg1
)->DisableDragColMove();
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= SWIG_Py_Void();
14030 SWIGINTERN PyObject
*_wrap_Grid_CanDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14031 PyObject
*resultobj
= 0;
14032 wxGrid
*arg1
= (wxGrid
*) 0 ;
14036 PyObject
*swig_obj
[1] ;
14038 if (!args
) SWIG_fail
;
14039 swig_obj
[0] = args
;
14040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14041 if (!SWIG_IsOK(res1
)) {
14042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14044 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 result
= (bool)(arg1
)->CanDragColMove();
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14060 SWIGINTERN PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
= 0;
14062 wxGrid
*arg1
= (wxGrid
*) 0 ;
14063 bool arg2
= (bool) true ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 char * kwnames
[] = {
14071 (char *) "self",(char *) "enable", NULL
14074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14076 if (!SWIG_IsOK(res1
)) {
14077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14079 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14081 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14082 if (!SWIG_IsOK(ecode2
)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "2"" of type '" "bool""'");
14085 arg2
= static_cast< bool >(val2
);
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 (arg1
)->EnableDragGridSize(arg2
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_Py_Void();
14100 SWIGINTERN PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14101 PyObject
*resultobj
= 0;
14102 wxGrid
*arg1
= (wxGrid
*) 0 ;
14105 PyObject
*swig_obj
[1] ;
14107 if (!args
) SWIG_fail
;
14108 swig_obj
[0] = args
;
14109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14110 if (!SWIG_IsOK(res1
)) {
14111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14113 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 (arg1
)->DisableDragGridSize();
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 resultobj
= SWIG_Py_Void();
14127 SWIGINTERN PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14128 PyObject
*resultobj
= 0;
14129 wxGrid
*arg1
= (wxGrid
*) 0 ;
14133 PyObject
*swig_obj
[1] ;
14135 if (!args
) SWIG_fail
;
14136 swig_obj
[0] = args
;
14137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14138 if (!SWIG_IsOK(res1
)) {
14139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14141 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (bool)(arg1
)->CanDragGridSize();
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14157 SWIGINTERN PyObject
*_wrap_Grid_EnableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
= 0;
14159 wxGrid
*arg1
= (wxGrid
*) 0 ;
14160 bool arg2
= (bool) true ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 char * kwnames
[] = {
14168 (char *) "self",(char *) "enable", NULL
14171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14176 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14178 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14179 if (!SWIG_IsOK(ecode2
)) {
14180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragCell" "', expected argument " "2"" of type '" "bool""'");
14182 arg2
= static_cast< bool >(val2
);
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 (arg1
)->EnableDragCell(arg2
);
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14190 resultobj
= SWIG_Py_Void();
14197 SWIGINTERN PyObject
*_wrap_Grid_DisableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14198 PyObject
*resultobj
= 0;
14199 wxGrid
*arg1
= (wxGrid
*) 0 ;
14202 PyObject
*swig_obj
[1] ;
14204 if (!args
) SWIG_fail
;
14205 swig_obj
[0] = args
;
14206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14207 if (!SWIG_IsOK(res1
)) {
14208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14210 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 (arg1
)->DisableDragCell();
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= SWIG_Py_Void();
14224 SWIGINTERN PyObject
*_wrap_Grid_CanDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14225 PyObject
*resultobj
= 0;
14226 wxGrid
*arg1
= (wxGrid
*) 0 ;
14230 PyObject
*swig_obj
[1] ;
14232 if (!args
) SWIG_fail
;
14233 swig_obj
[0] = args
;
14234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14235 if (!SWIG_IsOK(res1
)) {
14236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14238 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (bool)(arg1
)->CanDragCell();
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14254 SWIGINTERN PyObject
*_wrap_Grid_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
= 0;
14256 wxGrid
*arg1
= (wxGrid
*) 0 ;
14259 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
14268 PyObject
* obj0
= 0 ;
14269 PyObject
* obj1
= 0 ;
14270 PyObject
* obj2
= 0 ;
14271 PyObject
* obj3
= 0 ;
14272 char * kwnames
[] = {
14273 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
14276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14278 if (!SWIG_IsOK(res1
)) {
14279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14281 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14283 if (!SWIG_IsOK(ecode2
)) {
14284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetAttr" "', expected argument " "2"" of type '" "int""'");
14286 arg2
= static_cast< int >(val2
);
14287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14288 if (!SWIG_IsOK(ecode3
)) {
14289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetAttr" "', expected argument " "3"" of type '" "int""'");
14291 arg3
= static_cast< int >(val3
);
14292 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14293 if (!SWIG_IsOK(res4
)) {
14294 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr *""'");
14296 arg4
= reinterpret_cast< wxGridCellAttr
* >(argp4
);
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= SWIG_Py_Void();
14310 SWIGINTERN PyObject
*_wrap_Grid_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
= 0;
14312 wxGrid
*arg1
= (wxGrid
*) 0 ;
14314 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 PyObject
* obj2
= 0 ;
14324 char * kwnames
[] = {
14325 (char *) "self",(char *) "row",(char *) "attr", NULL
14328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14330 if (!SWIG_IsOK(res1
)) {
14331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14333 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14335 if (!SWIG_IsOK(ecode2
)) {
14336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowAttr" "', expected argument " "2"" of type '" "int""'");
14338 arg2
= static_cast< int >(val2
);
14339 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14340 if (!SWIG_IsOK(res3
)) {
14341 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetRowAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14343 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 (arg1
)->SetRowAttr(arg2
,arg3
);
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_Py_Void();
14357 SWIGINTERN PyObject
*_wrap_Grid_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
= 0;
14359 wxGrid
*arg1
= (wxGrid
*) 0 ;
14361 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14368 PyObject
* obj0
= 0 ;
14369 PyObject
* obj1
= 0 ;
14370 PyObject
* obj2
= 0 ;
14371 char * kwnames
[] = {
14372 (char *) "self",(char *) "col",(char *) "attr", NULL
14375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14377 if (!SWIG_IsOK(res1
)) {
14378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14380 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14382 if (!SWIG_IsOK(ecode2
)) {
14383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColAttr" "', expected argument " "2"" of type '" "int""'");
14385 arg2
= static_cast< int >(val2
);
14386 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14387 if (!SWIG_IsOK(res3
)) {
14388 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetColAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14390 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 (arg1
)->SetColAttr(arg2
,arg3
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= SWIG_Py_Void();
14404 SWIGINTERN PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
= 0;
14406 wxGrid
*arg1
= (wxGrid
*) 0 ;
14409 wxGridCellAttr
*result
= 0 ;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 PyObject
* obj2
= 0 ;
14419 char * kwnames
[] = {
14420 (char *) "self",(char *) "row",(char *) "col", NULL
14423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14425 if (!SWIG_IsOK(res1
)) {
14426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "1"" of type '" "wxGrid const *""'");
14428 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14430 if (!SWIG_IsOK(ecode2
)) {
14431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "2"" of type '" "int""'");
14433 arg2
= static_cast< int >(val2
);
14434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14435 if (!SWIG_IsOK(ecode3
)) {
14436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "3"" of type '" "int""'");
14438 arg3
= static_cast< int >(val3
);
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
14454 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
= 0;
14456 wxGrid
*arg1
= (wxGrid
*) 0 ;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 char * kwnames
[] = {
14465 (char *) "self",(char *) "col", NULL
14468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14470 if (!SWIG_IsOK(res1
)) {
14471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatBool" "', expected argument " "1"" of type '" "wxGrid *""'");
14473 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14475 if (!SWIG_IsOK(ecode2
)) {
14476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatBool" "', expected argument " "2"" of type '" "int""'");
14478 arg2
= static_cast< int >(val2
);
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 (arg1
)->SetColFormatBool(arg2
);
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= SWIG_Py_Void();
14492 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
= 0;
14494 wxGrid
*arg1
= (wxGrid
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 PyObject
* obj1
= 0 ;
14502 char * kwnames
[] = {
14503 (char *) "self",(char *) "col", NULL
14506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14508 if (!SWIG_IsOK(res1
)) {
14509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "1"" of type '" "wxGrid *""'");
14511 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14513 if (!SWIG_IsOK(ecode2
)) {
14514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "2"" of type '" "int""'");
14516 arg2
= static_cast< int >(val2
);
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 (arg1
)->SetColFormatNumber(arg2
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= SWIG_Py_Void();
14530 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
= 0;
14532 wxGrid
*arg1
= (wxGrid
*) 0 ;
14534 int arg3
= (int) -1 ;
14535 int arg4
= (int) -1 ;
14544 PyObject
* obj0
= 0 ;
14545 PyObject
* obj1
= 0 ;
14546 PyObject
* obj2
= 0 ;
14547 PyObject
* obj3
= 0 ;
14548 char * kwnames
[] = {
14549 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
14552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14554 if (!SWIG_IsOK(res1
)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "1"" of type '" "wxGrid *""'");
14557 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14559 if (!SWIG_IsOK(ecode2
)) {
14560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "2"" of type '" "int""'");
14562 arg2
= static_cast< int >(val2
);
14564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14565 if (!SWIG_IsOK(ecode3
)) {
14566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "3"" of type '" "int""'");
14568 arg3
= static_cast< int >(val3
);
14571 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14572 if (!SWIG_IsOK(ecode4
)) {
14573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "4"" of type '" "int""'");
14575 arg4
= static_cast< int >(val4
);
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= SWIG_Py_Void();
14590 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
= 0;
14592 wxGrid
*arg1
= (wxGrid
*) 0 ;
14594 wxString
*arg3
= 0 ;
14599 bool temp3
= false ;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 PyObject
* obj2
= 0 ;
14603 char * kwnames
[] = {
14604 (char *) "self",(char *) "col",(char *) "typeName", NULL
14607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14609 if (!SWIG_IsOK(res1
)) {
14610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "1"" of type '" "wxGrid *""'");
14612 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14614 if (!SWIG_IsOK(ecode2
)) {
14615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "2"" of type '" "int""'");
14617 arg2
= static_cast< int >(val2
);
14619 arg3
= wxString_in_helper(obj2
);
14620 if (arg3
== NULL
) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_Py_Void();
14644 SWIGINTERN PyObject
*_wrap_Grid_EnableGridLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
= 0;
14646 wxGrid
*arg1
= (wxGrid
*) 0 ;
14647 bool arg2
= (bool) true ;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 char * kwnames
[] = {
14655 (char *) "self",(char *) "enable", NULL
14658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14660 if (!SWIG_IsOK(res1
)) {
14661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableGridLines" "', expected argument " "1"" of type '" "wxGrid *""'");
14663 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14665 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14666 if (!SWIG_IsOK(ecode2
)) {
14667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableGridLines" "', expected argument " "2"" of type '" "bool""'");
14669 arg2
= static_cast< bool >(val2
);
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 (arg1
)->EnableGridLines(arg2
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= SWIG_Py_Void();
14684 SWIGINTERN PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14685 PyObject
*resultobj
= 0;
14686 wxGrid
*arg1
= (wxGrid
*) 0 ;
14690 PyObject
*swig_obj
[1] ;
14692 if (!args
) SWIG_fail
;
14693 swig_obj
[0] = args
;
14694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14695 if (!SWIG_IsOK(res1
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GridLinesEnabled" "', expected argument " "1"" of type '" "wxGrid *""'");
14698 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (bool)(arg1
)->GridLinesEnabled();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14714 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14715 PyObject
*resultobj
= 0;
14716 wxGrid
*arg1
= (wxGrid
*) 0 ;
14720 PyObject
*swig_obj
[1] ;
14722 if (!args
) SWIG_fail
;
14723 swig_obj
[0] = args
;
14724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14725 if (!SWIG_IsOK(res1
)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14728 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= (int)(arg1
)->GetDefaultRowSize();
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= SWIG_From_int(static_cast< int >(result
));
14742 SWIGINTERN PyObject
*_wrap_Grid_GetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
= 0;
14744 wxGrid
*arg1
= (wxGrid
*) 0 ;
14751 PyObject
* obj0
= 0 ;
14752 PyObject
* obj1
= 0 ;
14753 char * kwnames
[] = {
14754 (char *) "self",(char *) "row", NULL
14757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14759 if (!SWIG_IsOK(res1
)) {
14760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14762 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14764 if (!SWIG_IsOK(ecode2
)) {
14765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowSize" "', expected argument " "2"" of type '" "int""'");
14767 arg2
= static_cast< int >(val2
);
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (int)(arg1
)->GetRowSize(arg2
);
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 resultobj
= SWIG_From_int(static_cast< int >(result
));
14781 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14782 PyObject
*resultobj
= 0;
14783 wxGrid
*arg1
= (wxGrid
*) 0 ;
14787 PyObject
*swig_obj
[1] ;
14789 if (!args
) SWIG_fail
;
14790 swig_obj
[0] = args
;
14791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14792 if (!SWIG_IsOK(res1
)) {
14793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14795 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (int)(arg1
)->GetDefaultColSize();
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= SWIG_From_int(static_cast< int >(result
));
14809 SWIGINTERN PyObject
*_wrap_Grid_GetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
= 0;
14811 wxGrid
*arg1
= (wxGrid
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 PyObject
* obj1
= 0 ;
14820 char * kwnames
[] = {
14821 (char *) "self",(char *) "col", NULL
14824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14826 if (!SWIG_IsOK(res1
)) {
14827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14829 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14831 if (!SWIG_IsOK(ecode2
)) {
14832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColSize" "', expected argument " "2"" of type '" "int""'");
14834 arg2
= static_cast< int >(val2
);
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 result
= (int)(arg1
)->GetColSize(arg2
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14841 resultobj
= SWIG_From_int(static_cast< int >(result
));
14848 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14849 PyObject
*resultobj
= 0;
14850 wxGrid
*arg1
= (wxGrid
*) 0 ;
14854 PyObject
*swig_obj
[1] ;
14856 if (!args
) SWIG_fail
;
14857 swig_obj
[0] = args
;
14858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14859 if (!SWIG_IsOK(res1
)) {
14860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14862 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14865 result
= (arg1
)->GetDefaultCellBackgroundColour();
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14876 SWIGINTERN PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
= 0;
14878 wxGrid
*arg1
= (wxGrid
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 PyObject
* obj2
= 0 ;
14891 char * kwnames
[] = {
14892 (char *) "self",(char *) "row",(char *) "col", NULL
14895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14897 if (!SWIG_IsOK(res1
)) {
14898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14900 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14902 if (!SWIG_IsOK(ecode2
)) {
14903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
14905 arg2
= static_cast< int >(val2
);
14906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14907 if (!SWIG_IsOK(ecode3
)) {
14908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
14910 arg3
= static_cast< int >(val3
);
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14924 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14925 PyObject
*resultobj
= 0;
14926 wxGrid
*arg1
= (wxGrid
*) 0 ;
14930 PyObject
*swig_obj
[1] ;
14932 if (!args
) SWIG_fail
;
14933 swig_obj
[0] = args
;
14934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14935 if (!SWIG_IsOK(res1
)) {
14936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14938 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 result
= (arg1
)->GetDefaultCellTextColour();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14952 SWIGINTERN PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
= 0;
14954 wxGrid
*arg1
= (wxGrid
*) 0 ;
14964 PyObject
* obj0
= 0 ;
14965 PyObject
* obj1
= 0 ;
14966 PyObject
* obj2
= 0 ;
14967 char * kwnames
[] = {
14968 (char *) "self",(char *) "row",(char *) "col", NULL
14971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14973 if (!SWIG_IsOK(res1
)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
14976 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14978 if (!SWIG_IsOK(ecode2
)) {
14979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellTextColour" "', expected argument " "2"" of type '" "int""'");
14981 arg2
= static_cast< int >(val2
);
14982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14983 if (!SWIG_IsOK(ecode3
)) {
14984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellTextColour" "', expected argument " "3"" of type '" "int""'");
14986 arg3
= static_cast< int >(val3
);
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15000 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15001 PyObject
*resultobj
= 0;
15002 wxGrid
*arg1
= (wxGrid
*) 0 ;
15006 PyObject
*swig_obj
[1] ;
15008 if (!args
) SWIG_fail
;
15009 swig_obj
[0] = args
;
15010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15011 if (!SWIG_IsOK(res1
)) {
15012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15014 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 result
= (arg1
)->GetDefaultCellFont();
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15028 SWIGINTERN PyObject
*_wrap_Grid_GetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
= 0;
15030 wxGrid
*arg1
= (wxGrid
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 PyObject
* obj1
= 0 ;
15042 PyObject
* obj2
= 0 ;
15043 char * kwnames
[] = {
15044 (char *) "self",(char *) "row",(char *) "col", NULL
15047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15052 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15054 if (!SWIG_IsOK(ecode2
)) {
15055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellFont" "', expected argument " "2"" of type '" "int""'");
15057 arg2
= static_cast< int >(val2
);
15058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15059 if (!SWIG_IsOK(ecode3
)) {
15060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellFont" "', expected argument " "3"" of type '" "int""'");
15062 arg3
= static_cast< int >(val3
);
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (arg1
)->GetCellFont(arg2
,arg3
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15076 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15077 PyObject
*resultobj
= 0;
15078 wxGrid
*arg1
= (wxGrid
*) 0 ;
15079 int *arg2
= (int *) 0 ;
15080 int *arg3
= (int *) 0 ;
15084 int res2
= SWIG_TMPOBJ
;
15086 int res3
= SWIG_TMPOBJ
;
15087 PyObject
*swig_obj
[1] ;
15091 if (!args
) SWIG_fail
;
15092 swig_obj
[0] = args
;
15093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15094 if (!SWIG_IsOK(res1
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15097 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= SWIG_Py_Void();
15105 if (SWIG_IsTmpObj(res2
)) {
15106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
15108 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
15111 if (SWIG_IsTmpObj(res3
)) {
15112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
15114 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
15123 SWIGINTERN PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
= 0;
15125 wxGrid
*arg1
= (wxGrid
*) 0 ;
15128 int *arg4
= (int *) 0 ;
15129 int *arg5
= (int *) 0 ;
15137 int res4
= SWIG_TMPOBJ
;
15139 int res5
= SWIG_TMPOBJ
;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 PyObject
* obj2
= 0 ;
15143 char * kwnames
[] = {
15144 (char *) "self",(char *) "row",(char *) "col", NULL
15149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15151 if (!SWIG_IsOK(res1
)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15154 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15156 if (!SWIG_IsOK(ecode2
)) {
15157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellAlignment" "', expected argument " "2"" of type '" "int""'");
15159 arg2
= static_cast< int >(val2
);
15160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15161 if (!SWIG_IsOK(ecode3
)) {
15162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellAlignment" "', expected argument " "3"" of type '" "int""'");
15164 arg3
= static_cast< int >(val3
);
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= SWIG_Py_Void();
15172 if (SWIG_IsTmpObj(res4
)) {
15173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15175 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15178 if (SWIG_IsTmpObj(res5
)) {
15179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15181 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15190 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15191 PyObject
*resultobj
= 0;
15192 wxGrid
*arg1
= (wxGrid
*) 0 ;
15196 PyObject
*swig_obj
[1] ;
15198 if (!args
) SWIG_fail
;
15199 swig_obj
[0] = args
;
15200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15201 if (!SWIG_IsOK(res1
)) {
15202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15204 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= (bool)(arg1
)->GetDefaultCellOverflow();
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15220 SWIGINTERN PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
= 0;
15222 wxGrid
*arg1
= (wxGrid
*) 0 ;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 PyObject
* obj2
= 0 ;
15235 char * kwnames
[] = {
15236 (char *) "self",(char *) "row",(char *) "col", NULL
15239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15241 if (!SWIG_IsOK(res1
)) {
15242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15244 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15246 if (!SWIG_IsOK(ecode2
)) {
15247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellOverflow" "', expected argument " "2"" of type '" "int""'");
15249 arg2
= static_cast< int >(val2
);
15250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15251 if (!SWIG_IsOK(ecode3
)) {
15252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellOverflow" "', expected argument " "3"" of type '" "int""'");
15254 arg3
= static_cast< int >(val3
);
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15270 SWIGINTERN PyObject
*_wrap_Grid_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
= 0;
15272 wxGrid
*arg1
= (wxGrid
*) 0 ;
15275 int *arg4
= (int *) 0 ;
15276 int *arg5
= (int *) 0 ;
15284 int res4
= SWIG_TMPOBJ
;
15286 int res5
= SWIG_TMPOBJ
;
15287 PyObject
* obj0
= 0 ;
15288 PyObject
* obj1
= 0 ;
15289 PyObject
* obj2
= 0 ;
15290 char * kwnames
[] = {
15291 (char *) "self",(char *) "row",(char *) "col", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15301 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15303 if (!SWIG_IsOK(ecode2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellSize" "', expected argument " "2"" of type '" "int""'");
15306 arg2
= static_cast< int >(val2
);
15307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15308 if (!SWIG_IsOK(ecode3
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellSize" "', expected argument " "3"" of type '" "int""'");
15311 arg3
= static_cast< int >(val3
);
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_Py_Void();
15319 if (SWIG_IsTmpObj(res4
)) {
15320 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15322 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15323 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15325 if (SWIG_IsTmpObj(res5
)) {
15326 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15328 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15337 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
= 0;
15339 wxGrid
*arg1
= (wxGrid
*) 0 ;
15341 bool arg3
= (bool) false ;
15348 PyObject
* obj0
= 0 ;
15349 PyObject
* obj1
= 0 ;
15350 PyObject
* obj2
= 0 ;
15351 char * kwnames
[] = {
15352 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
15355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15357 if (!SWIG_IsOK(res1
)) {
15358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15360 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15362 if (!SWIG_IsOK(ecode2
)) {
15363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "2"" of type '" "int""'");
15365 arg2
= static_cast< int >(val2
);
15367 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15368 if (!SWIG_IsOK(ecode3
)) {
15369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "3"" of type '" "bool""'");
15371 arg3
= static_cast< bool >(val3
);
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= SWIG_Py_Void();
15386 SWIGINTERN PyObject
*_wrap_Grid_SetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
= 0;
15388 wxGrid
*arg1
= (wxGrid
*) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 PyObject
* obj2
= 0 ;
15400 char * kwnames
[] = {
15401 (char *) "self",(char *) "row",(char *) "height", NULL
15404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15406 if (!SWIG_IsOK(res1
)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15409 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15411 if (!SWIG_IsOK(ecode2
)) {
15412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowSize" "', expected argument " "2"" of type '" "int""'");
15414 arg2
= static_cast< int >(val2
);
15415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15416 if (!SWIG_IsOK(ecode3
)) {
15417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowSize" "', expected argument " "3"" of type '" "int""'");
15419 arg3
= static_cast< int >(val3
);
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 (arg1
)->SetRowSize(arg2
,arg3
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_Py_Void();
15433 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
= 0;
15435 wxGrid
*arg1
= (wxGrid
*) 0 ;
15437 bool arg3
= (bool) false ;
15444 PyObject
* obj0
= 0 ;
15445 PyObject
* obj1
= 0 ;
15446 PyObject
* obj2
= 0 ;
15447 char * kwnames
[] = {
15448 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
15451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15453 if (!SWIG_IsOK(res1
)) {
15454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15456 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15458 if (!SWIG_IsOK(ecode2
)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "2"" of type '" "int""'");
15461 arg2
= static_cast< int >(val2
);
15463 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15464 if (!SWIG_IsOK(ecode3
)) {
15465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "3"" of type '" "bool""'");
15467 arg3
= static_cast< bool >(val3
);
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 (arg1
)->SetDefaultColSize(arg2
,arg3
);
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 resultobj
= SWIG_Py_Void();
15482 SWIGINTERN PyObject
*_wrap_Grid_SetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
= 0;
15484 wxGrid
*arg1
= (wxGrid
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 PyObject
* obj2
= 0 ;
15496 char * kwnames
[] = {
15497 (char *) "self",(char *) "col",(char *) "width", NULL
15500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15502 if (!SWIG_IsOK(res1
)) {
15503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15505 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15507 if (!SWIG_IsOK(ecode2
)) {
15508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColSize" "', expected argument " "2"" of type '" "int""'");
15510 arg2
= static_cast< int >(val2
);
15511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15512 if (!SWIG_IsOK(ecode3
)) {
15513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColSize" "', expected argument " "3"" of type '" "int""'");
15515 arg3
= static_cast< int >(val3
);
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 (arg1
)->SetColSize(arg2
,arg3
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= SWIG_Py_Void();
15529 SWIGINTERN PyObject
*_wrap_Grid_GetColAt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
= 0;
15531 wxGrid
*arg1
= (wxGrid
*) 0 ;
15538 PyObject
* obj0
= 0 ;
15539 PyObject
* obj1
= 0 ;
15540 char * kwnames
[] = {
15541 (char *) "self",(char *) "colPos", NULL
15544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColAt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15546 if (!SWIG_IsOK(res1
)) {
15547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColAt" "', expected argument " "1"" of type '" "wxGrid const *""'");
15549 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15551 if (!SWIG_IsOK(ecode2
)) {
15552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColAt" "', expected argument " "2"" of type '" "int""'");
15554 arg2
= static_cast< int >(val2
);
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (int)((wxGrid
const *)arg1
)->GetColAt(arg2
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_From_int(static_cast< int >(result
));
15568 SWIGINTERN PyObject
*_wrap_Grid_SetColPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
= 0;
15570 wxGrid
*arg1
= (wxGrid
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 PyObject
* obj1
= 0 ;
15581 PyObject
* obj2
= 0 ;
15582 char * kwnames
[] = {
15583 (char *) "self",(char *) "colID",(char *) "newPos", NULL
15586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15588 if (!SWIG_IsOK(res1
)) {
15589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColPos" "', expected argument " "1"" of type '" "wxGrid *""'");
15591 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15593 if (!SWIG_IsOK(ecode2
)) {
15594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColPos" "', expected argument " "2"" of type '" "int""'");
15596 arg2
= static_cast< int >(val2
);
15597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15598 if (!SWIG_IsOK(ecode3
)) {
15599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColPos" "', expected argument " "3"" of type '" "int""'");
15601 arg3
= static_cast< int >(val3
);
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 (arg1
)->SetColPos(arg2
,arg3
);
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_Py_Void();
15615 SWIGINTERN PyObject
*_wrap_Grid_GetColPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
= 0;
15617 wxGrid
*arg1
= (wxGrid
*) 0 ;
15624 PyObject
* obj0
= 0 ;
15625 PyObject
* obj1
= 0 ;
15626 char * kwnames
[] = {
15627 (char *) "self",(char *) "colID", NULL
15630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15632 if (!SWIG_IsOK(res1
)) {
15633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColPos" "', expected argument " "1"" of type '" "wxGrid const *""'");
15635 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15637 if (!SWIG_IsOK(ecode2
)) {
15638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColPos" "', expected argument " "2"" of type '" "int""'");
15640 arg2
= static_cast< int >(val2
);
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 result
= (int)((wxGrid
const *)arg1
)->GetColPos(arg2
);
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= SWIG_From_int(static_cast< int >(result
));
15654 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
= 0;
15656 wxGrid
*arg1
= (wxGrid
*) 0 ;
15658 bool arg3
= (bool) true ;
15665 PyObject
* obj0
= 0 ;
15666 PyObject
* obj1
= 0 ;
15667 PyObject
* obj2
= 0 ;
15668 char * kwnames
[] = {
15669 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
15672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15674 if (!SWIG_IsOK(res1
)) {
15675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "1"" of type '" "wxGrid *""'");
15677 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15679 if (!SWIG_IsOK(ecode2
)) {
15680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "2"" of type '" "int""'");
15682 arg2
= static_cast< int >(val2
);
15684 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15685 if (!SWIG_IsOK(ecode3
)) {
15686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "3"" of type '" "bool""'");
15688 arg3
= static_cast< bool >(val3
);
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 (arg1
)->AutoSizeColumn(arg2
,arg3
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_Py_Void();
15703 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
= 0;
15705 wxGrid
*arg1
= (wxGrid
*) 0 ;
15707 bool arg3
= (bool) true ;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 PyObject
* obj2
= 0 ;
15717 char * kwnames
[] = {
15718 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
15721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15723 if (!SWIG_IsOK(res1
)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRow" "', expected argument " "1"" of type '" "wxGrid *""'");
15726 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15728 if (!SWIG_IsOK(ecode2
)) {
15729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRow" "', expected argument " "2"" of type '" "int""'");
15731 arg2
= static_cast< int >(val2
);
15733 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15734 if (!SWIG_IsOK(ecode3
)) {
15735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeRow" "', expected argument " "3"" of type '" "bool""'");
15737 arg3
= static_cast< bool >(val3
);
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 (arg1
)->AutoSizeRow(arg2
,arg3
);
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 resultobj
= SWIG_Py_Void();
15752 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
= 0;
15754 wxGrid
*arg1
= (wxGrid
*) 0 ;
15755 bool arg2
= (bool) true ;
15760 PyObject
* obj0
= 0 ;
15761 PyObject
* obj1
= 0 ;
15762 char * kwnames
[] = {
15763 (char *) "self",(char *) "setAsMin", NULL
15766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15768 if (!SWIG_IsOK(res1
)) {
15769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "1"" of type '" "wxGrid *""'");
15771 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15773 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15774 if (!SWIG_IsOK(ecode2
)) {
15775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "2"" of type '" "bool""'");
15777 arg2
= static_cast< bool >(val2
);
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 (arg1
)->AutoSizeColumns(arg2
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= SWIG_Py_Void();
15792 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
= 0;
15794 wxGrid
*arg1
= (wxGrid
*) 0 ;
15795 bool arg2
= (bool) true ;
15800 PyObject
* obj0
= 0 ;
15801 PyObject
* obj1
= 0 ;
15802 char * kwnames
[] = {
15803 (char *) "self",(char *) "setAsMin", NULL
15806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15808 if (!SWIG_IsOK(res1
)) {
15809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRows" "', expected argument " "1"" of type '" "wxGrid *""'");
15811 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15813 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15814 if (!SWIG_IsOK(ecode2
)) {
15815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRows" "', expected argument " "2"" of type '" "bool""'");
15817 arg2
= static_cast< bool >(val2
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 (arg1
)->AutoSizeRows(arg2
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_Py_Void();
15832 SWIGINTERN PyObject
*_wrap_Grid_AutoSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15833 PyObject
*resultobj
= 0;
15834 wxGrid
*arg1
= (wxGrid
*) 0 ;
15837 PyObject
*swig_obj
[1] ;
15839 if (!args
) SWIG_fail
;
15840 swig_obj
[0] = args
;
15841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15842 if (!SWIG_IsOK(res1
)) {
15843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15845 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 (arg1
)->AutoSize();
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= SWIG_Py_Void();
15859 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
= 0;
15861 wxGrid
*arg1
= (wxGrid
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 char * kwnames
[] = {
15870 (char *) "self",(char *) "row", NULL
15873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15875 if (!SWIG_IsOK(res1
)) {
15876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15878 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15880 if (!SWIG_IsOK(ecode2
)) {
15881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "2"" of type '" "int""'");
15883 arg2
= static_cast< int >(val2
);
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 (arg1
)->AutoSizeRowLabelSize(arg2
);
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= SWIG_Py_Void();
15897 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
= 0;
15899 wxGrid
*arg1
= (wxGrid
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 PyObject
* obj1
= 0 ;
15907 char * kwnames
[] = {
15908 (char *) "self",(char *) "col", NULL
15911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15913 if (!SWIG_IsOK(res1
)) {
15914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15916 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15918 if (!SWIG_IsOK(ecode2
)) {
15919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "2"" of type '" "int""'");
15921 arg2
= static_cast< int >(val2
);
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 (arg1
)->AutoSizeColLabelSize(arg2
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_Py_Void();
15935 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
= 0;
15937 wxGrid
*arg1
= (wxGrid
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 PyObject
* obj2
= 0 ;
15949 char * kwnames
[] = {
15950 (char *) "self",(char *) "col",(char *) "width", NULL
15953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15955 if (!SWIG_IsOK(res1
)) {
15956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
15958 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15960 if (!SWIG_IsOK(ecode2
)) {
15961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "2"" of type '" "int""'");
15963 arg2
= static_cast< int >(val2
);
15964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15965 if (!SWIG_IsOK(ecode3
)) {
15966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "3"" of type '" "int""'");
15968 arg3
= static_cast< int >(val3
);
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15975 resultobj
= SWIG_Py_Void();
15982 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
= 0;
15984 wxGrid
*arg1
= (wxGrid
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 PyObject
* obj1
= 0 ;
15995 PyObject
* obj2
= 0 ;
15996 char * kwnames
[] = {
15997 (char *) "self",(char *) "row",(char *) "width", NULL
16000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16002 if (!SWIG_IsOK(res1
)) {
16003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16005 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16007 if (!SWIG_IsOK(ecode2
)) {
16008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "2"" of type '" "int""'");
16010 arg2
= static_cast< int >(val2
);
16011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16012 if (!SWIG_IsOK(ecode3
)) {
16013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "3"" of type '" "int""'");
16015 arg3
= static_cast< int >(val3
);
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= SWIG_Py_Void();
16029 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
= 0;
16031 wxGrid
*arg1
= (wxGrid
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 PyObject
* obj1
= 0 ;
16039 char * kwnames
[] = {
16040 (char *) "self",(char *) "width", NULL
16043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16045 if (!SWIG_IsOK(res1
)) {
16046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
16048 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16050 if (!SWIG_IsOK(ecode2
)) {
16051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "2"" of type '" "int""'");
16053 arg2
= static_cast< int >(val2
);
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= SWIG_Py_Void();
16067 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
= 0;
16069 wxGrid
*arg1
= (wxGrid
*) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 PyObject
* obj1
= 0 ;
16077 char * kwnames
[] = {
16078 (char *) "self",(char *) "width", NULL
16081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16083 if (!SWIG_IsOK(res1
)) {
16084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16086 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16088 if (!SWIG_IsOK(ecode2
)) {
16089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "2"" of type '" "int""'");
16091 arg2
= static_cast< int >(val2
);
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= SWIG_Py_Void();
16105 SWIGINTERN PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16106 PyObject
*resultobj
= 0;
16107 wxGrid
*arg1
= (wxGrid
*) 0 ;
16111 PyObject
*swig_obj
[1] ;
16113 if (!args
) SWIG_fail
;
16114 swig_obj
[0] = args
;
16115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16116 if (!SWIG_IsOK(res1
)) {
16117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid const *""'");
16119 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= SWIG_From_int(static_cast< int >(result
));
16133 SWIGINTERN PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16134 PyObject
*resultobj
= 0;
16135 wxGrid
*arg1
= (wxGrid
*) 0 ;
16139 PyObject
*swig_obj
[1] ;
16141 if (!args
) SWIG_fail
;
16142 swig_obj
[0] = args
;
16143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16144 if (!SWIG_IsOK(res1
)) {
16145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid const *""'");
16147 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16154 resultobj
= SWIG_From_int(static_cast< int >(result
));
16161 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
= 0;
16163 wxGrid
*arg1
= (wxGrid
*) 0 ;
16164 wxColour
*arg2
= 0 ;
16168 PyObject
* obj0
= 0 ;
16169 PyObject
* obj1
= 0 ;
16170 char * kwnames
[] = {
16171 (char *) "self",(char *)"arg2", NULL
16174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16176 if (!SWIG_IsOK(res1
)) {
16177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16179 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= SWIG_Py_Void();
16197 SWIGINTERN PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
= 0;
16199 wxGrid
*arg1
= (wxGrid
*) 0 ;
16202 wxColour
*arg4
= 0 ;
16210 PyObject
* obj0
= 0 ;
16211 PyObject
* obj1
= 0 ;
16212 PyObject
* obj2
= 0 ;
16213 PyObject
* obj3
= 0 ;
16214 char * kwnames
[] = {
16215 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16220 if (!SWIG_IsOK(res1
)) {
16221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16223 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16225 if (!SWIG_IsOK(ecode2
)) {
16226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
16228 arg2
= static_cast< int >(val2
);
16229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16230 if (!SWIG_IsOK(ecode3
)) {
16231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
16233 arg3
= static_cast< int >(val3
);
16236 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16244 resultobj
= SWIG_Py_Void();
16251 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
= 0;
16253 wxGrid
*arg1
= (wxGrid
*) 0 ;
16254 wxColour
*arg2
= 0 ;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 char * kwnames
[] = {
16261 (char *) "self",(char *)"arg2", NULL
16264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16266 if (!SWIG_IsOK(res1
)) {
16267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16269 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16272 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= SWIG_Py_Void();
16287 SWIGINTERN PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
= 0;
16289 wxGrid
*arg1
= (wxGrid
*) 0 ;
16292 wxColour
*arg4
= 0 ;
16300 PyObject
* obj0
= 0 ;
16301 PyObject
* obj1
= 0 ;
16302 PyObject
* obj2
= 0 ;
16303 PyObject
* obj3
= 0 ;
16304 char * kwnames
[] = {
16305 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16310 if (!SWIG_IsOK(res1
)) {
16311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16313 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16315 if (!SWIG_IsOK(ecode2
)) {
16316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellTextColour" "', expected argument " "2"" of type '" "int""'");
16318 arg2
= static_cast< int >(val2
);
16319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16320 if (!SWIG_IsOK(ecode3
)) {
16321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellTextColour" "', expected argument " "3"" of type '" "int""'");
16323 arg3
= static_cast< int >(val3
);
16326 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= SWIG_Py_Void();
16341 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
= 0;
16343 wxGrid
*arg1
= (wxGrid
*) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 PyObject
* obj1
= 0 ;
16351 char * kwnames
[] = {
16352 (char *) "self",(char *)"arg2", NULL
16355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16357 if (!SWIG_IsOK(res1
)) {
16358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16360 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
16362 if (!SWIG_IsOK(res2
)) {
16363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16368 arg2
= reinterpret_cast< wxFont
* >(argp2
);
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= SWIG_Py_Void();
16382 SWIGINTERN PyObject
*_wrap_Grid_SetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
= 0;
16384 wxGrid
*arg1
= (wxGrid
*) 0 ;
16396 PyObject
* obj0
= 0 ;
16397 PyObject
* obj1
= 0 ;
16398 PyObject
* obj2
= 0 ;
16399 PyObject
* obj3
= 0 ;
16400 char * kwnames
[] = {
16401 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16406 if (!SWIG_IsOK(res1
)) {
16407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16409 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16411 if (!SWIG_IsOK(ecode2
)) {
16412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellFont" "', expected argument " "2"" of type '" "int""'");
16414 arg2
= static_cast< int >(val2
);
16415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16416 if (!SWIG_IsOK(ecode3
)) {
16417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellFont" "', expected argument " "3"" of type '" "int""'");
16419 arg3
= static_cast< int >(val3
);
16420 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
16421 if (!SWIG_IsOK(res4
)) {
16422 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16427 arg4
= reinterpret_cast< wxFont
* >(argp4
);
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= SWIG_Py_Void();
16441 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
= 0;
16443 wxGrid
*arg1
= (wxGrid
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 PyObject
* obj1
= 0 ;
16454 PyObject
* obj2
= 0 ;
16455 char * kwnames
[] = {
16456 (char *) "self",(char *) "horiz",(char *) "vert", NULL
16459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16461 if (!SWIG_IsOK(res1
)) {
16462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16464 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16466 if (!SWIG_IsOK(ecode2
)) {
16467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "2"" of type '" "int""'");
16469 arg2
= static_cast< int >(val2
);
16470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16471 if (!SWIG_IsOK(ecode3
)) {
16472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "3"" of type '" "int""'");
16474 arg3
= static_cast< int >(val3
);
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= SWIG_Py_Void();
16488 SWIGINTERN PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
= 0;
16490 wxGrid
*arg1
= (wxGrid
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 PyObject
* obj2
= 0 ;
16508 PyObject
* obj3
= 0 ;
16509 PyObject
* obj4
= 0 ;
16510 char * kwnames
[] = {
16511 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
16514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16516 if (!SWIG_IsOK(res1
)) {
16517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16519 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16521 if (!SWIG_IsOK(ecode2
)) {
16522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellAlignment" "', expected argument " "2"" of type '" "int""'");
16524 arg2
= static_cast< int >(val2
);
16525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16526 if (!SWIG_IsOK(ecode3
)) {
16527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellAlignment" "', expected argument " "3"" of type '" "int""'");
16529 arg3
= static_cast< int >(val3
);
16530 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16531 if (!SWIG_IsOK(ecode4
)) {
16532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellAlignment" "', expected argument " "4"" of type '" "int""'");
16534 arg4
= static_cast< int >(val4
);
16535 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16536 if (!SWIG_IsOK(ecode5
)) {
16537 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellAlignment" "', expected argument " "5"" of type '" "int""'");
16539 arg5
= static_cast< int >(val5
);
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= SWIG_Py_Void();
16553 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
= 0;
16555 wxGrid
*arg1
= (wxGrid
*) 0 ;
16561 PyObject
* obj0
= 0 ;
16562 PyObject
* obj1
= 0 ;
16563 char * kwnames
[] = {
16564 (char *) "self",(char *) "allow", NULL
16567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16569 if (!SWIG_IsOK(res1
)) {
16570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16572 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16573 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16574 if (!SWIG_IsOK(ecode2
)) {
16575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "2"" of type '" "bool""'");
16577 arg2
= static_cast< bool >(val2
);
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 (arg1
)->SetDefaultCellOverflow(arg2
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= SWIG_Py_Void();
16591 SWIGINTERN PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
= 0;
16593 wxGrid
*arg1
= (wxGrid
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 PyObject
* obj2
= 0 ;
16608 PyObject
* obj3
= 0 ;
16609 char * kwnames
[] = {
16610 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
16613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16615 if (!SWIG_IsOK(res1
)) {
16616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16618 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16620 if (!SWIG_IsOK(ecode2
)) {
16621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellOverflow" "', expected argument " "2"" of type '" "int""'");
16623 arg2
= static_cast< int >(val2
);
16624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16625 if (!SWIG_IsOK(ecode3
)) {
16626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellOverflow" "', expected argument " "3"" of type '" "int""'");
16628 arg3
= static_cast< int >(val3
);
16629 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16630 if (!SWIG_IsOK(ecode4
)) {
16631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellOverflow" "', expected argument " "4"" of type '" "bool""'");
16633 arg4
= static_cast< bool >(val4
);
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= SWIG_Py_Void();
16647 SWIGINTERN PyObject
*_wrap_Grid_SetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
= 0;
16649 wxGrid
*arg1
= (wxGrid
*) 0 ;
16664 PyObject
* obj0
= 0 ;
16665 PyObject
* obj1
= 0 ;
16666 PyObject
* obj2
= 0 ;
16667 PyObject
* obj3
= 0 ;
16668 PyObject
* obj4
= 0 ;
16669 char * kwnames
[] = {
16670 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
16673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16675 if (!SWIG_IsOK(res1
)) {
16676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16678 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16680 if (!SWIG_IsOK(ecode2
)) {
16681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellSize" "', expected argument " "2"" of type '" "int""'");
16683 arg2
= static_cast< int >(val2
);
16684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16685 if (!SWIG_IsOK(ecode3
)) {
16686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellSize" "', expected argument " "3"" of type '" "int""'");
16688 arg3
= static_cast< int >(val3
);
16689 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16690 if (!SWIG_IsOK(ecode4
)) {
16691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellSize" "', expected argument " "4"" of type '" "int""'");
16693 arg4
= static_cast< int >(val4
);
16694 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16695 if (!SWIG_IsOK(ecode5
)) {
16696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellSize" "', expected argument " "5"" of type '" "int""'");
16698 arg5
= static_cast< int >(val5
);
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= SWIG_Py_Void();
16712 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16713 PyObject
*resultobj
= 0;
16714 wxGrid
*arg1
= (wxGrid
*) 0 ;
16715 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 char * kwnames
[] = {
16723 (char *) "self",(char *) "renderer", NULL
16726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16728 if (!SWIG_IsOK(res1
)) {
16729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
16731 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16732 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
16733 if (!SWIG_IsOK(res2
)) {
16734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
16736 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 (arg1
)->SetDefaultRenderer(arg2
);
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= SWIG_Py_Void();
16750 SWIGINTERN PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
= 0;
16752 wxGrid
*arg1
= (wxGrid
*) 0 ;
16755 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 PyObject
* obj2
= 0 ;
16767 PyObject
* obj3
= 0 ;
16768 char * kwnames
[] = {
16769 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
16772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16774 if (!SWIG_IsOK(res1
)) {
16775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
16777 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16779 if (!SWIG_IsOK(ecode2
)) {
16780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellRenderer" "', expected argument " "2"" of type '" "int""'");
16782 arg2
= static_cast< int >(val2
);
16783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16784 if (!SWIG_IsOK(ecode3
)) {
16785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellRenderer" "', expected argument " "3"" of type '" "int""'");
16787 arg3
= static_cast< int >(val3
);
16788 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
16789 if (!SWIG_IsOK(res4
)) {
16790 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellRenderer" "', expected argument " "4"" of type '" "wxGridCellRenderer *""'");
16792 arg4
= reinterpret_cast< wxGridCellRenderer
* >(argp4
);
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 resultobj
= SWIG_Py_Void();
16806 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16807 PyObject
*resultobj
= 0;
16808 wxGrid
*arg1
= (wxGrid
*) 0 ;
16809 wxGridCellRenderer
*result
= 0 ;
16812 PyObject
*swig_obj
[1] ;
16814 if (!args
) SWIG_fail
;
16815 swig_obj
[0] = args
;
16816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16817 if (!SWIG_IsOK(res1
)) {
16818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid const *""'");
16820 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16836 SWIGINTERN PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
= 0;
16838 wxGrid
*arg1
= (wxGrid
*) 0 ;
16841 wxGridCellRenderer
*result
= 0 ;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 PyObject
* obj2
= 0 ;
16851 char * kwnames
[] = {
16852 (char *) "self",(char *) "row",(char *) "col", NULL
16855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16857 if (!SWIG_IsOK(res1
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
16860 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16862 if (!SWIG_IsOK(ecode2
)) {
16863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellRenderer" "', expected argument " "2"" of type '" "int""'");
16865 arg2
= static_cast< int >(val2
);
16866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16867 if (!SWIG_IsOK(ecode3
)) {
16868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellRenderer" "', expected argument " "3"" of type '" "int""'");
16870 arg3
= static_cast< int >(val3
);
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
16886 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
= 0;
16888 wxGrid
*arg1
= (wxGrid
*) 0 ;
16889 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 char * kwnames
[] = {
16897 (char *) "self",(char *) "editor", NULL
16900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16902 if (!SWIG_IsOK(res1
)) {
16903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
16905 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16906 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
16907 if (!SWIG_IsOK(res2
)) {
16908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
16910 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 (arg1
)->SetDefaultEditor(arg2
);
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16917 resultobj
= SWIG_Py_Void();
16924 SWIGINTERN PyObject
*_wrap_Grid_SetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16925 PyObject
*resultobj
= 0;
16926 wxGrid
*arg1
= (wxGrid
*) 0 ;
16929 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 PyObject
* obj1
= 0 ;
16940 PyObject
* obj2
= 0 ;
16941 PyObject
* obj3
= 0 ;
16942 char * kwnames
[] = {
16943 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
16946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_SetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
16951 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16953 if (!SWIG_IsOK(ecode2
)) {
16954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellEditor" "', expected argument " "2"" of type '" "int""'");
16956 arg2
= static_cast< int >(val2
);
16957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16958 if (!SWIG_IsOK(ecode3
)) {
16959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellEditor" "', expected argument " "3"" of type '" "int""'");
16961 arg3
= static_cast< int >(val3
);
16962 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
16963 if (!SWIG_IsOK(res4
)) {
16964 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellEditor" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
16966 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 resultobj
= SWIG_Py_Void();
16980 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16981 PyObject
*resultobj
= 0;
16982 wxGrid
*arg1
= (wxGrid
*) 0 ;
16983 wxGridCellEditor
*result
= 0 ;
16986 PyObject
*swig_obj
[1] ;
16988 if (!args
) SWIG_fail
;
16989 swig_obj
[0] = args
;
16990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16991 if (!SWIG_IsOK(res1
)) {
16992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid const *""'");
16994 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17010 SWIGINTERN PyObject
*_wrap_Grid_GetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
= 0;
17012 wxGrid
*arg1
= (wxGrid
*) 0 ;
17015 wxGridCellEditor
*result
= 0 ;
17022 PyObject
* obj0
= 0 ;
17023 PyObject
* obj1
= 0 ;
17024 PyObject
* obj2
= 0 ;
17025 char * kwnames
[] = {
17026 (char *) "self",(char *) "row",(char *) "col", NULL
17029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17031 if (!SWIG_IsOK(res1
)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17034 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17036 if (!SWIG_IsOK(ecode2
)) {
17037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellEditor" "', expected argument " "2"" of type '" "int""'");
17039 arg2
= static_cast< int >(val2
);
17040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17041 if (!SWIG_IsOK(ecode3
)) {
17042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellEditor" "', expected argument " "3"" of type '" "int""'");
17044 arg3
= static_cast< int >(val3
);
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17060 SWIGINTERN PyObject
*_wrap_Grid_GetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
= 0;
17062 wxGrid
*arg1
= (wxGrid
*) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 PyObject
* obj2
= 0 ;
17075 char * kwnames
[] = {
17076 (char *) "self",(char *) "row",(char *) "col", NULL
17079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17081 if (!SWIG_IsOK(res1
)) {
17082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17084 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17086 if (!SWIG_IsOK(ecode2
)) {
17087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellValue" "', expected argument " "2"" of type '" "int""'");
17089 arg2
= static_cast< int >(val2
);
17090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17091 if (!SWIG_IsOK(ecode3
)) {
17092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellValue" "', expected argument " "3"" of type '" "int""'");
17094 arg3
= static_cast< int >(val3
);
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= (arg1
)->GetCellValue(arg2
,arg3
);
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17114 SWIGINTERN PyObject
*_wrap_Grid_SetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
= 0;
17116 wxGrid
*arg1
= (wxGrid
*) 0 ;
17119 wxString
*arg4
= 0 ;
17126 bool temp4
= false ;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 PyObject
* obj2
= 0 ;
17130 PyObject
* obj3
= 0 ;
17131 char * kwnames
[] = {
17132 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
17135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17137 if (!SWIG_IsOK(res1
)) {
17138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17140 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17142 if (!SWIG_IsOK(ecode2
)) {
17143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellValue" "', expected argument " "2"" of type '" "int""'");
17145 arg2
= static_cast< int >(val2
);
17146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17147 if (!SWIG_IsOK(ecode3
)) {
17148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellValue" "', expected argument " "3"" of type '" "int""'");
17150 arg3
= static_cast< int >(val3
);
17152 arg4
= wxString_in_helper(obj3
);
17153 if (arg4
== NULL
) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= SWIG_Py_Void();
17177 SWIGINTERN PyObject
*_wrap_Grid_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
= 0;
17179 wxGrid
*arg1
= (wxGrid
*) 0 ;
17189 PyObject
* obj0
= 0 ;
17190 PyObject
* obj1
= 0 ;
17191 PyObject
* obj2
= 0 ;
17192 char * kwnames
[] = {
17193 (char *) "self",(char *) "row",(char *) "col", NULL
17196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17198 if (!SWIG_IsOK(res1
)) {
17199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
17201 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17203 if (!SWIG_IsOK(ecode2
)) {
17204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsReadOnly" "', expected argument " "2"" of type '" "int""'");
17206 arg2
= static_cast< int >(val2
);
17207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17208 if (!SWIG_IsOK(ecode3
)) {
17209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsReadOnly" "', expected argument " "3"" of type '" "int""'");
17211 arg3
= static_cast< int >(val3
);
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17227 SWIGINTERN PyObject
*_wrap_Grid_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
= 0;
17229 wxGrid
*arg1
= (wxGrid
*) 0 ;
17232 bool arg4
= (bool) true ;
17241 PyObject
* obj0
= 0 ;
17242 PyObject
* obj1
= 0 ;
17243 PyObject
* obj2
= 0 ;
17244 PyObject
* obj3
= 0 ;
17245 char * kwnames
[] = {
17246 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
17249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17251 if (!SWIG_IsOK(res1
)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetReadOnly" "', expected argument " "1"" of type '" "wxGrid *""'");
17254 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17256 if (!SWIG_IsOK(ecode2
)) {
17257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetReadOnly" "', expected argument " "2"" of type '" "int""'");
17259 arg2
= static_cast< int >(val2
);
17260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17261 if (!SWIG_IsOK(ecode3
)) {
17262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetReadOnly" "', expected argument " "3"" of type '" "int""'");
17264 arg3
= static_cast< int >(val3
);
17266 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17267 if (!SWIG_IsOK(ecode4
)) {
17268 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetReadOnly" "', expected argument " "4"" of type '" "bool""'");
17270 arg4
= static_cast< bool >(val4
);
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= SWIG_Py_Void();
17285 SWIGINTERN PyObject
*_wrap_Grid_SelectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
= 0;
17287 wxGrid
*arg1
= (wxGrid
*) 0 ;
17289 bool arg3
= (bool) false ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 PyObject
* obj2
= 0 ;
17299 char * kwnames
[] = {
17300 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
17303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17305 if (!SWIG_IsOK(res1
)) {
17306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectRow" "', expected argument " "1"" of type '" "wxGrid *""'");
17308 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17310 if (!SWIG_IsOK(ecode2
)) {
17311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectRow" "', expected argument " "2"" of type '" "int""'");
17313 arg2
= static_cast< int >(val2
);
17315 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17316 if (!SWIG_IsOK(ecode3
)) {
17317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectRow" "', expected argument " "3"" of type '" "bool""'");
17319 arg3
= static_cast< bool >(val3
);
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 (arg1
)->SelectRow(arg2
,arg3
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= SWIG_Py_Void();
17334 SWIGINTERN PyObject
*_wrap_Grid_SelectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17335 PyObject
*resultobj
= 0;
17336 wxGrid
*arg1
= (wxGrid
*) 0 ;
17338 bool arg3
= (bool) false ;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 PyObject
* obj2
= 0 ;
17348 char * kwnames
[] = {
17349 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
17352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17354 if (!SWIG_IsOK(res1
)) {
17355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
17357 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17359 if (!SWIG_IsOK(ecode2
)) {
17360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectCol" "', expected argument " "2"" of type '" "int""'");
17362 arg2
= static_cast< int >(val2
);
17364 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17365 if (!SWIG_IsOK(ecode3
)) {
17366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectCol" "', expected argument " "3"" of type '" "bool""'");
17368 arg3
= static_cast< bool >(val3
);
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 (arg1
)->SelectCol(arg2
,arg3
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_Py_Void();
17383 SWIGINTERN PyObject
*_wrap_Grid_SelectBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
= 0;
17385 wxGrid
*arg1
= (wxGrid
*) 0 ;
17390 bool arg6
= (bool) false ;
17403 PyObject
* obj0
= 0 ;
17404 PyObject
* obj1
= 0 ;
17405 PyObject
* obj2
= 0 ;
17406 PyObject
* obj3
= 0 ;
17407 PyObject
* obj4
= 0 ;
17408 PyObject
* obj5
= 0 ;
17409 char * kwnames
[] = {
17410 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
17413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17415 if (!SWIG_IsOK(res1
)) {
17416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
17418 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17420 if (!SWIG_IsOK(ecode2
)) {
17421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectBlock" "', expected argument " "2"" of type '" "int""'");
17423 arg2
= static_cast< int >(val2
);
17424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17425 if (!SWIG_IsOK(ecode3
)) {
17426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectBlock" "', expected argument " "3"" of type '" "int""'");
17428 arg3
= static_cast< int >(val3
);
17429 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17430 if (!SWIG_IsOK(ecode4
)) {
17431 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SelectBlock" "', expected argument " "4"" of type '" "int""'");
17433 arg4
= static_cast< int >(val4
);
17434 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17435 if (!SWIG_IsOK(ecode5
)) {
17436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SelectBlock" "', expected argument " "5"" of type '" "int""'");
17438 arg5
= static_cast< int >(val5
);
17440 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
17441 if (!SWIG_IsOK(ecode6
)) {
17442 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_SelectBlock" "', expected argument " "6"" of type '" "bool""'");
17444 arg6
= static_cast< bool >(val6
);
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= SWIG_Py_Void();
17459 SWIGINTERN PyObject
*_wrap_Grid_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17460 PyObject
*resultobj
= 0;
17461 wxGrid
*arg1
= (wxGrid
*) 0 ;
17464 PyObject
*swig_obj
[1] ;
17466 if (!args
) SWIG_fail
;
17467 swig_obj
[0] = args
;
17468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17469 if (!SWIG_IsOK(res1
)) {
17470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectAll" "', expected argument " "1"" of type '" "wxGrid *""'");
17472 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 (arg1
)->SelectAll();
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= SWIG_Py_Void();
17486 SWIGINTERN PyObject
*_wrap_Grid_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17487 PyObject
*resultobj
= 0;
17488 wxGrid
*arg1
= (wxGrid
*) 0 ;
17492 PyObject
*swig_obj
[1] ;
17494 if (!args
) SWIG_fail
;
17495 swig_obj
[0] = args
;
17496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17497 if (!SWIG_IsOK(res1
)) {
17498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17500 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 result
= (bool)(arg1
)->IsSelection();
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17516 SWIGINTERN PyObject
*_wrap_Grid_ClearSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17517 PyObject
*resultobj
= 0;
17518 wxGrid
*arg1
= (wxGrid
*) 0 ;
17521 PyObject
*swig_obj
[1] ;
17523 if (!args
) SWIG_fail
;
17524 swig_obj
[0] = args
;
17525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17526 if (!SWIG_IsOK(res1
)) {
17527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17529 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 (arg1
)->ClearSelection();
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= SWIG_Py_Void();
17543 SWIGINTERN PyObject
*_wrap_Grid_IsInSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
= 0;
17545 wxGrid
*arg1
= (wxGrid
*) 0 ;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 PyObject
* obj2
= 0 ;
17558 char * kwnames
[] = {
17559 (char *) "self",(char *) "row",(char *) "col", NULL
17562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17564 if (!SWIG_IsOK(res1
)) {
17565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsInSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17567 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17569 if (!SWIG_IsOK(ecode2
)) {
17570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsInSelection" "', expected argument " "2"" of type '" "int""'");
17572 arg2
= static_cast< int >(val2
);
17573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17574 if (!SWIG_IsOK(ecode3
)) {
17575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsInSelection" "', expected argument " "3"" of type '" "int""'");
17577 arg3
= static_cast< int >(val3
);
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17593 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17594 PyObject
*resultobj
= 0;
17595 wxGrid
*arg1
= (wxGrid
*) 0 ;
17596 wxGridCellCoordsArray result
;
17599 PyObject
*swig_obj
[1] ;
17601 if (!args
) SWIG_fail
;
17602 swig_obj
[0] = args
;
17603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17604 if (!SWIG_IsOK(res1
)) {
17605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCells" "', expected argument " "1"" of type '" "wxGrid const *""'");
17607 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= wxGridCellCoordsArray_helper(result
);
17623 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 PyObject
*resultobj
= 0;
17625 wxGrid
*arg1
= (wxGrid
*) 0 ;
17626 wxGridCellCoordsArray result
;
17629 PyObject
*swig_obj
[1] ;
17631 if (!args
) SWIG_fail
;
17632 swig_obj
[0] = args
;
17633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17634 if (!SWIG_IsOK(res1
)) {
17635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockTopLeft" "', expected argument " "1"" of type '" "wxGrid const *""'");
17637 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= wxGridCellCoordsArray_helper(result
);
17653 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17654 PyObject
*resultobj
= 0;
17655 wxGrid
*arg1
= (wxGrid
*) 0 ;
17656 wxGridCellCoordsArray result
;
17659 PyObject
*swig_obj
[1] ;
17661 if (!args
) SWIG_fail
;
17662 swig_obj
[0] = args
;
17663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17664 if (!SWIG_IsOK(res1
)) {
17665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockBottomRight" "', expected argument " "1"" of type '" "wxGrid const *""'");
17667 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= wxGridCellCoordsArray_helper(result
);
17683 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17684 PyObject
*resultobj
= 0;
17685 wxGrid
*arg1
= (wxGrid
*) 0 ;
17689 PyObject
*swig_obj
[1] ;
17691 if (!args
) SWIG_fail
;
17692 swig_obj
[0] = args
;
17693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17694 if (!SWIG_IsOK(res1
)) {
17695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedRows" "', expected argument " "1"" of type '" "wxGrid const *""'");
17697 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= PyList_New(0);
17707 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
17708 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
17709 PyList_Append(resultobj
, val
);
17719 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17720 PyObject
*resultobj
= 0;
17721 wxGrid
*arg1
= (wxGrid
*) 0 ;
17725 PyObject
*swig_obj
[1] ;
17727 if (!args
) SWIG_fail
;
17728 swig_obj
[0] = args
;
17729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17730 if (!SWIG_IsOK(res1
)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCols" "', expected argument " "1"" of type '" "wxGrid const *""'");
17733 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= PyList_New(0);
17743 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
17744 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
17745 PyList_Append(resultobj
, val
);
17755 SWIGINTERN PyObject
*_wrap_Grid_DeselectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
= 0;
17757 wxGrid
*arg1
= (wxGrid
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 PyObject
* obj1
= 0 ;
17765 char * kwnames
[] = {
17766 (char *) "self",(char *) "row", NULL
17769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17771 if (!SWIG_IsOK(res1
)) {
17772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectRow" "', expected argument " "1"" of type '" "wxGrid *""'");
17774 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17776 if (!SWIG_IsOK(ecode2
)) {
17777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectRow" "', expected argument " "2"" of type '" "int""'");
17779 arg2
= static_cast< int >(val2
);
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 (arg1
)->DeselectRow(arg2
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= SWIG_Py_Void();
17793 SWIGINTERN PyObject
*_wrap_Grid_DeselectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
= 0;
17795 wxGrid
*arg1
= (wxGrid
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 char * kwnames
[] = {
17804 (char *) "self",(char *) "col", NULL
17807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17809 if (!SWIG_IsOK(res1
)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
17812 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17814 if (!SWIG_IsOK(ecode2
)) {
17815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCol" "', expected argument " "2"" of type '" "int""'");
17817 arg2
= static_cast< int >(val2
);
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 (arg1
)->DeselectCol(arg2
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= SWIG_Py_Void();
17831 SWIGINTERN PyObject
*_wrap_Grid_DeselectCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
= 0;
17833 wxGrid
*arg1
= (wxGrid
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 PyObject
* obj2
= 0 ;
17845 char * kwnames
[] = {
17846 (char *) "self",(char *) "row",(char *) "col", NULL
17849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17851 if (!SWIG_IsOK(res1
)) {
17852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCell" "', expected argument " "1"" of type '" "wxGrid *""'");
17854 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17856 if (!SWIG_IsOK(ecode2
)) {
17857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCell" "', expected argument " "2"" of type '" "int""'");
17859 arg2
= static_cast< int >(val2
);
17860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17861 if (!SWIG_IsOK(ecode3
)) {
17862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeselectCell" "', expected argument " "3"" of type '" "int""'");
17864 arg3
= static_cast< int >(val3
);
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 (arg1
)->DeselectCell(arg2
,arg3
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_Py_Void();
17878 SWIGINTERN PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
= 0;
17880 wxGrid
*arg1
= (wxGrid
*) 0 ;
17881 wxGridCellCoords
*arg2
= 0 ;
17882 wxGridCellCoords
*arg3
= 0 ;
17886 wxGridCellCoords temp2
;
17887 wxGridCellCoords temp3
;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 PyObject
* obj2
= 0 ;
17891 char * kwnames
[] = {
17892 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
17895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17897 if (!SWIG_IsOK(res1
)) {
17898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BlockToDeviceRect" "', expected argument " "1"" of type '" "wxGrid *""'");
17900 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17903 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
17907 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17922 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17923 PyObject
*resultobj
= 0;
17924 wxGrid
*arg1
= (wxGrid
*) 0 ;
17928 PyObject
*swig_obj
[1] ;
17930 if (!args
) SWIG_fail
;
17931 swig_obj
[0] = args
;
17932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17933 if (!SWIG_IsOK(res1
)) {
17934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid const *""'");
17936 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17950 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17951 PyObject
*resultobj
= 0;
17952 wxGrid
*arg1
= (wxGrid
*) 0 ;
17956 PyObject
*swig_obj
[1] ;
17958 if (!args
) SWIG_fail
;
17959 swig_obj
[0] = args
;
17960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17961 if (!SWIG_IsOK(res1
)) {
17962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid const *""'");
17964 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17978 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
= 0;
17980 wxGrid
*arg1
= (wxGrid
*) 0 ;
17981 wxColour
*arg2
= 0 ;
17985 PyObject
* obj0
= 0 ;
17986 PyObject
* obj1
= 0 ;
17987 char * kwnames
[] = {
17988 (char *) "self",(char *) "c", NULL
17991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17993 if (!SWIG_IsOK(res1
)) {
17994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid *""'");
17996 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17999 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= SWIG_Py_Void();
18014 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
= 0;
18016 wxGrid
*arg1
= (wxGrid
*) 0 ;
18017 wxColour
*arg2
= 0 ;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 char * kwnames
[] = {
18024 (char *) "self",(char *) "c", NULL
18027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18029 if (!SWIG_IsOK(res1
)) {
18030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid *""'");
18032 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18035 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= SWIG_Py_Void();
18050 SWIGINTERN PyObject
*_wrap_Grid_RegisterDataType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
= 0;
18052 wxGrid
*arg1
= (wxGrid
*) 0 ;
18053 wxString
*arg2
= 0 ;
18054 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
18055 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
18058 bool temp2
= false ;
18063 PyObject
* obj0
= 0 ;
18064 PyObject
* obj1
= 0 ;
18065 PyObject
* obj2
= 0 ;
18066 PyObject
* obj3
= 0 ;
18067 char * kwnames
[] = {
18068 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
18071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18073 if (!SWIG_IsOK(res1
)) {
18074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_RegisterDataType" "', expected argument " "1"" of type '" "wxGrid *""'");
18076 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18078 arg2
= wxString_in_helper(obj1
);
18079 if (arg2
== NULL
) SWIG_fail
;
18082 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
18083 if (!SWIG_IsOK(res3
)) {
18084 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_RegisterDataType" "', expected argument " "3"" of type '" "wxGridCellRenderer *""'");
18086 arg3
= reinterpret_cast< wxGridCellRenderer
* >(argp3
);
18087 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
18088 if (!SWIG_IsOK(res4
)) {
18089 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_RegisterDataType" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
18091 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 resultobj
= SWIG_Py_Void();
18113 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
= 0;
18115 wxGrid
*arg1
= (wxGrid
*) 0 ;
18118 wxGridCellEditor
*result
= 0 ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 PyObject
* obj2
= 0 ;
18128 char * kwnames
[] = {
18129 (char *) "self",(char *) "row",(char *) "col", NULL
18132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18134 if (!SWIG_IsOK(res1
)) {
18135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18137 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18139 if (!SWIG_IsOK(ecode2
)) {
18140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "2"" of type '" "int""'");
18142 arg2
= static_cast< int >(val2
);
18143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18144 if (!SWIG_IsOK(ecode3
)) {
18145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "3"" of type '" "int""'");
18147 arg3
= static_cast< int >(val3
);
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18163 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
= 0;
18165 wxGrid
*arg1
= (wxGrid
*) 0 ;
18168 wxGridCellRenderer
*result
= 0 ;
18175 PyObject
* obj0
= 0 ;
18176 PyObject
* obj1
= 0 ;
18177 PyObject
* obj2
= 0 ;
18178 char * kwnames
[] = {
18179 (char *) "self",(char *) "row",(char *) "col", NULL
18182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18184 if (!SWIG_IsOK(res1
)) {
18185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18187 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18189 if (!SWIG_IsOK(ecode2
)) {
18190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "2"" of type '" "int""'");
18192 arg2
= static_cast< int >(val2
);
18193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18194 if (!SWIG_IsOK(ecode3
)) {
18195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "3"" of type '" "int""'");
18197 arg3
= static_cast< int >(val3
);
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18213 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
= 0;
18215 wxGrid
*arg1
= (wxGrid
*) 0 ;
18216 wxString
*arg2
= 0 ;
18217 wxGridCellEditor
*result
= 0 ;
18220 bool temp2
= false ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char * kwnames
[] = {
18224 (char *) "self",(char *) "typeName", NULL
18227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18229 if (!SWIG_IsOK(res1
)) {
18230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18232 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18234 arg2
= wxString_in_helper(obj1
);
18235 if (arg2
== NULL
) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18245 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18261 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
= 0;
18263 wxGrid
*arg1
= (wxGrid
*) 0 ;
18264 wxString
*arg2
= 0 ;
18265 wxGridCellRenderer
*result
= 0 ;
18268 bool temp2
= false ;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 char * kwnames
[] = {
18272 (char *) "self",(char *) "typeName", NULL
18275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18277 if (!SWIG_IsOK(res1
)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18280 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18282 arg2
= wxString_in_helper(obj1
);
18283 if (arg2
== NULL
) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18309 SWIGINTERN PyObject
*_wrap_Grid_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
= 0;
18311 wxGrid
*arg1
= (wxGrid
*) 0 ;
18320 PyObject
* obj0
= 0 ;
18321 PyObject
* obj1
= 0 ;
18322 PyObject
* obj2
= 0 ;
18323 char * kwnames
[] = {
18324 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
18327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18329 if (!SWIG_IsOK(res1
)) {
18330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetMargins" "', expected argument " "1"" of type '" "wxGrid *""'");
18332 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18334 if (!SWIG_IsOK(ecode2
)) {
18335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetMargins" "', expected argument " "2"" of type '" "int""'");
18337 arg2
= static_cast< int >(val2
);
18338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18339 if (!SWIG_IsOK(ecode3
)) {
18340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetMargins" "', expected argument " "3"" of type '" "int""'");
18342 arg3
= static_cast< int >(val3
);
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 (arg1
)->SetMargins(arg2
,arg3
);
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= SWIG_Py_Void();
18356 SWIGINTERN PyObject
*_wrap_Grid_GetGridWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18357 PyObject
*resultobj
= 0;
18358 wxGrid
*arg1
= (wxGrid
*) 0 ;
18359 wxWindow
*result
= 0 ;
18362 PyObject
*swig_obj
[1] ;
18364 if (!args
) SWIG_fail
;
18365 swig_obj
[0] = args
;
18366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18367 if (!SWIG_IsOK(res1
)) {
18368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18370 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (wxWindow
*)(arg1
)->GetGridWindow();
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= wxPyMake_wxObject(result
, 0);
18386 SWIGINTERN PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18387 PyObject
*resultobj
= 0;
18388 wxGrid
*arg1
= (wxGrid
*) 0 ;
18389 wxWindow
*result
= 0 ;
18392 PyObject
*swig_obj
[1] ;
18394 if (!args
) SWIG_fail
;
18395 swig_obj
[0] = args
;
18396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18397 if (!SWIG_IsOK(res1
)) {
18398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridRowLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18400 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= wxPyMake_wxObject(result
, 0);
18416 SWIGINTERN PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18417 PyObject
*resultobj
= 0;
18418 wxGrid
*arg1
= (wxGrid
*) 0 ;
18419 wxWindow
*result
= 0 ;
18422 PyObject
*swig_obj
[1] ;
18424 if (!args
) SWIG_fail
;
18425 swig_obj
[0] = args
;
18426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18427 if (!SWIG_IsOK(res1
)) {
18428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridColLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18430 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= wxPyMake_wxObject(result
, 0);
18446 SWIGINTERN PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18447 PyObject
*resultobj
= 0;
18448 wxGrid
*arg1
= (wxGrid
*) 0 ;
18449 wxWindow
*result
= 0 ;
18452 PyObject
*swig_obj
[1] ;
18454 if (!args
) SWIG_fail
;
18455 swig_obj
[0] = args
;
18456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18457 if (!SWIG_IsOK(res1
)) {
18458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCornerLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18460 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= wxPyMake_wxObject(result
, 0);
18476 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
= 0;
18478 wxGrid
*arg1
= (wxGrid
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 PyObject
* obj1
= 0 ;
18486 char * kwnames
[] = {
18487 (char *) "self",(char *) "x", NULL
18490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18492 if (!SWIG_IsOK(res1
)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineX" "', expected argument " "1"" of type '" "wxGrid *""'");
18495 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18497 if (!SWIG_IsOK(ecode2
)) {
18498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineX" "', expected argument " "2"" of type '" "int""'");
18500 arg2
= static_cast< int >(val2
);
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 (arg1
)->SetScrollLineX(arg2
);
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_Py_Void();
18514 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
= 0;
18516 wxGrid
*arg1
= (wxGrid
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 PyObject
* obj1
= 0 ;
18524 char * kwnames
[] = {
18525 (char *) "self",(char *) "y", NULL
18528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18530 if (!SWIG_IsOK(res1
)) {
18531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineY" "', expected argument " "1"" of type '" "wxGrid *""'");
18533 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18535 if (!SWIG_IsOK(ecode2
)) {
18536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineY" "', expected argument " "2"" of type '" "int""'");
18538 arg2
= static_cast< int >(val2
);
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 (arg1
)->SetScrollLineY(arg2
);
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 resultobj
= SWIG_Py_Void();
18552 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18553 PyObject
*resultobj
= 0;
18554 wxGrid
*arg1
= (wxGrid
*) 0 ;
18558 PyObject
*swig_obj
[1] ;
18560 if (!args
) SWIG_fail
;
18561 swig_obj
[0] = args
;
18562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18563 if (!SWIG_IsOK(res1
)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18566 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_From_int(static_cast< int >(result
));
18580 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18581 PyObject
*resultobj
= 0;
18582 wxGrid
*arg1
= (wxGrid
*) 0 ;
18586 PyObject
*swig_obj
[1] ;
18588 if (!args
) SWIG_fail
;
18589 swig_obj
[0] = args
;
18590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18591 if (!SWIG_IsOK(res1
)) {
18592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineY" "', expected argument " "1"" of type '" "wxGrid const *""'");
18594 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= SWIG_From_int(static_cast< int >(result
));
18608 SWIGINTERN PyObject
*_wrap_Grid_GetScrollX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
= 0;
18610 wxGrid
*arg1
= (wxGrid
*) 0 ;
18617 PyObject
* obj0
= 0 ;
18618 PyObject
* obj1
= 0 ;
18619 char * kwnames
[] = {
18620 (char *) "self",(char *) "x", NULL
18623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18625 if (!SWIG_IsOK(res1
)) {
18626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18628 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18630 if (!SWIG_IsOK(ecode2
)) {
18631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollX" "', expected argument " "2"" of type '" "int""'");
18633 arg2
= static_cast< int >(val2
);
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_From_int(static_cast< int >(result
));
18647 SWIGINTERN PyObject
*_wrap_Grid_GetScrollY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
= 0;
18649 wxGrid
*arg1
= (wxGrid
*) 0 ;
18656 PyObject
* obj0
= 0 ;
18657 PyObject
* obj1
= 0 ;
18658 char * kwnames
[] = {
18659 (char *) "self",(char *) "y", NULL
18662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18664 if (!SWIG_IsOK(res1
)) {
18665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollY" "', expected argument " "1"" of type '" "wxGrid const *""'");
18667 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18669 if (!SWIG_IsOK(ecode2
)) {
18670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollY" "', expected argument " "2"" of type '" "int""'");
18672 arg2
= static_cast< int >(val2
);
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_From_int(static_cast< int >(result
));
18686 SWIGINTERN PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
= 0;
18688 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18689 SwigValueWrapper
<wxVisualAttributes
> result
;
18692 PyObject
* obj0
= 0 ;
18693 char * kwnames
[] = {
18694 (char *) "variant", NULL
18697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18700 if (!SWIG_IsOK(ecode1
)) {
18701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Grid_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18703 arg1
= static_cast< wxWindowVariant
>(val1
);
18706 if (!wxPyCheckForApp()) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= wxGrid::GetClassDefaultAttributes(arg1
);
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18719 SWIGINTERN PyObject
*Grid_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18722 SWIG_TypeNewClientData(SWIGTYPE_p_wxGrid
, SWIG_NewClientData(obj
));
18723 return SWIG_Py_Void();
18726 SWIGINTERN PyObject
*Grid_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18727 return SWIG_Python_InitShadowInstance(args
);
18730 SWIGINTERN PyObject
*_wrap_new_GridEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
= 0;
18734 wxGrid
*arg3
= (wxGrid
*) 0 ;
18735 int arg4
= (int) -1 ;
18736 int arg5
= (int) -1 ;
18737 int arg6
= (int) -1 ;
18738 int arg7
= (int) -1 ;
18739 bool arg8
= (bool) true ;
18740 bool arg9
= (bool) false ;
18741 bool arg10
= (bool) false ;
18742 bool arg11
= (bool) false ;
18743 bool arg12
= (bool) false ;
18744 wxGridEvent
*result
= 0 ;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 PyObject
* obj2
= 0 ;
18772 PyObject
* obj3
= 0 ;
18773 PyObject
* obj4
= 0 ;
18774 PyObject
* obj5
= 0 ;
18775 PyObject
* obj6
= 0 ;
18776 PyObject
* obj7
= 0 ;
18777 PyObject
* obj8
= 0 ;
18778 PyObject
* obj9
= 0 ;
18779 PyObject
* obj10
= 0 ;
18780 PyObject
* obj11
= 0 ;
18781 char * kwnames
[] = {
18782 (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
18785 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
;
18786 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18787 if (!SWIG_IsOK(ecode1
)) {
18788 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEvent" "', expected argument " "1"" of type '" "int""'");
18790 arg1
= static_cast< int >(val1
);
18791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18792 if (!SWIG_IsOK(ecode2
)) {
18793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEvent" "', expected argument " "2"" of type '" "wxEventType""'");
18795 arg2
= static_cast< wxEventType
>(val2
);
18796 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18797 if (!SWIG_IsOK(res3
)) {
18798 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
18800 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
18802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18803 if (!SWIG_IsOK(ecode4
)) {
18804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEvent" "', expected argument " "4"" of type '" "int""'");
18806 arg4
= static_cast< int >(val4
);
18809 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18810 if (!SWIG_IsOK(ecode5
)) {
18811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEvent" "', expected argument " "5"" of type '" "int""'");
18813 arg5
= static_cast< int >(val5
);
18816 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18817 if (!SWIG_IsOK(ecode6
)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridEvent" "', expected argument " "6"" of type '" "int""'");
18820 arg6
= static_cast< int >(val6
);
18823 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18824 if (!SWIG_IsOK(ecode7
)) {
18825 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridEvent" "', expected argument " "7"" of type '" "int""'");
18827 arg7
= static_cast< int >(val7
);
18830 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
18831 if (!SWIG_IsOK(ecode8
)) {
18832 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridEvent" "', expected argument " "8"" of type '" "bool""'");
18834 arg8
= static_cast< bool >(val8
);
18837 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
18838 if (!SWIG_IsOK(ecode9
)) {
18839 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridEvent" "', expected argument " "9"" of type '" "bool""'");
18841 arg9
= static_cast< bool >(val9
);
18844 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
18845 if (!SWIG_IsOK(ecode10
)) {
18846 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridEvent" "', expected argument " "10"" of type '" "bool""'");
18848 arg10
= static_cast< bool >(val10
);
18851 ecode11
= SWIG_AsVal_bool(obj10
, &val11
);
18852 if (!SWIG_IsOK(ecode11
)) {
18853 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "new_GridEvent" "', expected argument " "11"" of type '" "bool""'");
18855 arg11
= static_cast< bool >(val11
);
18858 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
18859 if (!SWIG_IsOK(ecode12
)) {
18860 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "new_GridEvent" "', expected argument " "12"" of type '" "bool""'");
18862 arg12
= static_cast< bool >(val12
);
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_NEW
| 0 );
18877 SWIGINTERN PyObject
*_wrap_GridEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18878 PyObject
*resultobj
= 0;
18879 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18883 PyObject
*swig_obj
[1] ;
18885 if (!args
) SWIG_fail
;
18886 swig_obj
[0] = args
;
18887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18888 if (!SWIG_IsOK(res1
)) {
18889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18891 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 result
= (int)(arg1
)->GetRow();
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= SWIG_From_int(static_cast< int >(result
));
18905 SWIGINTERN PyObject
*_wrap_GridEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18906 PyObject
*resultobj
= 0;
18907 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18911 PyObject
*swig_obj
[1] ;
18913 if (!args
) SWIG_fail
;
18914 swig_obj
[0] = args
;
18915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18916 if (!SWIG_IsOK(res1
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18919 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 result
= (int)(arg1
)->GetCol();
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 resultobj
= SWIG_From_int(static_cast< int >(result
));
18933 SWIGINTERN PyObject
*_wrap_GridEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18934 PyObject
*resultobj
= 0;
18935 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18939 PyObject
*swig_obj
[1] ;
18941 if (!args
) SWIG_fail
;
18942 swig_obj
[0] = args
;
18943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18944 if (!SWIG_IsOK(res1
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18947 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 result
= (arg1
)->GetPosition();
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18954 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
18961 SWIGINTERN PyObject
*_wrap_GridEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18962 PyObject
*resultobj
= 0;
18963 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18967 PyObject
*swig_obj
[1] ;
18969 if (!args
) SWIG_fail
;
18970 swig_obj
[0] = args
;
18971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
18972 if (!SWIG_IsOK(res1
)) {
18973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_Selecting" "', expected argument " "1"" of type '" "wxGridEvent *""'");
18975 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 result
= (bool)(arg1
)->Selecting();
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18991 SWIGINTERN PyObject
*_wrap_GridEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18992 PyObject
*resultobj
= 0;
18993 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
18997 PyObject
*swig_obj
[1] ;
18999 if (!args
) SWIG_fail
;
19000 swig_obj
[0] = args
;
19001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19002 if (!SWIG_IsOK(res1
)) {
19003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19005 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (bool)(arg1
)->ControlDown();
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19021 SWIGINTERN PyObject
*_wrap_GridEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19022 PyObject
*resultobj
= 0;
19023 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19027 PyObject
*swig_obj
[1] ;
19029 if (!args
) SWIG_fail
;
19030 swig_obj
[0] = args
;
19031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19032 if (!SWIG_IsOK(res1
)) {
19033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19035 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 result
= (bool)(arg1
)->MetaDown();
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19051 SWIGINTERN PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19052 PyObject
*resultobj
= 0;
19053 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19057 PyObject
*swig_obj
[1] ;
19059 if (!args
) SWIG_fail
;
19060 swig_obj
[0] = args
;
19061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19062 if (!SWIG_IsOK(res1
)) {
19063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19065 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 result
= (bool)(arg1
)->ShiftDown();
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19081 SWIGINTERN PyObject
*_wrap_GridEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19082 PyObject
*resultobj
= 0;
19083 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19087 PyObject
*swig_obj
[1] ;
19089 if (!args
) SWIG_fail
;
19090 swig_obj
[0] = args
;
19091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19092 if (!SWIG_IsOK(res1
)) {
19093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_AltDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19095 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 result
= (bool)(arg1
)->AltDown();
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19111 SWIGINTERN PyObject
*_wrap_GridEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19112 PyObject
*resultobj
= 0;
19113 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19117 PyObject
*swig_obj
[1] ;
19119 if (!args
) SWIG_fail
;
19120 swig_obj
[0] = args
;
19121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19122 if (!SWIG_IsOK(res1
)) {
19123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19125 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 result
= (bool)(arg1
)->CmdDown();
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19141 SWIGINTERN PyObject
*GridEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19144 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEvent
, SWIG_NewClientData(obj
));
19145 return SWIG_Py_Void();
19148 SWIGINTERN PyObject
*GridEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19149 return SWIG_Python_InitShadowInstance(args
);
19152 SWIGINTERN PyObject
*_wrap_new_GridSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
= 0;
19156 wxGrid
*arg3
= (wxGrid
*) 0 ;
19157 int arg4
= (int) -1 ;
19158 int arg5
= (int) -1 ;
19159 int arg6
= (int) -1 ;
19160 bool arg7
= (bool) false ;
19161 bool arg8
= (bool) false ;
19162 bool arg9
= (bool) false ;
19163 bool arg10
= (bool) false ;
19164 wxGridSizeEvent
*result
= 0 ;
19185 PyObject
* obj0
= 0 ;
19186 PyObject
* obj1
= 0 ;
19187 PyObject
* obj2
= 0 ;
19188 PyObject
* obj3
= 0 ;
19189 PyObject
* obj4
= 0 ;
19190 PyObject
* obj5
= 0 ;
19191 PyObject
* obj6
= 0 ;
19192 PyObject
* obj7
= 0 ;
19193 PyObject
* obj8
= 0 ;
19194 PyObject
* obj9
= 0 ;
19195 char * kwnames
[] = {
19196 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19200 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19201 if (!SWIG_IsOK(ecode1
)) {
19202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizeEvent" "', expected argument " "1"" of type '" "int""'");
19204 arg1
= static_cast< int >(val1
);
19205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19206 if (!SWIG_IsOK(ecode2
)) {
19207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizeEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19209 arg2
= static_cast< wxEventType
>(val2
);
19210 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19211 if (!SWIG_IsOK(res3
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridSizeEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19214 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19217 if (!SWIG_IsOK(ecode4
)) {
19218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizeEvent" "', expected argument " "4"" of type '" "int""'");
19220 arg4
= static_cast< int >(val4
);
19223 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19224 if (!SWIG_IsOK(ecode5
)) {
19225 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridSizeEvent" "', expected argument " "5"" of type '" "int""'");
19227 arg5
= static_cast< int >(val5
);
19230 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19231 if (!SWIG_IsOK(ecode6
)) {
19232 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridSizeEvent" "', expected argument " "6"" of type '" "int""'");
19234 arg6
= static_cast< int >(val6
);
19237 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19238 if (!SWIG_IsOK(ecode7
)) {
19239 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridSizeEvent" "', expected argument " "7"" of type '" "bool""'");
19241 arg7
= static_cast< bool >(val7
);
19244 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19245 if (!SWIG_IsOK(ecode8
)) {
19246 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridSizeEvent" "', expected argument " "8"" of type '" "bool""'");
19248 arg8
= static_cast< bool >(val8
);
19251 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19252 if (!SWIG_IsOK(ecode9
)) {
19253 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridSizeEvent" "', expected argument " "9"" of type '" "bool""'");
19255 arg9
= static_cast< bool >(val9
);
19258 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19259 if (!SWIG_IsOK(ecode10
)) {
19260 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridSizeEvent" "', expected argument " "10"" of type '" "bool""'");
19262 arg10
= static_cast< bool >(val10
);
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_NEW
| 0 );
19277 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19278 PyObject
*resultobj
= 0;
19279 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19283 PyObject
*swig_obj
[1] ;
19285 if (!args
) SWIG_fail
;
19286 swig_obj
[0] = args
;
19287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19288 if (!SWIG_IsOK(res1
)) {
19289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetRowOrCol" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19291 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 result
= (int)(arg1
)->GetRowOrCol();
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= SWIG_From_int(static_cast< int >(result
));
19305 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19306 PyObject
*resultobj
= 0;
19307 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19311 PyObject
*swig_obj
[1] ;
19313 if (!args
) SWIG_fail
;
19314 swig_obj
[0] = args
;
19315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19316 if (!SWIG_IsOK(res1
)) {
19317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19319 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 result
= (arg1
)->GetPosition();
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19333 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19334 PyObject
*resultobj
= 0;
19335 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19339 PyObject
*swig_obj
[1] ;
19341 if (!args
) SWIG_fail
;
19342 swig_obj
[0] = args
;
19343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19344 if (!SWIG_IsOK(res1
)) {
19345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19347 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 result
= (bool)(arg1
)->ControlDown();
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19363 SWIGINTERN PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19364 PyObject
*resultobj
= 0;
19365 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19369 PyObject
*swig_obj
[1] ;
19371 if (!args
) SWIG_fail
;
19372 swig_obj
[0] = args
;
19373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19374 if (!SWIG_IsOK(res1
)) {
19375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19377 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= (bool)(arg1
)->MetaDown();
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19393 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19394 PyObject
*resultobj
= 0;
19395 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19399 PyObject
*swig_obj
[1] ;
19401 if (!args
) SWIG_fail
;
19402 swig_obj
[0] = args
;
19403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19404 if (!SWIG_IsOK(res1
)) {
19405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19407 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 result
= (bool)(arg1
)->ShiftDown();
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19423 SWIGINTERN PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19424 PyObject
*resultobj
= 0;
19425 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19429 PyObject
*swig_obj
[1] ;
19431 if (!args
) SWIG_fail
;
19432 swig_obj
[0] = args
;
19433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19434 if (!SWIG_IsOK(res1
)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_AltDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19437 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= (bool)(arg1
)->AltDown();
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19453 SWIGINTERN PyObject
*_wrap_GridSizeEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19454 PyObject
*resultobj
= 0;
19455 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19459 PyObject
*swig_obj
[1] ;
19461 if (!args
) SWIG_fail
;
19462 swig_obj
[0] = args
;
19463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19464 if (!SWIG_IsOK(res1
)) {
19465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19467 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 result
= (bool)(arg1
)->CmdDown();
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19483 SWIGINTERN PyObject
*GridSizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19486 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizeEvent
, SWIG_NewClientData(obj
));
19487 return SWIG_Py_Void();
19490 SWIGINTERN PyObject
*GridSizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19491 return SWIG_Python_InitShadowInstance(args
);
19494 SWIGINTERN PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
= 0;
19498 wxGrid
*arg3
= (wxGrid
*) 0 ;
19499 wxGridCellCoords
*arg4
= 0 ;
19500 wxGridCellCoords
*arg5
= 0 ;
19501 bool arg6
= (bool) true ;
19502 bool arg7
= (bool) false ;
19503 bool arg8
= (bool) false ;
19504 bool arg9
= (bool) false ;
19505 bool arg10
= (bool) false ;
19506 wxGridRangeSelectEvent
*result
= 0 ;
19513 wxGridCellCoords temp4
;
19514 wxGridCellCoords temp5
;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 PyObject
* obj2
= 0 ;
19528 PyObject
* obj3
= 0 ;
19529 PyObject
* obj4
= 0 ;
19530 PyObject
* obj5
= 0 ;
19531 PyObject
* obj6
= 0 ;
19532 PyObject
* obj7
= 0 ;
19533 PyObject
* obj8
= 0 ;
19534 PyObject
* obj9
= 0 ;
19535 char * kwnames
[] = {
19536 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19540 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19541 if (!SWIG_IsOK(ecode1
)) {
19542 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "1"" of type '" "int""'");
19544 arg1
= static_cast< int >(val1
);
19545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19546 if (!SWIG_IsOK(ecode2
)) {
19547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19549 arg2
= static_cast< wxEventType
>(val2
);
19550 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19551 if (!SWIG_IsOK(res3
)) {
19552 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19554 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19557 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
19561 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
19564 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
19565 if (!SWIG_IsOK(ecode6
)) {
19566 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "6"" of type '" "bool""'");
19568 arg6
= static_cast< bool >(val6
);
19571 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19572 if (!SWIG_IsOK(ecode7
)) {
19573 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "7"" of type '" "bool""'");
19575 arg7
= static_cast< bool >(val7
);
19578 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19579 if (!SWIG_IsOK(ecode8
)) {
19580 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "8"" of type '" "bool""'");
19582 arg8
= static_cast< bool >(val8
);
19585 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19586 if (!SWIG_IsOK(ecode9
)) {
19587 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "9"" of type '" "bool""'");
19589 arg9
= static_cast< bool >(val9
);
19592 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19593 if (!SWIG_IsOK(ecode10
)) {
19594 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "10"" of type '" "bool""'");
19596 arg10
= static_cast< bool >(val10
);
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_NEW
| 0 );
19611 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19612 PyObject
*resultobj
= 0;
19613 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19614 wxGridCellCoords result
;
19617 PyObject
*swig_obj
[1] ;
19619 if (!args
) SWIG_fail
;
19620 swig_obj
[0] = args
;
19621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19622 if (!SWIG_IsOK(res1
)) {
19623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopLeftCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19625 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 result
= (arg1
)->GetTopLeftCoords();
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
19639 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19640 PyObject
*resultobj
= 0;
19641 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19642 wxGridCellCoords result
;
19645 PyObject
*swig_obj
[1] ;
19647 if (!args
) SWIG_fail
;
19648 swig_obj
[0] = args
;
19649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19650 if (!SWIG_IsOK(res1
)) {
19651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRightCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19653 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= (arg1
)->GetBottomRightCoords();
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
19667 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19668 PyObject
*resultobj
= 0;
19669 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19673 PyObject
*swig_obj
[1] ;
19675 if (!args
) SWIG_fail
;
19676 swig_obj
[0] = args
;
19677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19678 if (!SWIG_IsOK(res1
)) {
19679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19681 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 result
= (int)(arg1
)->GetTopRow();
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 resultobj
= SWIG_From_int(static_cast< int >(result
));
19695 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19696 PyObject
*resultobj
= 0;
19697 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19701 PyObject
*swig_obj
[1] ;
19703 if (!args
) SWIG_fail
;
19704 swig_obj
[0] = args
;
19705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19706 if (!SWIG_IsOK(res1
)) {
19707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19709 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (int)(arg1
)->GetBottomRow();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_From_int(static_cast< int >(result
));
19723 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19724 PyObject
*resultobj
= 0;
19725 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19729 PyObject
*swig_obj
[1] ;
19731 if (!args
) SWIG_fail
;
19732 swig_obj
[0] = args
;
19733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19734 if (!SWIG_IsOK(res1
)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetLeftCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19737 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (int)(arg1
)->GetLeftCol();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= SWIG_From_int(static_cast< int >(result
));
19751 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19752 PyObject
*resultobj
= 0;
19753 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19757 PyObject
*swig_obj
[1] ;
19759 if (!args
) SWIG_fail
;
19760 swig_obj
[0] = args
;
19761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19762 if (!SWIG_IsOK(res1
)) {
19763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetRightCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19765 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (int)(arg1
)->GetRightCol();
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= SWIG_From_int(static_cast< int >(result
));
19779 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19780 PyObject
*resultobj
= 0;
19781 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19785 PyObject
*swig_obj
[1] ;
19787 if (!args
) SWIG_fail
;
19788 swig_obj
[0] = args
;
19789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_Selecting" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19793 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (bool)(arg1
)->Selecting();
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19809 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19810 PyObject
*resultobj
= 0;
19811 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19815 PyObject
*swig_obj
[1] ;
19817 if (!args
) SWIG_fail
;
19818 swig_obj
[0] = args
;
19819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19820 if (!SWIG_IsOK(res1
)) {
19821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19823 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 result
= (bool)(arg1
)->ControlDown();
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19839 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19840 PyObject
*resultobj
= 0;
19841 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19845 PyObject
*swig_obj
[1] ;
19847 if (!args
) SWIG_fail
;
19848 swig_obj
[0] = args
;
19849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19850 if (!SWIG_IsOK(res1
)) {
19851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19853 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= (bool)(arg1
)->MetaDown();
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19869 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19870 PyObject
*resultobj
= 0;
19871 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19875 PyObject
*swig_obj
[1] ;
19877 if (!args
) SWIG_fail
;
19878 swig_obj
[0] = args
;
19879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19880 if (!SWIG_IsOK(res1
)) {
19881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19883 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 result
= (bool)(arg1
)->ShiftDown();
19887 wxPyEndAllowThreads(__tstate
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19899 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19900 PyObject
*resultobj
= 0;
19901 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19905 PyObject
*swig_obj
[1] ;
19907 if (!args
) SWIG_fail
;
19908 swig_obj
[0] = args
;
19909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19910 if (!SWIG_IsOK(res1
)) {
19911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_AltDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19913 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 result
= (bool)(arg1
)->AltDown();
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19929 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19930 PyObject
*resultobj
= 0;
19931 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19935 PyObject
*swig_obj
[1] ;
19937 if (!args
) SWIG_fail
;
19938 swig_obj
[0] = args
;
19939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19940 if (!SWIG_IsOK(res1
)) {
19941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19943 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (bool)(arg1
)->CmdDown();
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19959 SWIGINTERN PyObject
*GridRangeSelectEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19962 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_NewClientData(obj
));
19963 return SWIG_Py_Void();
19966 SWIGINTERN PyObject
*GridRangeSelectEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19967 return SWIG_Python_InitShadowInstance(args
);
19970 SWIGINTERN PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
= 0;
19974 wxObject
*arg3
= (wxObject
*) 0 ;
19977 wxControl
*arg6
= (wxControl
*) 0 ;
19978 wxGridEditorCreatedEvent
*result
= 0 ;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 PyObject
* obj2
= 0 ;
19994 PyObject
* obj3
= 0 ;
19995 PyObject
* obj4
= 0 ;
19996 PyObject
* obj5
= 0 ;
19997 char * kwnames
[] = {
19998 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
20001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20003 if (!SWIG_IsOK(ecode1
)) {
20004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "1"" of type '" "int""'");
20006 arg1
= static_cast< int >(val1
);
20007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20008 if (!SWIG_IsOK(ecode2
)) {
20009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "2"" of type '" "wxEventType""'");
20011 arg2
= static_cast< wxEventType
>(val2
);
20012 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxObject
, 0 | 0 );
20013 if (!SWIG_IsOK(res3
)) {
20014 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "3"" of type '" "wxObject *""'");
20016 arg3
= reinterpret_cast< wxObject
* >(argp3
);
20017 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20018 if (!SWIG_IsOK(ecode4
)) {
20019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "4"" of type '" "int""'");
20021 arg4
= static_cast< int >(val4
);
20022 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20023 if (!SWIG_IsOK(ecode5
)) {
20024 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "5"" of type '" "int""'");
20026 arg5
= static_cast< int >(val5
);
20027 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxControl
, 0 | 0 );
20028 if (!SWIG_IsOK(res6
)) {
20029 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "6"" of type '" "wxControl *""'");
20031 arg6
= reinterpret_cast< wxControl
* >(argp6
);
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_NEW
| 0 );
20045 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20046 PyObject
*resultobj
= 0;
20047 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20051 PyObject
*swig_obj
[1] ;
20053 if (!args
) SWIG_fail
;
20054 swig_obj
[0] = args
;
20055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20056 if (!SWIG_IsOK(res1
)) {
20057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20059 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (int)(arg1
)->GetRow();
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 resultobj
= SWIG_From_int(static_cast< int >(result
));
20073 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20074 PyObject
*resultobj
= 0;
20075 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20079 PyObject
*swig_obj
[1] ;
20081 if (!args
) SWIG_fail
;
20082 swig_obj
[0] = args
;
20083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20084 if (!SWIG_IsOK(res1
)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20087 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 result
= (int)(arg1
)->GetCol();
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= SWIG_From_int(static_cast< int >(result
));
20101 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20102 PyObject
*resultobj
= 0;
20103 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20104 wxControl
*result
= 0 ;
20107 PyObject
*swig_obj
[1] ;
20109 if (!args
) SWIG_fail
;
20110 swig_obj
[0] = args
;
20111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20115 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 result
= (wxControl
*)(arg1
)->GetControl();
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20123 resultobj
= wxPyMake_wxObject(result
, 0);
20131 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
= 0;
20133 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20139 PyObject
* obj0
= 0 ;
20140 PyObject
* obj1
= 0 ;
20141 char * kwnames
[] = {
20142 (char *) "self",(char *) "row", NULL
20145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20147 if (!SWIG_IsOK(res1
)) {
20148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20150 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20152 if (!SWIG_IsOK(ecode2
)) {
20153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "2"" of type '" "int""'");
20155 arg2
= static_cast< int >(val2
);
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 (arg1
)->SetRow(arg2
);
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= SWIG_Py_Void();
20169 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
= 0;
20171 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20179 char * kwnames
[] = {
20180 (char *) "self",(char *) "col", NULL
20183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20185 if (!SWIG_IsOK(res1
)) {
20186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20188 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20190 if (!SWIG_IsOK(ecode2
)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "2"" of type '" "int""'");
20193 arg2
= static_cast< int >(val2
);
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 (arg1
)->SetCol(arg2
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= SWIG_Py_Void();
20207 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
= 0;
20209 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20210 wxControl
*arg2
= (wxControl
*) 0 ;
20215 PyObject
* obj0
= 0 ;
20216 PyObject
* obj1
= 0 ;
20217 char * kwnames
[] = {
20218 (char *) "self",(char *) "ctrl", NULL
20221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20223 if (!SWIG_IsOK(res1
)) {
20224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20226 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20227 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
20228 if (!SWIG_IsOK(res2
)) {
20229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
20231 arg2
= reinterpret_cast< wxControl
* >(argp2
);
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 (arg1
)->SetControl(arg2
);
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= SWIG_Py_Void();
20245 SWIGINTERN PyObject
*GridEditorCreatedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20248 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_NewClientData(obj
));
20249 return SWIG_Py_Void();
20252 SWIGINTERN PyObject
*GridEditorCreatedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20253 return SWIG_Python_InitShadowInstance(args
);
20256 static PyMethodDef SwigMethods
[] = {
20257 { (char *)"GridCellWorker__setOORInfo", (PyCFunction
) _wrap_GridCellWorker__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20258 { (char *)"delete_GridCellWorker", (PyCFunction
)_wrap_delete_GridCellWorker
, METH_O
, NULL
},
20259 { (char *)"GridCellWorker_SetParameters", (PyCFunction
) _wrap_GridCellWorker_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20260 { (char *)"GridCellWorker_IncRef", (PyCFunction
)_wrap_GridCellWorker_IncRef
, METH_O
, NULL
},
20261 { (char *)"GridCellWorker_DecRef", (PyCFunction
)_wrap_GridCellWorker_DecRef
, METH_O
, NULL
},
20262 { (char *)"GridCellWorker_swigregister", GridCellWorker_swigregister
, METH_VARARGS
, NULL
},
20263 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20264 { (char *)"new_PyGridCellRenderer", (PyCFunction
)_wrap_new_PyGridCellRenderer
, METH_NOARGS
, NULL
},
20265 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20266 { (char *)"PyGridCellRenderer_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20267 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20268 { (char *)"PyGridCellRenderer_swiginit", PyGridCellRenderer_swiginit
, METH_VARARGS
, NULL
},
20269 { (char *)"new_GridCellStringRenderer", (PyCFunction
)_wrap_new_GridCellStringRenderer
, METH_NOARGS
, NULL
},
20270 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20271 { (char *)"GridCellStringRenderer_swiginit", GridCellStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20272 { (char *)"new_GridCellNumberRenderer", (PyCFunction
)_wrap_new_GridCellNumberRenderer
, METH_NOARGS
, NULL
},
20273 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
20274 { (char *)"GridCellNumberRenderer_swiginit", GridCellNumberRenderer_swiginit
, METH_VARARGS
, NULL
},
20275 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20276 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
)_wrap_GridCellFloatRenderer_GetWidth
, METH_O
, NULL
},
20277 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20278 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
)_wrap_GridCellFloatRenderer_GetPrecision
, METH_O
, NULL
},
20279 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20280 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
20281 { (char *)"GridCellFloatRenderer_swiginit", GridCellFloatRenderer_swiginit
, METH_VARARGS
, NULL
},
20282 { (char *)"new_GridCellBoolRenderer", (PyCFunction
)_wrap_new_GridCellBoolRenderer
, METH_NOARGS
, NULL
},
20283 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
20284 { (char *)"GridCellBoolRenderer_swiginit", GridCellBoolRenderer_swiginit
, METH_VARARGS
, NULL
},
20285 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20286 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
20287 { (char *)"GridCellDateTimeRenderer_swiginit", GridCellDateTimeRenderer_swiginit
, METH_VARARGS
, NULL
},
20288 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20289 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
20290 { (char *)"GridCellEnumRenderer_swiginit", GridCellEnumRenderer_swiginit
, METH_VARARGS
, NULL
},
20291 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
)_wrap_new_GridCellAutoWrapStringRenderer
, METH_NOARGS
, NULL
},
20292 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20293 { (char *)"GridCellAutoWrapStringRenderer_swiginit", GridCellAutoWrapStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20294 { (char *)"GridCellEditor_IsCreated", (PyCFunction
)_wrap_GridCellEditor_IsCreated
, METH_O
, NULL
},
20295 { (char *)"GridCellEditor_GetControl", (PyCFunction
)_wrap_GridCellEditor_GetControl
, METH_O
, NULL
},
20296 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20297 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
)_wrap_GridCellEditor_GetCellAttr
, METH_O
, NULL
},
20298 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20299 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20300 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20301 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20302 { (char *)"GridCellEditor_Reset", (PyCFunction
)_wrap_GridCellEditor_Reset
, METH_O
, NULL
},
20303 { (char *)"GridCellEditor_Clone", (PyCFunction
)_wrap_GridCellEditor_Clone
, METH_O
, NULL
},
20304 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20305 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20306 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20307 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20308 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20309 { (char *)"GridCellEditor_StartingClick", (PyCFunction
)_wrap_GridCellEditor_StartingClick
, METH_O
, NULL
},
20310 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20311 { (char *)"GridCellEditor_Destroy", (PyCFunction
)_wrap_GridCellEditor_Destroy
, METH_O
, NULL
},
20312 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20313 { (char *)"new_PyGridCellEditor", (PyCFunction
)_wrap_new_PyGridCellEditor
, METH_NOARGS
, NULL
},
20314 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20315 { (char *)"PyGridCellEditor_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20316 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20317 { (char *)"PyGridCellEditor_swiginit", PyGridCellEditor_swiginit
, METH_VARARGS
, NULL
},
20318 { (char *)"new_GridCellTextEditor", (PyCFunction
)_wrap_new_GridCellTextEditor
, METH_NOARGS
, NULL
},
20319 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
)_wrap_GridCellTextEditor_GetValue
, METH_O
, NULL
},
20320 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
20321 { (char *)"GridCellTextEditor_swiginit", GridCellTextEditor_swiginit
, METH_VARARGS
, NULL
},
20322 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20323 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
20324 { (char *)"GridCellNumberEditor_swiginit", GridCellNumberEditor_swiginit
, METH_VARARGS
, NULL
},
20325 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20326 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
20327 { (char *)"GridCellFloatEditor_swiginit", GridCellFloatEditor_swiginit
, METH_VARARGS
, NULL
},
20328 { (char *)"new_GridCellBoolEditor", (PyCFunction
)_wrap_new_GridCellBoolEditor
, METH_NOARGS
, NULL
},
20329 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
)_wrap_GridCellBoolEditor_GetValue
, METH_O
, NULL
},
20330 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
20331 { (char *)"GridCellBoolEditor_swiginit", GridCellBoolEditor_swiginit
, METH_VARARGS
, NULL
},
20332 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20333 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
)_wrap_GridCellChoiceEditor_GetValue
, METH_O
, NULL
},
20334 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
20335 { (char *)"GridCellChoiceEditor_swiginit", GridCellChoiceEditor_swiginit
, METH_VARARGS
, NULL
},
20336 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20337 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
20338 { (char *)"GridCellEnumEditor_swiginit", GridCellEnumEditor_swiginit
, METH_VARARGS
, NULL
},
20339 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
)_wrap_new_GridCellAutoWrapStringEditor
, METH_NOARGS
, NULL
},
20340 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
20341 { (char *)"GridCellAutoWrapStringEditor_swiginit", GridCellAutoWrapStringEditor_swiginit
, METH_VARARGS
, NULL
},
20342 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20343 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20344 { (char *)"delete_GridCellAttr", (PyCFunction
)_wrap_delete_GridCellAttr
, METH_O
, NULL
},
20345 { (char *)"GridCellAttr_Clone", (PyCFunction
)_wrap_GridCellAttr_Clone
, METH_O
, NULL
},
20346 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20347 { (char *)"GridCellAttr_IncRef", (PyCFunction
)_wrap_GridCellAttr_IncRef
, METH_O
, NULL
},
20348 { (char *)"GridCellAttr_DecRef", (PyCFunction
)_wrap_GridCellAttr_DecRef
, METH_O
, NULL
},
20349 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20350 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20351 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20352 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20353 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20354 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20355 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20356 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20357 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20358 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20359 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
)_wrap_GridCellAttr_HasTextColour
, METH_O
, NULL
},
20360 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_HasBackgroundColour
, METH_O
, NULL
},
20361 { (char *)"GridCellAttr_HasFont", (PyCFunction
)_wrap_GridCellAttr_HasFont
, METH_O
, NULL
},
20362 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
)_wrap_GridCellAttr_HasAlignment
, METH_O
, NULL
},
20363 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
)_wrap_GridCellAttr_HasRenderer
, METH_O
, NULL
},
20364 { (char *)"GridCellAttr_HasEditor", (PyCFunction
)_wrap_GridCellAttr_HasEditor
, METH_O
, NULL
},
20365 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
)_wrap_GridCellAttr_HasReadWriteMode
, METH_O
, NULL
},
20366 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
)_wrap_GridCellAttr_HasOverflowMode
, METH_O
, NULL
},
20367 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
)_wrap_GridCellAttr_GetTextColour
, METH_O
, NULL
},
20368 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_GetBackgroundColour
, METH_O
, NULL
},
20369 { (char *)"GridCellAttr_GetFont", (PyCFunction
)_wrap_GridCellAttr_GetFont
, METH_O
, NULL
},
20370 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
)_wrap_GridCellAttr_GetAlignment
, METH_O
, NULL
},
20371 { (char *)"GridCellAttr_GetSize", (PyCFunction
)_wrap_GridCellAttr_GetSize
, METH_O
, NULL
},
20372 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
)_wrap_GridCellAttr_GetOverflow
, METH_O
, NULL
},
20373 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20374 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20375 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
)_wrap_GridCellAttr_IsReadOnly
, METH_O
, NULL
},
20376 { (char *)"GridCellAttr_GetKind", (PyCFunction
)_wrap_GridCellAttr_GetKind
, METH_O
, NULL
},
20377 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20378 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
20379 { (char *)"GridCellAttr_swiginit", GridCellAttr_swiginit
, METH_VARARGS
, NULL
},
20380 { (char *)"new_GridCellAttrProvider", (PyCFunction
)_wrap_new_GridCellAttrProvider
, METH_NOARGS
, NULL
},
20381 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20382 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20383 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20384 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20385 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20386 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20387 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20388 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20389 { (char *)"GridCellAttrProvider_swiginit", GridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20390 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
)_wrap_new_PyGridCellAttrProvider
, METH_NOARGS
, NULL
},
20391 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20392 { (char *)"PyGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20393 { (char *)"PyGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20394 { (char *)"PyGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20395 { (char *)"PyGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20396 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20397 { (char *)"PyGridCellAttrProvider_swiginit", PyGridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20398 { (char *)"delete_GridTableBase", (PyCFunction
)_wrap_delete_GridTableBase
, METH_O
, NULL
},
20399 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20400 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20401 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
)_wrap_GridTableBase_GetAttrProvider
, METH_O
, NULL
},
20402 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20403 { (char *)"GridTableBase_GetView", (PyCFunction
)_wrap_GridTableBase_GetView
, METH_O
, NULL
},
20404 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
)_wrap_GridTableBase_GetNumberRows
, METH_O
, NULL
},
20405 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
)_wrap_GridTableBase_GetNumberCols
, METH_O
, NULL
},
20406 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20407 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20408 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20409 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20410 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20411 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20412 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20413 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20414 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20415 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20416 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20417 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20418 { (char *)"GridTableBase_Clear", (PyCFunction
)_wrap_GridTableBase_Clear
, METH_O
, NULL
},
20419 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20420 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20421 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20422 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20423 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20424 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20425 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20426 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20427 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20428 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20429 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
)_wrap_GridTableBase_CanHaveAttributes
, METH_O
, NULL
},
20430 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20431 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20432 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20433 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20434 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
20435 { (char *)"new_PyGridTableBase", (PyCFunction
)_wrap_new_PyGridTableBase
, METH_NOARGS
, NULL
},
20436 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20437 { (char *)"PyGridTableBase_Destroy", (PyCFunction
)_wrap_PyGridTableBase_Destroy
, METH_O
, NULL
},
20438 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
20439 { (char *)"PyGridTableBase_swiginit", PyGridTableBase_swiginit
, METH_VARARGS
, NULL
},
20440 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20441 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
20442 { (char *)"GridStringTable_swiginit", GridStringTable_swiginit
, METH_VARARGS
, NULL
},
20443 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20444 { (char *)"delete_GridTableMessage", (PyCFunction
)_wrap_delete_GridTableMessage
, METH_O
, NULL
},
20445 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20446 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
)_wrap_GridTableMessage_GetTableObject
, METH_O
, NULL
},
20447 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20448 { (char *)"GridTableMessage_GetId", (PyCFunction
)_wrap_GridTableMessage_GetId
, METH_O
, NULL
},
20449 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20450 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt
, METH_O
, NULL
},
20451 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20452 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt2
, METH_O
, NULL
},
20453 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
20454 { (char *)"GridTableMessage_swiginit", GridTableMessage_swiginit
, METH_VARARGS
, NULL
},
20455 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20456 { (char *)"delete_GridCellCoords", (PyCFunction
)_wrap_delete_GridCellCoords
, METH_O
, NULL
},
20457 { (char *)"GridCellCoords_GetRow", (PyCFunction
)_wrap_GridCellCoords_GetRow
, METH_O
, NULL
},
20458 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20459 { (char *)"GridCellCoords_GetCol", (PyCFunction
)_wrap_GridCellCoords_GetCol
, METH_O
, NULL
},
20460 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20461 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20462 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20463 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20464 { (char *)"GridCellCoords_Get", (PyCFunction
)_wrap_GridCellCoords_Get
, METH_O
, NULL
},
20465 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
20466 { (char *)"GridCellCoords_swiginit", GridCellCoords_swiginit
, METH_VARARGS
, NULL
},
20467 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20468 { (char *)"new_PreGrid", (PyCFunction
)_wrap_new_PreGrid
, METH_NOARGS
, NULL
},
20469 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20470 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20471 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20472 { (char *)"Grid_GetSelectionMode", (PyCFunction
)_wrap_Grid_GetSelectionMode
, METH_O
, NULL
},
20473 { (char *)"Grid_GetNumberRows", (PyCFunction
)_wrap_Grid_GetNumberRows
, METH_O
, NULL
},
20474 { (char *)"Grid_GetNumberCols", (PyCFunction
)_wrap_Grid_GetNumberCols
, METH_O
, NULL
},
20475 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20476 { (char *)"Grid_GetTable", (PyCFunction
)_wrap_Grid_GetTable
, METH_O
, NULL
},
20477 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20478 { (char *)"Grid_ClearGrid", (PyCFunction
)_wrap_Grid_ClearGrid
, METH_O
, NULL
},
20479 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20480 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20481 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20482 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20483 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20484 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20485 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20486 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20487 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20488 { (char *)"Grid_BeginBatch", (PyCFunction
)_wrap_Grid_BeginBatch
, METH_O
, NULL
},
20489 { (char *)"Grid_EndBatch", (PyCFunction
)_wrap_Grid_EndBatch
, METH_O
, NULL
},
20490 { (char *)"Grid_GetBatchCount", (PyCFunction
)_wrap_Grid_GetBatchCount
, METH_O
, NULL
},
20491 { (char *)"Grid_ForceRefresh", (PyCFunction
)_wrap_Grid_ForceRefresh
, METH_O
, NULL
},
20492 { (char *)"Grid_IsEditable", (PyCFunction
)_wrap_Grid_IsEditable
, METH_O
, NULL
},
20493 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20494 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20495 { (char *)"Grid_DisableCellEditControl", (PyCFunction
)_wrap_Grid_DisableCellEditControl
, METH_O
, NULL
},
20496 { (char *)"Grid_CanEnableCellControl", (PyCFunction
)_wrap_Grid_CanEnableCellControl
, METH_O
, NULL
},
20497 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
)_wrap_Grid_IsCellEditControlEnabled
, METH_O
, NULL
},
20498 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
)_wrap_Grid_IsCellEditControlShown
, METH_O
, NULL
},
20499 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
)_wrap_Grid_IsCurrentCellReadOnly
, METH_O
, NULL
},
20500 { (char *)"Grid_ShowCellEditControl", (PyCFunction
)_wrap_Grid_ShowCellEditControl
, METH_O
, NULL
},
20501 { (char *)"Grid_HideCellEditControl", (PyCFunction
)_wrap_Grid_HideCellEditControl
, METH_O
, NULL
},
20502 { (char *)"Grid_SaveEditControlValue", (PyCFunction
)_wrap_Grid_SaveEditControlValue
, METH_O
, NULL
},
20503 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20504 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20505 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20506 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20507 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20508 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20509 { (char *)"Grid_GetGridCursorRow", (PyCFunction
)_wrap_Grid_GetGridCursorRow
, METH_O
, NULL
},
20510 { (char *)"Grid_GetGridCursorCol", (PyCFunction
)_wrap_Grid_GetGridCursorCol
, METH_O
, NULL
},
20511 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20512 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20513 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20514 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20515 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20516 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20517 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20518 { (char *)"Grid_MovePageDown", (PyCFunction
)_wrap_Grid_MovePageDown
, METH_O
, NULL
},
20519 { (char *)"Grid_MovePageUp", (PyCFunction
)_wrap_Grid_MovePageUp
, METH_O
, NULL
},
20520 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20521 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20522 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20523 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20524 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultRowLabelSize
, METH_O
, NULL
},
20525 { (char *)"Grid_GetRowLabelSize", (PyCFunction
)_wrap_Grid_GetRowLabelSize
, METH_O
, NULL
},
20526 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultColLabelSize
, METH_O
, NULL
},
20527 { (char *)"Grid_GetColLabelSize", (PyCFunction
)_wrap_Grid_GetColLabelSize
, METH_O
, NULL
},
20528 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
)_wrap_Grid_GetLabelBackgroundColour
, METH_O
, NULL
},
20529 { (char *)"Grid_GetLabelTextColour", (PyCFunction
)_wrap_Grid_GetLabelTextColour
, METH_O
, NULL
},
20530 { (char *)"Grid_GetLabelFont", (PyCFunction
)_wrap_Grid_GetLabelFont
, METH_O
, NULL
},
20531 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
)_wrap_Grid_GetRowLabelAlignment
, METH_O
, NULL
},
20532 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
)_wrap_Grid_GetColLabelAlignment
, METH_O
, NULL
},
20533 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
)_wrap_Grid_GetColLabelTextOrientation
, METH_O
, NULL
},
20534 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20535 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20536 { (char *)"Grid_GetGridLineColour", (PyCFunction
)_wrap_Grid_GetGridLineColour
, METH_O
, NULL
},
20537 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
)_wrap_Grid_GetCellHighlightColour
, METH_O
, NULL
},
20538 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightPenWidth
, METH_O
, NULL
},
20539 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightROPenWidth
, METH_O
, NULL
},
20540 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20541 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20542 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20543 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20544 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20545 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20546 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20547 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20548 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20549 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20550 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20551 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20552 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20553 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20554 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20555 { (char *)"Grid_DisableDragRowSize", (PyCFunction
)_wrap_Grid_DisableDragRowSize
, METH_O
, NULL
},
20556 { (char *)"Grid_CanDragRowSize", (PyCFunction
)_wrap_Grid_CanDragRowSize
, METH_O
, NULL
},
20557 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20558 { (char *)"Grid_DisableDragColSize", (PyCFunction
)_wrap_Grid_DisableDragColSize
, METH_O
, NULL
},
20559 { (char *)"Grid_CanDragColSize", (PyCFunction
)_wrap_Grid_CanDragColSize
, METH_O
, NULL
},
20560 { (char *)"Grid_EnableDragColMove", (PyCFunction
) _wrap_Grid_EnableDragColMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20561 { (char *)"Grid_DisableDragColMove", (PyCFunction
)_wrap_Grid_DisableDragColMove
, METH_O
, NULL
},
20562 { (char *)"Grid_CanDragColMove", (PyCFunction
)_wrap_Grid_CanDragColMove
, METH_O
, NULL
},
20563 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20564 { (char *)"Grid_DisableDragGridSize", (PyCFunction
)_wrap_Grid_DisableDragGridSize
, METH_O
, NULL
},
20565 { (char *)"Grid_CanDragGridSize", (PyCFunction
)_wrap_Grid_CanDragGridSize
, METH_O
, NULL
},
20566 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20567 { (char *)"Grid_DisableDragCell", (PyCFunction
)_wrap_Grid_DisableDragCell
, METH_O
, NULL
},
20568 { (char *)"Grid_CanDragCell", (PyCFunction
)_wrap_Grid_CanDragCell
, METH_O
, NULL
},
20569 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20570 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20571 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20572 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20573 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20574 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20575 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20576 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20577 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20578 { (char *)"Grid_GridLinesEnabled", (PyCFunction
)_wrap_Grid_GridLinesEnabled
, METH_O
, NULL
},
20579 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
)_wrap_Grid_GetDefaultRowSize
, METH_O
, NULL
},
20580 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20581 { (char *)"Grid_GetDefaultColSize", (PyCFunction
)_wrap_Grid_GetDefaultColSize
, METH_O
, NULL
},
20582 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20583 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
)_wrap_Grid_GetDefaultCellBackgroundColour
, METH_O
, NULL
},
20584 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20585 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
)_wrap_Grid_GetDefaultCellTextColour
, METH_O
, NULL
},
20586 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20587 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
)_wrap_Grid_GetDefaultCellFont
, METH_O
, NULL
},
20588 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20589 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
)_wrap_Grid_GetDefaultCellAlignment
, METH_O
, NULL
},
20590 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20591 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
)_wrap_Grid_GetDefaultCellOverflow
, METH_O
, NULL
},
20592 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20593 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20594 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20595 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20596 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20597 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20598 { (char *)"Grid_GetColAt", (PyCFunction
) _wrap_Grid_GetColAt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20599 { (char *)"Grid_SetColPos", (PyCFunction
) _wrap_Grid_SetColPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20600 { (char *)"Grid_GetColPos", (PyCFunction
) _wrap_Grid_GetColPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20601 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20602 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20603 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20604 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20605 { (char *)"Grid_AutoSize", (PyCFunction
)_wrap_Grid_AutoSize
, METH_O
, NULL
},
20606 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20607 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20608 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20609 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20610 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20611 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20612 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
)_wrap_Grid_GetColMinimalAcceptableWidth
, METH_O
, NULL
},
20613 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
)_wrap_Grid_GetRowMinimalAcceptableHeight
, METH_O
, NULL
},
20614 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20615 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20616 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20617 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20618 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20619 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20620 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20621 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20622 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20623 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20624 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20625 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20626 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20627 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
)_wrap_Grid_GetDefaultRenderer
, METH_O
, NULL
},
20628 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20629 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20630 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20631 { (char *)"Grid_GetDefaultEditor", (PyCFunction
)_wrap_Grid_GetDefaultEditor
, METH_O
, NULL
},
20632 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20633 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20634 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20635 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20636 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20637 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20638 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20639 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20640 { (char *)"Grid_SelectAll", (PyCFunction
)_wrap_Grid_SelectAll
, METH_O
, NULL
},
20641 { (char *)"Grid_IsSelection", (PyCFunction
)_wrap_Grid_IsSelection
, METH_O
, NULL
},
20642 { (char *)"Grid_ClearSelection", (PyCFunction
)_wrap_Grid_ClearSelection
, METH_O
, NULL
},
20643 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20644 { (char *)"Grid_GetSelectedCells", (PyCFunction
)_wrap_Grid_GetSelectedCells
, METH_O
, NULL
},
20645 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
)_wrap_Grid_GetSelectionBlockTopLeft
, METH_O
, NULL
},
20646 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
)_wrap_Grid_GetSelectionBlockBottomRight
, METH_O
, NULL
},
20647 { (char *)"Grid_GetSelectedRows", (PyCFunction
)_wrap_Grid_GetSelectedRows
, METH_O
, NULL
},
20648 { (char *)"Grid_GetSelectedCols", (PyCFunction
)_wrap_Grid_GetSelectedCols
, METH_O
, NULL
},
20649 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20650 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20651 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20652 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20653 { (char *)"Grid_GetSelectionBackground", (PyCFunction
)_wrap_Grid_GetSelectionBackground
, METH_O
, NULL
},
20654 { (char *)"Grid_GetSelectionForeground", (PyCFunction
)_wrap_Grid_GetSelectionForeground
, METH_O
, NULL
},
20655 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20656 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20657 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20658 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20659 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20660 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20661 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20662 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20663 { (char *)"Grid_GetGridWindow", (PyCFunction
)_wrap_Grid_GetGridWindow
, METH_O
, NULL
},
20664 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
)_wrap_Grid_GetGridRowLabelWindow
, METH_O
, NULL
},
20665 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
)_wrap_Grid_GetGridColLabelWindow
, METH_O
, NULL
},
20666 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
)_wrap_Grid_GetGridCornerLabelWindow
, METH_O
, NULL
},
20667 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20668 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20669 { (char *)"Grid_GetScrollLineX", (PyCFunction
)_wrap_Grid_GetScrollLineX
, METH_O
, NULL
},
20670 { (char *)"Grid_GetScrollLineY", (PyCFunction
)_wrap_Grid_GetScrollLineY
, METH_O
, NULL
},
20671 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20672 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20673 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20674 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
20675 { (char *)"Grid_swiginit", Grid_swiginit
, METH_VARARGS
, NULL
},
20676 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20677 { (char *)"GridEvent_GetRow", (PyCFunction
)_wrap_GridEvent_GetRow
, METH_O
, NULL
},
20678 { (char *)"GridEvent_GetCol", (PyCFunction
)_wrap_GridEvent_GetCol
, METH_O
, NULL
},
20679 { (char *)"GridEvent_GetPosition", (PyCFunction
)_wrap_GridEvent_GetPosition
, METH_O
, NULL
},
20680 { (char *)"GridEvent_Selecting", (PyCFunction
)_wrap_GridEvent_Selecting
, METH_O
, NULL
},
20681 { (char *)"GridEvent_ControlDown", (PyCFunction
)_wrap_GridEvent_ControlDown
, METH_O
, NULL
},
20682 { (char *)"GridEvent_MetaDown", (PyCFunction
)_wrap_GridEvent_MetaDown
, METH_O
, NULL
},
20683 { (char *)"GridEvent_ShiftDown", (PyCFunction
)_wrap_GridEvent_ShiftDown
, METH_O
, NULL
},
20684 { (char *)"GridEvent_AltDown", (PyCFunction
)_wrap_GridEvent_AltDown
, METH_O
, NULL
},
20685 { (char *)"GridEvent_CmdDown", (PyCFunction
)_wrap_GridEvent_CmdDown
, METH_O
, NULL
},
20686 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
20687 { (char *)"GridEvent_swiginit", GridEvent_swiginit
, METH_VARARGS
, NULL
},
20688 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20689 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
)_wrap_GridSizeEvent_GetRowOrCol
, METH_O
, NULL
},
20690 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
)_wrap_GridSizeEvent_GetPosition
, METH_O
, NULL
},
20691 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
)_wrap_GridSizeEvent_ControlDown
, METH_O
, NULL
},
20692 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
)_wrap_GridSizeEvent_MetaDown
, METH_O
, NULL
},
20693 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
)_wrap_GridSizeEvent_ShiftDown
, METH_O
, NULL
},
20694 { (char *)"GridSizeEvent_AltDown", (PyCFunction
)_wrap_GridSizeEvent_AltDown
, METH_O
, NULL
},
20695 { (char *)"GridSizeEvent_CmdDown", (PyCFunction
)_wrap_GridSizeEvent_CmdDown
, METH_O
, NULL
},
20696 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
20697 { (char *)"GridSizeEvent_swiginit", GridSizeEvent_swiginit
, METH_VARARGS
, NULL
},
20698 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20699 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_O
, NULL
},
20700 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_O
, NULL
},
20701 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopRow
, METH_O
, NULL
},
20702 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRow
, METH_O
, NULL
},
20703 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetLeftCol
, METH_O
, NULL
},
20704 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetRightCol
, METH_O
, NULL
},
20705 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
)_wrap_GridRangeSelectEvent_Selecting
, METH_O
, NULL
},
20706 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ControlDown
, METH_O
, NULL
},
20707 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
)_wrap_GridRangeSelectEvent_MetaDown
, METH_O
, NULL
},
20708 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ShiftDown
, METH_O
, NULL
},
20709 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
)_wrap_GridRangeSelectEvent_AltDown
, METH_O
, NULL
},
20710 { (char *)"GridRangeSelectEvent_CmdDown", (PyCFunction
)_wrap_GridRangeSelectEvent_CmdDown
, METH_O
, NULL
},
20711 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
20712 { (char *)"GridRangeSelectEvent_swiginit", GridRangeSelectEvent_swiginit
, METH_VARARGS
, NULL
},
20713 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20714 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetRow
, METH_O
, NULL
},
20715 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetCol
, METH_O
, NULL
},
20716 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetControl
, METH_O
, NULL
},
20717 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20718 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20719 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20720 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
20721 { (char *)"GridEditorCreatedEvent_swiginit", GridEditorCreatedEvent_swiginit
, METH_VARARGS
, NULL
},
20722 { NULL
, NULL
, 0, NULL
}
20726 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
20728 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
20729 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
20731 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
20732 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
20734 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
20735 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
20737 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
20738 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
20740 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
20741 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
20743 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
20744 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
20746 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
20747 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
20749 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
20750 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
20752 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
20753 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
20755 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
20756 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
20758 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
20759 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
20761 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
20762 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
20764 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
20765 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
20767 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellWorker(void *x
) {
20768 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
20770 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellWorker(void *x
) {
20771 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
20773 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellWorker(void *x
) {
20774 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
20776 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellWorker(void *x
) {
20777 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
20779 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellWorker(void *x
) {
20780 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
20782 static void *_p_wxGridCellTextEditorTo_p_wxGridCellWorker(void *x
) {
20783 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
20785 static void *_p_wxPyGridCellEditorTo_p_wxGridCellWorker(void *x
) {
20786 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
20788 static void *_p_wxGridCellEditorTo_p_wxGridCellWorker(void *x
) {
20789 return (void *)((wxGridCellWorker
*) ((wxGridCellEditor
*) x
));
20791 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellWorker(void *x
) {
20792 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
20794 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellWorker(void *x
) {
20795 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
20797 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellWorker(void *x
) {
20798 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
20800 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellWorker(void *x
) {
20801 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
20803 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellWorker(void *x
) {
20804 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
20806 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellWorker(void *x
) {
20807 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
20809 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellWorker(void *x
) {
20810 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
20812 static void *_p_wxGridCellStringRendererTo_p_wxGridCellWorker(void *x
) {
20813 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
20815 static void *_p_wxPyGridCellRendererTo_p_wxGridCellWorker(void *x
) {
20816 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
20818 static void *_p_wxGridCellRendererTo_p_wxGridCellWorker(void *x
) {
20819 return (void *)((wxGridCellWorker
*) ((wxGridCellRenderer
*) x
));
20821 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
20822 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
20824 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
20825 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
20827 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
20828 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
20830 static void *_p_wxGridTo_p_wxPanel(void *x
) {
20831 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
20833 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
20834 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
20836 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
20837 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
20839 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
20840 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
20842 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
20843 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
20845 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
20846 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
20848 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
20849 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
20851 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
20852 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
20854 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
20855 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
20857 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
20858 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
20860 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
20861 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
20863 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
20864 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
20866 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
20867 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
20869 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
20870 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
20872 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
20873 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
20875 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
20876 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
20878 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
20879 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
20881 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
20882 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
20884 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
20885 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
20887 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
20888 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
20890 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
20891 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
20893 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
20894 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
20896 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
20897 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
20899 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
20900 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
20902 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
20903 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
20905 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
20906 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
20908 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
20909 return (void *)((wxWindow
*) ((wxPanel
*) x
));
20911 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
20912 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
20914 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
20915 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
20917 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
20918 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
20920 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
20921 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
20923 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
20924 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
20926 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
20927 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
20929 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
20930 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
20932 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
20933 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
20935 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
20936 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
20938 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
20939 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
20941 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
20942 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
20944 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
20945 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
20947 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
20948 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
20950 static void *_p_wxControlTo_p_wxWindow(void *x
) {
20951 return (void *)((wxWindow
*) ((wxControl
*) x
));
20953 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
20954 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
20956 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
20957 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
20959 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
20960 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
20962 static void *_p_wxGridTo_p_wxWindow(void *x
) {
20963 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
20965 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
20966 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
20968 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
20969 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
20971 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
20972 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
20974 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
20975 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
20977 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
20978 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
20980 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
20981 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
20983 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
20984 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
20986 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
20987 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
20989 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
20990 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
20992 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
20993 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
20995 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
20996 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
20998 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
20999 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
21001 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
21002 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21004 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
21005 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
21007 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21008 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21010 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21011 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21013 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21014 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21016 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21017 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21019 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21020 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21022 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21023 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21025 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21026 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21028 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21029 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21031 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21032 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21034 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21035 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21037 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21038 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21040 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21041 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21043 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21044 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21046 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
21047 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21049 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21050 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21052 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21053 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21055 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21056 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21058 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21059 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21061 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21062 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21064 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21065 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21067 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21068 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21070 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21071 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21073 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
21074 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
21076 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
21077 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21079 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
21080 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21082 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21083 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21085 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21086 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21088 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21089 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21091 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21092 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21094 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21095 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21097 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21098 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21100 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21101 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21103 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
21104 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
21106 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
21107 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21109 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21110 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21112 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21113 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21115 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21116 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21118 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21119 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21121 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21122 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21124 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21125 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21127 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21128 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21130 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21131 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21133 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21134 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21136 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21137 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21139 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21140 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21142 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21143 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21145 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21146 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21148 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21149 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21151 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21152 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21154 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21157 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21160 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21161 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21163 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21164 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21166 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21169 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21170 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21172 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21173 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21175 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21176 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21178 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21179 return (void *)((wxObject
*) ((wxSizer
*) x
));
21181 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21182 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21184 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21185 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21187 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21190 static void *_p_wxEventTo_p_wxObject(void *x
) {
21191 return (void *)((wxObject
*) ((wxEvent
*) x
));
21193 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21194 return (void *)((wxObject
*) ((wxFontData
*) x
));
21196 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21197 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21199 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21200 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21202 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21203 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21205 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21206 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21208 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21209 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21211 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
21212 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
21214 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21215 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21217 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
21218 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
21220 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
21221 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21223 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21224 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21226 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21227 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21229 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21230 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21232 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21233 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21235 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21236 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21238 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21239 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21241 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21244 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
21245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
21247 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
21248 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21250 static void *_p_wxControlTo_p_wxObject(void *x
) {
21251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21253 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21254 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21256 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21259 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21260 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21262 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21263 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21265 static void *_p_wxGridTo_p_wxObject(void *x
) {
21266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21268 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21269 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21271 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21274 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
21275 return (void *)((wxObject
*) ((wxColourData
*) x
));
21277 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21278 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21280 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21281 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21283 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
21284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
21286 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
21287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21289 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
21290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21292 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
21293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21295 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
21296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21298 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
21299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21301 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
21302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21304 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
21305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21307 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
21308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21310 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
21311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21313 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21314 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21316 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
21317 return (void *)((wxObject
*) ((wxPrinter
*) x
));
21319 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21320 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21322 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
21323 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
21325 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21326 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21328 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21329 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21331 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21332 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21334 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21335 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21337 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21338 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21340 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21341 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21343 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21344 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21346 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21347 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21349 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
21350 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21352 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21353 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21355 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21356 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21358 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21359 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21361 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21364 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21365 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21367 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21368 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21370 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21371 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21373 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21374 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21376 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21377 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21379 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
21380 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
21382 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21383 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21385 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21386 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21388 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21389 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21391 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21392 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21394 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
21395 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21397 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
21398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21400 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
21401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21403 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
21404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21406 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
21407 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
21409 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21410 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21412 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
21413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21415 static void *_p_wxImageTo_p_wxObject(void *x
) {
21416 return (void *)((wxObject
*) ((wxImage
*) x
));
21418 static void *_p_wxFrameTo_p_wxObject(void *x
) {
21419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21421 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
21422 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
21424 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21425 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21427 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
21428 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21430 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
21431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
21433 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
21434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21436 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21437 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21439 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21440 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21442 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21443 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21445 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21446 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21448 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21449 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21451 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21454 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
21455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21457 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
21458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
21460 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
21461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
21463 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
21464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
21466 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
21467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
21469 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
21470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21472 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
21473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
21475 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
21476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21478 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
21479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21481 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
21482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21484 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
21485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
21487 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
21488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21490 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
21491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
21493 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
21494 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
21496 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
21497 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
21499 static void *_p_wxPanelTo_p_wxObject(void *x
) {
21500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
21502 static void *_p_wxDialogTo_p_wxObject(void *x
) {
21503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21505 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
21506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21508 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
21509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21511 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
21512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21514 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
21515 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
21517 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
21518 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
21520 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21521 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21523 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21526 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21527 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21529 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21530 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21532 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21533 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21535 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21536 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21538 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21539 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21541 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
21542 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
21544 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
21545 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
21547 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21550 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21551 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21553 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
21554 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21556 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
21557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21559 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21560 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21562 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21563 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21565 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21568 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21571 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
21572 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
21574 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
21575 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
21577 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21580 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21581 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21583 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21584 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21586 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21589 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21592 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21593 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21595 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21596 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21598 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21599 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21601 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21602 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21604 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
21605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21607 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21610 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21613 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21616 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21619 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21622 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21625 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21628 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21629 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21631 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21632 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21634 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21637 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21640 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21643 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21644 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21646 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21649 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21650 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21652 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21653 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21655 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21656 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21658 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21659 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21661 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21664 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21665 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21667 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21668 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21670 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
21671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21673 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21674 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21676 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21679 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21682 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21685 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21686 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21688 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
21689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21691 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21694 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21695 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21697 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21700 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21703 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21706 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21709 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21712 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
21713 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
21715 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21718 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21721 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21724 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21727 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21730 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21733 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
21734 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
21736 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
21737 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
21739 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
21740 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
21742 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
21743 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
21745 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
21746 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
21748 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
21749 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
21751 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
21752 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
21754 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
21755 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
21757 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
21758 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
21760 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
21761 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
21763 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
21764 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
21766 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
21767 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
21769 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
21770 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
21772 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
21773 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
21775 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
21776 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21778 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
21779 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21781 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
21782 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21784 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
21785 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
21787 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
21788 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21790 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
21791 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21793 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
21794 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21796 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
21797 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
21799 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
21800 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21802 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
21803 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21805 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
21806 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21808 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
21809 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
21811 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
21812 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21814 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
21815 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21817 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
21818 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21820 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
21821 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21823 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
21824 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
21826 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
21827 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
21829 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
21830 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};
21831 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
21832 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
21833 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
21834 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
21835 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
21836 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
21837 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
21838 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
21839 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
21840 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
21841 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
21842 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
21843 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
21844 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
21845 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
21846 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
21847 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
21848 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
21849 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
21850 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
21851 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
21852 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
21853 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
21854 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
21855 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
21856 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
21857 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
21858 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
21859 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
21860 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
21861 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
21862 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
21863 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
21864 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
21865 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
21866 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
21867 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
21868 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
21869 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
21870 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
21871 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
21872 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
21873 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
21874 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
21875 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
21876 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
21877 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
21878 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
21879 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
21880 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
21881 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
21882 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
21883 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
21884 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
21885 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
21886 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
21887 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
21888 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
21889 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
21890 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
21891 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
21892 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
21893 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
21894 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
21895 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
21896 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
21897 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
21898 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
21899 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
21900 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
21901 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
21902 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
21903 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
21904 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
21905 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
21906 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
21907 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
21908 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
21909 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
21910 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
21911 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
21912 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
21913 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
21914 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
21915 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
21916 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
21917 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
21918 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
21919 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
21920 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
21921 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
21922 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
21923 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
21924 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
21925 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
21926 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
21927 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
21928 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
21929 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
21930 static swig_type_info _swigt__p_wxGrid
= {"_p_wxGrid", "wxGrid *", 0, 0, (void*)0, 0};
21931 static swig_type_info _swigt__p_wxGridCellAttr
= {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, (void*)0, 0};
21932 static swig_type_info _swigt__p_wxGridCellAttrProvider
= {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, (void*)0, 0};
21933 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
= {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, (void*)0, 0};
21934 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
= {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, (void*)0, 0};
21935 static swig_type_info _swigt__p_wxGridCellBoolEditor
= {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, (void*)0, 0};
21936 static swig_type_info _swigt__p_wxGridCellBoolRenderer
= {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, (void*)0, 0};
21937 static swig_type_info _swigt__p_wxGridCellChoiceEditor
= {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, (void*)0, 0};
21938 static swig_type_info _swigt__p_wxGridCellCoords
= {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, (void*)0, 0};
21939 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
= {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, (void*)0, 0};
21940 static swig_type_info _swigt__p_wxGridCellEditor
= {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, (void*)0, 0};
21941 static swig_type_info _swigt__p_wxGridCellEnumEditor
= {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, (void*)0, 0};
21942 static swig_type_info _swigt__p_wxGridCellEnumRenderer
= {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, (void*)0, 0};
21943 static swig_type_info _swigt__p_wxGridCellFloatEditor
= {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, (void*)0, 0};
21944 static swig_type_info _swigt__p_wxGridCellFloatRenderer
= {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, (void*)0, 0};
21945 static swig_type_info _swigt__p_wxGridCellNumberEditor
= {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, (void*)0, 0};
21946 static swig_type_info _swigt__p_wxGridCellNumberRenderer
= {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, (void*)0, 0};
21947 static swig_type_info _swigt__p_wxGridCellRenderer
= {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, (void*)0, 0};
21948 static swig_type_info _swigt__p_wxGridCellStringRenderer
= {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, (void*)0, 0};
21949 static swig_type_info _swigt__p_wxGridCellTextEditor
= {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, (void*)0, 0};
21950 static swig_type_info _swigt__p_wxGridCellWorker
= {"_p_wxGridCellWorker", "wxGridCellWorker *", 0, 0, (void*)0, 0};
21951 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
= {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, (void*)0, 0};
21952 static swig_type_info _swigt__p_wxGridEvent
= {"_p_wxGridEvent", "wxGridEvent *", 0, 0, (void*)0, 0};
21953 static swig_type_info _swigt__p_wxGridRangeSelectEvent
= {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, (void*)0, 0};
21954 static swig_type_info _swigt__p_wxGridSizeEvent
= {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, (void*)0, 0};
21955 static swig_type_info _swigt__p_wxGridStringTable
= {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, (void*)0, 0};
21956 static swig_type_info _swigt__p_wxGridTableBase
= {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, (void*)0, 0};
21957 static swig_type_info _swigt__p_wxGridTableMessage
= {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, (void*)0, 0};
21958 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
21959 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
21960 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
21961 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
21962 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
21963 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
21964 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
21965 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
21966 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
21967 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
21968 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
21969 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
21970 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
21971 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
21972 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
21973 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
21974 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
21975 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
21976 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
21977 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
21978 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
21979 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
21980 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
21981 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
21982 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
21983 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
21984 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
21985 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
21986 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
21987 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
21988 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
21989 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
21990 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
21991 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
21992 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
21993 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
21994 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
21995 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
21996 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
21997 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
21998 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
21999 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
22000 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
22001 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22002 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
22003 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
22004 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
22005 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22006 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22007 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
= {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, (void*)0, 0};
22008 static swig_type_info _swigt__p_wxPyGridCellEditor
= {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, (void*)0, 0};
22009 static swig_type_info _swigt__p_wxPyGridCellRenderer
= {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, (void*)0, 0};
22010 static swig_type_info _swigt__p_wxPyGridTableBase
= {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, (void*)0, 0};
22011 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22012 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
22013 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
22014 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
22015 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22017 static swig_type_info
*swig_type_initial
[] = {
22019 &_swigt__p_form_ops_t
,
22022 &_swigt__p_unsigned_char
,
22023 &_swigt__p_unsigned_int
,
22024 &_swigt__p_unsigned_long
,
22025 &_swigt__p_wxANIHandler
,
22026 &_swigt__p_wxAcceleratorTable
,
22027 &_swigt__p_wxActivateEvent
,
22028 &_swigt__p_wxArrayString
,
22029 &_swigt__p_wxBMPHandler
,
22030 &_swigt__p_wxBoxSizer
,
22031 &_swigt__p_wxCURHandler
,
22032 &_swigt__p_wxCalculateLayoutEvent
,
22033 &_swigt__p_wxChildFocusEvent
,
22034 &_swigt__p_wxClipboardTextEvent
,
22035 &_swigt__p_wxCloseEvent
,
22036 &_swigt__p_wxColour
,
22037 &_swigt__p_wxColourData
,
22038 &_swigt__p_wxColourDialog
,
22039 &_swigt__p_wxCommandEvent
,
22040 &_swigt__p_wxContextMenuEvent
,
22041 &_swigt__p_wxControl
,
22042 &_swigt__p_wxControlWithItems
,
22044 &_swigt__p_wxDateEvent
,
22045 &_swigt__p_wxDialog
,
22046 &_swigt__p_wxDirDialog
,
22047 &_swigt__p_wxDisplayChangedEvent
,
22048 &_swigt__p_wxDropFilesEvent
,
22049 &_swigt__p_wxDuplexMode
,
22050 &_swigt__p_wxEraseEvent
,
22051 &_swigt__p_wxEvent
,
22052 &_swigt__p_wxEvtHandler
,
22053 &_swigt__p_wxFSFile
,
22054 &_swigt__p_wxFileDialog
,
22055 &_swigt__p_wxFileSystem
,
22056 &_swigt__p_wxFindDialogEvent
,
22057 &_swigt__p_wxFindReplaceData
,
22058 &_swigt__p_wxFindReplaceDialog
,
22059 &_swigt__p_wxFlexGridSizer
,
22060 &_swigt__p_wxFocusEvent
,
22062 &_swigt__p_wxFontData
,
22063 &_swigt__p_wxFontDialog
,
22064 &_swigt__p_wxFrame
,
22065 &_swigt__p_wxGBSizerItem
,
22066 &_swigt__p_wxGIFHandler
,
22068 &_swigt__p_wxGridBagSizer
,
22069 &_swigt__p_wxGridCellAttr
,
22070 &_swigt__p_wxGridCellAttrProvider
,
22071 &_swigt__p_wxGridCellAutoWrapStringEditor
,
22072 &_swigt__p_wxGridCellAutoWrapStringRenderer
,
22073 &_swigt__p_wxGridCellBoolEditor
,
22074 &_swigt__p_wxGridCellBoolRenderer
,
22075 &_swigt__p_wxGridCellChoiceEditor
,
22076 &_swigt__p_wxGridCellCoords
,
22077 &_swigt__p_wxGridCellDateTimeRenderer
,
22078 &_swigt__p_wxGridCellEditor
,
22079 &_swigt__p_wxGridCellEnumEditor
,
22080 &_swigt__p_wxGridCellEnumRenderer
,
22081 &_swigt__p_wxGridCellFloatEditor
,
22082 &_swigt__p_wxGridCellFloatRenderer
,
22083 &_swigt__p_wxGridCellNumberEditor
,
22084 &_swigt__p_wxGridCellNumberRenderer
,
22085 &_swigt__p_wxGridCellRenderer
,
22086 &_swigt__p_wxGridCellStringRenderer
,
22087 &_swigt__p_wxGridCellTextEditor
,
22088 &_swigt__p_wxGridCellWorker
,
22089 &_swigt__p_wxGridEditorCreatedEvent
,
22090 &_swigt__p_wxGridEvent
,
22091 &_swigt__p_wxGridRangeSelectEvent
,
22092 &_swigt__p_wxGridSizeEvent
,
22093 &_swigt__p_wxGridSizer
,
22094 &_swigt__p_wxGridStringTable
,
22095 &_swigt__p_wxGridTableBase
,
22096 &_swigt__p_wxGridTableMessage
,
22097 &_swigt__p_wxICOHandler
,
22098 &_swigt__p_wxIconizeEvent
,
22099 &_swigt__p_wxIdleEvent
,
22100 &_swigt__p_wxImage
,
22101 &_swigt__p_wxImageHandler
,
22102 &_swigt__p_wxIndividualLayoutConstraint
,
22103 &_swigt__p_wxInitDialogEvent
,
22104 &_swigt__p_wxJPEGHandler
,
22105 &_swigt__p_wxKeyEvent
,
22106 &_swigt__p_wxLayoutAlgorithm
,
22107 &_swigt__p_wxLayoutConstraints
,
22108 &_swigt__p_wxMDIChildFrame
,
22109 &_swigt__p_wxMDIClientWindow
,
22110 &_swigt__p_wxMDIParentFrame
,
22111 &_swigt__p_wxMaximizeEvent
,
22113 &_swigt__p_wxMenuBar
,
22114 &_swigt__p_wxMenuEvent
,
22115 &_swigt__p_wxMenuItem
,
22116 &_swigt__p_wxMessageDialog
,
22117 &_swigt__p_wxMiniFrame
,
22118 &_swigt__p_wxMouseCaptureChangedEvent
,
22119 &_swigt__p_wxMouseEvent
,
22120 &_swigt__p_wxMoveEvent
,
22121 &_swigt__p_wxMultiChoiceDialog
,
22122 &_swigt__p_wxNavigationKeyEvent
,
22123 &_swigt__p_wxNcPaintEvent
,
22124 &_swigt__p_wxNotifyEvent
,
22125 &_swigt__p_wxObject
,
22126 &_swigt__p_wxPCXHandler
,
22127 &_swigt__p_wxPNGHandler
,
22128 &_swigt__p_wxPNMHandler
,
22129 &_swigt__p_wxPageSetupDialog
,
22130 &_swigt__p_wxPageSetupDialogData
,
22131 &_swigt__p_wxPaintEvent
,
22132 &_swigt__p_wxPaletteChangedEvent
,
22133 &_swigt__p_wxPanel
,
22134 &_swigt__p_wxPaperSize
,
22135 &_swigt__p_wxPasswordEntryDialog
,
22136 &_swigt__p_wxPoint
,
22137 &_swigt__p_wxPopupWindow
,
22138 &_swigt__p_wxPreviewCanvas
,
22139 &_swigt__p_wxPreviewControlBar
,
22140 &_swigt__p_wxPreviewFrame
,
22141 &_swigt__p_wxPrintData
,
22142 &_swigt__p_wxPrintDialog
,
22143 &_swigt__p_wxPrintDialogData
,
22144 &_swigt__p_wxPrintPreview
,
22145 &_swigt__p_wxPrinter
,
22146 &_swigt__p_wxProgressDialog
,
22147 &_swigt__p_wxPyApp
,
22148 &_swigt__p_wxPyCommandEvent
,
22149 &_swigt__p_wxPyEvent
,
22150 &_swigt__p_wxPyGridCellAttrProvider
,
22151 &_swigt__p_wxPyGridCellEditor
,
22152 &_swigt__p_wxPyGridCellRenderer
,
22153 &_swigt__p_wxPyGridTableBase
,
22154 &_swigt__p_wxPyHtmlListBox
,
22155 &_swigt__p_wxPyImageHandler
,
22156 &_swigt__p_wxPyPanel
,
22157 &_swigt__p_wxPyPopupTransientWindow
,
22158 &_swigt__p_wxPyPreviewControlBar
,
22159 &_swigt__p_wxPyPreviewFrame
,
22160 &_swigt__p_wxPyPrintPreview
,
22161 &_swigt__p_wxPyPrintout
,
22162 &_swigt__p_wxPyScrolledWindow
,
22163 &_swigt__p_wxPySizer
,
22164 &_swigt__p_wxPyTaskBarIcon
,
22165 &_swigt__p_wxPyVListBox
,
22166 &_swigt__p_wxPyVScrolledWindow
,
22167 &_swigt__p_wxPyValidator
,
22168 &_swigt__p_wxPyWindow
,
22169 &_swigt__p_wxQueryLayoutInfoEvent
,
22170 &_swigt__p_wxQueryNewPaletteEvent
,
22172 &_swigt__p_wxSashEvent
,
22173 &_swigt__p_wxSashLayoutWindow
,
22174 &_swigt__p_wxSashWindow
,
22175 &_swigt__p_wxScrollEvent
,
22176 &_swigt__p_wxScrollWinEvent
,
22177 &_swigt__p_wxScrolledWindow
,
22178 &_swigt__p_wxSetCursorEvent
,
22179 &_swigt__p_wxShowEvent
,
22180 &_swigt__p_wxSingleChoiceDialog
,
22181 &_swigt__p_wxSizeEvent
,
22182 &_swigt__p_wxSizer
,
22183 &_swigt__p_wxSizerItem
,
22184 &_swigt__p_wxSplashScreen
,
22185 &_swigt__p_wxSplashScreenWindow
,
22186 &_swigt__p_wxSplitterEvent
,
22187 &_swigt__p_wxSplitterWindow
,
22188 &_swigt__p_wxStaticBoxSizer
,
22189 &_swigt__p_wxStatusBar
,
22190 &_swigt__p_wxStdDialogButtonSizer
,
22191 &_swigt__p_wxString
,
22192 &_swigt__p_wxSysColourChangedEvent
,
22193 &_swigt__p_wxTIFFHandler
,
22194 &_swigt__p_wxTaskBarIconEvent
,
22195 &_swigt__p_wxTextEntryDialog
,
22196 &_swigt__p_wxTipWindow
,
22197 &_swigt__p_wxTopLevelWindow
,
22198 &_swigt__p_wxUpdateUIEvent
,
22199 &_swigt__p_wxValidator
,
22200 &_swigt__p_wxVisualAttributes
,
22201 &_swigt__p_wxWindow
,
22202 &_swigt__p_wxWindowCreateEvent
,
22203 &_swigt__p_wxWindowDestroyEvent
,
22204 &_swigt__p_wxXPMHandler
,
22207 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
22208 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
22209 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
22210 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
22211 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
22212 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
22213 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
22214 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
22215 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
22216 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
22217 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22218 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
22219 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
22220 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
22221 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
22222 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22223 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22224 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22225 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22226 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22227 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
22228 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}};
22229 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
22230 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}};
22231 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
22232 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
22233 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22234 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22235 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22236 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22237 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
22238 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22239 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22240 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
22241 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
22242 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
22243 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22244 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22245 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22246 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22247 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
22248 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22249 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22250 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22251 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22252 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22253 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22254 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
22255 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22256 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
22257 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
22258 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22259 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
22260 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
22261 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
22262 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
22263 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
22264 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
22265 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
22266 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
22267 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
22268 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
22269 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
22270 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22271 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
22272 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22273 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22274 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22275 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22276 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
22277 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
22278 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
22279 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
22280 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
22281 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
22282 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
22283 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22284 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22285 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22286 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22287 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
22288 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22289 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22290 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
22291 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
22292 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
22293 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
22294 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
22295 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
22296 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22297 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22298 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
22299 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
22300 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
22301 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
22302 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
22303 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
22304 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
22305 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
22306 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
22307 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
22308 static swig_cast_info _swigc__p_wxGrid
[] = { {&_swigt__p_wxGrid
, 0, 0, 0},{0, 0, 0, 0}};
22309 static swig_cast_info _swigc__p_wxGridCellAttr
[] = { {&_swigt__p_wxGridCellAttr
, 0, 0, 0},{0, 0, 0, 0}};
22310 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}};
22311 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor
[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor
, 0, 0, 0},{0, 0, 0, 0}};
22312 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer
[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22313 static swig_cast_info _swigc__p_wxGridCellBoolEditor
[] = { {&_swigt__p_wxGridCellBoolEditor
, 0, 0, 0},{0, 0, 0, 0}};
22314 static swig_cast_info _swigc__p_wxGridCellBoolRenderer
[] = { {&_swigt__p_wxGridCellBoolRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22315 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}};
22316 static swig_cast_info _swigc__p_wxGridCellCoords
[] = { {&_swigt__p_wxGridCellCoords
, 0, 0, 0},{0, 0, 0, 0}};
22317 static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer
[] = { {&_swigt__p_wxGridCellDateTimeRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22318 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}};
22319 static swig_cast_info _swigc__p_wxGridCellEnumEditor
[] = { {&_swigt__p_wxGridCellEnumEditor
, 0, 0, 0},{0, 0, 0, 0}};
22320 static swig_cast_info _swigc__p_wxGridCellEnumRenderer
[] = { {&_swigt__p_wxGridCellEnumRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22321 static swig_cast_info _swigc__p_wxGridCellFloatEditor
[] = { {&_swigt__p_wxGridCellFloatEditor
, 0, 0, 0},{0, 0, 0, 0}};
22322 static swig_cast_info _swigc__p_wxGridCellFloatRenderer
[] = { {&_swigt__p_wxGridCellFloatRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22323 static swig_cast_info _swigc__p_wxGridCellNumberEditor
[] = { {&_swigt__p_wxGridCellNumberEditor
, 0, 0, 0},{0, 0, 0, 0}};
22324 static swig_cast_info _swigc__p_wxGridCellNumberRenderer
[] = { {&_swigt__p_wxGridCellNumberRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22325 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}};
22326 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}};
22327 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}};
22328 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}};
22329 static swig_cast_info _swigc__p_wxGridEditorCreatedEvent
[] = { {&_swigt__p_wxGridEditorCreatedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22330 static swig_cast_info _swigc__p_wxGridEvent
[] = { {&_swigt__p_wxGridEvent
, 0, 0, 0},{0, 0, 0, 0}};
22331 static swig_cast_info _swigc__p_wxGridRangeSelectEvent
[] = { {&_swigt__p_wxGridRangeSelectEvent
, 0, 0, 0},{0, 0, 0, 0}};
22332 static swig_cast_info _swigc__p_wxGridSizeEvent
[] = { {&_swigt__p_wxGridSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22333 static swig_cast_info _swigc__p_wxGridStringTable
[] = { {&_swigt__p_wxGridStringTable
, 0, 0, 0},{0, 0, 0, 0}};
22334 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}};
22335 static swig_cast_info _swigc__p_wxGridTableMessage
[] = { {&_swigt__p_wxGridTableMessage
, 0, 0, 0},{0, 0, 0, 0}};
22336 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22337 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}};
22338 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
22339 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22340 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22341 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
22342 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22343 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22344 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22345 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
22346 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
22347 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
22348 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22349 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22350 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
22351 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
22352 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
22353 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
22354 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
22355 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
22356 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
22357 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22358 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22359 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
22360 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22361 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22362 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
22363 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
22364 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
22365 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
22366 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22367 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22368 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22369 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22370 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
22371 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
22372 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
22373 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
22374 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22375 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22376 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
22377 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
22378 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
22379 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22380 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22381 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridStringTable
, _p_wxGridStringTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridTableBase
, _p_wxGridTableBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyGridTableBase
, _p_wxPyGridTableBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
22382 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
22383 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
22384 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
22385 static swig_cast_info _swigc__p_wxPyGridCellAttrProvider
[] = { {&_swigt__p_wxPyGridCellAttrProvider
, 0, 0, 0},{0, 0, 0, 0}};
22386 static swig_cast_info _swigc__p_wxPyGridCellEditor
[] = { {&_swigt__p_wxPyGridCellEditor
, 0, 0, 0},{0, 0, 0, 0}};
22387 static swig_cast_info _swigc__p_wxPyGridCellRenderer
[] = { {&_swigt__p_wxPyGridCellRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22388 static swig_cast_info _swigc__p_wxPyGridTableBase
[] = { {&_swigt__p_wxPyGridTableBase
, 0, 0, 0},{0, 0, 0, 0}};
22389 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
22390 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}};
22391 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
22392 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
22393 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
22395 static swig_cast_info
*swig_cast_initial
[] = {
22397 _swigc__p_form_ops_t
,
22400 _swigc__p_unsigned_char
,
22401 _swigc__p_unsigned_int
,
22402 _swigc__p_unsigned_long
,
22403 _swigc__p_wxANIHandler
,
22404 _swigc__p_wxAcceleratorTable
,
22405 _swigc__p_wxActivateEvent
,
22406 _swigc__p_wxArrayString
,
22407 _swigc__p_wxBMPHandler
,
22408 _swigc__p_wxBoxSizer
,
22409 _swigc__p_wxCURHandler
,
22410 _swigc__p_wxCalculateLayoutEvent
,
22411 _swigc__p_wxChildFocusEvent
,
22412 _swigc__p_wxClipboardTextEvent
,
22413 _swigc__p_wxCloseEvent
,
22414 _swigc__p_wxColour
,
22415 _swigc__p_wxColourData
,
22416 _swigc__p_wxColourDialog
,
22417 _swigc__p_wxCommandEvent
,
22418 _swigc__p_wxContextMenuEvent
,
22419 _swigc__p_wxControl
,
22420 _swigc__p_wxControlWithItems
,
22422 _swigc__p_wxDateEvent
,
22423 _swigc__p_wxDialog
,
22424 _swigc__p_wxDirDialog
,
22425 _swigc__p_wxDisplayChangedEvent
,
22426 _swigc__p_wxDropFilesEvent
,
22427 _swigc__p_wxDuplexMode
,
22428 _swigc__p_wxEraseEvent
,
22430 _swigc__p_wxEvtHandler
,
22431 _swigc__p_wxFSFile
,
22432 _swigc__p_wxFileDialog
,
22433 _swigc__p_wxFileSystem
,
22434 _swigc__p_wxFindDialogEvent
,
22435 _swigc__p_wxFindReplaceData
,
22436 _swigc__p_wxFindReplaceDialog
,
22437 _swigc__p_wxFlexGridSizer
,
22438 _swigc__p_wxFocusEvent
,
22440 _swigc__p_wxFontData
,
22441 _swigc__p_wxFontDialog
,
22443 _swigc__p_wxGBSizerItem
,
22444 _swigc__p_wxGIFHandler
,
22446 _swigc__p_wxGridBagSizer
,
22447 _swigc__p_wxGridCellAttr
,
22448 _swigc__p_wxGridCellAttrProvider
,
22449 _swigc__p_wxGridCellAutoWrapStringEditor
,
22450 _swigc__p_wxGridCellAutoWrapStringRenderer
,
22451 _swigc__p_wxGridCellBoolEditor
,
22452 _swigc__p_wxGridCellBoolRenderer
,
22453 _swigc__p_wxGridCellChoiceEditor
,
22454 _swigc__p_wxGridCellCoords
,
22455 _swigc__p_wxGridCellDateTimeRenderer
,
22456 _swigc__p_wxGridCellEditor
,
22457 _swigc__p_wxGridCellEnumEditor
,
22458 _swigc__p_wxGridCellEnumRenderer
,
22459 _swigc__p_wxGridCellFloatEditor
,
22460 _swigc__p_wxGridCellFloatRenderer
,
22461 _swigc__p_wxGridCellNumberEditor
,
22462 _swigc__p_wxGridCellNumberRenderer
,
22463 _swigc__p_wxGridCellRenderer
,
22464 _swigc__p_wxGridCellStringRenderer
,
22465 _swigc__p_wxGridCellTextEditor
,
22466 _swigc__p_wxGridCellWorker
,
22467 _swigc__p_wxGridEditorCreatedEvent
,
22468 _swigc__p_wxGridEvent
,
22469 _swigc__p_wxGridRangeSelectEvent
,
22470 _swigc__p_wxGridSizeEvent
,
22471 _swigc__p_wxGridSizer
,
22472 _swigc__p_wxGridStringTable
,
22473 _swigc__p_wxGridTableBase
,
22474 _swigc__p_wxGridTableMessage
,
22475 _swigc__p_wxICOHandler
,
22476 _swigc__p_wxIconizeEvent
,
22477 _swigc__p_wxIdleEvent
,
22479 _swigc__p_wxImageHandler
,
22480 _swigc__p_wxIndividualLayoutConstraint
,
22481 _swigc__p_wxInitDialogEvent
,
22482 _swigc__p_wxJPEGHandler
,
22483 _swigc__p_wxKeyEvent
,
22484 _swigc__p_wxLayoutAlgorithm
,
22485 _swigc__p_wxLayoutConstraints
,
22486 _swigc__p_wxMDIChildFrame
,
22487 _swigc__p_wxMDIClientWindow
,
22488 _swigc__p_wxMDIParentFrame
,
22489 _swigc__p_wxMaximizeEvent
,
22491 _swigc__p_wxMenuBar
,
22492 _swigc__p_wxMenuEvent
,
22493 _swigc__p_wxMenuItem
,
22494 _swigc__p_wxMessageDialog
,
22495 _swigc__p_wxMiniFrame
,
22496 _swigc__p_wxMouseCaptureChangedEvent
,
22497 _swigc__p_wxMouseEvent
,
22498 _swigc__p_wxMoveEvent
,
22499 _swigc__p_wxMultiChoiceDialog
,
22500 _swigc__p_wxNavigationKeyEvent
,
22501 _swigc__p_wxNcPaintEvent
,
22502 _swigc__p_wxNotifyEvent
,
22503 _swigc__p_wxObject
,
22504 _swigc__p_wxPCXHandler
,
22505 _swigc__p_wxPNGHandler
,
22506 _swigc__p_wxPNMHandler
,
22507 _swigc__p_wxPageSetupDialog
,
22508 _swigc__p_wxPageSetupDialogData
,
22509 _swigc__p_wxPaintEvent
,
22510 _swigc__p_wxPaletteChangedEvent
,
22512 _swigc__p_wxPaperSize
,
22513 _swigc__p_wxPasswordEntryDialog
,
22515 _swigc__p_wxPopupWindow
,
22516 _swigc__p_wxPreviewCanvas
,
22517 _swigc__p_wxPreviewControlBar
,
22518 _swigc__p_wxPreviewFrame
,
22519 _swigc__p_wxPrintData
,
22520 _swigc__p_wxPrintDialog
,
22521 _swigc__p_wxPrintDialogData
,
22522 _swigc__p_wxPrintPreview
,
22523 _swigc__p_wxPrinter
,
22524 _swigc__p_wxProgressDialog
,
22526 _swigc__p_wxPyCommandEvent
,
22527 _swigc__p_wxPyEvent
,
22528 _swigc__p_wxPyGridCellAttrProvider
,
22529 _swigc__p_wxPyGridCellEditor
,
22530 _swigc__p_wxPyGridCellRenderer
,
22531 _swigc__p_wxPyGridTableBase
,
22532 _swigc__p_wxPyHtmlListBox
,
22533 _swigc__p_wxPyImageHandler
,
22534 _swigc__p_wxPyPanel
,
22535 _swigc__p_wxPyPopupTransientWindow
,
22536 _swigc__p_wxPyPreviewControlBar
,
22537 _swigc__p_wxPyPreviewFrame
,
22538 _swigc__p_wxPyPrintPreview
,
22539 _swigc__p_wxPyPrintout
,
22540 _swigc__p_wxPyScrolledWindow
,
22541 _swigc__p_wxPySizer
,
22542 _swigc__p_wxPyTaskBarIcon
,
22543 _swigc__p_wxPyVListBox
,
22544 _swigc__p_wxPyVScrolledWindow
,
22545 _swigc__p_wxPyValidator
,
22546 _swigc__p_wxPyWindow
,
22547 _swigc__p_wxQueryLayoutInfoEvent
,
22548 _swigc__p_wxQueryNewPaletteEvent
,
22550 _swigc__p_wxSashEvent
,
22551 _swigc__p_wxSashLayoutWindow
,
22552 _swigc__p_wxSashWindow
,
22553 _swigc__p_wxScrollEvent
,
22554 _swigc__p_wxScrollWinEvent
,
22555 _swigc__p_wxScrolledWindow
,
22556 _swigc__p_wxSetCursorEvent
,
22557 _swigc__p_wxShowEvent
,
22558 _swigc__p_wxSingleChoiceDialog
,
22559 _swigc__p_wxSizeEvent
,
22561 _swigc__p_wxSizerItem
,
22562 _swigc__p_wxSplashScreen
,
22563 _swigc__p_wxSplashScreenWindow
,
22564 _swigc__p_wxSplitterEvent
,
22565 _swigc__p_wxSplitterWindow
,
22566 _swigc__p_wxStaticBoxSizer
,
22567 _swigc__p_wxStatusBar
,
22568 _swigc__p_wxStdDialogButtonSizer
,
22569 _swigc__p_wxString
,
22570 _swigc__p_wxSysColourChangedEvent
,
22571 _swigc__p_wxTIFFHandler
,
22572 _swigc__p_wxTaskBarIconEvent
,
22573 _swigc__p_wxTextEntryDialog
,
22574 _swigc__p_wxTipWindow
,
22575 _swigc__p_wxTopLevelWindow
,
22576 _swigc__p_wxUpdateUIEvent
,
22577 _swigc__p_wxValidator
,
22578 _swigc__p_wxVisualAttributes
,
22579 _swigc__p_wxWindow
,
22580 _swigc__p_wxWindowCreateEvent
,
22581 _swigc__p_wxWindowDestroyEvent
,
22582 _swigc__p_wxXPMHandler
,
22586 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22588 static swig_const_info swig_const_table
[] = {
22589 {0, 0, 0, 0.0, 0, 0}};
22594 /* -----------------------------------------------------------------------------
22595 * Type initialization:
22596 * This problem is tough by the requirement that no dynamic
22597 * memory is used. Also, since swig_type_info structures store pointers to
22598 * swig_cast_info structures and swig_cast_info structures store pointers back
22599 * to swig_type_info structures, we need some lookup code at initialization.
22600 * The idea is that swig generates all the structures that are needed.
22601 * The runtime then collects these partially filled structures.
22602 * The SWIG_InitializeModule function takes these initial arrays out of
22603 * swig_module, and does all the lookup, filling in the swig_module.types
22604 * array with the correct data and linking the correct swig_cast_info
22605 * structures together.
22607 * The generated swig_type_info structures are assigned staticly to an initial
22608 * array. We just loop though that array, and handle each type individually.
22609 * First we lookup if this type has been already loaded, and if so, use the
22610 * loaded structure instead of the generated one. Then we have to fill in the
22611 * cast linked list. The cast data is initially stored in something like a
22612 * two-dimensional array. Each row corresponds to a type (there are the same
22613 * number of rows as there are in the swig_type_initial array). Each entry in
22614 * a column is one of the swig_cast_info structures for that type.
22615 * The cast_initial array is actually an array of arrays, because each row has
22616 * a variable number of columns. So to actually build the cast linked list,
22617 * we find the array of casts associated with the type, and loop through it
22618 * adding the casts to the list. The one last trick we need to do is making
22619 * sure the type pointer in the swig_cast_info struct is correct.
22621 * First off, we lookup the cast->type name to see if it is already loaded.
22622 * There are three cases to handle:
22623 * 1) If the cast->type has already been loaded AND the type we are adding
22624 * casting info to has not been loaded (it is in this module), THEN we
22625 * replace the cast->type pointer with the type pointer that has already
22627 * 2) If BOTH types (the one we are adding casting info to, and the
22628 * cast->type) are loaded, THEN the cast info has already been loaded by
22629 * the previous module so we just ignore it.
22630 * 3) Finally, if cast->type has not already been loaded, then we add that
22631 * swig_cast_info to the linked list (because the cast->type) pointer will
22633 * ----------------------------------------------------------------------------- */
22643 #define SWIGRUNTIME_DEBUG
22647 SWIG_InitializeModule(void *clientdata
) {
22649 swig_module_info
*module_head
;
22650 static int init_run
= 0;
22652 clientdata
= clientdata
;
22654 if (init_run
) return;
22657 /* Initialize the swig_module */
22658 swig_module
.type_initial
= swig_type_initial
;
22659 swig_module
.cast_initial
= swig_cast_initial
;
22661 /* Try and load any already created modules */
22662 module_head
= SWIG_GetModule(clientdata
);
22664 swig_module
.next
= module_head
->next
;
22665 module_head
->next
= &swig_module
;
22667 /* This is the first module loaded */
22668 swig_module
.next
= &swig_module
;
22669 SWIG_SetModule(clientdata
, &swig_module
);
22672 /* Now work on filling in swig_module.types */
22673 #ifdef SWIGRUNTIME_DEBUG
22674 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
22676 for (i
= 0; i
< swig_module
.size
; ++i
) {
22677 swig_type_info
*type
= 0;
22678 swig_type_info
*ret
;
22679 swig_cast_info
*cast
;
22681 #ifdef SWIGRUNTIME_DEBUG
22682 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
22685 /* if there is another module already loaded */
22686 if (swig_module
.next
!= &swig_module
) {
22687 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
22690 /* Overwrite clientdata field */
22691 #ifdef SWIGRUNTIME_DEBUG
22692 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
22694 if (swig_module
.type_initial
[i
]->clientdata
) {
22695 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
22696 #ifdef SWIGRUNTIME_DEBUG
22697 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
22701 type
= swig_module
.type_initial
[i
];
22704 /* Insert casting types */
22705 cast
= swig_module
.cast_initial
[i
];
22706 while (cast
->type
) {
22707 /* Don't need to add information already in the list */
22709 #ifdef SWIGRUNTIME_DEBUG
22710 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
22712 if (swig_module
.next
!= &swig_module
) {
22713 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
22714 #ifdef SWIGRUNTIME_DEBUG
22715 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
22719 if (type
== swig_module
.type_initial
[i
]) {
22720 #ifdef SWIGRUNTIME_DEBUG
22721 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
22726 /* Check for casting already in the list */
22727 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
22728 #ifdef SWIGRUNTIME_DEBUG
22729 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
22731 if (!ocast
) ret
= 0;
22736 #ifdef SWIGRUNTIME_DEBUG
22737 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
22740 type
->cast
->prev
= cast
;
22741 cast
->next
= type
->cast
;
22747 /* Set entry in modules->types array equal to the type */
22748 swig_module
.types
[i
] = type
;
22750 swig_module
.types
[i
] = 0;
22752 #ifdef SWIGRUNTIME_DEBUG
22753 printf("**** SWIG_InitializeModule: Cast List ******\n");
22754 for (i
= 0; i
< swig_module
.size
; ++i
) {
22756 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
22757 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
22758 while (cast
->type
) {
22759 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
22763 printf("---- Total casts: %d\n",j
);
22765 printf("**** SWIG_InitializeModule: Cast List ******\n");
22769 /* This function will propagate the clientdata field of type to
22770 * any new swig_type_info structures that have been added into the list
22771 * of equivalent types. It is like calling
22772 * SWIG_TypeClientData(type, clientdata) a second time.
22775 SWIG_PropagateClientData(void) {
22777 swig_cast_info
*equiv
;
22778 static int init_run
= 0;
22780 if (init_run
) return;
22783 for (i
= 0; i
< swig_module
.size
; i
++) {
22784 if (swig_module
.types
[i
]->clientdata
) {
22785 equiv
= swig_module
.types
[i
]->cast
;
22787 if (!equiv
->converter
) {
22788 if (equiv
->type
&& !equiv
->type
->clientdata
)
22789 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
22791 equiv
= equiv
->next
;
22811 /* Python-specific SWIG API */
22812 #define SWIG_newvarlink() SWIG_Python_newvarlink()
22813 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22814 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22816 /* -----------------------------------------------------------------------------
22817 * global variable support code.
22818 * ----------------------------------------------------------------------------- */
22820 typedef struct swig_globalvar
{
22821 char *name
; /* Name of global variable */
22822 PyObject
*(*get_attr
)(void); /* Return the current value */
22823 int (*set_attr
)(PyObject
*); /* Set the value */
22824 struct swig_globalvar
*next
;
22827 typedef struct swig_varlinkobject
{
22829 swig_globalvar
*vars
;
22830 } swig_varlinkobject
;
22832 SWIGINTERN PyObject
*
22833 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
22834 return PyString_FromString("<Swig global variables>");
22837 SWIGINTERN PyObject
*
22838 swig_varlink_str(swig_varlinkobject
*v
) {
22839 PyObject
*str
= PyString_FromString("(");
22840 swig_globalvar
*var
;
22841 for (var
= v
->vars
; var
; var
=var
->next
) {
22842 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
22843 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
22845 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
22850 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
22851 PyObject
*str
= swig_varlink_str(v
);
22852 fprintf(fp
,"Swig global variables ");
22853 fprintf(fp
,"%s\n", PyString_AsString(str
));
22859 swig_varlink_dealloc(swig_varlinkobject
*v
) {
22860 swig_globalvar
*var
= v
->vars
;
22862 swig_globalvar
*n
= var
->next
;
22869 SWIGINTERN PyObject
*
22870 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
22871 PyObject
*res
= NULL
;
22872 swig_globalvar
*var
= v
->vars
;
22874 if (strcmp(var
->name
,n
) == 0) {
22875 res
= (*var
->get_attr
)();
22880 if (res
== NULL
&& !PyErr_Occurred()) {
22881 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22887 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
22889 swig_globalvar
*var
= v
->vars
;
22891 if (strcmp(var
->name
,n
) == 0) {
22892 res
= (*var
->set_attr
)(p
);
22897 if (res
== 1 && !PyErr_Occurred()) {
22898 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22903 SWIGINTERN PyTypeObject
*
22904 swig_varlink_type(void) {
22905 static char varlink__doc__
[] = "Swig var link object";
22906 static PyTypeObject varlink_type
;
22907 static int type_init
= 0;
22909 const PyTypeObject tmp
22911 PyObject_HEAD_INIT(NULL
)
22912 0, /* Number of items in variable part (ob_size) */
22913 (char *)"swigvarlink", /* Type name (tp_name) */
22914 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
22915 0, /* Itemsize (tp_itemsize) */
22916 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
22917 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
22918 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
22919 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
22920 0, /* tp_compare */
22921 (reprfunc
) swig_varlink_repr
, /* tp_repr */
22922 0, /* tp_as_number */
22923 0, /* tp_as_sequence */
22924 0, /* tp_as_mapping */
22927 (reprfunc
)swig_varlink_str
, /* tp_str */
22928 0, /* tp_getattro */
22929 0, /* tp_setattro */
22930 0, /* tp_as_buffer */
22932 varlink__doc__
, /* tp_doc */
22933 0, /* tp_traverse */
22935 0, /* tp_richcompare */
22936 0, /* tp_weaklistoffset */
22937 #if PY_VERSION_HEX >= 0x02020000
22938 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
22940 #if PY_VERSION_HEX >= 0x02030000
22943 #ifdef COUNT_ALLOCS
22944 0,0,0,0 /* tp_alloc -> tp_next */
22947 varlink_type
= tmp
;
22948 varlink_type
.ob_type
= &PyType_Type
;
22951 return &varlink_type
;
22954 /* Create a variable linking object for use later */
22955 SWIGINTERN PyObject
*
22956 SWIG_Python_newvarlink(void) {
22957 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
22961 return ((PyObject
*) result
);
22965 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
22966 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
22967 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
22969 size_t size
= strlen(name
)+1;
22970 gv
->name
= (char *)malloc(size
);
22972 strncpy(gv
->name
,name
,size
);
22973 gv
->get_attr
= get_attr
;
22974 gv
->set_attr
= set_attr
;
22975 gv
->next
= v
->vars
;
22981 SWIGINTERN PyObject
*
22983 static PyObject
*_SWIG_globals
= 0;
22984 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
22985 return _SWIG_globals
;
22988 /* -----------------------------------------------------------------------------
22989 * constants/methods manipulation
22990 * ----------------------------------------------------------------------------- */
22992 /* Install Constants */
22994 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
22997 for (i
= 0; constants
[i
].type
; ++i
) {
22998 switch(constants
[i
].type
) {
22999 case SWIG_PY_POINTER
:
23000 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
23002 case SWIG_PY_BINARY
:
23003 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
23010 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
23016 /* -----------------------------------------------------------------------------*/
23017 /* Fix SwigMethods to carry the callback ptrs when needed */
23018 /* -----------------------------------------------------------------------------*/
23021 SWIG_Python_FixMethods(PyMethodDef
*methods
,
23022 swig_const_info
*const_table
,
23023 swig_type_info
**types
,
23024 swig_type_info
**types_initial
) {
23026 for (i
= 0; methods
[i
].ml_name
; ++i
) {
23027 const char *c
= methods
[i
].ml_doc
;
23028 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
23030 swig_const_info
*ci
= 0;
23031 const char *name
= c
+ 10;
23032 for (j
= 0; const_table
[j
].type
; ++j
) {
23033 if (strncmp(const_table
[j
].name
, name
,
23034 strlen(const_table
[j
].name
)) == 0) {
23035 ci
= &(const_table
[j
]);
23040 size_t shift
= (ci
->ptype
) - types
;
23041 swig_type_info
*ty
= types_initial
[shift
];
23042 size_t ldoc
= (c
- methods
[i
].ml_doc
);
23043 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
23044 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
23047 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
23049 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
23051 strncpy(buff
, "swig_ptr: ", 10);
23053 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
23054 methods
[i
].ml_doc
= ndoc
;
23066 /* -----------------------------------------------------------------------------*
23067 * Partial Init method
23068 * -----------------------------------------------------------------------------*/
23073 SWIGEXPORT
void SWIG_init(void) {
23076 /* Fix SwigMethods to carry the callback ptrs when needed */
23077 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
23079 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23080 d
= PyModule_GetDict(m
);
23082 SWIG_InitializeModule(0);
23083 SWIG_InstallConstants(d
,swig_const_table
);
23086 SWIG_Python_SetConstant(d
, "GRID_VALUE_STRING",SWIG_FromCharPtr("string"));
23087 SWIG_Python_SetConstant(d
, "GRID_VALUE_BOOL",SWIG_FromCharPtr("bool"));
23088 SWIG_Python_SetConstant(d
, "GRID_VALUE_NUMBER",SWIG_FromCharPtr("long"));
23089 SWIG_Python_SetConstant(d
, "GRID_VALUE_FLOAT",SWIG_FromCharPtr("double"));
23090 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICE",SWIG_FromCharPtr("choice"));
23091 SWIG_Python_SetConstant(d
, "GRID_VALUE_TEXT",SWIG_FromCharPtr("string"));
23092 SWIG_Python_SetConstant(d
, "GRID_VALUE_LONG",SWIG_FromCharPtr("long"));
23093 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICEINT",SWIG_FromCharPtr("choiceint"));
23094 SWIG_Python_SetConstant(d
, "GRID_VALUE_DATETIME",SWIG_FromCharPtr("datetime"));
23095 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
23096 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellCoords",GridNoCellCoords_get
, GridNoCellCoords_set
);
23097 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellRect",GridNoCellRect_get
, GridNoCellRect_set
);
23098 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_ROWS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_ROWS
)));
23099 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_COLS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_COLS
)));
23100 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_HEIGHT
)));
23101 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_WIDTH
)));
23102 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_LABEL_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
23103 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_LABEL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
23104 SWIG_Python_SetConstant(d
, "GRID_LABEL_EDGE_ZONE",SWIG_From_int(static_cast< int >(wxGRID_LABEL_EDGE_ZONE
)));
23105 SWIG_Python_SetConstant(d
, "GRID_MIN_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_MIN_ROW_HEIGHT
)));
23106 SWIG_Python_SetConstant(d
, "GRID_MIN_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_MIN_COL_WIDTH
)));
23107 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_SCROLLBAR_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
23108 SWIG_Python_SetConstant(d
, "GridCellAttr_Any",SWIG_From_int(static_cast< int >(wxGridCellAttr::Any
)));
23109 SWIG_Python_SetConstant(d
, "GridCellAttr_Default",SWIG_From_int(static_cast< int >(wxGridCellAttr::Default
)));
23110 SWIG_Python_SetConstant(d
, "GridCellAttr_Cell",SWIG_From_int(static_cast< int >(wxGridCellAttr::Cell
)));
23111 SWIG_Python_SetConstant(d
, "GridCellAttr_Row",SWIG_From_int(static_cast< int >(wxGridCellAttr::Row
)));
23112 SWIG_Python_SetConstant(d
, "GridCellAttr_Col",SWIG_From_int(static_cast< int >(wxGridCellAttr::Col
)));
23113 SWIG_Python_SetConstant(d
, "GridCellAttr_Merged",SWIG_From_int(static_cast< int >(wxGridCellAttr::Merged
)));
23114 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_GET_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
23115 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_SEND_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
23116 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
23117 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
23118 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
23119 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
23120 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
23121 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
23122 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells
)));
23123 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows
)));
23124 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns
)));
23125 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
23126 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
23127 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
23128 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
23129 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
23130 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
23131 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
23132 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
23133 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
23134 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
23135 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
23136 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
23137 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
23138 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
23139 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
23140 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
23141 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));