1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_long swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2480 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2481 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2482 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[16]
2483 #define SWIGTYPE_p_wxCloseEvent swig_types[17]
2484 #define SWIGTYPE_p_wxColour swig_types[18]
2485 #define SWIGTYPE_p_wxColourData swig_types[19]
2486 #define SWIGTYPE_p_wxColourDialog swig_types[20]
2487 #define SWIGTYPE_p_wxCommandEvent swig_types[21]
2488 #define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
2489 #define SWIGTYPE_p_wxControl swig_types[23]
2490 #define SWIGTYPE_p_wxControlWithItems swig_types[24]
2491 #define SWIGTYPE_p_wxDC swig_types[25]
2492 #define SWIGTYPE_p_wxDateEvent swig_types[26]
2493 #define SWIGTYPE_p_wxDialog swig_types[27]
2494 #define SWIGTYPE_p_wxDirDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[29]
2496 #define SWIGTYPE_p_wxDropFilesEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDuplexMode swig_types[31]
2498 #define SWIGTYPE_p_wxEraseEvent swig_types[32]
2499 #define SWIGTYPE_p_wxEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[34]
2501 #define SWIGTYPE_p_wxFSFile swig_types[35]
2502 #define SWIGTYPE_p_wxFileDialog swig_types[36]
2503 #define SWIGTYPE_p_wxFileSystem swig_types[37]
2504 #define SWIGTYPE_p_wxFindDialogEvent swig_types[38]
2505 #define SWIGTYPE_p_wxFindReplaceData swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[40]
2507 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2508 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
2509 #define SWIGTYPE_p_wxFont swig_types[43]
2510 #define SWIGTYPE_p_wxFontData swig_types[44]
2511 #define SWIGTYPE_p_wxFontDialog swig_types[45]
2512 #define SWIGTYPE_p_wxFrame swig_types[46]
2513 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2514 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
2515 #define SWIGTYPE_p_wxGrid swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridCellAttr swig_types[51]
2518 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[52]
2519 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[53]
2520 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[54]
2521 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[55]
2522 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[56]
2523 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[57]
2524 #define SWIGTYPE_p_wxGridCellCoords swig_types[58]
2525 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[59]
2526 #define SWIGTYPE_p_wxGridCellEditor swig_types[60]
2527 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[61]
2528 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[62]
2529 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[63]
2530 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[64]
2531 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[65]
2532 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[66]
2533 #define SWIGTYPE_p_wxGridCellRenderer swig_types[67]
2534 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[68]
2535 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[69]
2536 #define SWIGTYPE_p_wxGridCellWorker swig_types[70]
2537 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[71]
2538 #define SWIGTYPE_p_wxGridEvent swig_types[72]
2539 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[73]
2540 #define SWIGTYPE_p_wxGridSizeEvent swig_types[74]
2541 #define SWIGTYPE_p_wxGridSizer swig_types[75]
2542 #define SWIGTYPE_p_wxGridStringTable swig_types[76]
2543 #define SWIGTYPE_p_wxGridTableBase swig_types[77]
2544 #define SWIGTYPE_p_wxGridTableMessage swig_types[78]
2545 #define SWIGTYPE_p_wxICOHandler swig_types[79]
2546 #define SWIGTYPE_p_wxIconizeEvent swig_types[80]
2547 #define SWIGTYPE_p_wxIdleEvent swig_types[81]
2548 #define SWIGTYPE_p_wxImage swig_types[82]
2549 #define SWIGTYPE_p_wxImageHandler swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxMDIChildFrame swig_types[90]
2557 #define SWIGTYPE_p_wxMDIClientWindow swig_types[91]
2558 #define SWIGTYPE_p_wxMDIParentFrame swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMessageDialog swig_types[98]
2565 #define SWIGTYPE_p_wxMiniFrame swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[108]
2575 #define SWIGTYPE_p_wxObject swig_types[109]
2576 #define SWIGTYPE_p_wxPCXHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNGHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNMHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPageSetupDialog swig_types[113]
2580 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[114]
2581 #define SWIGTYPE_p_wxPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPanel swig_types[117]
2584 #define SWIGTYPE_p_wxPaperSize swig_types[118]
2585 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[119]
2586 #define SWIGTYPE_p_wxPen swig_types[120]
2587 #define SWIGTYPE_p_wxPoint swig_types[121]
2588 #define SWIGTYPE_p_wxPopupWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPreviewCanvas swig_types[123]
2590 #define SWIGTYPE_p_wxPreviewControlBar swig_types[124]
2591 #define SWIGTYPE_p_wxPreviewFrame swig_types[125]
2592 #define SWIGTYPE_p_wxPrintData swig_types[126]
2593 #define SWIGTYPE_p_wxPrintDialog swig_types[127]
2594 #define SWIGTYPE_p_wxPrintDialogData swig_types[128]
2595 #define SWIGTYPE_p_wxPrintPreview swig_types[129]
2596 #define SWIGTYPE_p_wxPrinter swig_types[130]
2597 #define SWIGTYPE_p_wxProgressDialog swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[135]
2602 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[136]
2603 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[137]
2604 #define SWIGTYPE_p_wxPyGridTableBase swig_types[138]
2605 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[139]
2606 #define SWIGTYPE_p_wxPyImageHandler swig_types[140]
2607 #define SWIGTYPE_p_wxPyPanel swig_types[141]
2608 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[142]
2609 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[143]
2610 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[144]
2611 #define SWIGTYPE_p_wxPyPrintPreview swig_types[145]
2612 #define SWIGTYPE_p_wxPyPrintout swig_types[146]
2613 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[147]
2614 #define SWIGTYPE_p_wxPySizer swig_types[148]
2615 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[149]
2616 #define SWIGTYPE_p_wxPyVListBox swig_types[150]
2617 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[151]
2618 #define SWIGTYPE_p_wxPyValidator swig_types[152]
2619 #define SWIGTYPE_p_wxPyWindow swig_types[153]
2620 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[154]
2621 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[155]
2622 #define SWIGTYPE_p_wxRect swig_types[156]
2623 #define SWIGTYPE_p_wxSashEvent swig_types[157]
2624 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[158]
2625 #define SWIGTYPE_p_wxSashWindow swig_types[159]
2626 #define SWIGTYPE_p_wxScrollEvent swig_types[160]
2627 #define SWIGTYPE_p_wxScrollWinEvent swig_types[161]
2628 #define SWIGTYPE_p_wxScrolledWindow swig_types[162]
2629 #define SWIGTYPE_p_wxSetCursorEvent swig_types[163]
2630 #define SWIGTYPE_p_wxShowEvent swig_types[164]
2631 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[165]
2632 #define SWIGTYPE_p_wxSize swig_types[166]
2633 #define SWIGTYPE_p_wxSizeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxSizer swig_types[168]
2635 #define SWIGTYPE_p_wxSizerItem swig_types[169]
2636 #define SWIGTYPE_p_wxSplashScreen swig_types[170]
2637 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[171]
2638 #define SWIGTYPE_p_wxSplitterEvent swig_types[172]
2639 #define SWIGTYPE_p_wxSplitterWindow swig_types[173]
2640 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[174]
2641 #define SWIGTYPE_p_wxStatusBar swig_types[175]
2642 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[176]
2643 #define SWIGTYPE_p_wxString swig_types[177]
2644 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[178]
2645 #define SWIGTYPE_p_wxTIFFHandler swig_types[179]
2646 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[180]
2647 #define SWIGTYPE_p_wxTextEntryDialog swig_types[181]
2648 #define SWIGTYPE_p_wxTipWindow swig_types[182]
2649 #define SWIGTYPE_p_wxTopLevelWindow swig_types[183]
2650 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[184]
2651 #define SWIGTYPE_p_wxValidator swig_types[185]
2652 #define SWIGTYPE_p_wxVisualAttributes swig_types[186]
2653 #define SWIGTYPE_p_wxWindow swig_types[187]
2654 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[188]
2655 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[189]
2656 #define SWIGTYPE_p_wxXPMHandler swig_types[190]
2657 static swig_type_info
*swig_types
[192];
2658 static swig_module_info swig_module
= {swig_types
, 191, 0, 0, 0, 0};
2659 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2660 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2662 /* -------- TYPES TABLE (END) -------- */
2664 #if (PY_VERSION_HEX <= 0x02000000)
2665 # if !defined(SWIG_PYTHON_CLASSIC)
2666 # error "This python version requires to use swig with the '-classic' option"
2669 #if (PY_VERSION_HEX <= 0x02020000)
2670 # error "This python version requires to use swig with the '-nomodern' option"
2672 #if (PY_VERSION_HEX <= 0x02020000)
2673 # error "This python version requires to use swig with the '-nomodernargs' option"
2676 # error "This python version requires to use swig with the '-nofastunpack' option"
2679 /*-----------------------------------------------
2680 @(target):= _grid.so
2681 ------------------------------------------------*/
2682 #define SWIG_init init_grid
2684 #define SWIG_name "_grid"
2686 #define SWIGVERSION 0x010329
2689 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2690 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2693 #include <stdexcept>
2697 class PyObject_ptr
{
2702 PyObject_ptr() :_obj(0)
2706 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2711 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2713 if (initial_ref
) Py_XINCREF(_obj
);
2716 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2718 Py_XINCREF(item
._obj
);
2729 operator PyObject
*() const
2734 PyObject
*operator->() const
2743 struct PyObject_var
: PyObject_ptr
{
2744 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2746 PyObject_var
& operator = (PyObject
* obj
)
2756 #include "wx/wxPython/wxPython.h"
2757 #include "wx/wxPython/pyclasses.h"
2758 #include "wx/wxPython/printfw.h"
2760 #include <wx/grid.h>
2761 #include <wx/generic/gridctrl.h>
2764 static const wxString
wxPyEmptyString(wxEmptyString
);
2765 static const wxString
wxPyGridNameStr(wxGridNameStr
);
2766 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2769 #define wxPyMake_TEMPLATE(TYPE) \
2770 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
2771 PyObject* target = NULL; \
2773 /* Check if there is already a pointer to a Python object in the \
2774 OOR data that we can use. */ \
2775 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
2777 target = data->m_obj; \
2779 Py_INCREF(target); \
2781 /* Otherwise make a new wrapper for it the old fashioned way and \
2782 give it the OOR treatment */ \
2784 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
2786 source->SetClientObject(new wxPyOORClientData(target)); \
2788 } else { /* source was NULL so return None. */ \
2789 Py_INCREF(Py_None); target = Py_None; \
2795 wxPyMake_TEMPLATE(wxGridCellRenderer)
2796 wxPyMake_TEMPLATE(wxGridCellEditor
)
2797 wxPyMake_TEMPLATE(wxGridCellAttr
)
2798 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
2799 wxPyMake_TEMPLATE(wxGridTableBase
)
2803 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
2804 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
2805 wxGridCellAttr* rval = NULL; \
2807 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2808 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2810 wxGridCellAttr* ptr; \
2811 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
2813 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
2818 wxPyEndBlockThreads(blocked); \
2820 rval = PCLASS::CBNAME(a, b, c); \
2825 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
2826 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
2827 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2829 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2830 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
2831 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
2834 wxPyEndBlockThreads(blocked); \
2836 PCLASS::CBNAME(attr, a, b); \
2841 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
2842 void CBNAME(wxGridCellAttr *attr, int val) { \
2843 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2845 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2846 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
2847 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
2850 wxPyEndBlockThreads(blocked); \
2852 PCLASS::CBNAME(attr, val); \
2857 #define PYCALLBACK_INT__pure(CBNAME) \
2859 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2861 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
2862 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
2863 wxPyEndBlockThreads(blocked); \
2869 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
2870 bool CBNAME(int a, int b) { \
2871 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2873 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
2874 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
2875 wxPyEndBlockThreads(blocked); \
2880 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
2881 wxString CBNAME(int a, int b) { \
2882 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2884 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
2886 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2888 rval = Py2wxString(ro); \
2892 wxPyEndBlockThreads(blocked); \
2897 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
2898 void CBNAME(int a, int b, const wxString& c) { \
2899 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2900 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
2901 PyObject* s = wx2PyString(c); \
2902 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
2905 wxPyEndBlockThreads(blocked); \
2909 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
2910 wxString CBNAME(int a, int b) { \
2912 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2914 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2916 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2918 rval = Py2wxString(ro); \
2922 wxPyEndBlockThreads(blocked); \
2924 rval = PCLASS::CBNAME(a, b); \
2929 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
2930 bool CBNAME(int a, int b, const wxString& c) { \
2933 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2934 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2935 PyObject* s = wx2PyString(c); \
2936 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
2939 wxPyEndBlockThreads(blocked); \
2941 rval = PCLASS::CBNAME(a,b,c); \
2948 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
2949 long CBNAME(int a, int b) { \
2952 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2953 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2954 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
2955 wxPyEndBlockThreads(blocked); \
2957 rval = PCLASS::CBNAME(a,b); \
2962 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
2963 bool CBNAME(int a, int b) { \
2966 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2967 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
2968 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
2969 wxPyEndBlockThreads(blocked); \
2971 rval = PCLASS::CBNAME(a,b); \
2977 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
2978 double CBNAME(int a, int b) { \
2980 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2982 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2984 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
2986 PyObject* str = PyObject_Str(ro); \
2987 rval = PyFloat_AsDouble(str); \
2988 Py_DECREF(ro); Py_DECREF(str); \
2991 wxPyEndBlockThreads(blocked); \
2993 rval = PCLASS::CBNAME(a, b); \
2999 #define PYCALLBACK__(PCLASS, CBNAME) \
3002 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3003 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3004 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
3005 wxPyEndBlockThreads(blocked); \
3012 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
3013 bool CBNAME(size_t a, size_t b) { \
3016 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3017 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3018 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
3019 wxPyEndBlockThreads(blocked); \
3021 rval = PCLASS::CBNAME(a,b); \
3027 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
3028 bool CBNAME(size_t a) { \
3031 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3032 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3033 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
3034 wxPyEndBlockThreads(blocked); \
3036 rval = PCLASS::CBNAME(a); \
3041 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
3042 wxString CBNAME(int a) { \
3044 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3046 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3048 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
3050 rval = Py2wxString(ro); \
3054 wxPyEndBlockThreads(blocked); \
3056 rval = PCLASS::CBNAME(a); \
3061 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
3062 void CBNAME(int a, const wxString& c) { \
3064 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3065 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3066 PyObject* s = wx2PyString(c); \
3067 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
3070 wxPyEndBlockThreads(blocked); \
3072 PCLASS::CBNAME(a,c); \
3078 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
3082 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3083 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3084 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
3085 wxPyEndBlockThreads(blocked); \
3087 rval = PCLASS::CBNAME(); \
3093 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
3094 void CBNAME(size_t a, int b) { \
3096 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3097 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3098 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
3099 wxPyEndBlockThreads(blocked); \
3101 PCLASS::CBNAME(a,b); \
3107 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
3108 void CBNAME(int a, int b, long c) { \
3110 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3111 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3112 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
3113 wxPyEndBlockThreads(blocked); \
3115 PCLASS::CBNAME(a,b,c); \
3121 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
3122 void CBNAME(int a, int b, double c) { \
3124 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3125 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3126 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
3127 wxPyEndBlockThreads(blocked); \
3129 PCLASS::CBNAME(a,b,c); \
3134 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
3135 void CBNAME(int a, int b, bool c) { \
3137 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3138 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
3139 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
3140 wxPyEndBlockThreads(blocked); \
3142 PCLASS::CBNAME(a,b,c); \
3149 SWIGINTERN swig_type_info
*
3150 SWIG_pchar_descriptor()
3152 static int init
= 0;
3153 static swig_type_info
* info
= 0;
3155 info
= SWIG_TypeQuery("_p_char");
3162 SWIGINTERNINLINE PyObject
*
3163 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3166 if (size
> INT_MAX
) {
3167 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3168 return pchar_descriptor
?
3169 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3171 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3174 return SWIG_Py_Void();
3179 SWIGINTERNINLINE PyObject
*
3180 SWIG_FromCharPtr(const char *cptr
)
3182 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3186 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
3187 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
3188 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
3189 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
3190 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
3191 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
3192 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
3193 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
3194 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
3195 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
3198 #define SWIG_From_long PyInt_FromLong
3201 SWIGINTERNINLINE PyObject
*
3202 SWIG_From_int (int value
)
3204 return SWIG_From_long (value
);
3207 SWIGINTERN
void wxGridCellWorker__setOORInfo(wxGridCellWorker
*self
,PyObject
*_self
){
3208 if (!self
->GetClientObject())
3209 self
->SetClientObject(new wxPyOORClientData(_self
));
3211 SWIGINTERN
void delete_wxGridCellWorker(wxGridCellWorker
*self
){
3216 # define LLONG_MIN LONG_LONG_MIN
3219 # define LLONG_MAX LONG_LONG_MAX
3222 # define ULLONG_MAX ULONG_LONG_MAX
3227 SWIG_AsVal_long (PyObject
* obj
, long* val
)
3229 if (PyNumber_Check(obj
)) {
3230 if (val
) *val
= PyInt_AsLong(obj
);
3233 return SWIG_TypeError
;
3238 SWIG_AsVal_int (PyObject
* obj
, int *val
)
3241 int res
= SWIG_AsVal_long (obj
, &v
);
3242 if (SWIG_IsOK(res
)) {
3243 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
3244 return SWIG_OverflowError
;
3246 if (val
) *val
= static_cast< int >(v
);
3254 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3256 if (obj
== Py_True
) {
3257 if (val
) *val
= true;
3259 } else if (obj
== Py_False
) {
3260 if (val
) *val
= false;
3264 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3265 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3271 class wxPyGridCellRenderer
: public wxGridCellRenderer
3274 wxPyGridCellRenderer() : wxGridCellRenderer() {};
3276 // Implement Python callback aware virtual methods
3277 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
3278 wxDC
& dc
, const wxRect
& rect
,
3279 int row
, int col
, bool isSelected
) {
3280 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3281 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
3282 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
3283 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
3284 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
3285 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
3287 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
3288 row
, col
, isSelected
));
3294 wxPyEndBlockThreads(blocked
);
3297 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
3300 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3301 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
3304 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
3305 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
3306 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
3308 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
3316 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
3317 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
3320 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
3321 PyObject
* o1
= PySequence_GetItem(ro
, 0);
3322 PyObject
* o2
= PySequence_GetItem(ro
, 1);
3323 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
3324 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3326 PyErr_SetString(PyExc_TypeError
, errmsg
);
3331 PyErr_SetString(PyExc_TypeError
, errmsg
);
3336 wxPyEndBlockThreads(blocked
);
3341 wxGridCellRenderer
*Clone() const {
3342 wxGridCellRenderer
* rval
= NULL
;
3343 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3344 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3346 wxGridCellRenderer
* ptr
;
3347 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3349 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
3354 wxPyEndBlockThreads(blocked
);
3358 DEC_PYCALLBACK__STRING(SetParameters
);
3363 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
3367 class wxPyGridCellEditor
: public wxGridCellEditor
3370 wxPyGridCellEditor() : wxGridCellEditor() {}
3372 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
3373 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3374 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
3375 PyObject
* po
= wxPyMake_wxObject(parent
,false);
3376 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
3378 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
3382 wxPyEndBlockThreads(blocked
);
3386 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
3387 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3388 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
3389 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3390 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3393 wxPyEndBlockThreads(blocked
);
3397 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
3399 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3400 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
3401 PyObject
* go
= wxPyMake_wxObject(grid
,false);
3402 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
3405 wxPyEndBlockThreads(blocked
);
3410 wxGridCellEditor
* Clone() const {
3411 wxGridCellEditor
* rval
= NULL
;
3412 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3413 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
3415 wxGridCellEditor
* ptr
;
3416 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3418 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
3423 wxPyEndBlockThreads(blocked
);
3428 void Show(bool show
, wxGridCellAttr
*attr
) {
3430 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3431 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
3432 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3433 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
3436 wxPyEndBlockThreads(blocked
);
3438 wxGridCellEditor::Show(show
, attr
);
3442 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
3444 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3445 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
3446 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
3447 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
3449 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
3454 wxPyEndBlockThreads(blocked
);
3456 wxGridCellEditor::PaintBackground(rectCell
, attr
);
3460 DEC_PYCALLBACK___pure(Reset
);
3461 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
3462 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
3463 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
3464 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
3465 DEC_PYCALLBACK__(StartingClick
);
3466 DEC_PYCALLBACK__(Destroy
);
3467 DEC_PYCALLBACK__STRING(SetParameters
);
3468 DEC_PYCALLBACK_STRING__constpure(GetValue
);
3474 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
3475 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
3476 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
3477 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
3478 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
3479 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
3480 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
3481 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
3482 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
3485 SWIGINTERN
void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
3486 if (!self
->GetClientObject())
3487 self
->SetClientObject(new wxPyOORClientData(_self
));
3489 SWIGINTERN
void delete_wxGridCellAttr(wxGridCellAttr
*self
){
3491 SWIGINTERN
void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
3492 if (!self
->GetClientObject())
3493 self
->SetClientObject(new wxPyOORClientData(_self
));
3497 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3500 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3501 return SWIG_TypeError
;
3504 *val
= (unsigned long)v
;
3509 SWIGINTERNINLINE
int
3510 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3513 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3514 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3519 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
3522 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
3524 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
3525 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
3526 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
3527 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
3532 SWIGINTERN
void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
3533 if (!self
->GetClientObject())
3534 self
->SetClientObject(new wxPyOORClientData(_self
));
3537 #define SWIG_From_double PyFloat_FromDouble
3541 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3543 if (PyNumber_Check(obj
)) {
3544 if (val
) *val
= PyFloat_AsDouble(obj
);
3547 return SWIG_TypeError
;
3551 class wxPyGridTableBase
: public wxGridTableBase
3554 wxPyGridTableBase() : wxGridTableBase() {}
3556 PYCALLBACK_INT__pure(GetNumberRows
);
3557 PYCALLBACK_INT__pure(GetNumberCols
);
3558 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
3559 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
3560 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
3561 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
3562 PYCALLBACK__(wxGridTableBase
, Clear
);
3563 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
3564 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
3565 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
3566 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
3567 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
3568 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
3569 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
3570 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
3571 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
3572 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
3573 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
3574 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
3575 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
3576 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
3577 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
3580 wxString
GetValue(int row
, int col
) {
3581 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3583 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3585 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
3587 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
3589 ro
= PyObject_Str(ro
);
3592 rval
= Py2wxString(ro
);
3596 wxPyEndBlockThreads(blocked
);
3600 void SetValue(int row
, int col
, const wxString
& val
) {
3601 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3602 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3603 PyObject
* s
= wx2PyString(val
);
3604 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
3607 wxPyEndBlockThreads(blocked
);
3611 // Map the Get/Set methods for the standard non-string types to
3612 // the GetValue and SetValue python methods.
3613 long GetValueAsLong( int row
, int col
) {
3615 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3616 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3619 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3620 if (ro
&& PyNumber_Check(ro
)) {
3621 num
= PyNumber_Int(ro
);
3623 rval
= PyInt_AsLong(num
);
3629 wxPyEndBlockThreads(blocked
);
3633 double GetValueAsDouble( int row
, int col
) {
3635 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3636 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
3639 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
3640 if (ro
&& PyNumber_Check(ro
)) {
3641 num
= PyNumber_Float(ro
);
3643 rval
= PyFloat_AsDouble(num
);
3649 wxPyEndBlockThreads(blocked
);
3653 bool GetValueAsBool( int row
, int col
) {
3654 return (bool)GetValueAsLong(row
, col
);
3657 void SetValueAsLong( int row
, int col
, long value
) {
3658 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3659 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3660 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
3662 wxPyEndBlockThreads(blocked
);
3665 void SetValueAsDouble( int row
, int col
, double value
) {
3666 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3667 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
3668 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
3670 wxPyEndBlockThreads(blocked
);
3673 void SetValueAsBool( int row
, int col
, bool value
) {
3674 SetValueAsLong( row
, col
, (long)value
);
3681 SWIGINTERN
void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
3683 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
3685 if (source
== Py_None
) {
3686 **obj
= wxGridCellCoords(-1,-1);
3690 // If source is an object instance then it may already be the right type
3691 if (wxPySwigInstance_Check(source
)) {
3692 wxGridCellCoords
* ptr
;
3693 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3698 // otherwise a 2-tuple of integers is expected
3699 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
3700 PyObject
* o1
= PySequence_GetItem(source
, 0);
3701 PyObject
* o2
= PySequence_GetItem(source
, 1);
3702 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
3707 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
3714 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
3719 bool wxGridCellCoords_typecheck(PyObject
* source
) {
3722 if (wxPySwigInstance_Check(source
) &&
3723 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
3727 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
3734 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
3736 PyObject
* list
= PyList_New(0);
3738 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
3739 wxGridCellCoords
& coord
= source
.Item(idx
);
3740 PyObject
* tup
= PyTuple_New(2);
3741 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
3742 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
3743 PyList_Append(list
, tup
);
3749 SWIGINTERN
bool wxGridCellCoords___eq__(wxGridCellCoords
*self
,PyObject
*other
){
3750 wxGridCellCoords temp
, *obj
= &temp
;
3751 if ( other
== Py_None
) return false;
3752 if ( ! wxGridCellCoords_helper(other
, &obj
) ) {
3756 return self
->operator==(*obj
);
3758 SWIGINTERN
bool wxGridCellCoords___ne__(wxGridCellCoords
*self
,PyObject
*other
){
3759 wxGridCellCoords temp
, *obj
= &temp
;
3760 if ( other
== Py_None
) return true;
3761 if ( ! wxGridCellCoords_helper(other
, &obj
)) {
3765 return self
->operator!=(*obj
);
3767 SWIGINTERN PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
3768 PyObject
* tup
= PyTuple_New(2);
3769 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3770 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3774 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
3776 SWIGINTERN wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
3777 wxGridCellCoords rv
;
3778 self
->XYToCell(x
, y
, rv
);
3784 SWIGINTERN
int GridNoCellCoords_set(PyObject
*) {
3785 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellCoords is read-only.");
3790 SWIGINTERN PyObject
*GridNoCellCoords_get(void) {
3791 PyObject
*pyobj
= 0;
3793 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0 );
3798 SWIGINTERN
int GridNoCellRect_set(PyObject
*) {
3799 SWIG_Error(SWIG_AttributeError
,"Variable GridNoCellRect is read-only.");
3804 SWIGINTERN PyObject
*GridNoCellRect_get(void) {
3805 PyObject
*pyobj
= 0;
3807 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0 );
3812 SWIGINTERN PyObject
*_wrap_GridCellWorker__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
= 0;
3814 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3815 PyObject
*arg2
= (PyObject
*) 0 ;
3818 PyObject
* obj0
= 0 ;
3819 PyObject
* obj1
= 0 ;
3820 char * kwnames
[] = {
3821 (char *) "self",(char *) "_self", NULL
3824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3826 if (!SWIG_IsOK(res1
)) {
3827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3829 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 wxGridCellWorker__setOORInfo(arg1
,arg2
);
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= SWIG_Py_Void();
3844 SWIGINTERN PyObject
*_wrap_delete_GridCellWorker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3845 PyObject
*resultobj
= 0;
3846 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3849 PyObject
*swig_obj
[1] ;
3851 if (!args
) SWIG_fail
;
3853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, SWIG_POINTER_DISOWN
| 0 );
3854 if (!SWIG_IsOK(res1
)) {
3855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellWorker" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3857 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 delete_wxGridCellWorker(arg1
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_Py_Void();
3872 SWIGINTERN PyObject
*_wrap_GridCellWorker_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
= 0;
3874 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3875 wxString
*arg2
= 0 ;
3878 bool temp2
= false ;
3879 PyObject
* obj0
= 0 ;
3880 PyObject
* obj1
= 0 ;
3881 char * kwnames
[] = {
3882 (char *) "self",(char *) "params", NULL
3885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellWorker_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3887 if (!SWIG_IsOK(res1
)) {
3888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_SetParameters" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3890 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3892 arg2
= wxString_in_helper(obj1
);
3893 if (arg2
== NULL
) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 (arg1
)->SetParameters((wxString
const &)*arg2
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_Py_Void();
3917 SWIGINTERN PyObject
*_wrap_GridCellWorker_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3918 PyObject
*resultobj
= 0;
3919 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3922 PyObject
*swig_obj
[1] ;
3924 if (!args
) SWIG_fail
;
3926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3927 if (!SWIG_IsOK(res1
)) {
3928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_IncRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3930 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= SWIG_Py_Void();
3944 SWIGINTERN PyObject
*_wrap_GridCellWorker_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3945 PyObject
*resultobj
= 0;
3946 wxGridCellWorker
*arg1
= (wxGridCellWorker
*) 0 ;
3949 PyObject
*swig_obj
[1] ;
3951 if (!args
) SWIG_fail
;
3953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellWorker
, 0 | 0 );
3954 if (!SWIG_IsOK(res1
)) {
3955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellWorker_DecRef" "', expected argument " "1"" of type '" "wxGridCellWorker *""'");
3957 arg1
= reinterpret_cast< wxGridCellWorker
* >(argp1
);
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= SWIG_Py_Void();
3971 SWIGINTERN PyObject
*GridCellWorker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3974 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellWorker
, SWIG_NewClientData(obj
));
3975 return SWIG_Py_Void();
3978 SWIGINTERN PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
= 0;
3980 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
3982 wxGridCellAttr
*arg3
= 0 ;
4003 PyObject
* obj0
= 0 ;
4004 PyObject
* obj1
= 0 ;
4005 PyObject
* obj2
= 0 ;
4006 PyObject
* obj3
= 0 ;
4007 PyObject
* obj4
= 0 ;
4008 PyObject
* obj5
= 0 ;
4009 PyObject
* obj6
= 0 ;
4010 PyObject
* obj7
= 0 ;
4011 char * kwnames
[] = {
4012 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
4015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
4017 if (!SWIG_IsOK(res1
)) {
4018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_Draw" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
4020 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
4021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGrid
, 0 );
4022 if (!SWIG_IsOK(res2
)) {
4023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellRenderer_Draw" "', expected argument " "2"" of type '" "wxGrid &""'");
4026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "2"" of type '" "wxGrid &""'");
4028 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
4029 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxGridCellAttr
, 0 );
4030 if (!SWIG_IsOK(res3
)) {
4031 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellRenderer_Draw" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4036 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
4037 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDC
, 0 );
4038 if (!SWIG_IsOK(res4
)) {
4039 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellRenderer_Draw" "', expected argument " "4"" of type '" "wxDC &""'");
4042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_Draw" "', expected argument " "4"" of type '" "wxDC &""'");
4044 arg4
= reinterpret_cast< wxDC
* >(argp4
);
4047 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
4049 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4050 if (!SWIG_IsOK(ecode6
)) {
4051 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridCellRenderer_Draw" "', expected argument " "6"" of type '" "int""'");
4053 arg6
= static_cast< int >(val6
);
4054 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4055 if (!SWIG_IsOK(ecode7
)) {
4056 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GridCellRenderer_Draw" "', expected argument " "7"" of type '" "int""'");
4058 arg7
= static_cast< int >(val7
);
4059 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4060 if (!SWIG_IsOK(ecode8
)) {
4061 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GridCellRenderer_Draw" "', expected argument " "8"" of type '" "bool""'");
4063 arg8
= static_cast< bool >(val8
);
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= SWIG_Py_Void();
4077 SWIGINTERN PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
= 0;
4079 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
4081 wxGridCellAttr
*arg3
= 0 ;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4100 PyObject
* obj2
= 0 ;
4101 PyObject
* obj3
= 0 ;
4102 PyObject
* obj4
= 0 ;
4103 PyObject
* obj5
= 0 ;
4104 char * kwnames
[] = {
4105 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
4108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
4110 if (!SWIG_IsOK(res1
)) {
4111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "1"" of type '" "wxGridCellRenderer *""'");
4113 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
4114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGrid
, 0 );
4115 if (!SWIG_IsOK(res2
)) {
4116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "2"" of type '" "wxGrid &""'");
4119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "2"" of type '" "wxGrid &""'");
4121 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
4122 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxGridCellAttr
, 0 );
4123 if (!SWIG_IsOK(res3
)) {
4124 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "3"" of type '" "wxGridCellAttr &""'");
4129 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
4130 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDC
, 0 );
4131 if (!SWIG_IsOK(res4
)) {
4132 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "4"" of type '" "wxDC &""'");
4135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "4"" of type '" "wxDC &""'");
4137 arg4
= reinterpret_cast< wxDC
* >(argp4
);
4138 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4139 if (!SWIG_IsOK(ecode5
)) {
4140 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "5"" of type '" "int""'");
4142 arg5
= static_cast< int >(val5
);
4143 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4144 if (!SWIG_IsOK(ecode6
)) {
4145 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridCellRenderer_GetBestSize" "', expected argument " "6"" of type '" "int""'");
4147 arg6
= static_cast< int >(val6
);
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4161 SWIGINTERN PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4162 PyObject
*resultobj
= 0;
4163 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
4164 wxGridCellRenderer
*result
= 0 ;
4167 PyObject
*swig_obj
[1] ;
4169 if (!args
) SWIG_fail
;
4171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
4172 if (!SWIG_IsOK(res1
)) {
4173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellRenderer_Clone" "', expected argument " "1"" of type '" "wxGridCellRenderer const *""'");
4175 arg1
= reinterpret_cast< wxGridCellRenderer
* >(argp1
);
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
4191 SWIGINTERN PyObject
*GridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4193 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4194 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellRenderer
, SWIG_NewClientData(obj
));
4195 return SWIG_Py_Void();
4198 SWIGINTERN PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4199 PyObject
*resultobj
= 0;
4200 wxPyGridCellRenderer
*result
= 0 ;
4202 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellRenderer",0,0,0)) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_POINTER_NEW
| 0 );
4216 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
= 0;
4218 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
4219 PyObject
*arg2
= (PyObject
*) 0 ;
4220 PyObject
*arg3
= (PyObject
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4224 PyObject
* obj1
= 0 ;
4225 PyObject
* obj2
= 0 ;
4226 char * kwnames
[] = {
4227 (char *) "self",(char *) "self",(char *) "_class", NULL
4230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4232 if (!SWIG_IsOK(res1
)) {
4233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4235 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= SWIG_Py_Void();
4251 SWIGINTERN PyObject
*_wrap_PyGridCellRenderer_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
= 0;
4253 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
4254 wxString
*arg2
= 0 ;
4257 bool temp2
= false ;
4258 PyObject
* obj0
= 0 ;
4259 PyObject
* obj1
= 0 ;
4260 char * kwnames
[] = {
4261 (char *) "self",(char *) "params", NULL
4264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellRenderer
, 0 | 0 );
4266 if (!SWIG_IsOK(res1
)) {
4267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellRenderer_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellRenderer *""'");
4269 arg1
= reinterpret_cast< wxPyGridCellRenderer
* >(argp1
);
4271 arg2
= wxString_in_helper(obj1
);
4272 if (arg2
== NULL
) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 (arg1
)->SetParameters((wxString
const &)*arg2
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4281 resultobj
= SWIG_Py_Void();
4296 SWIGINTERN PyObject
*PyGridCellRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4299 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellRenderer
, SWIG_NewClientData(obj
));
4300 return SWIG_Py_Void();
4303 SWIGINTERN PyObject
*PyGridCellRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4304 return SWIG_Python_InitShadowInstance(args
);
4307 SWIGINTERN PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4308 PyObject
*resultobj
= 0;
4309 wxGridCellStringRenderer
*result
= 0 ;
4311 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellStringRenderer",0,0,0)) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_POINTER_NEW
| 0 );
4325 SWIGINTERN PyObject
*GridCellStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4328 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellStringRenderer
, SWIG_NewClientData(obj
));
4329 return SWIG_Py_Void();
4332 SWIGINTERN PyObject
*GridCellStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4333 return SWIG_Python_InitShadowInstance(args
);
4336 SWIGINTERN PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4337 PyObject
*resultobj
= 0;
4338 wxGridCellNumberRenderer
*result
= 0 ;
4340 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellNumberRenderer",0,0,0)) SWIG_fail
;
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_POINTER_NEW
| 0 );
4354 SWIGINTERN PyObject
*GridCellNumberRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4357 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, SWIG_NewClientData(obj
));
4358 return SWIG_Py_Void();
4361 SWIGINTERN PyObject
*GridCellNumberRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4362 return SWIG_Python_InitShadowInstance(args
);
4365 SWIGINTERN PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
= 0;
4367 int arg1
= (int) -1 ;
4368 int arg2
= (int) -1 ;
4369 wxGridCellFloatRenderer
*result
= 0 ;
4374 PyObject
* obj0
= 0 ;
4375 PyObject
* obj1
= 0 ;
4376 char * kwnames
[] = {
4377 (char *) "width",(char *) "precision", NULL
4380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4382 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4383 if (!SWIG_IsOK(ecode1
)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "1"" of type '" "int""'");
4386 arg1
= static_cast< int >(val1
);
4389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4390 if (!SWIG_IsOK(ecode2
)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatRenderer" "', expected argument " "2"" of type '" "int""'");
4393 arg2
= static_cast< int >(val2
);
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_POINTER_NEW
| 0 );
4408 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4409 PyObject
*resultobj
= 0;
4410 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4414 PyObject
*swig_obj
[1] ;
4416 if (!args
) SWIG_fail
;
4418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4419 if (!SWIG_IsOK(res1
)) {
4420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4422 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= SWIG_From_int(static_cast< int >(result
));
4436 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
= 0;
4438 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4445 PyObject
* obj1
= 0 ;
4446 char * kwnames
[] = {
4447 (char *) "self",(char *) "width", NULL
4450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");
4455 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4457 if (!SWIG_IsOK(ecode2
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetWidth" "', expected argument " "2"" of type '" "int""'");
4460 arg2
= static_cast< int >(val2
);
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 (arg1
)->SetWidth(arg2
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= SWIG_Py_Void();
4474 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4475 PyObject
*resultobj
= 0;
4476 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4480 PyObject
*swig_obj
[1] ;
4482 if (!args
) SWIG_fail
;
4484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4485 if (!SWIG_IsOK(res1
)) {
4486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_GetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer const *""'");
4488 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= SWIG_From_int(static_cast< int >(result
));
4502 SWIGINTERN PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
= 0;
4504 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4511 PyObject
* obj1
= 0 ;
4512 char * kwnames
[] = {
4513 (char *) "self",(char *) "precision", NULL
4516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellFloatRenderer
, 0 | 0 );
4518 if (!SWIG_IsOK(res1
)) {
4519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "1"" of type '" "wxGridCellFloatRenderer *""'");
4521 arg1
= reinterpret_cast< wxGridCellFloatRenderer
* >(argp1
);
4522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4523 if (!SWIG_IsOK(ecode2
)) {
4524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellFloatRenderer_SetPrecision" "', expected argument " "2"" of type '" "int""'");
4526 arg2
= static_cast< int >(val2
);
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 (arg1
)->SetPrecision(arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= SWIG_Py_Void();
4540 SWIGINTERN PyObject
*GridCellFloatRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4543 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, SWIG_NewClientData(obj
));
4544 return SWIG_Py_Void();
4547 SWIGINTERN PyObject
*GridCellFloatRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4548 return SWIG_Python_InitShadowInstance(args
);
4551 SWIGINTERN PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4552 PyObject
*resultobj
= 0;
4553 wxGridCellBoolRenderer
*result
= 0 ;
4555 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolRenderer",0,0,0)) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_POINTER_NEW
| 0 );
4569 SWIGINTERN PyObject
*GridCellBoolRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4572 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, SWIG_NewClientData(obj
));
4573 return SWIG_Py_Void();
4576 SWIGINTERN PyObject
*GridCellBoolRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4577 return SWIG_Python_InitShadowInstance(args
);
4580 SWIGINTERN PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
= 0;
4582 wxString arg1
= (wxString
) wxPyDefaultDateTimeFormat
;
4583 wxString arg2
= (wxString
) wxPyDefaultDateTimeFormat
;
4584 wxGridCellDateTimeRenderer
*result
= 0 ;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4587 char * kwnames
[] = {
4588 (char *) "outformat",(char *) "informat", NULL
4591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4594 wxString
* sptr
= wxString_in_helper(obj0
);
4595 if (sptr
== NULL
) SWIG_fail
;
4602 wxString
* sptr
= wxString_in_helper(obj1
);
4603 if (sptr
== NULL
) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_POINTER_NEW
| 0 );
4621 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4624 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, SWIG_NewClientData(obj
));
4625 return SWIG_Py_Void();
4628 SWIGINTERN PyObject
*GridCellDateTimeRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4629 return SWIG_Python_InitShadowInstance(args
);
4632 SWIGINTERN PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
= 0;
4634 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4635 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4636 wxGridCellEnumRenderer
*result
= 0 ;
4637 bool temp1
= false ;
4638 PyObject
* obj0
= 0 ;
4639 char * kwnames
[] = {
4640 (char *) "choices", NULL
4643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) SWIG_fail
;
4646 arg1
= wxString_in_helper(obj0
);
4647 if (arg1
== NULL
) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_POINTER_NEW
| 0 );
4672 SWIGINTERN PyObject
*GridCellEnumRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4675 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, SWIG_NewClientData(obj
));
4676 return SWIG_Py_Void();
4679 SWIGINTERN PyObject
*GridCellEnumRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4680 return SWIG_Python_InitShadowInstance(args
);
4683 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4684 PyObject
*resultobj
= 0;
4685 wxGridCellAutoWrapStringRenderer
*result
= 0 ;
4687 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringRenderer",0,0,0)) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
4691 wxPyEndAllowThreads(__tstate
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_POINTER_NEW
| 0 );
4701 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4704 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, SWIG_NewClientData(obj
));
4705 return SWIG_Py_Void();
4708 SWIGINTERN PyObject
*GridCellAutoWrapStringRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4709 return SWIG_Python_InitShadowInstance(args
);
4712 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 PyObject
*resultobj
= 0;
4714 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4718 PyObject
*swig_obj
[1] ;
4720 if (!args
) SWIG_fail
;
4722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4723 if (!SWIG_IsOK(res1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsCreated" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4726 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (bool)(arg1
)->IsCreated();
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4742 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 PyObject
*resultobj
= 0;
4744 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4745 wxControl
*result
= 0 ;
4748 PyObject
*swig_obj
[1] ;
4750 if (!args
) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4756 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (wxControl
*)(arg1
)->GetControl();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= wxPyMake_wxObject(result
, 0);
4772 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
= 0;
4774 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4775 wxControl
*arg2
= (wxControl
*) 0 ;
4780 PyObject
* obj0
= 0 ;
4781 PyObject
* obj1
= 0 ;
4782 char * kwnames
[] = {
4783 (char *) "self",(char *) "control", NULL
4786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4788 if (!SWIG_IsOK(res1
)) {
4789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetControl" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4791 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
4793 if (!SWIG_IsOK(res2
)) {
4794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
4796 arg2
= reinterpret_cast< wxControl
* >(argp2
);
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 (arg1
)->SetControl(arg2
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 resultobj
= SWIG_Py_Void();
4810 SWIGINTERN PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4811 PyObject
*resultobj
= 0;
4812 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4813 wxGridCellAttr
*result
= 0 ;
4816 PyObject
*swig_obj
[1] ;
4818 if (!args
) SWIG_fail
;
4820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4821 if (!SWIG_IsOK(res1
)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_GetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4824 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
4840 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
*resultobj
= 0;
4842 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4843 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4848 PyObject
* obj0
= 0 ;
4849 PyObject
* obj1
= 0 ;
4850 char * kwnames
[] = {
4851 (char *) "self",(char *) "attr", NULL
4854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4856 if (!SWIG_IsOK(res1
)) {
4857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4859 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
4861 if (!SWIG_IsOK(res2
)) {
4862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_SetCellAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
4864 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 (arg1
)->SetCellAttr(arg2
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 resultobj
= SWIG_Py_Void();
4878 SWIGINTERN PyObject
*_wrap_GridCellEditor_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
= 0;
4880 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4881 wxWindow
*arg2
= (wxWindow
*) 0 ;
4883 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
4892 PyObject
* obj0
= 0 ;
4893 PyObject
* obj1
= 0 ;
4894 PyObject
* obj2
= 0 ;
4895 PyObject
* obj3
= 0 ;
4896 char * kwnames
[] = {
4897 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
4900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4902 if (!SWIG_IsOK(res1
)) {
4903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Create" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4905 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4906 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4907 if (!SWIG_IsOK(res2
)) {
4908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4910 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4912 if (!SWIG_IsOK(ecode3
)) {
4913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_Create" "', expected argument " "3"" of type '" "int""'");
4915 arg3
= static_cast< int >(val3
);
4916 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
4917 if (!SWIG_IsOK(res4
)) {
4918 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_Create" "', expected argument " "4"" of type '" "wxEvtHandler *""'");
4920 arg4
= reinterpret_cast< wxEvtHandler
* >(argp4
);
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 (arg1
)->Create(arg2
,arg3
,arg4
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= SWIG_Py_Void();
4934 SWIGINTERN PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
= 0;
4936 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4939 wxGrid
*arg4
= (wxGrid
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4949 PyObject
* obj1
= 0 ;
4950 PyObject
* obj2
= 0 ;
4951 PyObject
* obj3
= 0 ;
4952 char * kwnames
[] = {
4953 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
4956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
4958 if (!SWIG_IsOK(res1
)) {
4959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
4961 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
4962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4963 if (!SWIG_IsOK(ecode2
)) {
4964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "2"" of type '" "int""'");
4966 arg2
= static_cast< int >(val2
);
4967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4968 if (!SWIG_IsOK(ecode3
)) {
4969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "3"" of type '" "int""'");
4971 arg3
= static_cast< int >(val3
);
4972 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
4973 if (!SWIG_IsOK(res4
)) {
4974 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_BeginEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
4976 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= SWIG_Py_Void();
4990 SWIGINTERN PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
= 0;
4992 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
4995 wxGrid
*arg4
= (wxGrid
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj1
= 0 ;
5007 PyObject
* obj2
= 0 ;
5008 PyObject
* obj3
= 0 ;
5009 char * kwnames
[] = {
5010 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
5013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5015 if (!SWIG_IsOK(res1
)) {
5016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5018 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5020 if (!SWIG_IsOK(ecode2
)) {
5021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "2"" of type '" "int""'");
5023 arg2
= static_cast< int >(val2
);
5024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5025 if (!SWIG_IsOK(ecode3
)) {
5026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "3"" of type '" "int""'");
5028 arg3
= static_cast< int >(val3
);
5029 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGrid
, 0 | 0 );
5030 if (!SWIG_IsOK(res4
)) {
5031 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridCellEditor_EndEdit" "', expected argument " "4"" of type '" "wxGrid *""'");
5033 arg4
= reinterpret_cast< wxGrid
* >(argp4
);
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5049 SWIGINTERN PyObject
*_wrap_GridCellEditor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5050 PyObject
*resultobj
= 0;
5051 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5054 PyObject
*swig_obj
[1] ;
5056 if (!args
) SWIG_fail
;
5058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5059 if (!SWIG_IsOK(res1
)) {
5060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Reset" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5062 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= SWIG_Py_Void();
5076 SWIGINTERN PyObject
*_wrap_GridCellEditor_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5077 PyObject
*resultobj
= 0;
5078 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5079 wxGridCellEditor
*result
= 0 ;
5082 PyObject
*swig_obj
[1] ;
5084 if (!args
) SWIG_fail
;
5086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5087 if (!SWIG_IsOK(res1
)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Clone" "', expected argument " "1"" of type '" "wxGridCellEditor const *""'");
5090 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
5106 SWIGINTERN PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
= 0;
5108 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5113 PyObject
* obj0
= 0 ;
5114 PyObject
* obj1
= 0 ;
5115 char * kwnames
[] = {
5116 (char *) "self",(char *) "rect", NULL
5119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5121 if (!SWIG_IsOK(res1
)) {
5122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_SetSize" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5124 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5127 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 (arg1
)->SetSize((wxRect
const &)*arg2
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_Py_Void();
5142 SWIGINTERN PyObject
*_wrap_GridCellEditor_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
= 0;
5144 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5146 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5155 PyObject
* obj2
= 0 ;
5156 char * kwnames
[] = {
5157 (char *) "self",(char *) "show",(char *) "attr", NULL
5160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5162 if (!SWIG_IsOK(res1
)) {
5163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Show" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5165 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5166 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5167 if (!SWIG_IsOK(ecode2
)) {
5168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellEditor_Show" "', expected argument " "2"" of type '" "bool""'");
5170 arg2
= static_cast< bool >(val2
);
5172 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5173 if (!SWIG_IsOK(res3
)) {
5174 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_Show" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
5176 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 (arg1
)->Show(arg2
,arg3
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= SWIG_Py_Void();
5191 SWIGINTERN PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
= 0;
5193 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5195 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
5201 PyObject
* obj0
= 0 ;
5202 PyObject
* obj1
= 0 ;
5203 PyObject
* obj2
= 0 ;
5204 char * kwnames
[] = {
5205 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
5208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5210 if (!SWIG_IsOK(res1
)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5213 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5216 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5218 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5219 if (!SWIG_IsOK(res3
)) {
5220 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridCellEditor_PaintBackground" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
5222 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= SWIG_Py_Void();
5236 SWIGINTERN PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
= 0;
5238 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5239 wxKeyEvent
*arg2
= 0 ;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5247 char * kwnames
[] = {
5248 (char *) "self",(char *) "event", NULL
5251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5253 if (!SWIG_IsOK(res1
)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5256 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5258 if (!SWIG_IsOK(res2
)) {
5259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_IsAcceptedKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5264 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5280 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
= 0;
5282 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5283 wxKeyEvent
*arg2
= 0 ;
5288 PyObject
* obj0
= 0 ;
5289 PyObject
* obj1
= 0 ;
5290 char * kwnames
[] = {
5291 (char *) "self",(char *) "event", NULL
5294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5296 if (!SWIG_IsOK(res1
)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5299 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5301 if (!SWIG_IsOK(res2
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_StartingKey" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5307 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 (arg1
)->StartingKey(*arg2
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 resultobj
= SWIG_Py_Void();
5321 SWIGINTERN PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5322 PyObject
*resultobj
= 0;
5323 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5326 PyObject
*swig_obj
[1] ;
5328 if (!args
) SWIG_fail
;
5330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5331 if (!SWIG_IsOK(res1
)) {
5332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_StartingClick" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5334 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 (arg1
)->StartingClick();
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= SWIG_Py_Void();
5348 SWIGINTERN PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
= 0;
5350 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5351 wxKeyEvent
*arg2
= 0 ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5358 char * kwnames
[] = {
5359 (char *) "self",(char *) "event", NULL
5362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5364 if (!SWIG_IsOK(res1
)) {
5365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5367 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 );
5369 if (!SWIG_IsOK(res2
)) {
5370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellEditor_HandleReturn" "', expected argument " "2"" of type '" "wxKeyEvent &""'");
5375 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->HandleReturn(*arg2
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_Py_Void();
5389 SWIGINTERN PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5390 PyObject
*resultobj
= 0;
5391 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
5394 PyObject
*swig_obj
[1] ;
5396 if (!args
) SWIG_fail
;
5398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
5399 if (!SWIG_IsOK(res1
)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellEditor_Destroy" "', expected argument " "1"" of type '" "wxGridCellEditor *""'");
5402 arg1
= reinterpret_cast< wxGridCellEditor
* >(argp1
);
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_Py_Void();
5416 SWIGINTERN PyObject
*GridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5419 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEditor
, SWIG_NewClientData(obj
));
5420 return SWIG_Py_Void();
5423 SWIGINTERN PyObject
*_wrap_new_PyGridCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5424 PyObject
*resultobj
= 0;
5425 wxPyGridCellEditor
*result
= 0 ;
5427 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellEditor",0,0,0)) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellEditor
, SWIG_POINTER_NEW
| 0 );
5441 SWIGINTERN PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
= 0;
5443 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5444 PyObject
*arg2
= (PyObject
*) 0 ;
5445 PyObject
*arg3
= (PyObject
*) 0 ;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5450 PyObject
* obj2
= 0 ;
5451 char * kwnames
[] = {
5452 (char *) "self",(char *) "self",(char *) "_class", NULL
5455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5457 if (!SWIG_IsOK(res1
)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5460 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_Py_Void();
5476 SWIGINTERN PyObject
*_wrap_PyGridCellEditor_SetParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
= 0;
5478 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
5479 wxString
*arg2
= 0 ;
5482 bool temp2
= false ;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5485 char * kwnames
[] = {
5486 (char *) "self",(char *) "params", NULL
5489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellEditor
, 0 | 0 );
5491 if (!SWIG_IsOK(res1
)) {
5492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellEditor_SetParameters" "', expected argument " "1"" of type '" "wxPyGridCellEditor *""'");
5494 arg1
= reinterpret_cast< wxPyGridCellEditor
* >(argp1
);
5496 arg2
= wxString_in_helper(obj1
);
5497 if (arg2
== NULL
) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 (arg1
)->SetParameters((wxString
const &)*arg2
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_Py_Void();
5521 SWIGINTERN PyObject
*PyGridCellEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5524 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellEditor
, SWIG_NewClientData(obj
));
5525 return SWIG_Py_Void();
5528 SWIGINTERN PyObject
*PyGridCellEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5529 return SWIG_Python_InitShadowInstance(args
);
5532 SWIGINTERN PyObject
*_wrap_new_GridCellTextEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5533 PyObject
*resultobj
= 0;
5534 wxGridCellTextEditor
*result
= 0 ;
5536 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellTextEditor",0,0,0)) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellTextEditor
, SWIG_POINTER_NEW
| 0 );
5550 SWIGINTERN PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5551 PyObject
*resultobj
= 0;
5552 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
5556 PyObject
*swig_obj
[1] ;
5558 if (!args
) SWIG_fail
;
5560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellTextEditor
, 0 | 0 );
5561 if (!SWIG_IsOK(res1
)) {
5562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellTextEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellTextEditor *""'");
5564 arg1
= reinterpret_cast< wxGridCellTextEditor
* >(argp1
);
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= (arg1
)->GetValue();
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5584 SWIGINTERN PyObject
*GridCellTextEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5587 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellTextEditor
, SWIG_NewClientData(obj
));
5588 return SWIG_Py_Void();
5591 SWIGINTERN PyObject
*GridCellTextEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5592 return SWIG_Python_InitShadowInstance(args
);
5595 SWIGINTERN PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
= 0;
5597 int arg1
= (int) -1 ;
5598 int arg2
= (int) -1 ;
5599 wxGridCellNumberEditor
*result
= 0 ;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5606 char * kwnames
[] = {
5607 (char *) "min",(char *) "max", NULL
5610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5612 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5613 if (!SWIG_IsOK(ecode1
)) {
5614 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellNumberEditor" "', expected argument " "1"" of type '" "int""'");
5616 arg1
= static_cast< int >(val1
);
5619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5620 if (!SWIG_IsOK(ecode2
)) {
5621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellNumberEditor" "', expected argument " "2"" of type '" "int""'");
5623 arg2
= static_cast< int >(val2
);
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_POINTER_NEW
| 0 );
5638 SWIGINTERN PyObject
*GridCellNumberEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5641 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellNumberEditor
, SWIG_NewClientData(obj
));
5642 return SWIG_Py_Void();
5645 SWIGINTERN PyObject
*GridCellNumberEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5646 return SWIG_Python_InitShadowInstance(args
);
5649 SWIGINTERN PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
= 0;
5651 int arg1
= (int) -1 ;
5652 int arg2
= (int) -1 ;
5653 wxGridCellFloatEditor
*result
= 0 ;
5658 PyObject
* obj0
= 0 ;
5659 PyObject
* obj1
= 0 ;
5660 char * kwnames
[] = {
5661 (char *) "width",(char *) "precision", NULL
5664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5666 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5667 if (!SWIG_IsOK(ecode1
)) {
5668 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellFloatEditor" "', expected argument " "1"" of type '" "int""'");
5670 arg1
= static_cast< int >(val1
);
5673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5674 if (!SWIG_IsOK(ecode2
)) {
5675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellFloatEditor" "', expected argument " "2"" of type '" "int""'");
5677 arg2
= static_cast< int >(val2
);
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_POINTER_NEW
| 0 );
5692 SWIGINTERN PyObject
*GridCellFloatEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5695 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellFloatEditor
, SWIG_NewClientData(obj
));
5696 return SWIG_Py_Void();
5699 SWIGINTERN PyObject
*GridCellFloatEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5700 return SWIG_Python_InitShadowInstance(args
);
5703 SWIGINTERN PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5704 PyObject
*resultobj
= 0;
5705 wxGridCellBoolEditor
*result
= 0 ;
5707 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellBoolEditor",0,0,0)) SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_POINTER_NEW
| 0 );
5721 SWIGINTERN PyObject
*GridCellBoolEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5724 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellBoolEditor
, SWIG_NewClientData(obj
));
5725 return SWIG_Py_Void();
5728 SWIGINTERN PyObject
*GridCellBoolEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5729 return SWIG_Python_InitShadowInstance(args
);
5732 SWIGINTERN PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
= 0;
5734 int arg1
= (int) 0 ;
5735 wxString
*arg2
= (wxString
*) NULL
;
5736 bool arg3
= (bool) false ;
5737 wxGridCellChoiceEditor
*result
= 0 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 char * kwnames
[] = {
5743 (char *) "choices",(char *) "allowOthers", NULL
5746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5749 arg1
= PyList_Size(obj0
);
5750 arg2
= wxString_LIST_helper(obj0
);
5751 if (arg2
== NULL
) SWIG_fail
;
5755 ecode3
= SWIG_AsVal_bool(obj1
, &val3
);
5756 if (!SWIG_IsOK(ecode3
)) {
5757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridCellChoiceEditor" "', expected argument " "3"" of type '" "bool""'");
5759 arg3
= static_cast< bool >(val3
);
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_POINTER_NEW
| 0 );
5769 if (arg2
) delete [] arg2
;
5774 if (arg2
) delete [] arg2
;
5780 SWIGINTERN PyObject
*GridCellChoiceEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5783 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, SWIG_NewClientData(obj
));
5784 return SWIG_Py_Void();
5787 SWIGINTERN PyObject
*GridCellChoiceEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5788 return SWIG_Python_InitShadowInstance(args
);
5791 SWIGINTERN PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
= 0;
5793 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5794 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5795 wxGridCellEnumEditor
*result
= 0 ;
5796 bool temp1
= false ;
5797 PyObject
* obj0
= 0 ;
5798 char * kwnames
[] = {
5799 (char *) "choices", NULL
5802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) SWIG_fail
;
5805 arg1
= wxString_in_helper(obj0
);
5806 if (arg1
== NULL
) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_POINTER_NEW
| 0 );
5831 SWIGINTERN PyObject
*GridCellEnumEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5834 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellEnumEditor
, SWIG_NewClientData(obj
));
5835 return SWIG_Py_Void();
5838 SWIGINTERN PyObject
*GridCellEnumEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5839 return SWIG_Python_InitShadowInstance(args
);
5842 SWIGINTERN PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5843 PyObject
*resultobj
= 0;
5844 wxGridCellAutoWrapStringEditor
*result
= 0 ;
5846 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAutoWrapStringEditor",0,0,0)) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_POINTER_NEW
| 0 );
5860 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5862 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5863 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, SWIG_NewClientData(obj
));
5864 return SWIG_Py_Void();
5867 SWIGINTERN PyObject
*GridCellAutoWrapStringEditor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5868 return SWIG_Python_InitShadowInstance(args
);
5871 SWIGINTERN PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
= 0;
5873 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5874 PyObject
*arg2
= (PyObject
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5878 PyObject
* obj1
= 0 ;
5879 char * kwnames
[] = {
5880 (char *) "self",(char *) "_self", NULL
5883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5885 if (!SWIG_IsOK(res1
)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5888 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 wxGridCellAttr__setOORInfo(arg1
,arg2
);
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5896 resultobj
= SWIG_Py_Void();
5903 SWIGINTERN PyObject
*_wrap_new_GridCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
= 0;
5905 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
5906 wxGridCellAttr
*result
= 0 ;
5909 PyObject
* obj0
= 0 ;
5910 char * kwnames
[] = {
5911 (char *) "attrDefault", NULL
5914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) SWIG_fail
;
5916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5917 if (!SWIG_IsOK(res1
)) {
5918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5920 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)SWIG_POINTER_NEW
);
5937 SWIGINTERN PyObject
*_wrap_delete_GridCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5938 PyObject
*resultobj
= 0;
5939 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5942 PyObject
*swig_obj
[1] ;
5944 if (!args
) SWIG_fail
;
5946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, SWIG_POINTER_DISOWN
| 0 );
5947 if (!SWIG_IsOK(res1
)) {
5948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
5950 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 delete_wxGridCellAttr(arg1
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= SWIG_Py_Void();
5965 SWIGINTERN PyObject
*_wrap_GridCellAttr_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5966 PyObject
*resultobj
= 0;
5967 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5968 wxGridCellAttr
*result
= 0 ;
5971 PyObject
*swig_obj
[1] ;
5973 if (!args
) SWIG_fail
;
5975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
5976 if (!SWIG_IsOK(res1
)) {
5977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_Clone" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
5979 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
5995 SWIGINTERN PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
= 0;
5997 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
5998 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6003 PyObject
* obj0
= 0 ;
6004 PyObject
* obj1
= 0 ;
6005 char * kwnames
[] = {
6006 (char *) "self",(char *) "mergefrom", NULL
6009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6011 if (!SWIG_IsOK(res1
)) {
6012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6014 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6016 if (!SWIG_IsOK(res2
)) {
6017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_MergeWith" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
6019 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 (arg1
)->MergeWith(arg2
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_Py_Void();
6033 SWIGINTERN PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6034 PyObject
*resultobj
= 0;
6035 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6038 PyObject
*swig_obj
[1] ;
6040 if (!args
) SWIG_fail
;
6042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6043 if (!SWIG_IsOK(res1
)) {
6044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IncRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6046 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 resultobj
= SWIG_Py_Void();
6060 SWIGINTERN PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6061 PyObject
*resultobj
= 0;
6062 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6065 PyObject
*swig_obj
[1] ;
6067 if (!args
) SWIG_fail
;
6069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6070 if (!SWIG_IsOK(res1
)) {
6071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_DecRef" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6073 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= SWIG_Py_Void();
6087 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
= 0;
6089 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6090 wxColour
*arg2
= 0 ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6096 char * kwnames
[] = {
6097 (char *) "self",(char *) "colText", NULL
6100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6102 if (!SWIG_IsOK(res1
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6105 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6108 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= SWIG_Py_Void();
6123 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
= 0;
6125 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6126 wxColour
*arg2
= 0 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6132 char * kwnames
[] = {
6133 (char *) "self",(char *) "colBack", NULL
6136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6138 if (!SWIG_IsOK(res1
)) {
6139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6141 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6144 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= SWIG_Py_Void();
6159 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
= 0;
6161 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6169 char * kwnames
[] = {
6170 (char *) "self",(char *) "font", NULL
6173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6175 if (!SWIG_IsOK(res1
)) {
6176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetFont" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6178 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6179 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
6180 if (!SWIG_IsOK(res2
)) {
6181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GridCellAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
6186 arg2
= reinterpret_cast< wxFont
* >(argp2
);
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 (arg1
)->SetFont((wxFont
const &)*arg2
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= SWIG_Py_Void();
6200 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
= 0;
6202 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 PyObject
* obj2
= 0 ;
6214 char * kwnames
[] = {
6215 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
6218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6220 if (!SWIG_IsOK(res1
)) {
6221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6223 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6225 if (!SWIG_IsOK(ecode2
)) {
6226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "2"" of type '" "int""'");
6228 arg2
= static_cast< int >(val2
);
6229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6230 if (!SWIG_IsOK(ecode3
)) {
6231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetAlignment" "', expected argument " "3"" of type '" "int""'");
6233 arg3
= static_cast< int >(val3
);
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 (arg1
)->SetAlignment(arg2
,arg3
);
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= SWIG_Py_Void();
6247 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
= 0;
6249 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6258 PyObject
* obj0
= 0 ;
6259 PyObject
* obj1
= 0 ;
6260 PyObject
* obj2
= 0 ;
6261 char * kwnames
[] = {
6262 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
6265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6267 if (!SWIG_IsOK(res1
)) {
6268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetSize" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6270 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6272 if (!SWIG_IsOK(ecode2
)) {
6273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetSize" "', expected argument " "2"" of type '" "int""'");
6275 arg2
= static_cast< int >(val2
);
6276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6277 if (!SWIG_IsOK(ecode3
)) {
6278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_SetSize" "', expected argument " "3"" of type '" "int""'");
6280 arg3
= static_cast< int >(val3
);
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 (arg1
)->SetSize(arg2
,arg3
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= SWIG_Py_Void();
6294 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
= 0;
6296 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6297 bool arg2
= (bool) true ;
6302 PyObject
* obj0
= 0 ;
6303 PyObject
* obj1
= 0 ;
6304 char * kwnames
[] = {
6305 (char *) "self",(char *) "allow", NULL
6308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6310 if (!SWIG_IsOK(res1
)) {
6311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6313 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6315 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6316 if (!SWIG_IsOK(ecode2
)) {
6317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetOverflow" "', expected argument " "2"" of type '" "bool""'");
6319 arg2
= static_cast< bool >(val2
);
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 (arg1
)->SetOverflow(arg2
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_Py_Void();
6334 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
= 0;
6336 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6337 bool arg2
= (bool) true ;
6342 PyObject
* obj0
= 0 ;
6343 PyObject
* obj1
= 0 ;
6344 char * kwnames
[] = {
6345 (char *) "self",(char *) "isReadOnly", NULL
6348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6350 if (!SWIG_IsOK(res1
)) {
6351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6353 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6355 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6356 if (!SWIG_IsOK(ecode2
)) {
6357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
6359 arg2
= static_cast< bool >(val2
);
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 (arg1
)->SetReadOnly(arg2
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_Py_Void();
6374 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
= 0;
6376 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6377 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
6382 PyObject
* obj0
= 0 ;
6383 PyObject
* obj1
= 0 ;
6384 char * kwnames
[] = {
6385 (char *) "self",(char *) "renderer", NULL
6388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6390 if (!SWIG_IsOK(res1
)) {
6391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6393 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
6395 if (!SWIG_IsOK(res2
)) {
6396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
6398 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 (arg1
)->SetRenderer(arg2
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 resultobj
= SWIG_Py_Void();
6412 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
= 0;
6414 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6415 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6421 PyObject
* obj1
= 0 ;
6422 char * kwnames
[] = {
6423 (char *) "self",(char *) "editor", NULL
6426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6428 if (!SWIG_IsOK(res1
)) {
6429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6431 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6432 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
6433 if (!SWIG_IsOK(res2
)) {
6434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
6436 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 (arg1
)->SetEditor(arg2
);
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= SWIG_Py_Void();
6450 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
= 0;
6452 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6453 wxGridCellAttr::wxAttrKind arg2
;
6458 PyObject
* obj0
= 0 ;
6459 PyObject
* obj1
= 0 ;
6460 char * kwnames
[] = {
6461 (char *) "self",(char *) "kind", NULL
6464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6466 if (!SWIG_IsOK(res1
)) {
6467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
6469 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6471 if (!SWIG_IsOK(ecode2
)) {
6472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttr_SetKind" "', expected argument " "2"" of type '" "wxGridCellAttr::wxAttrKind""'");
6474 arg2
= static_cast< wxGridCellAttr::wxAttrKind
>(val2
);
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 (arg1
)->SetKind(arg2
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_Py_Void();
6488 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6489 PyObject
*resultobj
= 0;
6490 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6494 PyObject
*swig_obj
[1] ;
6496 if (!args
) SWIG_fail
;
6498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6499 if (!SWIG_IsOK(res1
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6502 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6518 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6519 PyObject
*resultobj
= 0;
6520 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6524 PyObject
*swig_obj
[1] ;
6526 if (!args
) SWIG_fail
;
6528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6529 if (!SWIG_IsOK(res1
)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6532 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6548 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6549 PyObject
*resultobj
= 0;
6550 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6554 PyObject
*swig_obj
[1] ;
6556 if (!args
) SWIG_fail
;
6558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6559 if (!SWIG_IsOK(res1
)) {
6560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6562 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6578 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6579 PyObject
*resultobj
= 0;
6580 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6584 PyObject
*swig_obj
[1] ;
6586 if (!args
) SWIG_fail
;
6588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6589 if (!SWIG_IsOK(res1
)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6592 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6608 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6609 PyObject
*resultobj
= 0;
6610 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6614 PyObject
*swig_obj
[1] ;
6616 if (!args
) SWIG_fail
;
6618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6619 if (!SWIG_IsOK(res1
)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6622 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6638 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6639 PyObject
*resultobj
= 0;
6640 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6644 PyObject
*swig_obj
[1] ;
6646 if (!args
) SWIG_fail
;
6648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6649 if (!SWIG_IsOK(res1
)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6652 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6668 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6669 PyObject
*resultobj
= 0;
6670 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6674 PyObject
*swig_obj
[1] ;
6676 if (!args
) SWIG_fail
;
6678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6679 if (!SWIG_IsOK(res1
)) {
6680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasReadWriteMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6682 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6698 SWIGINTERN PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6699 PyObject
*resultobj
= 0;
6700 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6704 PyObject
*swig_obj
[1] ;
6706 if (!args
) SWIG_fail
;
6708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6709 if (!SWIG_IsOK(res1
)) {
6710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_HasOverflowMode" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6712 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6728 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6729 PyObject
*resultobj
= 0;
6730 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6734 PyObject
*swig_obj
[1] ;
6736 if (!args
) SWIG_fail
;
6738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6739 if (!SWIG_IsOK(res1
)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetTextColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6742 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6749 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6756 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6757 PyObject
*resultobj
= 0;
6758 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6762 PyObject
*swig_obj
[1] ;
6764 if (!args
) SWIG_fail
;
6766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6767 if (!SWIG_IsOK(res1
)) {
6768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6770 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6784 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6785 PyObject
*resultobj
= 0;
6786 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6790 PyObject
*swig_obj
[1] ;
6792 if (!args
) SWIG_fail
;
6794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6795 if (!SWIG_IsOK(res1
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetFont" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6798 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
6812 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6813 PyObject
*resultobj
= 0;
6814 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6815 int *arg2
= (int *) 0 ;
6816 int *arg3
= (int *) 0 ;
6820 int res2
= SWIG_TMPOBJ
;
6822 int res3
= SWIG_TMPOBJ
;
6823 PyObject
*swig_obj
[1] ;
6827 if (!args
) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetAlignment" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6833 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_Py_Void();
6841 if (SWIG_IsTmpObj(res2
)) {
6842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6844 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6847 if (SWIG_IsTmpObj(res3
)) {
6848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6850 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6859 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6860 PyObject
*resultobj
= 0;
6861 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6862 int *arg2
= (int *) 0 ;
6863 int *arg3
= (int *) 0 ;
6867 int res2
= SWIG_TMPOBJ
;
6869 int res3
= SWIG_TMPOBJ
;
6870 PyObject
*swig_obj
[1] ;
6874 if (!args
) SWIG_fail
;
6876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6877 if (!SWIG_IsOK(res1
)) {
6878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetSize" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6880 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_Py_Void();
6888 if (SWIG_IsTmpObj(res2
)) {
6889 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6891 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6892 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6894 if (SWIG_IsTmpObj(res3
)) {
6895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6897 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6906 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6907 PyObject
*resultobj
= 0;
6908 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6912 PyObject
*swig_obj
[1] ;
6914 if (!args
) SWIG_fail
;
6916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6917 if (!SWIG_IsOK(res1
)) {
6918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetOverflow" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6920 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6936 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6939 wxGrid
*arg2
= (wxGrid
*) 0 ;
6942 wxGridCellRenderer
*result
= 0 ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6953 PyObject
* obj2
= 0 ;
6954 PyObject
* obj3
= 0 ;
6955 char * kwnames
[] = {
6956 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
6959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
6961 if (!SWIG_IsOK(res1
)) {
6962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
6964 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
6965 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
6966 if (!SWIG_IsOK(res2
)) {
6967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "2"" of type '" "wxGrid *""'");
6969 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
6970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6971 if (!SWIG_IsOK(ecode3
)) {
6972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "3"" of type '" "int""'");
6974 arg3
= static_cast< int >(val3
);
6975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6976 if (!SWIG_IsOK(ecode4
)) {
6977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetRenderer" "', expected argument " "4"" of type '" "int""'");
6979 arg4
= static_cast< int >(val4
);
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
6995 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
= 0;
6997 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
6998 wxGrid
*arg2
= (wxGrid
*) 0 ;
7001 wxGridCellEditor
*result
= 0 ;
7010 PyObject
* obj0
= 0 ;
7011 PyObject
* obj1
= 0 ;
7012 PyObject
* obj2
= 0 ;
7013 PyObject
* obj3
= 0 ;
7014 char * kwnames
[] = {
7015 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
7018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7020 if (!SWIG_IsOK(res1
)) {
7021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7023 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
7025 if (!SWIG_IsOK(res2
)) {
7026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "2"" of type '" "wxGrid *""'");
7028 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
7029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7030 if (!SWIG_IsOK(ecode3
)) {
7031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "3"" of type '" "int""'");
7033 arg3
= static_cast< int >(val3
);
7034 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7035 if (!SWIG_IsOK(ecode4
)) {
7036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttr_GetEditor" "', expected argument " "4"" of type '" "int""'");
7038 arg4
= static_cast< int >(val4
);
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
7054 SWIGINTERN PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7055 PyObject
*resultobj
= 0;
7056 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7060 PyObject
*swig_obj
[1] ;
7062 if (!args
) SWIG_fail
;
7064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7065 if (!SWIG_IsOK(res1
)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_IsReadOnly" "', expected argument " "1"" of type '" "wxGridCellAttr const *""'");
7068 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7084 SWIGINTERN PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7085 PyObject
*resultobj
= 0;
7086 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7087 wxGridCellAttr::wxAttrKind result
;
7090 PyObject
*swig_obj
[1] ;
7092 if (!args
) SWIG_fail
;
7094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7095 if (!SWIG_IsOK(res1
)) {
7096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_GetKind" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
7098 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 result
= (wxGridCellAttr::wxAttrKind
)(arg1
)->GetKind();
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_From_int(static_cast< int >(result
));
7112 SWIGINTERN PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
= 0;
7114 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
7115 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7122 char * kwnames
[] = {
7123 (char *) "self",(char *) "defAttr", NULL
7126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7128 if (!SWIG_IsOK(res1
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "1"" of type '" "wxGridCellAttr *""'");
7131 arg1
= reinterpret_cast< wxGridCellAttr
* >(argp1
);
7132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7133 if (!SWIG_IsOK(res2
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttr_SetDefAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7136 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 (arg1
)->SetDefAttr(arg2
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= SWIG_Py_Void();
7150 SWIGINTERN PyObject
*GridCellAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7153 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttr
, SWIG_NewClientData(obj
));
7154 return SWIG_Py_Void();
7157 SWIGINTERN PyObject
*GridCellAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7158 return SWIG_Python_InitShadowInstance(args
);
7161 SWIGINTERN PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7162 PyObject
*resultobj
= 0;
7163 wxGridCellAttrProvider
*result
= 0 ;
7165 if (!SWIG_Python_UnpackTuple(args
,"new_GridCellAttrProvider",0,0,0)) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7173 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)SWIG_POINTER_NEW
);
7181 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
= 0;
7183 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7184 PyObject
*arg2
= (PyObject
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7189 char * kwnames
[] = {
7190 (char *) "self",(char *) "_self", NULL
7193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) 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__setOORInfo" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7198 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_Py_Void();
7213 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
= 0;
7215 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7218 wxGridCellAttr::wxAttrKind arg4
;
7219 wxGridCellAttr
*result
= 0 ;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7230 PyObject
* obj2
= 0 ;
7231 PyObject
* obj3
= 0 ;
7232 char * kwnames
[] = {
7233 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7238 if (!SWIG_IsOK(res1
)) {
7239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider const *""'");
7241 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7243 if (!SWIG_IsOK(ecode2
)) {
7244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7246 arg2
= static_cast< int >(val2
);
7247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7248 if (!SWIG_IsOK(ecode3
)) {
7249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7251 arg3
= static_cast< int >(val3
);
7252 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7253 if (!SWIG_IsOK(ecode4
)) {
7254 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7256 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,arg4
);
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7272 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
= 0;
7274 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7275 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7286 PyObject
* obj0
= 0 ;
7287 PyObject
* obj1
= 0 ;
7288 PyObject
* obj2
= 0 ;
7289 PyObject
* obj3
= 0 ;
7290 char * kwnames
[] = {
7291 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7296 if (!SWIG_IsOK(res1
)) {
7297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7299 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7301 if (!SWIG_IsOK(res2
)) {
7302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7304 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7306 if (!SWIG_IsOK(ecode3
)) {
7307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7309 arg3
= static_cast< int >(val3
);
7310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7311 if (!SWIG_IsOK(ecode4
)) {
7312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7314 arg4
= static_cast< int >(val4
);
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= SWIG_Py_Void();
7328 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
= 0;
7330 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7331 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7339 PyObject
* obj0
= 0 ;
7340 PyObject
* obj1
= 0 ;
7341 PyObject
* obj2
= 0 ;
7342 char * kwnames
[] = {
7343 (char *) "self",(char *) "attr",(char *) "row", NULL
7346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7348 if (!SWIG_IsOK(res1
)) {
7349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7351 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7353 if (!SWIG_IsOK(res2
)) {
7354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7356 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7358 if (!SWIG_IsOK(ecode3
)) {
7359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7361 arg3
= static_cast< int >(val3
);
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 (arg1
)->SetRowAttr(arg2
,arg3
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= SWIG_Py_Void();
7375 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
= 0;
7377 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7378 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7388 PyObject
* obj2
= 0 ;
7389 char * kwnames
[] = {
7390 (char *) "self",(char *) "attr",(char *) "col", NULL
7393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7395 if (!SWIG_IsOK(res1
)) {
7396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7398 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7400 if (!SWIG_IsOK(res2
)) {
7401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7403 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7405 if (!SWIG_IsOK(ecode3
)) {
7406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7408 arg3
= static_cast< int >(val3
);
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 (arg1
)->SetColAttr(arg2
,arg3
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= SWIG_Py_Void();
7422 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
= 0;
7424 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7433 PyObject
* obj0
= 0 ;
7434 PyObject
* obj1
= 0 ;
7435 PyObject
* obj2
= 0 ;
7436 char * kwnames
[] = {
7437 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7442 if (!SWIG_IsOK(res1
)) {
7443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7445 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7446 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7447 if (!SWIG_IsOK(ecode2
)) {
7448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "2"" of type '" "size_t""'");
7450 arg2
= static_cast< size_t >(val2
);
7451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7452 if (!SWIG_IsOK(ecode3
)) {
7453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrRows" "', expected argument " "3"" of type '" "int""'");
7455 arg3
= static_cast< int >(val3
);
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 (arg1
)->UpdateAttrRows(arg2
,arg3
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 resultobj
= SWIG_Py_Void();
7469 SWIGINTERN PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
= 0;
7471 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
7480 PyObject
* obj0
= 0 ;
7481 PyObject
* obj1
= 0 ;
7482 PyObject
* obj2
= 0 ;
7483 char * kwnames
[] = {
7484 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7489 if (!SWIG_IsOK(res1
)) {
7490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "1"" of type '" "wxGridCellAttrProvider *""'");
7492 arg1
= reinterpret_cast< wxGridCellAttrProvider
* >(argp1
);
7493 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7494 if (!SWIG_IsOK(ecode2
)) {
7495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "2"" of type '" "size_t""'");
7497 arg2
= static_cast< size_t >(val2
);
7498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7499 if (!SWIG_IsOK(ecode3
)) {
7500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellAttrProvider_UpdateAttrCols" "', expected argument " "3"" of type '" "int""'");
7502 arg3
= static_cast< int >(val3
);
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 (arg1
)->UpdateAttrCols(arg2
,arg3
);
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= SWIG_Py_Void();
7516 SWIGINTERN PyObject
*GridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7519 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellAttrProvider
, SWIG_NewClientData(obj
));
7520 return SWIG_Py_Void();
7523 SWIGINTERN PyObject
*GridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7524 return SWIG_Python_InitShadowInstance(args
);
7527 SWIGINTERN PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7528 PyObject
*resultobj
= 0;
7529 wxPyGridCellAttrProvider
*result
= 0 ;
7531 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridCellAttrProvider",0,0,0)) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_POINTER_NEW
| 0 );
7545 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
= 0;
7547 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7548 PyObject
*arg2
= (PyObject
*) 0 ;
7549 PyObject
*arg3
= (PyObject
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj1
= 0 ;
7554 PyObject
* obj2
= 0 ;
7555 char * kwnames
[] = {
7556 (char *) "self",(char *) "self",(char *) "_class", NULL
7559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7561 if (!SWIG_IsOK(res1
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7564 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= SWIG_Py_Void();
7580 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
= 0;
7582 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7585 wxGridCellAttr::wxAttrKind arg4
;
7586 wxGridCellAttr
*result
= 0 ;
7595 PyObject
* obj0
= 0 ;
7596 PyObject
* obj1
= 0 ;
7597 PyObject
* obj2
= 0 ;
7598 PyObject
* obj3
= 0 ;
7599 char * kwnames
[] = {
7600 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7605 if (!SWIG_IsOK(res1
)) {
7606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7608 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7610 if (!SWIG_IsOK(ecode2
)) {
7611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "2"" of type '" "int""'");
7613 arg2
= static_cast< int >(val2
);
7614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7615 if (!SWIG_IsOK(ecode3
)) {
7616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "3"" of type '" "int""'");
7618 arg3
= static_cast< int >(val3
);
7619 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7620 if (!SWIG_IsOK(ecode4
)) {
7621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
7623 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7631 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
7639 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
= 0;
7641 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7642 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7654 PyObject
* obj1
= 0 ;
7655 PyObject
* obj2
= 0 ;
7656 PyObject
* obj3
= 0 ;
7657 char * kwnames
[] = {
7658 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7663 if (!SWIG_IsOK(res1
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7666 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7668 if (!SWIG_IsOK(res2
)) {
7669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7671 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7673 if (!SWIG_IsOK(ecode3
)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "3"" of type '" "int""'");
7676 arg3
= static_cast< int >(val3
);
7677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7678 if (!SWIG_IsOK(ecode4
)) {
7679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyGridCellAttrProvider_SetAttr" "', expected argument " "4"" of type '" "int""'");
7681 arg4
= static_cast< int >(val4
);
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_Py_Void();
7695 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
= 0;
7697 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7698 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 PyObject
* obj2
= 0 ;
7709 char * kwnames
[] = {
7710 (char *) "self",(char *) "attr",(char *) "row", NULL
7713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7715 if (!SWIG_IsOK(res1
)) {
7716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7718 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7720 if (!SWIG_IsOK(res2
)) {
7721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7723 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7725 if (!SWIG_IsOK(ecode3
)) {
7726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
7728 arg3
= static_cast< int >(val3
);
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 (arg1
)->SetRowAttr(arg2
,arg3
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_Py_Void();
7742 SWIGINTERN PyObject
*_wrap_PyGridCellAttrProvider_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
= 0;
7744 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
7745 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7754 PyObject
* obj1
= 0 ;
7755 PyObject
* obj2
= 0 ;
7756 char * kwnames
[] = {
7757 (char *) "self",(char *) "attr",(char *) "col", NULL
7760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridCellAttrProvider
, 0 | 0 );
7762 if (!SWIG_IsOK(res1
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "1"" of type '" "wxPyGridCellAttrProvider *""'");
7765 arg1
= reinterpret_cast< wxPyGridCellAttrProvider
* >(argp1
);
7766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
7767 if (!SWIG_IsOK(res2
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
7770 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
7771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7772 if (!SWIG_IsOK(ecode3
)) {
7773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyGridCellAttrProvider_SetColAttr" "', expected argument " "3"" of type '" "int""'");
7775 arg3
= static_cast< int >(val3
);
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 (arg1
)->SetColAttr(arg2
,arg3
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_Py_Void();
7789 SWIGINTERN PyObject
*PyGridCellAttrProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, SWIG_NewClientData(obj
));
7793 return SWIG_Py_Void();
7796 SWIGINTERN PyObject
*PyGridCellAttrProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7797 return SWIG_Python_InitShadowInstance(args
);
7800 SWIGINTERN PyObject
*_wrap_delete_GridTableBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7801 PyObject
*resultobj
= 0;
7802 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7805 PyObject
*swig_obj
[1] ;
7807 if (!args
) SWIG_fail
;
7809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN
| 0 );
7810 if (!SWIG_IsOK(res1
)) {
7811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableBase" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7813 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= SWIG_Py_Void();
7828 SWIGINTERN PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
= 0;
7830 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7831 PyObject
*arg2
= (PyObject
*) 0 ;
7834 PyObject
* obj0
= 0 ;
7835 PyObject
* obj1
= 0 ;
7836 char * kwnames
[] = {
7837 (char *) "self",(char *) "_self", NULL
7840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7842 if (!SWIG_IsOK(res1
)) {
7843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase__setOORInfo" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7845 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 wxGridTableBase__setOORInfo(arg1
,arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= SWIG_Py_Void();
7860 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
= 0;
7862 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7863 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7870 char * kwnames
[] = {
7871 (char *) "self",(char *) "attrProvider", NULL
7874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7876 if (!SWIG_IsOK(res1
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7879 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttrProvider
, 0 | 0 );
7881 if (!SWIG_IsOK(res2
)) {
7882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttrProvider" "', expected argument " "2"" of type '" "wxGridCellAttrProvider *""'");
7884 arg2
= reinterpret_cast< wxGridCellAttrProvider
* >(argp2
);
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->SetAttrProvider(arg2
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_Py_Void();
7898 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7899 PyObject
*resultobj
= 0;
7900 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7901 wxGridCellAttrProvider
*result
= 0 ;
7904 PyObject
*swig_obj
[1] ;
7906 if (!args
) SWIG_fail
;
7908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7909 if (!SWIG_IsOK(res1
)) {
7910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttrProvider" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
7912 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, (bool)0);
7928 SWIGINTERN PyObject
*_wrap_GridTableBase_SetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
= 0;
7930 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7931 wxGrid
*arg2
= (wxGrid
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7938 char * kwnames
[] = {
7939 (char *) "self",(char *) "grid", NULL
7942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7944 if (!SWIG_IsOK(res1
)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetView" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
7947 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGrid
, 0 | 0 );
7949 if (!SWIG_IsOK(res2
)) {
7950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetView" "', expected argument " "2"" of type '" "wxGrid *""'");
7952 arg2
= reinterpret_cast< wxGrid
* >(argp2
);
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 (arg1
)->SetView(arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= SWIG_Py_Void();
7966 SWIGINTERN PyObject
*_wrap_GridTableBase_GetView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7967 PyObject
*resultobj
= 0;
7968 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7969 wxGrid
*result
= 0 ;
7972 PyObject
*swig_obj
[1] ;
7974 if (!args
) SWIG_fail
;
7976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
7977 if (!SWIG_IsOK(res1
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetView" "', expected argument " "1"" of type '" "wxGridTableBase const *""'");
7980 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7996 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7997 PyObject
*resultobj
= 0;
7998 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8002 PyObject
*swig_obj
[1] ;
8004 if (!args
) SWIG_fail
;
8006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8007 if (!SWIG_IsOK(res1
)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8010 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (int)(arg1
)->GetNumberRows();
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= SWIG_From_int(static_cast< int >(result
));
8024 SWIGINTERN PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8025 PyObject
*resultobj
= 0;
8026 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8030 PyObject
*swig_obj
[1] ;
8032 if (!args
) SWIG_fail
;
8034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8035 if (!SWIG_IsOK(res1
)) {
8036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetNumberCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8038 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= (int)(arg1
)->GetNumberCols();
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= SWIG_From_int(static_cast< int >(result
));
8052 SWIGINTERN PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
= 0;
8054 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8065 PyObject
* obj1
= 0 ;
8066 PyObject
* obj2
= 0 ;
8067 char * kwnames
[] = {
8068 (char *) "self",(char *) "row",(char *) "col", NULL
8071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8073 if (!SWIG_IsOK(res1
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8076 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8078 if (!SWIG_IsOK(ecode2
)) {
8079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "2"" of type '" "int""'");
8081 arg2
= static_cast< int >(val2
);
8082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8083 if (!SWIG_IsOK(ecode3
)) {
8084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_IsEmptyCell" "', expected argument " "3"" of type '" "int""'");
8086 arg3
= static_cast< int >(val3
);
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8102 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
= 0;
8104 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8114 PyObject
* obj0
= 0 ;
8115 PyObject
* obj1
= 0 ;
8116 PyObject
* obj2
= 0 ;
8117 char * kwnames
[] = {
8118 (char *) "self",(char *) "row",(char *) "col", NULL
8121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8123 if (!SWIG_IsOK(res1
)) {
8124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8126 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8128 if (!SWIG_IsOK(ecode2
)) {
8129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValue" "', expected argument " "2"" of type '" "int""'");
8131 arg2
= static_cast< int >(val2
);
8132 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8133 if (!SWIG_IsOK(ecode3
)) {
8134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValue" "', expected argument " "3"" of type '" "int""'");
8136 arg3
= static_cast< int >(val3
);
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 result
= (arg1
)->GetValue(arg2
,arg3
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8156 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
= 0;
8158 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8161 wxString
*arg4
= 0 ;
8168 bool temp4
= false ;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8171 PyObject
* obj2
= 0 ;
8172 PyObject
* obj3
= 0 ;
8173 char * kwnames
[] = {
8174 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8179 if (!SWIG_IsOK(res1
)) {
8180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8182 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8184 if (!SWIG_IsOK(ecode2
)) {
8185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValue" "', expected argument " "2"" of type '" "int""'");
8187 arg2
= static_cast< int >(val2
);
8188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8189 if (!SWIG_IsOK(ecode3
)) {
8190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValue" "', expected argument " "3"" of type '" "int""'");
8192 arg3
= static_cast< int >(val3
);
8194 arg4
= wxString_in_helper(obj3
);
8195 if (arg4
== NULL
) SWIG_fail
;
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= SWIG_Py_Void();
8219 SWIGINTERN PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
= 0;
8221 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8231 PyObject
* obj0
= 0 ;
8232 PyObject
* obj1
= 0 ;
8233 PyObject
* obj2
= 0 ;
8234 char * kwnames
[] = {
8235 (char *) "self",(char *) "row",(char *) "col", NULL
8238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8240 if (!SWIG_IsOK(res1
)) {
8241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8243 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8245 if (!SWIG_IsOK(ecode2
)) {
8246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "2"" of type '" "int""'");
8248 arg2
= static_cast< int >(val2
);
8249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8250 if (!SWIG_IsOK(ecode3
)) {
8251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetTypeName" "', expected argument " "3"" of type '" "int""'");
8253 arg3
= static_cast< int >(val3
);
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (arg1
)->GetTypeName(arg2
,arg3
);
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8273 SWIGINTERN PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
= 0;
8275 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8278 wxString
*arg4
= 0 ;
8286 bool temp4
= false ;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8289 PyObject
* obj2
= 0 ;
8290 PyObject
* obj3
= 0 ;
8291 char * kwnames
[] = {
8292 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8297 if (!SWIG_IsOK(res1
)) {
8298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8300 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8302 if (!SWIG_IsOK(ecode2
)) {
8303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "2"" of type '" "int""'");
8305 arg2
= static_cast< int >(val2
);
8306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8307 if (!SWIG_IsOK(ecode3
)) {
8308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanGetValueAs" "', expected argument " "3"" of type '" "int""'");
8310 arg3
= static_cast< int >(val3
);
8312 arg4
= wxString_in_helper(obj3
);
8313 if (arg4
== NULL
) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8339 SWIGINTERN PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
= 0;
8341 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8344 wxString
*arg4
= 0 ;
8352 bool temp4
= false ;
8353 PyObject
* obj0
= 0 ;
8354 PyObject
* obj1
= 0 ;
8355 PyObject
* obj2
= 0 ;
8356 PyObject
* obj3
= 0 ;
8357 char * kwnames
[] = {
8358 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
8361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8363 if (!SWIG_IsOK(res1
)) {
8364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8366 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8368 if (!SWIG_IsOK(ecode2
)) {
8369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "2"" of type '" "int""'");
8371 arg2
= static_cast< int >(val2
);
8372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8373 if (!SWIG_IsOK(ecode3
)) {
8374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_CanSetValueAs" "', expected argument " "3"" of type '" "int""'");
8376 arg3
= static_cast< int >(val3
);
8378 arg4
= wxString_in_helper(obj3
);
8379 if (arg4
== NULL
) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8405 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
= 0;
8407 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8419 PyObject
* obj2
= 0 ;
8420 char * kwnames
[] = {
8421 (char *) "self",(char *) "row",(char *) "col", NULL
8424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8426 if (!SWIG_IsOK(res1
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8429 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8431 if (!SWIG_IsOK(ecode2
)) {
8432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8434 arg2
= static_cast< int >(val2
);
8435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8436 if (!SWIG_IsOK(ecode3
)) {
8437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8439 arg3
= static_cast< int >(val3
);
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= SWIG_From_long(static_cast< long >(result
));
8453 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
= 0;
8455 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8467 PyObject
* obj2
= 0 ;
8468 char * kwnames
[] = {
8469 (char *) "self",(char *) "row",(char *) "col", NULL
8472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8474 if (!SWIG_IsOK(res1
)) {
8475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8477 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8479 if (!SWIG_IsOK(ecode2
)) {
8480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8482 arg2
= static_cast< int >(val2
);
8483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8484 if (!SWIG_IsOK(ecode3
)) {
8485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8487 arg3
= static_cast< int >(val3
);
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_From_double(static_cast< double >(result
));
8501 SWIGINTERN PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
= 0;
8503 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8515 PyObject
* obj2
= 0 ;
8516 char * kwnames
[] = {
8517 (char *) "self",(char *) "row",(char *) "col", NULL
8520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8522 if (!SWIG_IsOK(res1
)) {
8523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8525 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8527 if (!SWIG_IsOK(ecode2
)) {
8528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8530 arg2
= static_cast< int >(val2
);
8531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8532 if (!SWIG_IsOK(ecode3
)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8535 arg3
= static_cast< int >(val3
);
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8551 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
= 0;
8553 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8565 PyObject
* obj0
= 0 ;
8566 PyObject
* obj1
= 0 ;
8567 PyObject
* obj2
= 0 ;
8568 PyObject
* obj3
= 0 ;
8569 char * kwnames
[] = {
8570 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8575 if (!SWIG_IsOK(res1
)) {
8576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8578 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8580 if (!SWIG_IsOK(ecode2
)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "2"" of type '" "int""'");
8583 arg2
= static_cast< int >(val2
);
8584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8585 if (!SWIG_IsOK(ecode3
)) {
8586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "3"" of type '" "int""'");
8588 arg3
= static_cast< int >(val3
);
8589 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8590 if (!SWIG_IsOK(ecode4
)) {
8591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsLong" "', expected argument " "4"" of type '" "long""'");
8593 arg4
= static_cast< long >(val4
);
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= SWIG_Py_Void();
8607 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
= 0;
8609 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8621 PyObject
* obj0
= 0 ;
8622 PyObject
* obj1
= 0 ;
8623 PyObject
* obj2
= 0 ;
8624 PyObject
* obj3
= 0 ;
8625 char * kwnames
[] = {
8626 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8631 if (!SWIG_IsOK(res1
)) {
8632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8634 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8636 if (!SWIG_IsOK(ecode2
)) {
8637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "2"" of type '" "int""'");
8639 arg2
= static_cast< int >(val2
);
8640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8641 if (!SWIG_IsOK(ecode3
)) {
8642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "3"" of type '" "int""'");
8644 arg3
= static_cast< int >(val3
);
8645 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
8646 if (!SWIG_IsOK(ecode4
)) {
8647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsDouble" "', expected argument " "4"" of type '" "double""'");
8649 arg4
= static_cast< double >(val4
);
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_Py_Void();
8663 SWIGINTERN PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
= 0;
8665 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8677 PyObject
* obj0
= 0 ;
8678 PyObject
* obj1
= 0 ;
8679 PyObject
* obj2
= 0 ;
8680 PyObject
* obj3
= 0 ;
8681 char * kwnames
[] = {
8682 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
8685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8687 if (!SWIG_IsOK(res1
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8690 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8692 if (!SWIG_IsOK(ecode2
)) {
8693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "2"" of type '" "int""'");
8695 arg2
= static_cast< int >(val2
);
8696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8697 if (!SWIG_IsOK(ecode3
)) {
8698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "3"" of type '" "int""'");
8700 arg3
= static_cast< int >(val3
);
8701 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
8702 if (!SWIG_IsOK(ecode4
)) {
8703 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetValueAsBool" "', expected argument " "4"" of type '" "bool""'");
8705 arg4
= static_cast< bool >(val4
);
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 resultobj
= SWIG_Py_Void();
8719 SWIGINTERN PyObject
*_wrap_GridTableBase_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8720 PyObject
*resultobj
= 0;
8721 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8724 PyObject
*swig_obj
[1] ;
8726 if (!args
) SWIG_fail
;
8728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8729 if (!SWIG_IsOK(res1
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_Clear" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8732 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 resultobj
= SWIG_Py_Void();
8746 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
= 0;
8748 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8749 size_t arg2
= (size_t) 0 ;
8750 size_t arg3
= (size_t) 1 ;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8760 PyObject
* obj2
= 0 ;
8761 char * kwnames
[] = {
8762 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8767 if (!SWIG_IsOK(res1
)) {
8768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8770 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8772 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8773 if (!SWIG_IsOK(ecode2
)) {
8774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertRows" "', expected argument " "2"" of type '" "size_t""'");
8776 arg2
= static_cast< size_t >(val2
);
8779 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8780 if (!SWIG_IsOK(ecode3
)) {
8781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertRows" "', expected argument " "3"" of type '" "size_t""'");
8783 arg3
= static_cast< size_t >(val3
);
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8800 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
= 0;
8802 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8803 size_t arg2
= (size_t) 1 ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 char * kwnames
[] = {
8812 (char *) "self",(char *) "numRows", NULL
8815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8817 if (!SWIG_IsOK(res1
)) {
8818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8820 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8822 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8823 if (!SWIG_IsOK(ecode2
)) {
8824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendRows" "', expected argument " "2"" of type '" "size_t""'");
8826 arg2
= static_cast< size_t >(val2
);
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= (bool)(arg1
)->AppendRows(arg2
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8843 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
= 0;
8845 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8846 size_t arg2
= (size_t) 0 ;
8847 size_t arg3
= (size_t) 1 ;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8857 PyObject
* obj2
= 0 ;
8858 char * kwnames
[] = {
8859 (char *) "self",(char *) "pos",(char *) "numRows", NULL
8862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8864 if (!SWIG_IsOK(res1
)) {
8865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8867 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8869 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8870 if (!SWIG_IsOK(ecode2
)) {
8871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "2"" of type '" "size_t""'");
8873 arg2
= static_cast< size_t >(val2
);
8876 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8877 if (!SWIG_IsOK(ecode3
)) {
8878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteRows" "', expected argument " "3"" of type '" "size_t""'");
8880 arg3
= static_cast< size_t >(val3
);
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8897 SWIGINTERN PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
= 0;
8899 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8900 size_t arg2
= (size_t) 0 ;
8901 size_t arg3
= (size_t) 1 ;
8909 PyObject
* obj0
= 0 ;
8910 PyObject
* obj1
= 0 ;
8911 PyObject
* obj2
= 0 ;
8912 char * kwnames
[] = {
8913 (char *) "self",(char *) "pos",(char *) "numCols", NULL
8916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8918 if (!SWIG_IsOK(res1
)) {
8919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_InsertCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8921 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8923 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8924 if (!SWIG_IsOK(ecode2
)) {
8925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_InsertCols" "', expected argument " "2"" of type '" "size_t""'");
8927 arg2
= static_cast< size_t >(val2
);
8930 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
8931 if (!SWIG_IsOK(ecode3
)) {
8932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_InsertCols" "', expected argument " "3"" of type '" "size_t""'");
8934 arg3
= static_cast< size_t >(val3
);
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8951 SWIGINTERN PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
= 0;
8953 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8954 size_t arg2
= (size_t) 1 ;
8960 PyObject
* obj0
= 0 ;
8961 PyObject
* obj1
= 0 ;
8962 char * kwnames
[] = {
8963 (char *) "self",(char *) "numCols", NULL
8966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
8968 if (!SWIG_IsOK(res1
)) {
8969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_AppendCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
8971 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
8973 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
8974 if (!SWIG_IsOK(ecode2
)) {
8975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_AppendCols" "', expected argument " "2"" of type '" "size_t""'");
8977 arg2
= static_cast< size_t >(val2
);
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 result
= (bool)(arg1
)->AppendCols(arg2
);
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8994 SWIGINTERN PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
= 0;
8996 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
8997 size_t arg2
= (size_t) 0 ;
8998 size_t arg3
= (size_t) 1 ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9008 PyObject
* obj2
= 0 ;
9009 char * kwnames
[] = {
9010 (char *) "self",(char *) "pos",(char *) "numCols", NULL
9013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9015 if (!SWIG_IsOK(res1
)) {
9016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9018 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9020 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
9021 if (!SWIG_IsOK(ecode2
)) {
9022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "2"" of type '" "size_t""'");
9024 arg2
= static_cast< size_t >(val2
);
9027 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
9028 if (!SWIG_IsOK(ecode3
)) {
9029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_DeleteCols" "', expected argument " "3"" of type '" "size_t""'");
9031 arg3
= static_cast< size_t >(val3
);
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9048 SWIGINTERN PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
= 0;
9050 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9059 char * kwnames
[] = {
9060 (char *) "self",(char *) "row", NULL
9063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9065 if (!SWIG_IsOK(res1
)) {
9066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9068 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9070 if (!SWIG_IsOK(ecode2
)) {
9071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
9073 arg2
= static_cast< int >(val2
);
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (arg1
)->GetRowLabelValue(arg2
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9093 SWIGINTERN PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
= 0;
9095 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9104 char * kwnames
[] = {
9105 (char *) "self",(char *) "col", NULL
9108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9110 if (!SWIG_IsOK(res1
)) {
9111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9113 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9115 if (!SWIG_IsOK(ecode2
)) {
9116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
9118 arg2
= static_cast< int >(val2
);
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (arg1
)->GetColLabelValue(arg2
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9138 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
= 0;
9140 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9142 wxString
*arg3
= 0 ;
9147 bool temp3
= false ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 PyObject
* obj2
= 0 ;
9151 char * kwnames
[] = {
9152 (char *) "self",(char *) "row",(char *) "value", NULL
9155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9157 if (!SWIG_IsOK(res1
)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9160 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9162 if (!SWIG_IsOK(ecode2
)) {
9163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
9165 arg2
= static_cast< int >(val2
);
9167 arg3
= wxString_in_helper(obj2
);
9168 if (arg3
== NULL
) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= SWIG_Py_Void();
9192 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
= 0;
9194 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9196 wxString
*arg3
= 0 ;
9201 bool temp3
= false ;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 PyObject
* obj2
= 0 ;
9205 char * kwnames
[] = {
9206 (char *) "self",(char *) "col",(char *) "value", NULL
9209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9211 if (!SWIG_IsOK(res1
)) {
9212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9214 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9216 if (!SWIG_IsOK(ecode2
)) {
9217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
9219 arg2
= static_cast< int >(val2
);
9221 arg3
= wxString_in_helper(obj2
);
9222 if (arg3
== NULL
) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= SWIG_Py_Void();
9246 SWIGINTERN PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9247 PyObject
*resultobj
= 0;
9248 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9252 PyObject
*swig_obj
[1] ;
9254 if (!args
) SWIG_fail
;
9256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9257 if (!SWIG_IsOK(res1
)) {
9258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_CanHaveAttributes" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9260 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 result
= (bool)(arg1
)->CanHaveAttributes();
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9276 SWIGINTERN PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
= 0;
9278 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9281 wxGridCellAttr::wxAttrKind arg4
;
9282 wxGridCellAttr
*result
= 0 ;
9291 PyObject
* obj0
= 0 ;
9292 PyObject
* obj1
= 0 ;
9293 PyObject
* obj2
= 0 ;
9294 PyObject
* obj3
= 0 ;
9295 char * kwnames
[] = {
9296 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
9299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9301 if (!SWIG_IsOK(res1
)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_GetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9304 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9306 if (!SWIG_IsOK(ecode2
)) {
9307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableBase_GetAttr" "', expected argument " "2"" of type '" "int""'");
9309 arg2
= static_cast< int >(val2
);
9310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9311 if (!SWIG_IsOK(ecode3
)) {
9312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_GetAttr" "', expected argument " "3"" of type '" "int""'");
9314 arg3
= static_cast< int >(val3
);
9315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9316 if (!SWIG_IsOK(ecode4
)) {
9317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_GetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr::wxAttrKind""'");
9319 arg4
= static_cast< wxGridCellAttr::wxAttrKind
>(val4
);
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,arg4
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
9335 SWIGINTERN PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
= 0;
9337 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9338 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9349 PyObject
* obj0
= 0 ;
9350 PyObject
* obj1
= 0 ;
9351 PyObject
* obj2
= 0 ;
9352 PyObject
* obj3
= 0 ;
9353 char * kwnames
[] = {
9354 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
9357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9359 if (!SWIG_IsOK(res1
)) {
9360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9362 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9363 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9364 if (!SWIG_IsOK(res2
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9367 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9369 if (!SWIG_IsOK(ecode3
)) {
9370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetAttr" "', expected argument " "3"" of type '" "int""'");
9372 arg3
= static_cast< int >(val3
);
9373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9374 if (!SWIG_IsOK(ecode4
)) {
9375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GridTableBase_SetAttr" "', expected argument " "4"" of type '" "int""'");
9377 arg4
= static_cast< int >(val4
);
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= SWIG_Py_Void();
9391 SWIGINTERN PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
= 0;
9393 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9394 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9402 PyObject
* obj0
= 0 ;
9403 PyObject
* obj1
= 0 ;
9404 PyObject
* obj2
= 0 ;
9405 char * kwnames
[] = {
9406 (char *) "self",(char *) "attr",(char *) "row", NULL
9409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9411 if (!SWIG_IsOK(res1
)) {
9412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9414 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9416 if (!SWIG_IsOK(res2
)) {
9417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9419 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9421 if (!SWIG_IsOK(ecode3
)) {
9422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetRowAttr" "', expected argument " "3"" of type '" "int""'");
9424 arg3
= static_cast< int >(val3
);
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 (arg1
)->SetRowAttr(arg2
,arg3
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_Py_Void();
9438 SWIGINTERN PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
= 0;
9440 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9441 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9450 PyObject
* obj1
= 0 ;
9451 PyObject
* obj2
= 0 ;
9452 char * kwnames
[] = {
9453 (char *) "self",(char *) "attr",(char *) "col", NULL
9456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9458 if (!SWIG_IsOK(res1
)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9461 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
9463 if (!SWIG_IsOK(res2
)) {
9464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "2"" of type '" "wxGridCellAttr *""'");
9466 arg2
= reinterpret_cast< wxGridCellAttr
* >(argp2
);
9467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9468 if (!SWIG_IsOK(ecode3
)) {
9469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridTableBase_SetColAttr" "', expected argument " "3"" of type '" "int""'");
9471 arg3
= static_cast< int >(val3
);
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 (arg1
)->SetColAttr(arg2
,arg3
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_Py_Void();
9485 SWIGINTERN PyObject
*GridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9488 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableBase
, SWIG_NewClientData(obj
));
9489 return SWIG_Py_Void();
9492 SWIGINTERN PyObject
*_wrap_new_PyGridTableBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9493 PyObject
*resultobj
= 0;
9494 wxPyGridTableBase
*result
= 0 ;
9496 if (!SWIG_Python_UnpackTuple(args
,"new_PyGridTableBase",0,0,0)) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyGridTableBase
, SWIG_POINTER_NEW
| 0 );
9510 SWIGINTERN PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
= 0;
9512 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9513 PyObject
*arg2
= (PyObject
*) 0 ;
9514 PyObject
*arg3
= (PyObject
*) 0 ;
9517 PyObject
* obj0
= 0 ;
9518 PyObject
* obj1
= 0 ;
9519 PyObject
* obj2
= 0 ;
9520 char * kwnames
[] = {
9521 (char *) "self",(char *) "self",(char *) "_class", NULL
9524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9526 if (!SWIG_IsOK(res1
)) {
9527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9529 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= SWIG_Py_Void();
9545 SWIGINTERN PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9546 PyObject
*resultobj
= 0;
9547 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
9550 PyObject
*swig_obj
[1] ;
9552 if (!args
) SWIG_fail
;
9554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyGridTableBase
, 0 | 0 );
9555 if (!SWIG_IsOK(res1
)) {
9556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyGridTableBase_Destroy" "', expected argument " "1"" of type '" "wxPyGridTableBase *""'");
9558 arg1
= reinterpret_cast< wxPyGridTableBase
* >(argp1
);
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 wxPyGridTableBase_Destroy(arg1
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9565 resultobj
= SWIG_Py_Void();
9572 SWIGINTERN PyObject
*PyGridTableBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9575 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyGridTableBase
, SWIG_NewClientData(obj
));
9576 return SWIG_Py_Void();
9579 SWIGINTERN PyObject
*PyGridTableBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9580 return SWIG_Python_InitShadowInstance(args
);
9583 SWIGINTERN PyObject
*_wrap_new_GridStringTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
= 0;
9585 int arg1
= (int) 0 ;
9586 int arg2
= (int) 0 ;
9587 wxGridStringTable
*result
= 0 ;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9594 char * kwnames
[] = {
9595 (char *) "numRows",(char *) "numCols", NULL
9598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9600 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9601 if (!SWIG_IsOK(ecode1
)) {
9602 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridStringTable" "', expected argument " "1"" of type '" "int""'");
9604 arg1
= static_cast< int >(val1
);
9607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9608 if (!SWIG_IsOK(ecode2
)) {
9609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridStringTable" "', expected argument " "2"" of type '" "int""'");
9611 arg2
= static_cast< int >(val2
);
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridStringTable
, SWIG_POINTER_NEW
| 0 );
9626 SWIGINTERN PyObject
*GridStringTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9629 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridStringTable
, SWIG_NewClientData(obj
));
9630 return SWIG_Py_Void();
9633 SWIGINTERN PyObject
*GridStringTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9634 return SWIG_Python_InitShadowInstance(args
);
9637 SWIGINTERN PyObject
*_wrap_new_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
= 0;
9639 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
9641 int arg3
= (int) -1 ;
9642 int arg4
= (int) -1 ;
9643 wxGridTableMessage
*result
= 0 ;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9654 PyObject
* obj2
= 0 ;
9655 PyObject
* obj3
= 0 ;
9656 char * kwnames
[] = {
9657 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
9660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9662 if (!SWIG_IsOK(res1
)) {
9663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableBase *""'");
9665 arg1
= reinterpret_cast< wxGridTableBase
* >(argp1
);
9666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9667 if (!SWIG_IsOK(ecode2
)) {
9668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridTableMessage" "', expected argument " "2"" of type '" "int""'");
9670 arg2
= static_cast< int >(val2
);
9672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9673 if (!SWIG_IsOK(ecode3
)) {
9674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridTableMessage" "', expected argument " "3"" of type '" "int""'");
9676 arg3
= static_cast< int >(val3
);
9679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9680 if (!SWIG_IsOK(ecode4
)) {
9681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridTableMessage" "', expected argument " "4"" of type '" "int""'");
9683 arg4
= static_cast< int >(val4
);
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_NEW
| 0 );
9698 SWIGINTERN PyObject
*_wrap_delete_GridTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9699 PyObject
*resultobj
= 0;
9700 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9703 PyObject
*swig_obj
[1] ;
9705 if (!args
) SWIG_fail
;
9707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, SWIG_POINTER_DISOWN
| 0 );
9708 if (!SWIG_IsOK(res1
)) {
9709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridTableMessage" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9711 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= SWIG_Py_Void();
9726 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
= 0;
9728 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9729 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9736 char * kwnames
[] = {
9737 (char *) "self",(char *) "table", NULL
9740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9742 if (!SWIG_IsOK(res1
)) {
9743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9745 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9746 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridTableBase
, 0 | 0 );
9747 if (!SWIG_IsOK(res2
)) {
9748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridTableMessage_SetTableObject" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
9750 arg2
= reinterpret_cast< wxGridTableBase
* >(argp2
);
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 (arg1
)->SetTableObject(arg2
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_Py_Void();
9764 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9765 PyObject
*resultobj
= 0;
9766 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9767 wxGridTableBase
*result
= 0 ;
9770 PyObject
*swig_obj
[1] ;
9772 if (!args
) SWIG_fail
;
9774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9775 if (!SWIG_IsOK(res1
)) {
9776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetTableObject" "', expected argument " "1"" of type '" "wxGridTableMessage const *""'");
9778 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
9794 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
= 0;
9796 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9804 char * kwnames
[] = {
9805 (char *) "self",(char *) "id", NULL
9808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9810 if (!SWIG_IsOK(res1
)) {
9811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9813 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9815 if (!SWIG_IsOK(ecode2
)) {
9816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetId" "', expected argument " "2"" of type '" "int""'");
9818 arg2
= static_cast< int >(val2
);
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 (arg1
)->SetId(arg2
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_Py_Void();
9832 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9833 PyObject
*resultobj
= 0;
9834 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9838 PyObject
*swig_obj
[1] ;
9840 if (!args
) SWIG_fail
;
9842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9843 if (!SWIG_IsOK(res1
)) {
9844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetId" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9846 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= (int)(arg1
)->GetId();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_From_int(static_cast< int >(result
));
9860 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= 0;
9862 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9870 char * kwnames
[] = {
9871 (char *) "self",(char *) "comInt1", NULL
9874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9876 if (!SWIG_IsOK(res1
)) {
9877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9879 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9881 if (!SWIG_IsOK(ecode2
)) {
9882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt" "', expected argument " "2"" of type '" "int""'");
9884 arg2
= static_cast< int >(val2
);
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 (arg1
)->SetCommandInt(arg2
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_Py_Void();
9898 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9899 PyObject
*resultobj
= 0;
9900 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9904 PyObject
*swig_obj
[1] ;
9906 if (!args
) SWIG_fail
;
9908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9909 if (!SWIG_IsOK(res1
)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9912 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (int)(arg1
)->GetCommandInt();
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_From_int(static_cast< int >(result
));
9926 SWIGINTERN PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
= 0;
9928 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9935 PyObject
* obj1
= 0 ;
9936 char * kwnames
[] = {
9937 (char *) "self",(char *) "comInt2", NULL
9940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9942 if (!SWIG_IsOK(res1
)) {
9943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9945 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9947 if (!SWIG_IsOK(ecode2
)) {
9948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridTableMessage_SetCommandInt2" "', expected argument " "2"" of type '" "int""'");
9950 arg2
= static_cast< int >(val2
);
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 (arg1
)->SetCommandInt2(arg2
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_Py_Void();
9964 SWIGINTERN PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9965 PyObject
*resultobj
= 0;
9966 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
9970 PyObject
*swig_obj
[1] ;
9972 if (!args
) SWIG_fail
;
9974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridTableMessage
, 0 | 0 );
9975 if (!SWIG_IsOK(res1
)) {
9976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridTableMessage_GetCommandInt2" "', expected argument " "1"" of type '" "wxGridTableMessage *""'");
9978 arg1
= reinterpret_cast< wxGridTableMessage
* >(argp1
);
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (int)(arg1
)->GetCommandInt2();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_From_int(static_cast< int >(result
));
9992 SWIGINTERN PyObject
*GridTableMessage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9995 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridTableMessage
, SWIG_NewClientData(obj
));
9996 return SWIG_Py_Void();
9999 SWIGINTERN PyObject
*GridTableMessage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10000 return SWIG_Python_InitShadowInstance(args
);
10003 SWIGINTERN PyObject
*_wrap_new_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
= 0;
10005 int arg1
= (int) -1 ;
10006 int arg2
= (int) -1 ;
10007 wxGridCellCoords
*result
= 0 ;
10012 PyObject
* obj0
= 0 ;
10013 PyObject
* obj1
= 0 ;
10014 char * kwnames
[] = {
10015 (char *) "r",(char *) "c", NULL
10018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10020 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10021 if (!SWIG_IsOK(ecode1
)) {
10022 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridCellCoords" "', expected argument " "1"" of type '" "int""'");
10024 arg1
= static_cast< int >(val1
);
10027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10028 if (!SWIG_IsOK(ecode2
)) {
10029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridCellCoords" "', expected argument " "2"" of type '" "int""'");
10031 arg2
= static_cast< int >(val2
);
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_NEW
| 0 );
10046 SWIGINTERN PyObject
*_wrap_delete_GridCellCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10047 PyObject
*resultobj
= 0;
10048 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10051 PyObject
*swig_obj
[1] ;
10053 if (!args
) SWIG_fail
;
10054 swig_obj
[0] = args
;
10055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_DISOWN
| 0 );
10056 if (!SWIG_IsOK(res1
)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GridCellCoords" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10059 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_Py_Void();
10074 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10075 PyObject
*resultobj
= 0;
10076 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10080 PyObject
*swig_obj
[1] ;
10082 if (!args
) SWIG_fail
;
10083 swig_obj
[0] = args
;
10084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10085 if (!SWIG_IsOK(res1
)) {
10086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetRow" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10088 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= SWIG_From_int(static_cast< int >(result
));
10102 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
= 0;
10104 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10110 PyObject
* obj0
= 0 ;
10111 PyObject
* obj1
= 0 ;
10112 char * kwnames
[] = {
10113 (char *) "self",(char *) "n", NULL
10116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10118 if (!SWIG_IsOK(res1
)) {
10119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetRow" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10121 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10123 if (!SWIG_IsOK(ecode2
)) {
10124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetRow" "', expected argument " "2"" of type '" "int""'");
10126 arg2
= static_cast< int >(val2
);
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 (arg1
)->SetRow(arg2
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_Py_Void();
10140 SWIGINTERN PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10141 PyObject
*resultobj
= 0;
10142 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10146 PyObject
*swig_obj
[1] ;
10148 if (!args
) SWIG_fail
;
10149 swig_obj
[0] = args
;
10150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10151 if (!SWIG_IsOK(res1
)) {
10152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_GetCol" "', expected argument " "1"" of type '" "wxGridCellCoords const *""'");
10154 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_From_int(static_cast< int >(result
));
10168 SWIGINTERN PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
= 0;
10170 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 PyObject
* obj1
= 0 ;
10178 char * kwnames
[] = {
10179 (char *) "self",(char *) "n", NULL
10182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10184 if (!SWIG_IsOK(res1
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_SetCol" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10187 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10189 if (!SWIG_IsOK(ecode2
)) {
10190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_SetCol" "', expected argument " "2"" of type '" "int""'");
10192 arg2
= static_cast< int >(val2
);
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 (arg1
)->SetCol(arg2
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= SWIG_Py_Void();
10206 SWIGINTERN PyObject
*_wrap_GridCellCoords_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
= 0;
10208 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 PyObject
* obj2
= 0 ;
10220 char * kwnames
[] = {
10221 (char *) "self",(char *) "row",(char *) "col", NULL
10224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10226 if (!SWIG_IsOK(res1
)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Set" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10229 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10231 if (!SWIG_IsOK(ecode2
)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridCellCoords_Set" "', expected argument " "2"" of type '" "int""'");
10234 arg2
= static_cast< int >(val2
);
10235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10236 if (!SWIG_IsOK(ecode3
)) {
10237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridCellCoords_Set" "', expected argument " "3"" of type '" "int""'");
10239 arg3
= static_cast< int >(val3
);
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 (arg1
)->Set(arg2
,arg3
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= SWIG_Py_Void();
10253 SWIGINTERN PyObject
*_wrap_GridCellCoords___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
*resultobj
= 0;
10255 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10256 PyObject
*arg2
= (PyObject
*) 0 ;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 char * kwnames
[] = {
10263 (char *) "self",(char *) "other", NULL
10266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10268 if (!SWIG_IsOK(res1
)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___eq__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10271 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10274 result
= (bool)wxGridCellCoords___eq__(arg1
,arg2
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10286 SWIGINTERN PyObject
*_wrap_GridCellCoords___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
= 0;
10288 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10289 PyObject
*arg2
= (PyObject
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 char * kwnames
[] = {
10296 (char *) "self",(char *) "other", NULL
10299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10301 if (!SWIG_IsOK(res1
)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords___ne__" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10304 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10307 result
= (bool)wxGridCellCoords___ne__(arg1
,arg2
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10319 SWIGINTERN PyObject
*_wrap_GridCellCoords_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10320 PyObject
*resultobj
= 0;
10321 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
10322 PyObject
*result
= 0 ;
10325 PyObject
*swig_obj
[1] ;
10327 if (!args
) SWIG_fail
;
10328 swig_obj
[0] = args
;
10329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridCellCoords
, 0 | 0 );
10330 if (!SWIG_IsOK(res1
)) {
10331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridCellCoords_Get" "', expected argument " "1"" of type '" "wxGridCellCoords *""'");
10333 arg1
= reinterpret_cast< wxGridCellCoords
* >(argp1
);
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= result
;
10347 SWIGINTERN PyObject
*GridCellCoords_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10350 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridCellCoords
, SWIG_NewClientData(obj
));
10351 return SWIG_Py_Void();
10354 SWIGINTERN PyObject
*GridCellCoords_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10355 return SWIG_Python_InitShadowInstance(args
);
10358 SWIGINTERN PyObject
*_wrap_new_Grid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
= 0;
10360 wxWindow
*arg1
= (wxWindow
*) 0 ;
10361 int arg2
= (int) -1 ;
10362 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10363 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10364 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10365 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10366 long arg5
= (long) wxWANTS_CHARS
;
10367 wxString
const &arg6_defvalue
= wxPyGridNameStr
;
10368 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10369 wxGrid
*result
= 0 ;
10378 bool temp6
= false ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 PyObject
* obj2
= 0 ;
10382 PyObject
* obj3
= 0 ;
10383 PyObject
* obj4
= 0 ;
10384 PyObject
* obj5
= 0 ;
10385 char * kwnames
[] = {
10386 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10391 if (!SWIG_IsOK(res1
)) {
10392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Grid" "', expected argument " "1"" of type '" "wxWindow *""'");
10394 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10397 if (!SWIG_IsOK(ecode2
)) {
10398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Grid" "', expected argument " "2"" of type '" "int""'");
10400 arg2
= static_cast< int >(val2
);
10405 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10411 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10415 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10416 if (!SWIG_IsOK(ecode5
)) {
10417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Grid" "', expected argument " "5"" of type '" "long""'");
10419 arg5
= static_cast< long >(val5
);
10423 arg6
= wxString_in_helper(obj5
);
10424 if (arg6
== NULL
) SWIG_fail
;
10429 if (!wxPyCheckForApp()) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_NEW
| 0 );
10450 SWIGINTERN PyObject
*_wrap_new_PreGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10451 PyObject
*resultobj
= 0;
10452 wxGrid
*result
= 0 ;
10454 if (!SWIG_Python_UnpackTuple(args
,"new_PreGrid",0,0,0)) SWIG_fail
;
10456 if (!wxPyCheckForApp()) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (wxGrid
*)new wxGrid();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGrid
, SWIG_POINTER_OWN
| 0 );
10469 SWIGINTERN PyObject
*_wrap_Grid_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
*resultobj
= 0;
10471 wxGrid
*arg1
= (wxGrid
*) 0 ;
10472 wxWindow
*arg2
= (wxWindow
*) 0 ;
10473 int arg3
= (int) -1 ;
10474 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10475 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10476 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10477 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10478 long arg6
= (long) wxWANTS_CHARS
;
10479 wxString
const &arg7_defvalue
= wxPyGridNameStr
;
10480 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10492 bool temp7
= false ;
10493 PyObject
* obj0
= 0 ;
10494 PyObject
* obj1
= 0 ;
10495 PyObject
* obj2
= 0 ;
10496 PyObject
* obj3
= 0 ;
10497 PyObject
* obj4
= 0 ;
10498 PyObject
* obj5
= 0 ;
10499 PyObject
* obj6
= 0 ;
10500 char * kwnames
[] = {
10501 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10506 if (!SWIG_IsOK(res1
)) {
10507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_Create" "', expected argument " "1"" of type '" "wxGrid *""'");
10509 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10511 if (!SWIG_IsOK(res2
)) {
10512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10514 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10517 if (!SWIG_IsOK(ecode3
)) {
10518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_Create" "', expected argument " "3"" of type '" "int""'");
10520 arg3
= static_cast< int >(val3
);
10525 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10531 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10535 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10536 if (!SWIG_IsOK(ecode6
)) {
10537 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_Create" "', expected argument " "6"" of type '" "long""'");
10539 arg6
= static_cast< long >(val6
);
10543 arg7
= wxString_in_helper(obj6
);
10544 if (arg7
== NULL
) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10571 SWIGINTERN PyObject
*_wrap_Grid_CreateGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
= 0;
10573 wxGrid
*arg1
= (wxGrid
*) 0 ;
10576 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10586 PyObject
* obj0
= 0 ;
10587 PyObject
* obj1
= 0 ;
10588 PyObject
* obj2
= 0 ;
10589 PyObject
* obj3
= 0 ;
10590 char * kwnames
[] = {
10591 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
10594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10596 if (!SWIG_IsOK(res1
)) {
10597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CreateGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
10599 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10601 if (!SWIG_IsOK(ecode2
)) {
10602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CreateGrid" "', expected argument " "2"" of type '" "int""'");
10604 arg2
= static_cast< int >(val2
);
10605 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10606 if (!SWIG_IsOK(ecode3
)) {
10607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CreateGrid" "', expected argument " "3"" of type '" "int""'");
10609 arg3
= static_cast< int >(val3
);
10611 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10612 if (!SWIG_IsOK(ecode4
)) {
10613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_CreateGrid" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10615 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10632 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
= 0;
10634 wxGrid
*arg1
= (wxGrid
*) 0 ;
10635 WXGRIDSELECTIONMODES arg2
;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 char * kwnames
[] = {
10643 (char *) "self",(char *) "selmode", NULL
10646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10648 if (!SWIG_IsOK(res1
)) {
10649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10651 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10653 if (!SWIG_IsOK(ecode2
)) {
10654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetSelectionMode" "', expected argument " "2"" of type '" "WXGRIDSELECTIONMODES""'");
10656 arg2
= static_cast< WXGRIDSELECTIONMODES
>(val2
);
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetSelectionMode(arg2
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= SWIG_Py_Void();
10670 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10671 PyObject
*resultobj
= 0;
10672 wxGrid
*arg1
= (wxGrid
*) 0 ;
10673 WXGRIDSELECTIONMODES result
;
10676 PyObject
*swig_obj
[1] ;
10678 if (!args
) SWIG_fail
;
10679 swig_obj
[0] = args
;
10680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10681 if (!SWIG_IsOK(res1
)) {
10682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionMode" "', expected argument " "1"" of type '" "wxGrid *""'");
10684 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= SWIG_From_int(static_cast< int >(result
));
10698 SWIGINTERN PyObject
*_wrap_Grid_GetNumberRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10699 PyObject
*resultobj
= 0;
10700 wxGrid
*arg1
= (wxGrid
*) 0 ;
10704 PyObject
*swig_obj
[1] ;
10706 if (!args
) SWIG_fail
;
10707 swig_obj
[0] = args
;
10708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10709 if (!SWIG_IsOK(res1
)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10712 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (int)(arg1
)->GetNumberRows();
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_From_int(static_cast< int >(result
));
10726 SWIGINTERN PyObject
*_wrap_Grid_GetNumberCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10727 PyObject
*resultobj
= 0;
10728 wxGrid
*arg1
= (wxGrid
*) 0 ;
10732 PyObject
*swig_obj
[1] ;
10734 if (!args
) SWIG_fail
;
10735 swig_obj
[0] = args
;
10736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10737 if (!SWIG_IsOK(res1
)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetNumberCols" "', expected argument " "1"" of type '" "wxGrid *""'");
10740 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (int)(arg1
)->GetNumberCols();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_From_int(static_cast< int >(result
));
10754 SWIGINTERN PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
= 0;
10756 wxGrid
*arg1
= (wxGrid
*) 0 ;
10757 wxGridTableMessage
*arg2
= 0 ;
10763 PyObject
* obj0
= 0 ;
10764 PyObject
* obj1
= 0 ;
10765 char * kwnames
[] = {
10766 (char *) "self",(char *)"arg2", NULL
10769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10771 if (!SWIG_IsOK(res1
)) {
10772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "1"" of type '" "wxGrid *""'");
10774 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGridTableMessage
, 0 );
10776 if (!SWIG_IsOK(res2
)) {
10777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_ProcessTableMessage" "', expected argument " "2"" of type '" "wxGridTableMessage &""'");
10782 arg2
= reinterpret_cast< wxGridTableMessage
* >(argp2
);
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10798 SWIGINTERN PyObject
*_wrap_Grid_GetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10799 PyObject
*resultobj
= 0;
10800 wxGrid
*arg1
= (wxGrid
*) 0 ;
10801 wxGridTableBase
*result
= 0 ;
10804 PyObject
*swig_obj
[1] ;
10806 if (!args
) SWIG_fail
;
10807 swig_obj
[0] = args
;
10808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10809 if (!SWIG_IsOK(res1
)) {
10810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTable" "', expected argument " "1"" of type '" "wxGrid const *""'");
10812 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= wxPyMake_wxGridTableBase(result
, (bool)0);
10828 SWIGINTERN PyObject
*_wrap_Grid_SetTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
= 0;
10830 wxGrid
*arg1
= (wxGrid
*) 0 ;
10831 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
10832 bool arg3
= (bool) false ;
10833 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 PyObject
* obj2
= 0 ;
10845 PyObject
* obj3
= 0 ;
10846 char * kwnames
[] = {
10847 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
10850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10852 if (!SWIG_IsOK(res1
)) {
10853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetTable" "', expected argument " "1"" of type '" "wxGrid *""'");
10855 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10856 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGridTableBase
, SWIG_POINTER_DISOWN
| 0 );
10857 if (!SWIG_IsOK(res2
)) {
10858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetTable" "', expected argument " "2"" of type '" "wxGridTableBase *""'");
10861 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10862 if (!SWIG_IsOK(ecode3
)) {
10863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetTable" "', expected argument " "3"" of type '" "bool""'");
10865 arg3
= static_cast< bool >(val3
);
10868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10869 if (!SWIG_IsOK(ecode4
)) {
10870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetTable" "', expected argument " "4"" of type '" "WXGRIDSELECTIONMODES""'");
10872 arg4
= static_cast< WXGRIDSELECTIONMODES
>(val4
);
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10889 SWIGINTERN PyObject
*_wrap_Grid_ClearGrid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10890 PyObject
*resultobj
= 0;
10891 wxGrid
*arg1
= (wxGrid
*) 0 ;
10894 PyObject
*swig_obj
[1] ;
10896 if (!args
) SWIG_fail
;
10897 swig_obj
[0] = args
;
10898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10899 if (!SWIG_IsOK(res1
)) {
10900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearGrid" "', expected argument " "1"" of type '" "wxGrid *""'");
10902 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 (arg1
)->ClearGrid();
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= SWIG_Py_Void();
10916 SWIGINTERN PyObject
*_wrap_Grid_InsertRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
= 0;
10918 wxGrid
*arg1
= (wxGrid
*) 0 ;
10919 int arg2
= (int) 0 ;
10920 int arg3
= (int) 1 ;
10921 bool arg4
= (bool) true ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 PyObject
* obj2
= 0 ;
10934 PyObject
* obj3
= 0 ;
10935 char * kwnames
[] = {
10936 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
10939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
10941 if (!SWIG_IsOK(res1
)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertRows" "', expected argument " "1"" of type '" "wxGrid *""'");
10944 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
10946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10947 if (!SWIG_IsOK(ecode2
)) {
10948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertRows" "', expected argument " "2"" of type '" "int""'");
10950 arg2
= static_cast< int >(val2
);
10953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10954 if (!SWIG_IsOK(ecode3
)) {
10955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertRows" "', expected argument " "3"" of type '" "int""'");
10957 arg3
= static_cast< int >(val3
);
10960 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10961 if (!SWIG_IsOK(ecode4
)) {
10962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertRows" "', expected argument " "4"" of type '" "bool""'");
10964 arg4
= static_cast< bool >(val4
);
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10981 SWIGINTERN PyObject
*_wrap_Grid_AppendRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
= 0;
10983 wxGrid
*arg1
= (wxGrid
*) 0 ;
10984 int arg2
= (int) 1 ;
10985 bool arg3
= (bool) true ;
10993 PyObject
* obj0
= 0 ;
10994 PyObject
* obj1
= 0 ;
10995 PyObject
* obj2
= 0 ;
10996 char * kwnames
[] = {
10997 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
11000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11002 if (!SWIG_IsOK(res1
)) {
11003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendRows" "', expected argument " "1"" of type '" "wxGrid *""'");
11005 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11008 if (!SWIG_IsOK(ecode2
)) {
11009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendRows" "', expected argument " "2"" of type '" "int""'");
11011 arg2
= static_cast< int >(val2
);
11014 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11015 if (!SWIG_IsOK(ecode3
)) {
11016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendRows" "', expected argument " "3"" of type '" "bool""'");
11018 arg3
= static_cast< bool >(val3
);
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11035 SWIGINTERN PyObject
*_wrap_Grid_DeleteRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
= 0;
11037 wxGrid
*arg1
= (wxGrid
*) 0 ;
11038 int arg2
= (int) 0 ;
11039 int arg3
= (int) 1 ;
11040 bool arg4
= (bool) true ;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 PyObject
* obj2
= 0 ;
11053 PyObject
* obj3
= 0 ;
11054 char * kwnames
[] = {
11055 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
11058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11060 if (!SWIG_IsOK(res1
)) {
11061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteRows" "', expected argument " "1"" of type '" "wxGrid *""'");
11063 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11066 if (!SWIG_IsOK(ecode2
)) {
11067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteRows" "', expected argument " "2"" of type '" "int""'");
11069 arg2
= static_cast< int >(val2
);
11072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11073 if (!SWIG_IsOK(ecode3
)) {
11074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteRows" "', expected argument " "3"" of type '" "int""'");
11076 arg3
= static_cast< int >(val3
);
11079 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11080 if (!SWIG_IsOK(ecode4
)) {
11081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteRows" "', expected argument " "4"" of type '" "bool""'");
11083 arg4
= static_cast< bool >(val4
);
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11100 SWIGINTERN PyObject
*_wrap_Grid_InsertCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
= 0;
11102 wxGrid
*arg1
= (wxGrid
*) 0 ;
11103 int arg2
= (int) 0 ;
11104 int arg3
= (int) 1 ;
11105 bool arg4
= (bool) true ;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 PyObject
* obj2
= 0 ;
11118 PyObject
* obj3
= 0 ;
11119 char * kwnames
[] = {
11120 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
11123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11125 if (!SWIG_IsOK(res1
)) {
11126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_InsertCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11128 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11131 if (!SWIG_IsOK(ecode2
)) {
11132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_InsertCols" "', expected argument " "2"" of type '" "int""'");
11134 arg2
= static_cast< int >(val2
);
11137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11138 if (!SWIG_IsOK(ecode3
)) {
11139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_InsertCols" "', expected argument " "3"" of type '" "int""'");
11141 arg3
= static_cast< int >(val3
);
11144 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11145 if (!SWIG_IsOK(ecode4
)) {
11146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_InsertCols" "', expected argument " "4"" of type '" "bool""'");
11148 arg4
= static_cast< bool >(val4
);
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11165 SWIGINTERN PyObject
*_wrap_Grid_AppendCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
= 0;
11167 wxGrid
*arg1
= (wxGrid
*) 0 ;
11168 int arg2
= (int) 1 ;
11169 bool arg3
= (bool) true ;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 PyObject
* obj2
= 0 ;
11180 char * kwnames
[] = {
11181 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
11184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11186 if (!SWIG_IsOK(res1
)) {
11187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AppendCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11189 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11192 if (!SWIG_IsOK(ecode2
)) {
11193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AppendCols" "', expected argument " "2"" of type '" "int""'");
11195 arg2
= static_cast< int >(val2
);
11198 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11199 if (!SWIG_IsOK(ecode3
)) {
11200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AppendCols" "', expected argument " "3"" of type '" "bool""'");
11202 arg3
= static_cast< bool >(val3
);
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11219 SWIGINTERN PyObject
*_wrap_Grid_DeleteCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
= 0;
11221 wxGrid
*arg1
= (wxGrid
*) 0 ;
11222 int arg2
= (int) 0 ;
11223 int arg3
= (int) 1 ;
11224 bool arg4
= (bool) true ;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 PyObject
* obj2
= 0 ;
11237 PyObject
* obj3
= 0 ;
11238 char * kwnames
[] = {
11239 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
11242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11244 if (!SWIG_IsOK(res1
)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeleteCols" "', expected argument " "1"" of type '" "wxGrid *""'");
11247 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11250 if (!SWIG_IsOK(ecode2
)) {
11251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeleteCols" "', expected argument " "2"" of type '" "int""'");
11253 arg2
= static_cast< int >(val2
);
11256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11257 if (!SWIG_IsOK(ecode3
)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeleteCols" "', expected argument " "3"" of type '" "int""'");
11260 arg3
= static_cast< int >(val3
);
11263 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11264 if (!SWIG_IsOK(ecode4
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_DeleteCols" "', expected argument " "4"" of type '" "bool""'");
11267 arg4
= static_cast< bool >(val4
);
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11284 SWIGINTERN PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
= 0;
11286 wxGrid
*arg1
= (wxGrid
*) 0 ;
11288 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 PyObject
* obj2
= 0 ;
11298 char * kwnames
[] = {
11299 (char *) "self",(char *) "dc",(char *) "attr", NULL
11302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11304 if (!SWIG_IsOK(res1
)) {
11305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "1"" of type '" "wxGrid *""'");
11307 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11308 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11309 if (!SWIG_IsOK(res2
)) {
11310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawCellHighlight" "', expected argument " "2"" of type '" "wxDC &""'");
11315 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11316 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
11317 if (!SWIG_IsOK(res3
)) {
11318 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_DrawCellHighlight" "', expected argument " "3"" of type '" "wxGridCellAttr const *""'");
11320 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_Py_Void();
11334 SWIGINTERN PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
= 0;
11336 wxGrid
*arg1
= (wxGrid
*) 0 ;
11338 wxString
*arg3
= 0 ;
11340 int arg5
= (int) wxLEFT
;
11341 int arg6
= (int) wxTOP
;
11342 int arg7
= (int) wxHORIZONTAL
;
11347 bool temp3
= false ;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 PyObject
* obj2
= 0 ;
11358 PyObject
* obj3
= 0 ;
11359 PyObject
* obj4
= 0 ;
11360 PyObject
* obj5
= 0 ;
11361 PyObject
* obj6
= 0 ;
11362 char * kwnames
[] = {
11363 (char *) "self",(char *) "dc",(char *)"arg3",(char *)"arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
11366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11368 if (!SWIG_IsOK(res1
)) {
11369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "1"" of type '" "wxGrid *""'");
11371 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11373 if (!SWIG_IsOK(res2
)) {
11374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_DrawTextRectangle" "', expected argument " "2"" of type '" "wxDC &""'");
11379 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11381 arg3
= wxString_in_helper(obj2
);
11382 if (arg3
== NULL
) SWIG_fail
;
11387 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11390 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11391 if (!SWIG_IsOK(ecode5
)) {
11392 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "5"" of type '" "int""'");
11394 arg5
= static_cast< int >(val5
);
11397 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11398 if (!SWIG_IsOK(ecode6
)) {
11399 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "6"" of type '" "int""'");
11401 arg6
= static_cast< int >(val6
);
11404 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11405 if (!SWIG_IsOK(ecode7
)) {
11406 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Grid_DrawTextRectangle" "', expected argument " "7"" of type '" "int""'");
11408 arg7
= static_cast< int >(val7
);
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= SWIG_Py_Void();
11431 SWIGINTERN PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
= 0;
11433 wxGrid
*arg1
= (wxGrid
*) 0 ;
11435 wxArrayString
*arg3
= 0 ;
11436 long *arg4
= (long *) 0 ;
11437 long *arg5
= (long *) 0 ;
11442 bool temp3
= false ;
11444 int res4
= SWIG_TMPOBJ
;
11446 int res5
= SWIG_TMPOBJ
;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 PyObject
* obj2
= 0 ;
11450 char * kwnames
[] = {
11451 (char *) "self",(char *) "dc",(char *) "lines", NULL
11456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11458 if (!SWIG_IsOK(res1
)) {
11459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "1"" of type '" "wxGrid *""'");
11461 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
11463 if (!SWIG_IsOK(res2
)) {
11464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_GetTextBoxSize" "', expected argument " "2"" of type '" "wxDC &""'");
11469 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11471 if (! PySequence_Check(obj2
)) {
11472 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11475 arg3
= new wxArrayString
;
11477 int i
, len
=PySequence_Length(obj2
);
11478 for (i
=0; i
<len
; i
++) {
11479 PyObject
* item
= PySequence_GetItem(obj2
, i
);
11480 wxString
* s
= wxString_in_helper(item
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= SWIG_Py_Void();
11494 if (SWIG_IsTmpObj(res4
)) {
11495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
11497 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
11500 if (SWIG_IsTmpObj(res5
)) {
11501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg5
)));
11503 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, new_flags
));
11507 if (temp3
) delete arg3
;
11512 if (temp3
) delete arg3
;
11518 SWIGINTERN PyObject
*_wrap_Grid_BeginBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11519 PyObject
*resultobj
= 0;
11520 wxGrid
*arg1
= (wxGrid
*) 0 ;
11523 PyObject
*swig_obj
[1] ;
11525 if (!args
) SWIG_fail
;
11526 swig_obj
[0] = args
;
11527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11528 if (!SWIG_IsOK(res1
)) {
11529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BeginBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11531 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 (arg1
)->BeginBatch();
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= SWIG_Py_Void();
11545 SWIGINTERN PyObject
*_wrap_Grid_EndBatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11546 PyObject
*resultobj
= 0;
11547 wxGrid
*arg1
= (wxGrid
*) 0 ;
11550 PyObject
*swig_obj
[1] ;
11552 if (!args
) SWIG_fail
;
11553 swig_obj
[0] = args
;
11554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11555 if (!SWIG_IsOK(res1
)) {
11556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EndBatch" "', expected argument " "1"" of type '" "wxGrid *""'");
11558 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 (arg1
)->EndBatch();
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= SWIG_Py_Void();
11572 SWIGINTERN PyObject
*_wrap_Grid_GetBatchCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11573 PyObject
*resultobj
= 0;
11574 wxGrid
*arg1
= (wxGrid
*) 0 ;
11578 PyObject
*swig_obj
[1] ;
11580 if (!args
) SWIG_fail
;
11581 swig_obj
[0] = args
;
11582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11583 if (!SWIG_IsOK(res1
)) {
11584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetBatchCount" "', expected argument " "1"" of type '" "wxGrid *""'");
11586 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= (int)(arg1
)->GetBatchCount();
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= SWIG_From_int(static_cast< int >(result
));
11600 SWIGINTERN PyObject
*_wrap_Grid_ForceRefresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11601 PyObject
*resultobj
= 0;
11602 wxGrid
*arg1
= (wxGrid
*) 0 ;
11605 PyObject
*swig_obj
[1] ;
11607 if (!args
) SWIG_fail
;
11608 swig_obj
[0] = args
;
11609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11610 if (!SWIG_IsOK(res1
)) {
11611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ForceRefresh" "', expected argument " "1"" of type '" "wxGrid *""'");
11613 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 (arg1
)->ForceRefresh();
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= SWIG_Py_Void();
11627 SWIGINTERN PyObject
*_wrap_Grid_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11628 PyObject
*resultobj
= 0;
11629 wxGrid
*arg1
= (wxGrid
*) 0 ;
11633 PyObject
*swig_obj
[1] ;
11635 if (!args
) SWIG_fail
;
11636 swig_obj
[0] = args
;
11637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11638 if (!SWIG_IsOK(res1
)) {
11639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsEditable" "', expected argument " "1"" of type '" "wxGrid *""'");
11641 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (bool)(arg1
)->IsEditable();
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11657 SWIGINTERN PyObject
*_wrap_Grid_EnableEditing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
= 0;
11659 wxGrid
*arg1
= (wxGrid
*) 0 ;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 char * kwnames
[] = {
11668 (char *) "self",(char *) "edit", NULL
11671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11673 if (!SWIG_IsOK(res1
)) {
11674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableEditing" "', expected argument " "1"" of type '" "wxGrid *""'");
11676 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11677 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11678 if (!SWIG_IsOK(ecode2
)) {
11679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableEditing" "', expected argument " "2"" of type '" "bool""'");
11681 arg2
= static_cast< bool >(val2
);
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 (arg1
)->EnableEditing(arg2
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= SWIG_Py_Void();
11695 SWIGINTERN PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
= 0;
11697 wxGrid
*arg1
= (wxGrid
*) 0 ;
11698 bool arg2
= (bool) true ;
11703 PyObject
* obj0
= 0 ;
11704 PyObject
* obj1
= 0 ;
11705 char * kwnames
[] = {
11706 (char *) "self",(char *) "enable", NULL
11709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11711 if (!SWIG_IsOK(res1
)) {
11712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11714 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11716 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11717 if (!SWIG_IsOK(ecode2
)) {
11718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableCellEditControl" "', expected argument " "2"" of type '" "bool""'");
11720 arg2
= static_cast< bool >(val2
);
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 (arg1
)->EnableCellEditControl(arg2
);
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_Py_Void();
11735 SWIGINTERN PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11736 PyObject
*resultobj
= 0;
11737 wxGrid
*arg1
= (wxGrid
*) 0 ;
11740 PyObject
*swig_obj
[1] ;
11742 if (!args
) SWIG_fail
;
11743 swig_obj
[0] = args
;
11744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11745 if (!SWIG_IsOK(res1
)) {
11746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11748 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 (arg1
)->DisableCellEditControl();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_Py_Void();
11762 SWIGINTERN PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11763 PyObject
*resultobj
= 0;
11764 wxGrid
*arg1
= (wxGrid
*) 0 ;
11768 PyObject
*swig_obj
[1] ;
11770 if (!args
) SWIG_fail
;
11771 swig_obj
[0] = args
;
11772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11773 if (!SWIG_IsOK(res1
)) {
11774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanEnableCellControl" "', expected argument " "1"" of type '" "wxGrid const *""'");
11776 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11792 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11793 PyObject
*resultobj
= 0;
11794 wxGrid
*arg1
= (wxGrid
*) 0 ;
11798 PyObject
*swig_obj
[1] ;
11800 if (!args
) SWIG_fail
;
11801 swig_obj
[0] = args
;
11802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11803 if (!SWIG_IsOK(res1
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlEnabled" "', expected argument " "1"" of type '" "wxGrid const *""'");
11806 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11822 SWIGINTERN PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11823 PyObject
*resultobj
= 0;
11824 wxGrid
*arg1
= (wxGrid
*) 0 ;
11828 PyObject
*swig_obj
[1] ;
11830 if (!args
) SWIG_fail
;
11831 swig_obj
[0] = args
;
11832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11833 if (!SWIG_IsOK(res1
)) {
11834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCellEditControlShown" "', expected argument " "1"" of type '" "wxGrid const *""'");
11836 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11852 SWIGINTERN PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11853 PyObject
*resultobj
= 0;
11854 wxGrid
*arg1
= (wxGrid
*) 0 ;
11858 PyObject
*swig_obj
[1] ;
11860 if (!args
) SWIG_fail
;
11861 swig_obj
[0] = args
;
11862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11863 if (!SWIG_IsOK(res1
)) {
11864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsCurrentCellReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
11866 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11882 SWIGINTERN PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11883 PyObject
*resultobj
= 0;
11884 wxGrid
*arg1
= (wxGrid
*) 0 ;
11887 PyObject
*swig_obj
[1] ;
11889 if (!args
) SWIG_fail
;
11890 swig_obj
[0] = args
;
11891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11892 if (!SWIG_IsOK(res1
)) {
11893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ShowCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11895 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 (arg1
)->ShowCellEditControl();
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= SWIG_Py_Void();
11909 SWIGINTERN PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11910 PyObject
*resultobj
= 0;
11911 wxGrid
*arg1
= (wxGrid
*) 0 ;
11914 PyObject
*swig_obj
[1] ;
11916 if (!args
) SWIG_fail
;
11917 swig_obj
[0] = args
;
11918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11919 if (!SWIG_IsOK(res1
)) {
11920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_HideCellEditControl" "', expected argument " "1"" of type '" "wxGrid *""'");
11922 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 (arg1
)->HideCellEditControl();
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= SWIG_Py_Void();
11936 SWIGINTERN PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11937 PyObject
*resultobj
= 0;
11938 wxGrid
*arg1
= (wxGrid
*) 0 ;
11941 PyObject
*swig_obj
[1] ;
11943 if (!args
) SWIG_fail
;
11944 swig_obj
[0] = args
;
11945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SaveEditControlValue" "', expected argument " "1"" of type '" "wxGrid *""'");
11949 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 (arg1
)->SaveEditControlValue();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_Py_Void();
11963 SWIGINTERN PyObject
*_wrap_Grid_XYToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
= 0;
11965 wxGrid
*arg1
= (wxGrid
*) 0 ;
11968 wxGridCellCoords result
;
11975 PyObject
* obj0
= 0 ;
11976 PyObject
* obj1
= 0 ;
11977 PyObject
* obj2
= 0 ;
11978 char * kwnames
[] = {
11979 (char *) "self",(char *) "x",(char *) "y", NULL
11982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
11984 if (!SWIG_IsOK(res1
)) {
11985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XYToCell" "', expected argument " "1"" of type '" "wxGrid *""'");
11987 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
11988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11989 if (!SWIG_IsOK(ecode2
)) {
11990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XYToCell" "', expected argument " "2"" of type '" "int""'");
11992 arg2
= static_cast< int >(val2
);
11993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11994 if (!SWIG_IsOK(ecode3
)) {
11995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XYToCell" "', expected argument " "3"" of type '" "int""'");
11997 arg3
= static_cast< int >(val3
);
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
12011 SWIGINTERN PyObject
*_wrap_Grid_YToRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
= 0;
12013 wxGrid
*arg1
= (wxGrid
*) 0 ;
12020 PyObject
* obj0
= 0 ;
12021 PyObject
* obj1
= 0 ;
12022 char * kwnames
[] = {
12023 (char *) "self",(char *) "y", NULL
12026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12028 if (!SWIG_IsOK(res1
)) {
12029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12031 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12033 if (!SWIG_IsOK(ecode2
)) {
12034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToRow" "', expected argument " "2"" of type '" "int""'");
12036 arg2
= static_cast< int >(val2
);
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (int)(arg1
)->YToRow(arg2
);
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= SWIG_From_int(static_cast< int >(result
));
12050 SWIGINTERN PyObject
*_wrap_Grid_XToCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
= 0;
12052 wxGrid
*arg1
= (wxGrid
*) 0 ;
12054 bool arg3
= (bool) false ;
12062 PyObject
* obj0
= 0 ;
12063 PyObject
* obj1
= 0 ;
12064 PyObject
* obj2
= 0 ;
12065 char * kwnames
[] = {
12066 (char *) "self",(char *) "x",(char *) "clipToMinMax", NULL
12069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_XToCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12074 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12076 if (!SWIG_IsOK(ecode2
)) {
12077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToCol" "', expected argument " "2"" of type '" "int""'");
12079 arg2
= static_cast< int >(val2
);
12081 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12082 if (!SWIG_IsOK(ecode3
)) {
12083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_XToCol" "', expected argument " "3"" of type '" "bool""'");
12085 arg3
= static_cast< bool >(val3
);
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (int)(arg1
)->XToCol(arg2
,arg3
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= SWIG_From_int(static_cast< int >(result
));
12100 SWIGINTERN PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
= 0;
12102 wxGrid
*arg1
= (wxGrid
*) 0 ;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 char * kwnames
[] = {
12112 (char *) "self",(char *) "y", NULL
12115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12120 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12122 if (!SWIG_IsOK(ecode2
)) {
12123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_YToEdgeOfRow" "', expected argument " "2"" of type '" "int""'");
12125 arg2
= static_cast< int >(val2
);
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= SWIG_From_int(static_cast< int >(result
));
12139 SWIGINTERN PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
= 0;
12141 wxGrid
*arg1
= (wxGrid
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char * kwnames
[] = {
12151 (char *) "self",(char *) "x", NULL
12154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12156 if (!SWIG_IsOK(res1
)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12159 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12161 if (!SWIG_IsOK(ecode2
)) {
12162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_XToEdgeOfCol" "', expected argument " "2"" of type '" "int""'");
12164 arg2
= static_cast< int >(val2
);
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= SWIG_From_int(static_cast< int >(result
));
12178 SWIGINTERN PyObject
*_wrap_Grid_CellToRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
= 0;
12180 wxGrid
*arg1
= (wxGrid
*) 0 ;
12190 PyObject
* obj0
= 0 ;
12191 PyObject
* obj1
= 0 ;
12192 PyObject
* obj2
= 0 ;
12193 char * kwnames
[] = {
12194 (char *) "self",(char *) "row",(char *) "col", NULL
12197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12199 if (!SWIG_IsOK(res1
)) {
12200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CellToRect" "', expected argument " "1"" of type '" "wxGrid *""'");
12202 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12204 if (!SWIG_IsOK(ecode2
)) {
12205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_CellToRect" "', expected argument " "2"" of type '" "int""'");
12207 arg2
= static_cast< int >(val2
);
12208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12209 if (!SWIG_IsOK(ecode3
)) {
12210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_CellToRect" "', expected argument " "3"" of type '" "int""'");
12212 arg3
= static_cast< int >(val3
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (arg1
)->CellToRect(arg2
,arg3
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12226 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12227 PyObject
*resultobj
= 0;
12228 wxGrid
*arg1
= (wxGrid
*) 0 ;
12232 PyObject
*swig_obj
[1] ;
12234 if (!args
) SWIG_fail
;
12235 swig_obj
[0] = args
;
12236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12237 if (!SWIG_IsOK(res1
)) {
12238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorRow" "', expected argument " "1"" of type '" "wxGrid *""'");
12240 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 result
= (int)(arg1
)->GetGridCursorRow();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= SWIG_From_int(static_cast< int >(result
));
12254 SWIGINTERN PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12255 PyObject
*resultobj
= 0;
12256 wxGrid
*arg1
= (wxGrid
*) 0 ;
12260 PyObject
*swig_obj
[1] ;
12262 if (!args
) SWIG_fail
;
12263 swig_obj
[0] = args
;
12264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12265 if (!SWIG_IsOK(res1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCursorCol" "', expected argument " "1"" of type '" "wxGrid *""'");
12268 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (int)(arg1
)->GetGridCursorCol();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_From_int(static_cast< int >(result
));
12282 SWIGINTERN PyObject
*_wrap_Grid_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
= 0;
12284 wxGrid
*arg1
= (wxGrid
*) 0 ;
12287 bool arg4
= (bool) true ;
12297 PyObject
* obj0
= 0 ;
12298 PyObject
* obj1
= 0 ;
12299 PyObject
* obj2
= 0 ;
12300 PyObject
* obj3
= 0 ;
12301 char * kwnames
[] = {
12302 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
12305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12307 if (!SWIG_IsOK(res1
)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12310 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12312 if (!SWIG_IsOK(ecode2
)) {
12313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsVisible" "', expected argument " "2"" of type '" "int""'");
12315 arg2
= static_cast< int >(val2
);
12316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12317 if (!SWIG_IsOK(ecode3
)) {
12318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsVisible" "', expected argument " "3"" of type '" "int""'");
12320 arg3
= static_cast< int >(val3
);
12322 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12323 if (!SWIG_IsOK(ecode4
)) {
12324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_IsVisible" "', expected argument " "4"" of type '" "bool""'");
12326 arg4
= static_cast< bool >(val4
);
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12343 SWIGINTERN PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
= 0;
12345 wxGrid
*arg1
= (wxGrid
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 PyObject
* obj1
= 0 ;
12356 PyObject
* obj2
= 0 ;
12357 char * kwnames
[] = {
12358 (char *) "self",(char *) "row",(char *) "col", NULL
12361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12363 if (!SWIG_IsOK(res1
)) {
12364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MakeCellVisible" "', expected argument " "1"" of type '" "wxGrid *""'");
12366 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12368 if (!SWIG_IsOK(ecode2
)) {
12369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MakeCellVisible" "', expected argument " "2"" of type '" "int""'");
12371 arg2
= static_cast< int >(val2
);
12372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12373 if (!SWIG_IsOK(ecode3
)) {
12374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_MakeCellVisible" "', expected argument " "3"" of type '" "int""'");
12376 arg3
= static_cast< int >(val3
);
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 (arg1
)->MakeCellVisible(arg2
,arg3
);
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_Py_Void();
12390 SWIGINTERN PyObject
*_wrap_Grid_SetGridCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
= 0;
12392 wxGrid
*arg1
= (wxGrid
*) 0 ;
12401 PyObject
* obj0
= 0 ;
12402 PyObject
* obj1
= 0 ;
12403 PyObject
* obj2
= 0 ;
12404 char * kwnames
[] = {
12405 (char *) "self",(char *) "row",(char *) "col", NULL
12408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12410 if (!SWIG_IsOK(res1
)) {
12411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridCursor" "', expected argument " "1"" of type '" "wxGrid *""'");
12413 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12415 if (!SWIG_IsOK(ecode2
)) {
12416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetGridCursor" "', expected argument " "2"" of type '" "int""'");
12418 arg2
= static_cast< int >(val2
);
12419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12420 if (!SWIG_IsOK(ecode3
)) {
12421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetGridCursor" "', expected argument " "3"" of type '" "int""'");
12423 arg3
= static_cast< int >(val3
);
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->SetGridCursor(arg2
,arg3
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_Py_Void();
12437 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
= 0;
12439 wxGrid
*arg1
= (wxGrid
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 PyObject
* obj1
= 0 ;
12448 char * kwnames
[] = {
12449 (char *) "self",(char *) "expandSelection", NULL
12452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12454 if (!SWIG_IsOK(res1
)) {
12455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12457 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12458 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12459 if (!SWIG_IsOK(ecode2
)) {
12460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUp" "', expected argument " "2"" of type '" "bool""'");
12462 arg2
= static_cast< bool >(val2
);
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12478 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
= 0;
12480 wxGrid
*arg1
= (wxGrid
*) 0 ;
12487 PyObject
* obj0
= 0 ;
12488 PyObject
* obj1
= 0 ;
12489 char * kwnames
[] = {
12490 (char *) "self",(char *) "expandSelection", NULL
12493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12495 if (!SWIG_IsOK(res1
)) {
12496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12498 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12499 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12500 if (!SWIG_IsOK(ecode2
)) {
12501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDown" "', expected argument " "2"" of type '" "bool""'");
12503 arg2
= static_cast< bool >(val2
);
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12519 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
= 0;
12521 wxGrid
*arg1
= (wxGrid
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 char * kwnames
[] = {
12531 (char *) "self",(char *) "expandSelection", NULL
12534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12536 if (!SWIG_IsOK(res1
)) {
12537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "1"" of type '" "wxGrid *""'");
12539 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12540 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12541 if (!SWIG_IsOK(ecode2
)) {
12542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeft" "', expected argument " "2"" of type '" "bool""'");
12544 arg2
= static_cast< bool >(val2
);
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12560 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
= 0;
12562 wxGrid
*arg1
= (wxGrid
*) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 PyObject
* obj1
= 0 ;
12571 char * kwnames
[] = {
12572 (char *) "self",(char *) "expandSelection", NULL
12575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12577 if (!SWIG_IsOK(res1
)) {
12578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRight" "', expected argument " "1"" of type '" "wxGrid *""'");
12580 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12581 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12582 if (!SWIG_IsOK(ecode2
)) {
12583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRight" "', expected argument " "2"" of type '" "bool""'");
12585 arg2
= static_cast< bool >(val2
);
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12601 SWIGINTERN PyObject
*_wrap_Grid_MovePageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12602 PyObject
*resultobj
= 0;
12603 wxGrid
*arg1
= (wxGrid
*) 0 ;
12607 PyObject
*swig_obj
[1] ;
12609 if (!args
) SWIG_fail
;
12610 swig_obj
[0] = args
;
12611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12612 if (!SWIG_IsOK(res1
)) {
12613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageDown" "', expected argument " "1"" of type '" "wxGrid *""'");
12615 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (bool)(arg1
)->MovePageDown();
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12631 SWIGINTERN PyObject
*_wrap_Grid_MovePageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12632 PyObject
*resultobj
= 0;
12633 wxGrid
*arg1
= (wxGrid
*) 0 ;
12637 PyObject
*swig_obj
[1] ;
12639 if (!args
) SWIG_fail
;
12640 swig_obj
[0] = args
;
12641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12642 if (!SWIG_IsOK(res1
)) {
12643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MovePageUp" "', expected argument " "1"" of type '" "wxGrid *""'");
12645 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (bool)(arg1
)->MovePageUp();
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12661 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
= 0;
12663 wxGrid
*arg1
= (wxGrid
*) 0 ;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 char * kwnames
[] = {
12673 (char *) "self",(char *) "expandSelection", NULL
12676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12681 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12683 if (!SWIG_IsOK(ecode2
)) {
12684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorUpBlock" "', expected argument " "2"" of type '" "bool""'");
12686 arg2
= static_cast< bool >(val2
);
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12702 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
= 0;
12704 wxGrid
*arg1
= (wxGrid
*) 0 ;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 char * kwnames
[] = {
12714 (char *) "self",(char *) "expandSelection", NULL
12717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12719 if (!SWIG_IsOK(res1
)) {
12720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12722 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12723 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12724 if (!SWIG_IsOK(ecode2
)) {
12725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorDownBlock" "', expected argument " "2"" of type '" "bool""'");
12727 arg2
= static_cast< bool >(val2
);
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12743 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
= 0;
12745 wxGrid
*arg1
= (wxGrid
*) 0 ;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 char * kwnames
[] = {
12755 (char *) "self",(char *) "expandSelection", NULL
12758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12760 if (!SWIG_IsOK(res1
)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12763 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12764 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12765 if (!SWIG_IsOK(ecode2
)) {
12766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorLeftBlock" "', expected argument " "2"" of type '" "bool""'");
12768 arg2
= static_cast< bool >(val2
);
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12784 SWIGINTERN PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
= 0;
12786 wxGrid
*arg1
= (wxGrid
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 PyObject
* obj1
= 0 ;
12795 char * kwnames
[] = {
12796 (char *) "self",(char *) "expandSelection", NULL
12799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12801 if (!SWIG_IsOK(res1
)) {
12802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
12804 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12805 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12806 if (!SWIG_IsOK(ecode2
)) {
12807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_MoveCursorRightBlock" "', expected argument " "2"" of type '" "bool""'");
12809 arg2
= static_cast< bool >(val2
);
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12825 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12826 PyObject
*resultobj
= 0;
12827 wxGrid
*arg1
= (wxGrid
*) 0 ;
12831 PyObject
*swig_obj
[1] ;
12833 if (!args
) SWIG_fail
;
12834 swig_obj
[0] = args
;
12835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12836 if (!SWIG_IsOK(res1
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12839 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (int)(arg1
)->GetDefaultRowLabelSize();
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= SWIG_From_int(static_cast< int >(result
));
12853 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12854 PyObject
*resultobj
= 0;
12855 wxGrid
*arg1
= (wxGrid
*) 0 ;
12859 PyObject
*swig_obj
[1] ;
12861 if (!args
) SWIG_fail
;
12862 swig_obj
[0] = args
;
12863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12864 if (!SWIG_IsOK(res1
)) {
12865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12867 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (int)(arg1
)->GetRowLabelSize();
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= SWIG_From_int(static_cast< int >(result
));
12881 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12882 PyObject
*resultobj
= 0;
12883 wxGrid
*arg1
= (wxGrid
*) 0 ;
12887 PyObject
*swig_obj
[1] ;
12889 if (!args
) SWIG_fail
;
12890 swig_obj
[0] = args
;
12891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12892 if (!SWIG_IsOK(res1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12895 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (int)(arg1
)->GetDefaultColLabelSize();
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= SWIG_From_int(static_cast< int >(result
));
12909 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12910 PyObject
*resultobj
= 0;
12911 wxGrid
*arg1
= (wxGrid
*) 0 ;
12915 PyObject
*swig_obj
[1] ;
12917 if (!args
) SWIG_fail
;
12918 swig_obj
[0] = args
;
12919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12920 if (!SWIG_IsOK(res1
)) {
12921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
12923 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (int)(arg1
)->GetColLabelSize();
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_From_int(static_cast< int >(result
));
12937 SWIGINTERN PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12938 PyObject
*resultobj
= 0;
12939 wxGrid
*arg1
= (wxGrid
*) 0 ;
12943 PyObject
*swig_obj
[1] ;
12945 if (!args
) SWIG_fail
;
12946 swig_obj
[0] = args
;
12947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12948 if (!SWIG_IsOK(res1
)) {
12949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
12951 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (arg1
)->GetLabelBackgroundColour();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
12965 SWIGINTERN PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12966 PyObject
*resultobj
= 0;
12967 wxGrid
*arg1
= (wxGrid
*) 0 ;
12971 PyObject
*swig_obj
[1] ;
12973 if (!args
) SWIG_fail
;
12974 swig_obj
[0] = args
;
12975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
12976 if (!SWIG_IsOK(res1
)) {
12977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
12979 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 result
= (arg1
)->GetLabelTextColour();
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
12993 SWIGINTERN PyObject
*_wrap_Grid_GetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12994 PyObject
*resultobj
= 0;
12995 wxGrid
*arg1
= (wxGrid
*) 0 ;
12999 PyObject
*swig_obj
[1] ;
13001 if (!args
) SWIG_fail
;
13002 swig_obj
[0] = args
;
13003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
13007 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (arg1
)->GetLabelFont();
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13021 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13022 PyObject
*resultobj
= 0;
13023 wxGrid
*arg1
= (wxGrid
*) 0 ;
13024 int *arg2
= (int *) 0 ;
13025 int *arg3
= (int *) 0 ;
13029 int res2
= SWIG_TMPOBJ
;
13031 int res3
= SWIG_TMPOBJ
;
13032 PyObject
*swig_obj
[1] ;
13036 if (!args
) SWIG_fail
;
13037 swig_obj
[0] = args
;
13038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13039 if (!SWIG_IsOK(res1
)) {
13040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13042 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= SWIG_Py_Void();
13050 if (SWIG_IsTmpObj(res2
)) {
13051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
13053 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
13056 if (SWIG_IsTmpObj(res3
)) {
13057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
13059 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
13068 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13069 PyObject
*resultobj
= 0;
13070 wxGrid
*arg1
= (wxGrid
*) 0 ;
13071 int *arg2
= (int *) 0 ;
13072 int *arg3
= (int *) 0 ;
13076 int res2
= SWIG_TMPOBJ
;
13078 int res3
= SWIG_TMPOBJ
;
13079 PyObject
*swig_obj
[1] ;
13083 if (!args
) SWIG_fail
;
13084 swig_obj
[0] = args
;
13085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13086 if (!SWIG_IsOK(res1
)) {
13087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13089 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= SWIG_Py_Void();
13097 if (SWIG_IsTmpObj(res2
)) {
13098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
13100 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
13103 if (SWIG_IsTmpObj(res3
)) {
13104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
13106 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
13115 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13116 PyObject
*resultobj
= 0;
13117 wxGrid
*arg1
= (wxGrid
*) 0 ;
13121 PyObject
*swig_obj
[1] ;
13123 if (!args
) SWIG_fail
;
13124 swig_obj
[0] = args
;
13125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13126 if (!SWIG_IsOK(res1
)) {
13127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
13129 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (int)(arg1
)->GetColLabelTextOrientation();
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= SWIG_From_int(static_cast< int >(result
));
13143 SWIGINTERN PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
= 0;
13145 wxGrid
*arg1
= (wxGrid
*) 0 ;
13152 PyObject
* obj0
= 0 ;
13153 PyObject
* obj1
= 0 ;
13154 char * kwnames
[] = {
13155 (char *) "self",(char *) "row", NULL
13158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13163 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13165 if (!SWIG_IsOK(ecode2
)) {
13166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13168 arg2
= static_cast< int >(val2
);
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (arg1
)->GetRowLabelValue(arg2
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13188 SWIGINTERN PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
= 0;
13190 wxGrid
*arg1
= (wxGrid
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char * kwnames
[] = {
13200 (char *) "self",(char *) "col", NULL
13203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13205 if (!SWIG_IsOK(res1
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13208 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13210 if (!SWIG_IsOK(ecode2
)) {
13211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13213 arg2
= static_cast< int >(val2
);
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 result
= (arg1
)->GetColLabelValue(arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13233 SWIGINTERN PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13234 PyObject
*resultobj
= 0;
13235 wxGrid
*arg1
= (wxGrid
*) 0 ;
13239 PyObject
*swig_obj
[1] ;
13241 if (!args
) SWIG_fail
;
13242 swig_obj
[0] = args
;
13243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13244 if (!SWIG_IsOK(res1
)) {
13245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13247 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 result
= (arg1
)->GetGridLineColour();
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13261 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultGridLinePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13262 PyObject
*resultobj
= 0;
13263 wxGrid
*arg1
= (wxGrid
*) 0 ;
13267 PyObject
*swig_obj
[1] ;
13269 if (!args
) SWIG_fail
;
13270 swig_obj
[0] = args
;
13271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13272 if (!SWIG_IsOK(res1
)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");
13275 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (arg1
)->GetDefaultGridLinePen();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN
| 0 );
13289 SWIGINTERN PyObject
*_wrap_Grid_GetRowGridLinePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
= 0;
13291 wxGrid
*arg1
= (wxGrid
*) 0 ;
13298 PyObject
* obj0
= 0 ;
13299 PyObject
* obj1
= 0 ;
13300 char * kwnames
[] = {
13301 (char *) "self",(char *) "row", NULL
13304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowGridLinePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13306 if (!SWIG_IsOK(res1
)) {
13307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");
13309 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13311 if (!SWIG_IsOK(ecode2
)) {
13312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowGridLinePen" "', expected argument " "2"" of type '" "int""'");
13314 arg2
= static_cast< int >(val2
);
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (arg1
)->GetRowGridLinePen(arg2
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN
| 0 );
13328 SWIGINTERN PyObject
*_wrap_Grid_GetColGridLinePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
= 0;
13330 wxGrid
*arg1
= (wxGrid
*) 0 ;
13337 PyObject
* obj0
= 0 ;
13338 PyObject
* obj1
= 0 ;
13339 char * kwnames
[] = {
13340 (char *) "self",(char *) "col", NULL
13343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColGridLinePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13345 if (!SWIG_IsOK(res1
)) {
13346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColGridLinePen" "', expected argument " "1"" of type '" "wxGrid *""'");
13348 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13350 if (!SWIG_IsOK(ecode2
)) {
13351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColGridLinePen" "', expected argument " "2"" of type '" "int""'");
13353 arg2
= static_cast< int >(val2
);
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (arg1
)->GetColGridLinePen(arg2
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_NewPointerObj((new wxPen(static_cast< const wxPen
& >(result
))), SWIGTYPE_p_wxPen
, SWIG_POINTER_OWN
| 0 );
13367 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13368 PyObject
*resultobj
= 0;
13369 wxGrid
*arg1
= (wxGrid
*) 0 ;
13373 PyObject
*swig_obj
[1] ;
13375 if (!args
) SWIG_fail
;
13376 swig_obj
[0] = args
;
13377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13378 if (!SWIG_IsOK(res1
)) {
13379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13381 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (arg1
)->GetCellHighlightColour();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
13395 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13396 PyObject
*resultobj
= 0;
13397 wxGrid
*arg1
= (wxGrid
*) 0 ;
13401 PyObject
*swig_obj
[1] ;
13403 if (!args
) SWIG_fail
;
13404 swig_obj
[0] = args
;
13405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13406 if (!SWIG_IsOK(res1
)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13409 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (int)(arg1
)->GetCellHighlightPenWidth();
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 resultobj
= SWIG_From_int(static_cast< int >(result
));
13423 SWIGINTERN PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13424 PyObject
*resultobj
= 0;
13425 wxGrid
*arg1
= (wxGrid
*) 0 ;
13429 PyObject
*swig_obj
[1] ;
13431 if (!args
) SWIG_fail
;
13432 swig_obj
[0] = args
;
13433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13434 if (!SWIG_IsOK(res1
)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13437 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_From_int(static_cast< int >(result
));
13451 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
= 0;
13453 wxGrid
*arg1
= (wxGrid
*) 0 ;
13459 PyObject
* obj0
= 0 ;
13460 PyObject
* obj1
= 0 ;
13461 char * kwnames
[] = {
13462 (char *) "self",(char *) "width", NULL
13465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13467 if (!SWIG_IsOK(res1
)) {
13468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13470 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13472 if (!SWIG_IsOK(ecode2
)) {
13473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelSize" "', expected argument " "2"" of type '" "int""'");
13475 arg2
= static_cast< int >(val2
);
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 (arg1
)->SetRowLabelSize(arg2
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= SWIG_Py_Void();
13489 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
= 0;
13491 wxGrid
*arg1
= (wxGrid
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 PyObject
* obj1
= 0 ;
13499 char * kwnames
[] = {
13500 (char *) "self",(char *) "height", NULL
13503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13505 if (!SWIG_IsOK(res1
)) {
13506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
13508 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13510 if (!SWIG_IsOK(ecode2
)) {
13511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelSize" "', expected argument " "2"" of type '" "int""'");
13513 arg2
= static_cast< int >(val2
);
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 (arg1
)->SetColLabelSize(arg2
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= SWIG_Py_Void();
13527 SWIGINTERN PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
= 0;
13529 wxGrid
*arg1
= (wxGrid
*) 0 ;
13530 wxColour
*arg2
= 0 ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 char * kwnames
[] = {
13537 (char *) "self",(char *)"arg2", NULL
13540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13542 if (!SWIG_IsOK(res1
)) {
13543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13545 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= SWIG_Py_Void();
13563 SWIGINTERN PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
= 0;
13565 wxGrid
*arg1
= (wxGrid
*) 0 ;
13566 wxColour
*arg2
= 0 ;
13570 PyObject
* obj0
= 0 ;
13571 PyObject
* obj1
= 0 ;
13572 char * kwnames
[] = {
13573 (char *) "self",(char *)"arg2", NULL
13576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13578 if (!SWIG_IsOK(res1
)) {
13579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13581 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13584 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_Py_Void();
13599 SWIGINTERN PyObject
*_wrap_Grid_SetLabelFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
= 0;
13601 wxGrid
*arg1
= (wxGrid
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 PyObject
* obj1
= 0 ;
13609 char * kwnames
[] = {
13610 (char *) "self",(char *)"arg2", NULL
13613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13615 if (!SWIG_IsOK(res1
)) {
13616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetLabelFont" "', expected argument " "1"" of type '" "wxGrid *""'");
13618 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
13620 if (!SWIG_IsOK(res2
)) {
13621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetLabelFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13626 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_Py_Void();
13640 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
= 0;
13642 wxGrid
*arg1
= (wxGrid
*) 0 ;
13651 PyObject
* obj0
= 0 ;
13652 PyObject
* obj1
= 0 ;
13653 PyObject
* obj2
= 0 ;
13654 char * kwnames
[] = {
13655 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13660 if (!SWIG_IsOK(res1
)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13663 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13665 if (!SWIG_IsOK(ecode2
)) {
13666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13668 arg2
= static_cast< int >(val2
);
13669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13670 if (!SWIG_IsOK(ecode3
)) {
13671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13673 arg3
= static_cast< int >(val3
);
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= SWIG_Py_Void();
13687 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
= 0;
13689 wxGrid
*arg1
= (wxGrid
*) 0 ;
13698 PyObject
* obj0
= 0 ;
13699 PyObject
* obj1
= 0 ;
13700 PyObject
* obj2
= 0 ;
13701 char * kwnames
[] = {
13702 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13707 if (!SWIG_IsOK(res1
)) {
13708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
13710 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13712 if (!SWIG_IsOK(ecode2
)) {
13713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "2"" of type '" "int""'");
13715 arg2
= static_cast< int >(val2
);
13716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13717 if (!SWIG_IsOK(ecode3
)) {
13718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColLabelAlignment" "', expected argument " "3"" of type '" "int""'");
13720 arg3
= static_cast< int >(val3
);
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= SWIG_Py_Void();
13734 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
= 0;
13736 wxGrid
*arg1
= (wxGrid
*) 0 ;
13742 PyObject
* obj0
= 0 ;
13743 PyObject
* obj1
= 0 ;
13744 char * kwnames
[] = {
13745 (char *) "self",(char *) "textOrientation", NULL
13748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13750 if (!SWIG_IsOK(res1
)) {
13751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "1"" of type '" "wxGrid *""'");
13753 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13755 if (!SWIG_IsOK(ecode2
)) {
13756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelTextOrientation" "', expected argument " "2"" of type '" "int""'");
13758 arg2
= static_cast< int >(val2
);
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 (arg1
)->SetColLabelTextOrientation(arg2
);
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13765 resultobj
= SWIG_Py_Void();
13772 SWIGINTERN PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
= 0;
13774 wxGrid
*arg1
= (wxGrid
*) 0 ;
13776 wxString
*arg3
= 0 ;
13781 bool temp3
= false ;
13782 PyObject
* obj0
= 0 ;
13783 PyObject
* obj1
= 0 ;
13784 PyObject
* obj2
= 0 ;
13785 char * kwnames
[] = {
13786 (char *) "self",(char *) "row",(char *)"arg3", NULL
13789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13791 if (!SWIG_IsOK(res1
)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13794 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13796 if (!SWIG_IsOK(ecode2
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowLabelValue" "', expected argument " "2"" of type '" "int""'");
13799 arg2
= static_cast< int >(val2
);
13801 arg3
= wxString_in_helper(obj2
);
13802 if (arg3
== NULL
) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= SWIG_Py_Void();
13826 SWIGINTERN PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
= 0;
13828 wxGrid
*arg1
= (wxGrid
*) 0 ;
13830 wxString
*arg3
= 0 ;
13835 bool temp3
= false ;
13836 PyObject
* obj0
= 0 ;
13837 PyObject
* obj1
= 0 ;
13838 PyObject
* obj2
= 0 ;
13839 char * kwnames
[] = {
13840 (char *) "self",(char *) "col",(char *)"arg3", NULL
13843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13845 if (!SWIG_IsOK(res1
)) {
13846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColLabelValue" "', expected argument " "1"" of type '" "wxGrid *""'");
13848 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13850 if (!SWIG_IsOK(ecode2
)) {
13851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColLabelValue" "', expected argument " "2"" of type '" "int""'");
13853 arg2
= static_cast< int >(val2
);
13855 arg3
= wxString_in_helper(obj2
);
13856 if (arg3
== NULL
) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_Py_Void();
13880 SWIGINTERN PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
= 0;
13882 wxGrid
*arg1
= (wxGrid
*) 0 ;
13883 wxColour
*arg2
= 0 ;
13887 PyObject
* obj0
= 0 ;
13888 PyObject
* obj1
= 0 ;
13889 char * kwnames
[] = {
13890 (char *) "self",(char *)"arg2", NULL
13893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13895 if (!SWIG_IsOK(res1
)) {
13896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetGridLineColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13898 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13901 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= SWIG_Py_Void();
13916 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
= 0;
13918 wxGrid
*arg1
= (wxGrid
*) 0 ;
13919 wxColour
*arg2
= 0 ;
13923 PyObject
* obj0
= 0 ;
13924 PyObject
* obj1
= 0 ;
13925 char * kwnames
[] = {
13926 (char *) "self",(char *)"arg2", NULL
13929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13931 if (!SWIG_IsOK(res1
)) {
13932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightColour" "', expected argument " "1"" of type '" "wxGrid *""'");
13934 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13937 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_Py_Void();
13952 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
= 0;
13954 wxGrid
*arg1
= (wxGrid
*) 0 ;
13960 PyObject
* obj0
= 0 ;
13961 PyObject
* obj1
= 0 ;
13962 char * kwnames
[] = {
13963 (char *) "self",(char *) "width", NULL
13966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
13968 if (!SWIG_IsOK(res1
)) {
13969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
13971 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
13972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13973 if (!SWIG_IsOK(ecode2
)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightPenWidth" "', expected argument " "2"" of type '" "int""'");
13976 arg2
= static_cast< int >(val2
);
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 (arg1
)->SetCellHighlightPenWidth(arg2
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= SWIG_Py_Void();
13990 SWIGINTERN PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
= 0;
13992 wxGrid
*arg1
= (wxGrid
*) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 PyObject
* obj1
= 0 ;
14000 char * kwnames
[] = {
14001 (char *) "self",(char *) "width", NULL
14004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14006 if (!SWIG_IsOK(res1
)) {
14007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
14009 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14011 if (!SWIG_IsOK(ecode2
)) {
14012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellHighlightROPenWidth" "', expected argument " "2"" of type '" "int""'");
14014 arg2
= static_cast< int >(val2
);
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 (arg1
)->SetCellHighlightROPenWidth(arg2
);
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= SWIG_Py_Void();
14028 SWIGINTERN PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
= 0;
14030 wxGrid
*arg1
= (wxGrid
*) 0 ;
14031 bool arg2
= (bool) true ;
14036 PyObject
* obj0
= 0 ;
14037 PyObject
* obj1
= 0 ;
14038 char * kwnames
[] = {
14039 (char *) "self",(char *) "enable", NULL
14042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14044 if (!SWIG_IsOK(res1
)) {
14045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14047 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14049 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14050 if (!SWIG_IsOK(ecode2
)) {
14051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragRowSize" "', expected argument " "2"" of type '" "bool""'");
14053 arg2
= static_cast< bool >(val2
);
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 (arg1
)->EnableDragRowSize(arg2
);
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= SWIG_Py_Void();
14068 SWIGINTERN PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14069 PyObject
*resultobj
= 0;
14070 wxGrid
*arg1
= (wxGrid
*) 0 ;
14073 PyObject
*swig_obj
[1] ;
14075 if (!args
) SWIG_fail
;
14076 swig_obj
[0] = args
;
14077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14078 if (!SWIG_IsOK(res1
)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14081 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 (arg1
)->DisableDragRowSize();
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= SWIG_Py_Void();
14095 SWIGINTERN PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14096 PyObject
*resultobj
= 0;
14097 wxGrid
*arg1
= (wxGrid
*) 0 ;
14101 PyObject
*swig_obj
[1] ;
14103 if (!args
) SWIG_fail
;
14104 swig_obj
[0] = args
;
14105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14106 if (!SWIG_IsOK(res1
)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14109 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (bool)(arg1
)->CanDragRowSize();
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14125 SWIGINTERN PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
= 0;
14127 wxGrid
*arg1
= (wxGrid
*) 0 ;
14128 bool arg2
= (bool) true ;
14133 PyObject
* obj0
= 0 ;
14134 PyObject
* obj1
= 0 ;
14135 char * kwnames
[] = {
14136 (char *) "self",(char *) "enable", NULL
14139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14141 if (!SWIG_IsOK(res1
)) {
14142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14144 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14146 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14147 if (!SWIG_IsOK(ecode2
)) {
14148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColSize" "', expected argument " "2"" of type '" "bool""'");
14150 arg2
= static_cast< bool >(val2
);
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 (arg1
)->EnableDragColSize(arg2
);
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= SWIG_Py_Void();
14165 SWIGINTERN PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14166 PyObject
*resultobj
= 0;
14167 wxGrid
*arg1
= (wxGrid
*) 0 ;
14170 PyObject
*swig_obj
[1] ;
14172 if (!args
) SWIG_fail
;
14173 swig_obj
[0] = args
;
14174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14175 if (!SWIG_IsOK(res1
)) {
14176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14178 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 (arg1
)->DisableDragColSize();
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14185 resultobj
= SWIG_Py_Void();
14192 SWIGINTERN PyObject
*_wrap_Grid_CanDragColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14193 PyObject
*resultobj
= 0;
14194 wxGrid
*arg1
= (wxGrid
*) 0 ;
14198 PyObject
*swig_obj
[1] ;
14200 if (!args
) SWIG_fail
;
14201 swig_obj
[0] = args
;
14202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14203 if (!SWIG_IsOK(res1
)) {
14204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14206 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 result
= (bool)(arg1
)->CanDragColSize();
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14222 SWIGINTERN PyObject
*_wrap_Grid_EnableDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
= 0;
14224 wxGrid
*arg1
= (wxGrid
*) 0 ;
14225 bool arg2
= (bool) true ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 char * kwnames
[] = {
14233 (char *) "self",(char *) "enable", NULL
14236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColMove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14238 if (!SWIG_IsOK(res1
)) {
14239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14241 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14243 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14244 if (!SWIG_IsOK(ecode2
)) {
14245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragColMove" "', expected argument " "2"" of type '" "bool""'");
14247 arg2
= static_cast< bool >(val2
);
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 (arg1
)->EnableDragColMove(arg2
);
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_Py_Void();
14262 SWIGINTERN PyObject
*_wrap_Grid_DisableDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14263 PyObject
*resultobj
= 0;
14264 wxGrid
*arg1
= (wxGrid
*) 0 ;
14267 PyObject
*swig_obj
[1] ;
14269 if (!args
) SWIG_fail
;
14270 swig_obj
[0] = args
;
14271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14272 if (!SWIG_IsOK(res1
)) {
14273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14275 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 (arg1
)->DisableDragColMove();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= SWIG_Py_Void();
14289 SWIGINTERN PyObject
*_wrap_Grid_CanDragColMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14290 PyObject
*resultobj
= 0;
14291 wxGrid
*arg1
= (wxGrid
*) 0 ;
14295 PyObject
*swig_obj
[1] ;
14297 if (!args
) SWIG_fail
;
14298 swig_obj
[0] = args
;
14299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14300 if (!SWIG_IsOK(res1
)) {
14301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragColMove" "', expected argument " "1"" of type '" "wxGrid *""'");
14303 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (bool)(arg1
)->CanDragColMove();
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14319 SWIGINTERN PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
= 0;
14321 wxGrid
*arg1
= (wxGrid
*) 0 ;
14322 bool arg2
= (bool) true ;
14327 PyObject
* obj0
= 0 ;
14328 PyObject
* obj1
= 0 ;
14329 char * kwnames
[] = {
14330 (char *) "self",(char *) "enable", NULL
14333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14335 if (!SWIG_IsOK(res1
)) {
14336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14338 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14340 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14341 if (!SWIG_IsOK(ecode2
)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragGridSize" "', expected argument " "2"" of type '" "bool""'");
14344 arg2
= static_cast< bool >(val2
);
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 (arg1
)->EnableDragGridSize(arg2
);
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= SWIG_Py_Void();
14359 SWIGINTERN PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14360 PyObject
*resultobj
= 0;
14361 wxGrid
*arg1
= (wxGrid
*) 0 ;
14364 PyObject
*swig_obj
[1] ;
14366 if (!args
) SWIG_fail
;
14367 swig_obj
[0] = args
;
14368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14369 if (!SWIG_IsOK(res1
)) {
14370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14372 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 (arg1
)->DisableDragGridSize();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= SWIG_Py_Void();
14386 SWIGINTERN PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14387 PyObject
*resultobj
= 0;
14388 wxGrid
*arg1
= (wxGrid
*) 0 ;
14392 PyObject
*swig_obj
[1] ;
14394 if (!args
) SWIG_fail
;
14395 swig_obj
[0] = args
;
14396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14397 if (!SWIG_IsOK(res1
)) {
14398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragGridSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14400 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (bool)(arg1
)->CanDragGridSize();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14416 SWIGINTERN PyObject
*_wrap_Grid_EnableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
= 0;
14418 wxGrid
*arg1
= (wxGrid
*) 0 ;
14419 bool arg2
= (bool) true ;
14424 PyObject
* obj0
= 0 ;
14425 PyObject
* obj1
= 0 ;
14426 char * kwnames
[] = {
14427 (char *) "self",(char *) "enable", NULL
14430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14432 if (!SWIG_IsOK(res1
)) {
14433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14435 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14437 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14438 if (!SWIG_IsOK(ecode2
)) {
14439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableDragCell" "', expected argument " "2"" of type '" "bool""'");
14441 arg2
= static_cast< bool >(val2
);
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 (arg1
)->EnableDragCell(arg2
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= SWIG_Py_Void();
14456 SWIGINTERN PyObject
*_wrap_Grid_DisableDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14457 PyObject
*resultobj
= 0;
14458 wxGrid
*arg1
= (wxGrid
*) 0 ;
14461 PyObject
*swig_obj
[1] ;
14463 if (!args
) SWIG_fail
;
14464 swig_obj
[0] = args
;
14465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14466 if (!SWIG_IsOK(res1
)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DisableDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14469 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 (arg1
)->DisableDragCell();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_Py_Void();
14483 SWIGINTERN PyObject
*_wrap_Grid_CanDragCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14484 PyObject
*resultobj
= 0;
14485 wxGrid
*arg1
= (wxGrid
*) 0 ;
14489 PyObject
*swig_obj
[1] ;
14491 if (!args
) SWIG_fail
;
14492 swig_obj
[0] = args
;
14493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14494 if (!SWIG_IsOK(res1
)) {
14495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_CanDragCell" "', expected argument " "1"" of type '" "wxGrid *""'");
14497 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (bool)(arg1
)->CanDragCell();
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14513 SWIGINTERN PyObject
*_wrap_Grid_SetAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
= 0;
14515 wxGrid
*arg1
= (wxGrid
*) 0 ;
14518 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
14527 PyObject
* obj0
= 0 ;
14528 PyObject
* obj1
= 0 ;
14529 PyObject
* obj2
= 0 ;
14530 PyObject
* obj3
= 0 ;
14531 char * kwnames
[] = {
14532 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
14535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14537 if (!SWIG_IsOK(res1
)) {
14538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14540 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14542 if (!SWIG_IsOK(ecode2
)) {
14543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetAttr" "', expected argument " "2"" of type '" "int""'");
14545 arg2
= static_cast< int >(val2
);
14546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14547 if (!SWIG_IsOK(ecode3
)) {
14548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetAttr" "', expected argument " "3"" of type '" "int""'");
14550 arg3
= static_cast< int >(val3
);
14551 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14552 if (!SWIG_IsOK(res4
)) {
14553 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetAttr" "', expected argument " "4"" of type '" "wxGridCellAttr *""'");
14555 arg4
= reinterpret_cast< wxGridCellAttr
* >(argp4
);
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= SWIG_Py_Void();
14569 SWIGINTERN PyObject
*_wrap_Grid_SetRowAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
= 0;
14571 wxGrid
*arg1
= (wxGrid
*) 0 ;
14573 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 PyObject
* obj1
= 0 ;
14582 PyObject
* obj2
= 0 ;
14583 char * kwnames
[] = {
14584 (char *) "self",(char *) "row",(char *) "attr", NULL
14587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14589 if (!SWIG_IsOK(res1
)) {
14590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14592 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14594 if (!SWIG_IsOK(ecode2
)) {
14595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowAttr" "', expected argument " "2"" of type '" "int""'");
14597 arg2
= static_cast< int >(val2
);
14598 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14599 if (!SWIG_IsOK(res3
)) {
14600 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetRowAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14602 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 (arg1
)->SetRowAttr(arg2
,arg3
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 resultobj
= SWIG_Py_Void();
14616 SWIGINTERN PyObject
*_wrap_Grid_SetColAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
= 0;
14618 wxGrid
*arg1
= (wxGrid
*) 0 ;
14620 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
14627 PyObject
* obj0
= 0 ;
14628 PyObject
* obj1
= 0 ;
14629 PyObject
* obj2
= 0 ;
14630 char * kwnames
[] = {
14631 (char *) "self",(char *) "col",(char *) "attr", NULL
14634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14636 if (!SWIG_IsOK(res1
)) {
14637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColAttr" "', expected argument " "1"" of type '" "wxGrid *""'");
14639 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14641 if (!SWIG_IsOK(ecode2
)) {
14642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColAttr" "', expected argument " "2"" of type '" "int""'");
14644 arg2
= static_cast< int >(val2
);
14645 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellAttr
, 0 | 0 );
14646 if (!SWIG_IsOK(res3
)) {
14647 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_SetColAttr" "', expected argument " "3"" of type '" "wxGridCellAttr *""'");
14649 arg3
= reinterpret_cast< wxGridCellAttr
* >(argp3
);
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 (arg1
)->SetColAttr(arg2
,arg3
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= SWIG_Py_Void();
14663 SWIGINTERN PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
= 0;
14665 wxGrid
*arg1
= (wxGrid
*) 0 ;
14668 wxGridCellAttr
*result
= 0 ;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj1
= 0 ;
14677 PyObject
* obj2
= 0 ;
14678 char * kwnames
[] = {
14679 (char *) "self",(char *) "row",(char *) "col", NULL
14682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14684 if (!SWIG_IsOK(res1
)) {
14685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "1"" of type '" "wxGrid const *""'");
14687 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14689 if (!SWIG_IsOK(ecode2
)) {
14690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "2"" of type '" "int""'");
14692 arg2
= static_cast< int >(val2
);
14693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14694 if (!SWIG_IsOK(ecode3
)) {
14695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetOrCreateCellAttr" "', expected argument " "3"" of type '" "int""'");
14697 arg3
= static_cast< int >(val3
);
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= wxPyMake_wxGridCellAttr(result
, (bool)0);
14713 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
= 0;
14715 wxGrid
*arg1
= (wxGrid
*) 0 ;
14721 PyObject
* obj0
= 0 ;
14722 PyObject
* obj1
= 0 ;
14723 char * kwnames
[] = {
14724 (char *) "self",(char *) "col", NULL
14727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14729 if (!SWIG_IsOK(res1
)) {
14730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatBool" "', expected argument " "1"" of type '" "wxGrid *""'");
14732 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14734 if (!SWIG_IsOK(ecode2
)) {
14735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatBool" "', expected argument " "2"" of type '" "int""'");
14737 arg2
= static_cast< int >(val2
);
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 (arg1
)->SetColFormatBool(arg2
);
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= SWIG_Py_Void();
14751 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
= 0;
14753 wxGrid
*arg1
= (wxGrid
*) 0 ;
14759 PyObject
* obj0
= 0 ;
14760 PyObject
* obj1
= 0 ;
14761 char * kwnames
[] = {
14762 (char *) "self",(char *) "col", NULL
14765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14767 if (!SWIG_IsOK(res1
)) {
14768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "1"" of type '" "wxGrid *""'");
14770 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14772 if (!SWIG_IsOK(ecode2
)) {
14773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatNumber" "', expected argument " "2"" of type '" "int""'");
14775 arg2
= static_cast< int >(val2
);
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 (arg1
)->SetColFormatNumber(arg2
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_Py_Void();
14789 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
= 0;
14791 wxGrid
*arg1
= (wxGrid
*) 0 ;
14793 int arg3
= (int) -1 ;
14794 int arg4
= (int) -1 ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 PyObject
* obj2
= 0 ;
14806 PyObject
* obj3
= 0 ;
14807 char * kwnames
[] = {
14808 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
14811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14813 if (!SWIG_IsOK(res1
)) {
14814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "1"" of type '" "wxGrid *""'");
14816 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14818 if (!SWIG_IsOK(ecode2
)) {
14819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "2"" of type '" "int""'");
14821 arg2
= static_cast< int >(val2
);
14823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14824 if (!SWIG_IsOK(ecode3
)) {
14825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "3"" of type '" "int""'");
14827 arg3
= static_cast< int >(val3
);
14830 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14831 if (!SWIG_IsOK(ecode4
)) {
14832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetColFormatFloat" "', expected argument " "4"" of type '" "int""'");
14834 arg4
= static_cast< int >(val4
);
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= SWIG_Py_Void();
14849 SWIGINTERN PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
= 0;
14851 wxGrid
*arg1
= (wxGrid
*) 0 ;
14853 wxString
*arg3
= 0 ;
14858 bool temp3
= false ;
14859 PyObject
* obj0
= 0 ;
14860 PyObject
* obj1
= 0 ;
14861 PyObject
* obj2
= 0 ;
14862 char * kwnames
[] = {
14863 (char *) "self",(char *) "col",(char *) "typeName", NULL
14866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14868 if (!SWIG_IsOK(res1
)) {
14869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "1"" of type '" "wxGrid *""'");
14871 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14873 if (!SWIG_IsOK(ecode2
)) {
14874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColFormatCustom" "', expected argument " "2"" of type '" "int""'");
14876 arg2
= static_cast< int >(val2
);
14878 arg3
= wxString_in_helper(obj2
);
14879 if (arg3
== NULL
) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= SWIG_Py_Void();
14903 SWIGINTERN PyObject
*_wrap_Grid_EnableGridLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
= 0;
14905 wxGrid
*arg1
= (wxGrid
*) 0 ;
14906 bool arg2
= (bool) true ;
14911 PyObject
* obj0
= 0 ;
14912 PyObject
* obj1
= 0 ;
14913 char * kwnames
[] = {
14914 (char *) "self",(char *) "enable", NULL
14917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14919 if (!SWIG_IsOK(res1
)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_EnableGridLines" "', expected argument " "1"" of type '" "wxGrid *""'");
14922 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14924 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14925 if (!SWIG_IsOK(ecode2
)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_EnableGridLines" "', expected argument " "2"" of type '" "bool""'");
14928 arg2
= static_cast< bool >(val2
);
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 (arg1
)->EnableGridLines(arg2
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= SWIG_Py_Void();
14943 SWIGINTERN PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14944 PyObject
*resultobj
= 0;
14945 wxGrid
*arg1
= (wxGrid
*) 0 ;
14949 PyObject
*swig_obj
[1] ;
14951 if (!args
) SWIG_fail
;
14952 swig_obj
[0] = args
;
14953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14954 if (!SWIG_IsOK(res1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GridLinesEnabled" "', expected argument " "1"" of type '" "wxGrid *""'");
14957 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (bool)(arg1
)->GridLinesEnabled();
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14973 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14974 PyObject
*resultobj
= 0;
14975 wxGrid
*arg1
= (wxGrid
*) 0 ;
14979 PyObject
*swig_obj
[1] ;
14981 if (!args
) SWIG_fail
;
14982 swig_obj
[0] = args
;
14983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
14984 if (!SWIG_IsOK(res1
)) {
14985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
14987 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (int)(arg1
)->GetDefaultRowSize();
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= SWIG_From_int(static_cast< int >(result
));
15001 SWIGINTERN PyObject
*_wrap_Grid_GetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
= 0;
15003 wxGrid
*arg1
= (wxGrid
*) 0 ;
15010 PyObject
* obj0
= 0 ;
15011 PyObject
* obj1
= 0 ;
15012 char * kwnames
[] = {
15013 (char *) "self",(char *) "row", NULL
15016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15018 if (!SWIG_IsOK(res1
)) {
15019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15021 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15023 if (!SWIG_IsOK(ecode2
)) {
15024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetRowSize" "', expected argument " "2"" of type '" "int""'");
15026 arg2
= static_cast< int >(val2
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (int)(arg1
)->GetRowSize(arg2
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_From_int(static_cast< int >(result
));
15040 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15041 PyObject
*resultobj
= 0;
15042 wxGrid
*arg1
= (wxGrid
*) 0 ;
15046 PyObject
*swig_obj
[1] ;
15048 if (!args
) SWIG_fail
;
15049 swig_obj
[0] = args
;
15050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15051 if (!SWIG_IsOK(res1
)) {
15052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15054 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (int)(arg1
)->GetDefaultColSize();
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15061 resultobj
= SWIG_From_int(static_cast< int >(result
));
15068 SWIGINTERN PyObject
*_wrap_Grid_GetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
= 0;
15070 wxGrid
*arg1
= (wxGrid
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char * kwnames
[] = {
15080 (char *) "self",(char *) "col", NULL
15083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15085 if (!SWIG_IsOK(res1
)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15088 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15090 if (!SWIG_IsOK(ecode2
)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColSize" "', expected argument " "2"" of type '" "int""'");
15093 arg2
= static_cast< int >(val2
);
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= (int)(arg1
)->GetColSize(arg2
);
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= SWIG_From_int(static_cast< int >(result
));
15107 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15108 PyObject
*resultobj
= 0;
15109 wxGrid
*arg1
= (wxGrid
*) 0 ;
15113 PyObject
*swig_obj
[1] ;
15115 if (!args
) SWIG_fail
;
15116 swig_obj
[0] = args
;
15117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15118 if (!SWIG_IsOK(res1
)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15121 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (arg1
)->GetDefaultCellBackgroundColour();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15135 SWIGINTERN PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
= 0;
15137 wxGrid
*arg1
= (wxGrid
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 PyObject
* obj2
= 0 ;
15150 char * kwnames
[] = {
15151 (char *) "self",(char *) "row",(char *) "col", NULL
15154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15156 if (!SWIG_IsOK(res1
)) {
15157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15159 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15161 if (!SWIG_IsOK(ecode2
)) {
15162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
15164 arg2
= static_cast< int >(val2
);
15165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15166 if (!SWIG_IsOK(ecode3
)) {
15167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
15169 arg3
= static_cast< int >(val3
);
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15183 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15184 PyObject
*resultobj
= 0;
15185 wxGrid
*arg1
= (wxGrid
*) 0 ;
15189 PyObject
*swig_obj
[1] ;
15191 if (!args
) SWIG_fail
;
15192 swig_obj
[0] = args
;
15193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15194 if (!SWIG_IsOK(res1
)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15197 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (arg1
)->GetDefaultCellTextColour();
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15211 SWIGINTERN PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= 0;
15213 wxGrid
*arg1
= (wxGrid
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 PyObject
* obj1
= 0 ;
15225 PyObject
* obj2
= 0 ;
15226 char * kwnames
[] = {
15227 (char *) "self",(char *) "row",(char *) "col", NULL
15230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15232 if (!SWIG_IsOK(res1
)) {
15233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
15235 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15237 if (!SWIG_IsOK(ecode2
)) {
15238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellTextColour" "', expected argument " "2"" of type '" "int""'");
15240 arg2
= static_cast< int >(val2
);
15241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15242 if (!SWIG_IsOK(ecode3
)) {
15243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellTextColour" "', expected argument " "3"" of type '" "int""'");
15245 arg3
= static_cast< int >(val3
);
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15259 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15260 PyObject
*resultobj
= 0;
15261 wxGrid
*arg1
= (wxGrid
*) 0 ;
15265 PyObject
*swig_obj
[1] ;
15267 if (!args
) SWIG_fail
;
15268 swig_obj
[0] = args
;
15269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15270 if (!SWIG_IsOK(res1
)) {
15271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15273 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (arg1
)->GetDefaultCellFont();
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15287 SWIGINTERN PyObject
*_wrap_Grid_GetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
= 0;
15289 wxGrid
*arg1
= (wxGrid
*) 0 ;
15299 PyObject
* obj0
= 0 ;
15300 PyObject
* obj1
= 0 ;
15301 PyObject
* obj2
= 0 ;
15302 char * kwnames
[] = {
15303 (char *) "self",(char *) "row",(char *) "col", NULL
15306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15308 if (!SWIG_IsOK(res1
)) {
15309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
15311 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15313 if (!SWIG_IsOK(ecode2
)) {
15314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellFont" "', expected argument " "2"" of type '" "int""'");
15316 arg2
= static_cast< int >(val2
);
15317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15318 if (!SWIG_IsOK(ecode3
)) {
15319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellFont" "', expected argument " "3"" of type '" "int""'");
15321 arg3
= static_cast< int >(val3
);
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (arg1
)->GetCellFont(arg2
,arg3
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15335 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15336 PyObject
*resultobj
= 0;
15337 wxGrid
*arg1
= (wxGrid
*) 0 ;
15338 int *arg2
= (int *) 0 ;
15339 int *arg3
= (int *) 0 ;
15343 int res2
= SWIG_TMPOBJ
;
15345 int res3
= SWIG_TMPOBJ
;
15346 PyObject
*swig_obj
[1] ;
15350 if (!args
) SWIG_fail
;
15351 swig_obj
[0] = args
;
15352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15353 if (!SWIG_IsOK(res1
)) {
15354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15356 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= SWIG_Py_Void();
15364 if (SWIG_IsTmpObj(res2
)) {
15365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
15367 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
15370 if (SWIG_IsTmpObj(res3
)) {
15371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
15373 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
15382 SWIGINTERN PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
= 0;
15384 wxGrid
*arg1
= (wxGrid
*) 0 ;
15387 int *arg4
= (int *) 0 ;
15388 int *arg5
= (int *) 0 ;
15396 int res4
= SWIG_TMPOBJ
;
15398 int res5
= SWIG_TMPOBJ
;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 PyObject
* obj2
= 0 ;
15402 char * kwnames
[] = {
15403 (char *) "self",(char *) "row",(char *) "col", NULL
15408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15410 if (!SWIG_IsOK(res1
)) {
15411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
15413 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15415 if (!SWIG_IsOK(ecode2
)) {
15416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellAlignment" "', expected argument " "2"" of type '" "int""'");
15418 arg2
= static_cast< int >(val2
);
15419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15420 if (!SWIG_IsOK(ecode3
)) {
15421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellAlignment" "', expected argument " "3"" of type '" "int""'");
15423 arg3
= static_cast< int >(val3
);
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= SWIG_Py_Void();
15431 if (SWIG_IsTmpObj(res4
)) {
15432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15434 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15437 if (SWIG_IsTmpObj(res5
)) {
15438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15440 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15449 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15450 PyObject
*resultobj
= 0;
15451 wxGrid
*arg1
= (wxGrid
*) 0 ;
15455 PyObject
*swig_obj
[1] ;
15457 if (!args
) SWIG_fail
;
15458 swig_obj
[0] = args
;
15459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15460 if (!SWIG_IsOK(res1
)) {
15461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15463 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 result
= (bool)(arg1
)->GetDefaultCellOverflow();
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15479 SWIGINTERN PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
= 0;
15481 wxGrid
*arg1
= (wxGrid
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15493 PyObject
* obj2
= 0 ;
15494 char * kwnames
[] = {
15495 (char *) "self",(char *) "row",(char *) "col", NULL
15498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15500 if (!SWIG_IsOK(res1
)) {
15501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
15503 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15505 if (!SWIG_IsOK(ecode2
)) {
15506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellOverflow" "', expected argument " "2"" of type '" "int""'");
15508 arg2
= static_cast< int >(val2
);
15509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15510 if (!SWIG_IsOK(ecode3
)) {
15511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellOverflow" "', expected argument " "3"" of type '" "int""'");
15513 arg3
= static_cast< int >(val3
);
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15529 SWIGINTERN PyObject
*_wrap_Grid_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
= 0;
15531 wxGrid
*arg1
= (wxGrid
*) 0 ;
15534 int *arg4
= (int *) 0 ;
15535 int *arg5
= (int *) 0 ;
15543 int res4
= SWIG_TMPOBJ
;
15545 int res5
= SWIG_TMPOBJ
;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 PyObject
* obj2
= 0 ;
15549 char * kwnames
[] = {
15550 (char *) "self",(char *) "row",(char *) "col", NULL
15555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15557 if (!SWIG_IsOK(res1
)) {
15558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15560 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15562 if (!SWIG_IsOK(ecode2
)) {
15563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellSize" "', expected argument " "2"" of type '" "int""'");
15565 arg2
= static_cast< int >(val2
);
15566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15567 if (!SWIG_IsOK(ecode3
)) {
15568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellSize" "', expected argument " "3"" of type '" "int""'");
15570 arg3
= static_cast< int >(val3
);
15572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15573 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 resultobj
= SWIG_Py_Void();
15578 if (SWIG_IsTmpObj(res4
)) {
15579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
15581 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
15584 if (SWIG_IsTmpObj(res5
)) {
15585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
15587 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
15596 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
= 0;
15598 wxGrid
*arg1
= (wxGrid
*) 0 ;
15600 bool arg3
= (bool) false ;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 PyObject
* obj2
= 0 ;
15610 char * kwnames
[] = {
15611 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
15614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15616 if (!SWIG_IsOK(res1
)) {
15617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15619 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15621 if (!SWIG_IsOK(ecode2
)) {
15622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "2"" of type '" "int""'");
15624 arg2
= static_cast< int >(val2
);
15626 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15627 if (!SWIG_IsOK(ecode3
)) {
15628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultRowSize" "', expected argument " "3"" of type '" "bool""'");
15630 arg3
= static_cast< bool >(val3
);
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= SWIG_Py_Void();
15645 SWIGINTERN PyObject
*_wrap_Grid_SetRowSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
= 0;
15647 wxGrid
*arg1
= (wxGrid
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 PyObject
* obj2
= 0 ;
15659 char * kwnames
[] = {
15660 (char *) "self",(char *) "row",(char *) "height", NULL
15663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15665 if (!SWIG_IsOK(res1
)) {
15666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15668 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15670 if (!SWIG_IsOK(ecode2
)) {
15671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowSize" "', expected argument " "2"" of type '" "int""'");
15673 arg2
= static_cast< int >(val2
);
15674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15675 if (!SWIG_IsOK(ecode3
)) {
15676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowSize" "', expected argument " "3"" of type '" "int""'");
15678 arg3
= static_cast< int >(val3
);
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 (arg1
)->SetRowSize(arg2
,arg3
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= SWIG_Py_Void();
15692 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
= 0;
15694 wxGrid
*arg1
= (wxGrid
*) 0 ;
15696 bool arg3
= (bool) false ;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 PyObject
* obj2
= 0 ;
15706 char * kwnames
[] = {
15707 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
15710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15712 if (!SWIG_IsOK(res1
)) {
15713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15715 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15717 if (!SWIG_IsOK(ecode2
)) {
15718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "2"" of type '" "int""'");
15720 arg2
= static_cast< int >(val2
);
15722 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15723 if (!SWIG_IsOK(ecode3
)) {
15724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultColSize" "', expected argument " "3"" of type '" "bool""'");
15726 arg3
= static_cast< bool >(val3
);
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 (arg1
)->SetDefaultColSize(arg2
,arg3
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= SWIG_Py_Void();
15741 SWIGINTERN PyObject
*_wrap_Grid_SetColSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
= 0;
15743 wxGrid
*arg1
= (wxGrid
*) 0 ;
15752 PyObject
* obj0
= 0 ;
15753 PyObject
* obj1
= 0 ;
15754 PyObject
* obj2
= 0 ;
15755 char * kwnames
[] = {
15756 (char *) "self",(char *) "col",(char *) "width", NULL
15759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15761 if (!SWIG_IsOK(res1
)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColSize" "', expected argument " "1"" of type '" "wxGrid *""'");
15764 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15766 if (!SWIG_IsOK(ecode2
)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColSize" "', expected argument " "2"" of type '" "int""'");
15769 arg2
= static_cast< int >(val2
);
15770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15771 if (!SWIG_IsOK(ecode3
)) {
15772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColSize" "', expected argument " "3"" of type '" "int""'");
15774 arg3
= static_cast< int >(val3
);
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 (arg1
)->SetColSize(arg2
,arg3
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= SWIG_Py_Void();
15788 SWIGINTERN PyObject
*_wrap_Grid_GetColAt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
= 0;
15790 wxGrid
*arg1
= (wxGrid
*) 0 ;
15797 PyObject
* obj0
= 0 ;
15798 PyObject
* obj1
= 0 ;
15799 char * kwnames
[] = {
15800 (char *) "self",(char *) "colPos", NULL
15803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColAt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15805 if (!SWIG_IsOK(res1
)) {
15806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColAt" "', expected argument " "1"" of type '" "wxGrid const *""'");
15808 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15810 if (!SWIG_IsOK(ecode2
)) {
15811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColAt" "', expected argument " "2"" of type '" "int""'");
15813 arg2
= static_cast< int >(val2
);
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= (int)((wxGrid
const *)arg1
)->GetColAt(arg2
);
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15820 resultobj
= SWIG_From_int(static_cast< int >(result
));
15827 SWIGINTERN PyObject
*_wrap_Grid_SetColPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15828 PyObject
*resultobj
= 0;
15829 wxGrid
*arg1
= (wxGrid
*) 0 ;
15838 PyObject
* obj0
= 0 ;
15839 PyObject
* obj1
= 0 ;
15840 PyObject
* obj2
= 0 ;
15841 char * kwnames
[] = {
15842 (char *) "self",(char *) "colID",(char *) "newPos", NULL
15845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColPos" "', expected argument " "1"" of type '" "wxGrid *""'");
15850 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15852 if (!SWIG_IsOK(ecode2
)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColPos" "', expected argument " "2"" of type '" "int""'");
15855 arg2
= static_cast< int >(val2
);
15856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15857 if (!SWIG_IsOK(ecode3
)) {
15858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColPos" "', expected argument " "3"" of type '" "int""'");
15860 arg3
= static_cast< int >(val3
);
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 (arg1
)->SetColPos(arg2
,arg3
);
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= SWIG_Py_Void();
15874 SWIGINTERN PyObject
*_wrap_Grid_GetColPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
= 0;
15876 wxGrid
*arg1
= (wxGrid
*) 0 ;
15883 PyObject
* obj0
= 0 ;
15884 PyObject
* obj1
= 0 ;
15885 char * kwnames
[] = {
15886 (char *) "self",(char *) "colID", NULL
15889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15891 if (!SWIG_IsOK(res1
)) {
15892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColPos" "', expected argument " "1"" of type '" "wxGrid const *""'");
15894 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15896 if (!SWIG_IsOK(ecode2
)) {
15897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetColPos" "', expected argument " "2"" of type '" "int""'");
15899 arg2
= static_cast< int >(val2
);
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 result
= (int)((wxGrid
const *)arg1
)->GetColPos(arg2
);
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_From_int(static_cast< int >(result
));
15913 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
= 0;
15915 wxGrid
*arg1
= (wxGrid
*) 0 ;
15917 bool arg3
= (bool) true ;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 PyObject
* obj2
= 0 ;
15927 char * kwnames
[] = {
15928 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
15931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15933 if (!SWIG_IsOK(res1
)) {
15934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "1"" of type '" "wxGrid *""'");
15936 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15938 if (!SWIG_IsOK(ecode2
)) {
15939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "2"" of type '" "int""'");
15941 arg2
= static_cast< int >(val2
);
15943 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15944 if (!SWIG_IsOK(ecode3
)) {
15945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeColumn" "', expected argument " "3"" of type '" "bool""'");
15947 arg3
= static_cast< bool >(val3
);
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 (arg1
)->AutoSizeColumn(arg2
,arg3
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= SWIG_Py_Void();
15962 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
= 0;
15964 wxGrid
*arg1
= (wxGrid
*) 0 ;
15966 bool arg3
= (bool) true ;
15973 PyObject
* obj0
= 0 ;
15974 PyObject
* obj1
= 0 ;
15975 PyObject
* obj2
= 0 ;
15976 char * kwnames
[] = {
15977 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
15980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
15982 if (!SWIG_IsOK(res1
)) {
15983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRow" "', expected argument " "1"" of type '" "wxGrid *""'");
15985 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
15986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15987 if (!SWIG_IsOK(ecode2
)) {
15988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRow" "', expected argument " "2"" of type '" "int""'");
15990 arg2
= static_cast< int >(val2
);
15992 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15993 if (!SWIG_IsOK(ecode3
)) {
15994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_AutoSizeRow" "', expected argument " "3"" of type '" "bool""'");
15996 arg3
= static_cast< bool >(val3
);
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 (arg1
)->AutoSizeRow(arg2
,arg3
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= SWIG_Py_Void();
16011 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
= 0;
16013 wxGrid
*arg1
= (wxGrid
*) 0 ;
16014 bool arg2
= (bool) true ;
16019 PyObject
* obj0
= 0 ;
16020 PyObject
* obj1
= 0 ;
16021 char * kwnames
[] = {
16022 (char *) "self",(char *) "setAsMin", NULL
16025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16027 if (!SWIG_IsOK(res1
)) {
16028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "1"" of type '" "wxGrid *""'");
16030 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16032 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16033 if (!SWIG_IsOK(ecode2
)) {
16034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColumns" "', expected argument " "2"" of type '" "bool""'");
16036 arg2
= static_cast< bool >(val2
);
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 (arg1
)->AutoSizeColumns(arg2
);
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 resultobj
= SWIG_Py_Void();
16051 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
= 0;
16053 wxGrid
*arg1
= (wxGrid
*) 0 ;
16054 bool arg2
= (bool) true ;
16059 PyObject
* obj0
= 0 ;
16060 PyObject
* obj1
= 0 ;
16061 char * kwnames
[] = {
16062 (char *) "self",(char *) "setAsMin", NULL
16065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16067 if (!SWIG_IsOK(res1
)) {
16068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRows" "', expected argument " "1"" of type '" "wxGrid *""'");
16070 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16072 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16073 if (!SWIG_IsOK(ecode2
)) {
16074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRows" "', expected argument " "2"" of type '" "bool""'");
16076 arg2
= static_cast< bool >(val2
);
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 (arg1
)->AutoSizeRows(arg2
);
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= SWIG_Py_Void();
16091 SWIGINTERN PyObject
*_wrap_Grid_AutoSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16092 PyObject
*resultobj
= 0;
16093 wxGrid
*arg1
= (wxGrid
*) 0 ;
16096 PyObject
*swig_obj
[1] ;
16098 if (!args
) SWIG_fail
;
16099 swig_obj
[0] = args
;
16100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16101 if (!SWIG_IsOK(res1
)) {
16102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16104 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 (arg1
)->AutoSize();
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_Py_Void();
16118 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
= 0;
16120 wxGrid
*arg1
= (wxGrid
*) 0 ;
16126 PyObject
* obj0
= 0 ;
16127 PyObject
* obj1
= 0 ;
16128 char * kwnames
[] = {
16129 (char *) "self",(char *) "row", NULL
16132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16134 if (!SWIG_IsOK(res1
)) {
16135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16137 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16139 if (!SWIG_IsOK(ecode2
)) {
16140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeRowLabelSize" "', expected argument " "2"" of type '" "int""'");
16142 arg2
= static_cast< int >(val2
);
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 (arg1
)->AutoSizeRowLabelSize(arg2
);
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= SWIG_Py_Void();
16156 SWIGINTERN PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
= 0;
16158 wxGrid
*arg1
= (wxGrid
*) 0 ;
16164 PyObject
* obj0
= 0 ;
16165 PyObject
* obj1
= 0 ;
16166 char * kwnames
[] = {
16167 (char *) "self",(char *) "col", NULL
16170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16172 if (!SWIG_IsOK(res1
)) {
16173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16175 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16177 if (!SWIG_IsOK(ecode2
)) {
16178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_AutoSizeColLabelSize" "', expected argument " "2"" of type '" "int""'");
16180 arg2
= static_cast< int >(val2
);
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 (arg1
)->AutoSizeColLabelSize(arg2
);
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= SWIG_Py_Void();
16194 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
= 0;
16196 wxGrid
*arg1
= (wxGrid
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 PyObject
* obj1
= 0 ;
16207 PyObject
* obj2
= 0 ;
16208 char * kwnames
[] = {
16209 (char *) "self",(char *) "col",(char *) "width", NULL
16212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16214 if (!SWIG_IsOK(res1
)) {
16215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
16217 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16219 if (!SWIG_IsOK(ecode2
)) {
16220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "2"" of type '" "int""'");
16222 arg2
= static_cast< int >(val2
);
16223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16224 if (!SWIG_IsOK(ecode3
)) {
16225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetColMinimalWidth" "', expected argument " "3"" of type '" "int""'");
16227 arg3
= static_cast< int >(val3
);
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= SWIG_Py_Void();
16241 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
= 0;
16243 wxGrid
*arg1
= (wxGrid
*) 0 ;
16252 PyObject
* obj0
= 0 ;
16253 PyObject
* obj1
= 0 ;
16254 PyObject
* obj2
= 0 ;
16255 char * kwnames
[] = {
16256 (char *) "self",(char *) "row",(char *) "width", NULL
16259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16261 if (!SWIG_IsOK(res1
)) {
16262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16264 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16266 if (!SWIG_IsOK(ecode2
)) {
16267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "2"" of type '" "int""'");
16269 arg2
= static_cast< int >(val2
);
16270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16271 if (!SWIG_IsOK(ecode3
)) {
16272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetRowMinimalHeight" "', expected argument " "3"" of type '" "int""'");
16274 arg3
= static_cast< int >(val3
);
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= SWIG_Py_Void();
16288 SWIGINTERN PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
= 0;
16290 wxGrid
*arg1
= (wxGrid
*) 0 ;
16296 PyObject
* obj0
= 0 ;
16297 PyObject
* obj1
= 0 ;
16298 char * kwnames
[] = {
16299 (char *) "self",(char *) "width", NULL
16302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16304 if (!SWIG_IsOK(res1
)) {
16305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid *""'");
16307 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16309 if (!SWIG_IsOK(ecode2
)) {
16310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetColMinimalAcceptableWidth" "', expected argument " "2"" of type '" "int""'");
16312 arg2
= static_cast< int >(val2
);
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= SWIG_Py_Void();
16326 SWIGINTERN PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
= 0;
16328 wxGrid
*arg1
= (wxGrid
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 char * kwnames
[] = {
16337 (char *) "self",(char *) "width", NULL
16340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16342 if (!SWIG_IsOK(res1
)) {
16343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid *""'");
16345 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16347 if (!SWIG_IsOK(ecode2
)) {
16348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetRowMinimalAcceptableHeight" "', expected argument " "2"" of type '" "int""'");
16350 arg2
= static_cast< int >(val2
);
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= SWIG_Py_Void();
16364 SWIGINTERN PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16365 PyObject
*resultobj
= 0;
16366 wxGrid
*arg1
= (wxGrid
*) 0 ;
16370 PyObject
*swig_obj
[1] ;
16372 if (!args
) SWIG_fail
;
16373 swig_obj
[0] = args
;
16374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16375 if (!SWIG_IsOK(res1
)) {
16376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetColMinimalAcceptableWidth" "', expected argument " "1"" of type '" "wxGrid const *""'");
16378 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 resultobj
= SWIG_From_int(static_cast< int >(result
));
16392 SWIGINTERN PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16393 PyObject
*resultobj
= 0;
16394 wxGrid
*arg1
= (wxGrid
*) 0 ;
16398 PyObject
*swig_obj
[1] ;
16400 if (!args
) SWIG_fail
;
16401 swig_obj
[0] = args
;
16402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16403 if (!SWIG_IsOK(res1
)) {
16404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetRowMinimalAcceptableHeight" "', expected argument " "1"" of type '" "wxGrid const *""'");
16406 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= SWIG_From_int(static_cast< int >(result
));
16420 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
= 0;
16422 wxGrid
*arg1
= (wxGrid
*) 0 ;
16423 wxColour
*arg2
= 0 ;
16427 PyObject
* obj0
= 0 ;
16428 PyObject
* obj1
= 0 ;
16429 char * kwnames
[] = {
16430 (char *) "self",(char *)"arg2", NULL
16433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16435 if (!SWIG_IsOK(res1
)) {
16436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16438 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16441 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= SWIG_Py_Void();
16456 SWIGINTERN PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
= 0;
16458 wxGrid
*arg1
= (wxGrid
*) 0 ;
16461 wxColour
*arg4
= 0 ;
16469 PyObject
* obj0
= 0 ;
16470 PyObject
* obj1
= 0 ;
16471 PyObject
* obj2
= 0 ;
16472 PyObject
* obj3
= 0 ;
16473 char * kwnames
[] = {
16474 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16479 if (!SWIG_IsOK(res1
)) {
16480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16482 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16484 if (!SWIG_IsOK(ecode2
)) {
16485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "2"" of type '" "int""'");
16487 arg2
= static_cast< int >(val2
);
16488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16489 if (!SWIG_IsOK(ecode3
)) {
16490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellBackgroundColour" "', expected argument " "3"" of type '" "int""'");
16492 arg3
= static_cast< int >(val3
);
16495 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= SWIG_Py_Void();
16510 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
= 0;
16512 wxGrid
*arg1
= (wxGrid
*) 0 ;
16513 wxColour
*arg2
= 0 ;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 char * kwnames
[] = {
16520 (char *) "self",(char *)"arg2", NULL
16523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16525 if (!SWIG_IsOK(res1
)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16528 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16531 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= SWIG_Py_Void();
16546 SWIGINTERN PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
= 0;
16548 wxGrid
*arg1
= (wxGrid
*) 0 ;
16551 wxColour
*arg4
= 0 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 PyObject
* obj2
= 0 ;
16562 PyObject
* obj3
= 0 ;
16563 char * kwnames
[] = {
16564 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_SetCellTextColour" "', expected argument " "1"" of type '" "wxGrid *""'");
16572 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16574 if (!SWIG_IsOK(ecode2
)) {
16575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellTextColour" "', expected argument " "2"" of type '" "int""'");
16577 arg2
= static_cast< int >(val2
);
16578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16579 if (!SWIG_IsOK(ecode3
)) {
16580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellTextColour" "', expected argument " "3"" of type '" "int""'");
16582 arg3
= static_cast< int >(val3
);
16585 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_Py_Void();
16600 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
= 0;
16602 wxGrid
*arg1
= (wxGrid
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 char * kwnames
[] = {
16611 (char *) "self",(char *)"arg2", NULL
16614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16616 if (!SWIG_IsOK(res1
)) {
16617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16619 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
16621 if (!SWIG_IsOK(res2
)) {
16622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetDefaultCellFont" "', expected argument " "2"" of type '" "wxFont const &""'");
16627 arg2
= reinterpret_cast< wxFont
* >(argp2
);
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= SWIG_Py_Void();
16641 SWIGINTERN PyObject
*_wrap_Grid_SetCellFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
= 0;
16643 wxGrid
*arg1
= (wxGrid
*) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 PyObject
* obj2
= 0 ;
16658 PyObject
* obj3
= 0 ;
16659 char * kwnames
[] = {
16660 (char *) "self",(char *) "row",(char *) "col",(char *)"arg4", NULL
16663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16665 if (!SWIG_IsOK(res1
)) {
16666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellFont" "', expected argument " "1"" of type '" "wxGrid *""'");
16668 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16670 if (!SWIG_IsOK(ecode2
)) {
16671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellFont" "', expected argument " "2"" of type '" "int""'");
16673 arg2
= static_cast< int >(val2
);
16674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16675 if (!SWIG_IsOK(ecode3
)) {
16676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellFont" "', expected argument " "3"" of type '" "int""'");
16678 arg3
= static_cast< int >(val3
);
16679 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
16680 if (!SWIG_IsOK(res4
)) {
16681 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Grid_SetCellFont" "', expected argument " "4"" of type '" "wxFont const &""'");
16686 arg4
= reinterpret_cast< wxFont
* >(argp4
);
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= SWIG_Py_Void();
16700 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
= 0;
16702 wxGrid
*arg1
= (wxGrid
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 PyObject
* obj1
= 0 ;
16713 PyObject
* obj2
= 0 ;
16714 char * kwnames
[] = {
16715 (char *) "self",(char *) "horiz",(char *) "vert", NULL
16718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16720 if (!SWIG_IsOK(res1
)) {
16721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16723 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16725 if (!SWIG_IsOK(ecode2
)) {
16726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "2"" of type '" "int""'");
16728 arg2
= static_cast< int >(val2
);
16729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16730 if (!SWIG_IsOK(ecode3
)) {
16731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetDefaultCellAlignment" "', expected argument " "3"" of type '" "int""'");
16733 arg3
= static_cast< int >(val3
);
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= SWIG_Py_Void();
16747 SWIGINTERN PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
= 0;
16749 wxGrid
*arg1
= (wxGrid
*) 0 ;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 PyObject
* obj2
= 0 ;
16767 PyObject
* obj3
= 0 ;
16768 PyObject
* obj4
= 0 ;
16769 char * kwnames
[] = {
16770 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
16773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16775 if (!SWIG_IsOK(res1
)) {
16776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellAlignment" "', expected argument " "1"" of type '" "wxGrid *""'");
16778 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16780 if (!SWIG_IsOK(ecode2
)) {
16781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellAlignment" "', expected argument " "2"" of type '" "int""'");
16783 arg2
= static_cast< int >(val2
);
16784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16785 if (!SWIG_IsOK(ecode3
)) {
16786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellAlignment" "', expected argument " "3"" of type '" "int""'");
16788 arg3
= static_cast< int >(val3
);
16789 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16790 if (!SWIG_IsOK(ecode4
)) {
16791 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellAlignment" "', expected argument " "4"" of type '" "int""'");
16793 arg4
= static_cast< int >(val4
);
16794 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16795 if (!SWIG_IsOK(ecode5
)) {
16796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellAlignment" "', expected argument " "5"" of type '" "int""'");
16798 arg5
= static_cast< int >(val5
);
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= SWIG_Py_Void();
16812 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
= 0;
16814 wxGrid
*arg1
= (wxGrid
*) 0 ;
16820 PyObject
* obj0
= 0 ;
16821 PyObject
* obj1
= 0 ;
16822 char * kwnames
[] = {
16823 (char *) "self",(char *) "allow", NULL
16826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16828 if (!SWIG_IsOK(res1
)) {
16829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16831 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16832 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16833 if (!SWIG_IsOK(ecode2
)) {
16834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetDefaultCellOverflow" "', expected argument " "2"" of type '" "bool""'");
16836 arg2
= static_cast< bool >(val2
);
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 (arg1
)->SetDefaultCellOverflow(arg2
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= SWIG_Py_Void();
16850 SWIGINTERN PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
= 0;
16852 wxGrid
*arg1
= (wxGrid
*) 0 ;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 PyObject
* obj2
= 0 ;
16867 PyObject
* obj3
= 0 ;
16868 char * kwnames
[] = {
16869 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
16872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16874 if (!SWIG_IsOK(res1
)) {
16875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellOverflow" "', expected argument " "1"" of type '" "wxGrid *""'");
16877 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16879 if (!SWIG_IsOK(ecode2
)) {
16880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellOverflow" "', expected argument " "2"" of type '" "int""'");
16882 arg2
= static_cast< int >(val2
);
16883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16884 if (!SWIG_IsOK(ecode3
)) {
16885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellOverflow" "', expected argument " "3"" of type '" "int""'");
16887 arg3
= static_cast< int >(val3
);
16888 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16889 if (!SWIG_IsOK(ecode4
)) {
16890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellOverflow" "', expected argument " "4"" of type '" "bool""'");
16892 arg4
= static_cast< bool >(val4
);
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= SWIG_Py_Void();
16906 SWIGINTERN PyObject
*_wrap_Grid_SetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
= 0;
16908 wxGrid
*arg1
= (wxGrid
*) 0 ;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 PyObject
* obj2
= 0 ;
16926 PyObject
* obj3
= 0 ;
16927 PyObject
* obj4
= 0 ;
16928 char * kwnames
[] = {
16929 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
16932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16934 if (!SWIG_IsOK(res1
)) {
16935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellSize" "', expected argument " "1"" of type '" "wxGrid *""'");
16937 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16939 if (!SWIG_IsOK(ecode2
)) {
16940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellSize" "', expected argument " "2"" of type '" "int""'");
16942 arg2
= static_cast< int >(val2
);
16943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16944 if (!SWIG_IsOK(ecode3
)) {
16945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellSize" "', expected argument " "3"" of type '" "int""'");
16947 arg3
= static_cast< int >(val3
);
16948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16949 if (!SWIG_IsOK(ecode4
)) {
16950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetCellSize" "', expected argument " "4"" of type '" "int""'");
16952 arg4
= static_cast< int >(val4
);
16953 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16954 if (!SWIG_IsOK(ecode5
)) {
16955 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SetCellSize" "', expected argument " "5"" of type '" "int""'");
16957 arg5
= static_cast< int >(val5
);
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= SWIG_Py_Void();
16971 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
= 0;
16973 wxGrid
*arg1
= (wxGrid
*) 0 ;
16974 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
16979 PyObject
* obj0
= 0 ;
16980 PyObject
* obj1
= 0 ;
16981 char * kwnames
[] = {
16982 (char *) "self",(char *) "renderer", NULL
16985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
16987 if (!SWIG_IsOK(res1
)) {
16988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
16990 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
16991 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
16992 if (!SWIG_IsOK(res2
)) {
16993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultRenderer" "', expected argument " "2"" of type '" "wxGridCellRenderer *""'");
16995 arg2
= reinterpret_cast< wxGridCellRenderer
* >(argp2
);
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 (arg1
)->SetDefaultRenderer(arg2
);
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= SWIG_Py_Void();
17009 SWIGINTERN PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
= 0;
17011 wxGrid
*arg1
= (wxGrid
*) 0 ;
17014 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
17023 PyObject
* obj0
= 0 ;
17024 PyObject
* obj1
= 0 ;
17025 PyObject
* obj2
= 0 ;
17026 PyObject
* obj3
= 0 ;
17027 char * kwnames
[] = {
17028 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
17031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17033 if (!SWIG_IsOK(res1
)) {
17034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
17036 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17038 if (!SWIG_IsOK(ecode2
)) {
17039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellRenderer" "', expected argument " "2"" of type '" "int""'");
17041 arg2
= static_cast< int >(val2
);
17042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17043 if (!SWIG_IsOK(ecode3
)) {
17044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellRenderer" "', expected argument " "3"" of type '" "int""'");
17046 arg3
= static_cast< int >(val3
);
17047 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
17048 if (!SWIG_IsOK(res4
)) {
17049 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellRenderer" "', expected argument " "4"" of type '" "wxGridCellRenderer *""'");
17051 arg4
= reinterpret_cast< wxGridCellRenderer
* >(argp4
);
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_Py_Void();
17065 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17066 PyObject
*resultobj
= 0;
17067 wxGrid
*arg1
= (wxGrid
*) 0 ;
17068 wxGridCellRenderer
*result
= 0 ;
17071 PyObject
*swig_obj
[1] ;
17073 if (!args
) SWIG_fail
;
17074 swig_obj
[0] = args
;
17075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17076 if (!SWIG_IsOK(res1
)) {
17077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRenderer" "', expected argument " "1"" of type '" "wxGrid const *""'");
17079 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17087 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
17095 SWIGINTERN PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
= 0;
17097 wxGrid
*arg1
= (wxGrid
*) 0 ;
17100 wxGridCellRenderer
*result
= 0 ;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 PyObject
* obj2
= 0 ;
17110 char * kwnames
[] = {
17111 (char *) "self",(char *) "row",(char *) "col", NULL
17114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17116 if (!SWIG_IsOK(res1
)) {
17117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellRenderer" "', expected argument " "1"" of type '" "wxGrid *""'");
17119 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17121 if (!SWIG_IsOK(ecode2
)) {
17122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellRenderer" "', expected argument " "2"" of type '" "int""'");
17124 arg2
= static_cast< int >(val2
);
17125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17126 if (!SWIG_IsOK(ecode3
)) {
17127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellRenderer" "', expected argument " "3"" of type '" "int""'");
17129 arg3
= static_cast< int >(val3
);
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
17145 SWIGINTERN PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
= 0;
17147 wxGrid
*arg1
= (wxGrid
*) 0 ;
17148 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 char * kwnames
[] = {
17156 (char *) "self",(char *) "editor", NULL
17159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17161 if (!SWIG_IsOK(res1
)) {
17162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17164 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
17166 if (!SWIG_IsOK(res2
)) {
17167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Grid_SetDefaultEditor" "', expected argument " "2"" of type '" "wxGridCellEditor *""'");
17169 arg2
= reinterpret_cast< wxGridCellEditor
* >(argp2
);
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 (arg1
)->SetDefaultEditor(arg2
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= SWIG_Py_Void();
17183 SWIGINTERN PyObject
*_wrap_Grid_SetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
= 0;
17185 wxGrid
*arg1
= (wxGrid
*) 0 ;
17188 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 PyObject
* obj1
= 0 ;
17199 PyObject
* obj2
= 0 ;
17200 PyObject
* obj3
= 0 ;
17201 char * kwnames
[] = {
17202 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
17205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17207 if (!SWIG_IsOK(res1
)) {
17208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17210 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17212 if (!SWIG_IsOK(ecode2
)) {
17213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellEditor" "', expected argument " "2"" of type '" "int""'");
17215 arg2
= static_cast< int >(val2
);
17216 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17217 if (!SWIG_IsOK(ecode3
)) {
17218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellEditor" "', expected argument " "3"" of type '" "int""'");
17220 arg3
= static_cast< int >(val3
);
17221 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
17222 if (!SWIG_IsOK(res4
)) {
17223 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_SetCellEditor" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
17225 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_Py_Void();
17239 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17240 PyObject
*resultobj
= 0;
17241 wxGrid
*arg1
= (wxGrid
*) 0 ;
17242 wxGridCellEditor
*result
= 0 ;
17245 PyObject
*swig_obj
[1] ;
17247 if (!args
) SWIG_fail
;
17248 swig_obj
[0] = args
;
17249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17250 if (!SWIG_IsOK(res1
)) {
17251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditor" "', expected argument " "1"" of type '" "wxGrid const *""'");
17253 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17269 SWIGINTERN PyObject
*_wrap_Grid_GetCellEditor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
= 0;
17271 wxGrid
*arg1
= (wxGrid
*) 0 ;
17274 wxGridCellEditor
*result
= 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 PyObject
* obj2
= 0 ;
17284 char * kwnames
[] = {
17285 (char *) "self",(char *) "row",(char *) "col", NULL
17288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17290 if (!SWIG_IsOK(res1
)) {
17291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellEditor" "', expected argument " "1"" of type '" "wxGrid *""'");
17293 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17295 if (!SWIG_IsOK(ecode2
)) {
17296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellEditor" "', expected argument " "2"" of type '" "int""'");
17298 arg2
= static_cast< int >(val2
);
17299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17300 if (!SWIG_IsOK(ecode3
)) {
17301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellEditor" "', expected argument " "3"" of type '" "int""'");
17303 arg3
= static_cast< int >(val3
);
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
17319 SWIGINTERN PyObject
*_wrap_Grid_GetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
= 0;
17321 wxGrid
*arg1
= (wxGrid
*) 0 ;
17331 PyObject
* obj0
= 0 ;
17332 PyObject
* obj1
= 0 ;
17333 PyObject
* obj2
= 0 ;
17334 char * kwnames
[] = {
17335 (char *) "self",(char *) "row",(char *) "col", NULL
17338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17340 if (!SWIG_IsOK(res1
)) {
17341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17343 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17345 if (!SWIG_IsOK(ecode2
)) {
17346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetCellValue" "', expected argument " "2"" of type '" "int""'");
17348 arg2
= static_cast< int >(val2
);
17349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17350 if (!SWIG_IsOK(ecode3
)) {
17351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetCellValue" "', expected argument " "3"" of type '" "int""'");
17353 arg3
= static_cast< int >(val3
);
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 result
= (arg1
)->GetCellValue(arg2
,arg3
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17373 SWIGINTERN PyObject
*_wrap_Grid_SetCellValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
= 0;
17375 wxGrid
*arg1
= (wxGrid
*) 0 ;
17378 wxString
*arg4
= 0 ;
17385 bool temp4
= false ;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 PyObject
* obj2
= 0 ;
17389 PyObject
* obj3
= 0 ;
17390 char * kwnames
[] = {
17391 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
17394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17396 if (!SWIG_IsOK(res1
)) {
17397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetCellValue" "', expected argument " "1"" of type '" "wxGrid *""'");
17399 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17401 if (!SWIG_IsOK(ecode2
)) {
17402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetCellValue" "', expected argument " "2"" of type '" "int""'");
17404 arg2
= static_cast< int >(val2
);
17405 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17406 if (!SWIG_IsOK(ecode3
)) {
17407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetCellValue" "', expected argument " "3"" of type '" "int""'");
17409 arg3
= static_cast< int >(val3
);
17411 arg4
= wxString_in_helper(obj3
);
17412 if (arg4
== NULL
) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_Py_Void();
17436 SWIGINTERN PyObject
*_wrap_Grid_IsReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
= 0;
17438 wxGrid
*arg1
= (wxGrid
*) 0 ;
17448 PyObject
* obj0
= 0 ;
17449 PyObject
* obj1
= 0 ;
17450 PyObject
* obj2
= 0 ;
17451 char * kwnames
[] = {
17452 (char *) "self",(char *) "row",(char *) "col", NULL
17455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17457 if (!SWIG_IsOK(res1
)) {
17458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsReadOnly" "', expected argument " "1"" of type '" "wxGrid const *""'");
17460 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17462 if (!SWIG_IsOK(ecode2
)) {
17463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsReadOnly" "', expected argument " "2"" of type '" "int""'");
17465 arg2
= static_cast< int >(val2
);
17466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17467 if (!SWIG_IsOK(ecode3
)) {
17468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsReadOnly" "', expected argument " "3"" of type '" "int""'");
17470 arg3
= static_cast< int >(val3
);
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17486 SWIGINTERN PyObject
*_wrap_Grid_SetReadOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
= 0;
17488 wxGrid
*arg1
= (wxGrid
*) 0 ;
17491 bool arg4
= (bool) true ;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 PyObject
* obj2
= 0 ;
17503 PyObject
* obj3
= 0 ;
17504 char * kwnames
[] = {
17505 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
17508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17510 if (!SWIG_IsOK(res1
)) {
17511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetReadOnly" "', expected argument " "1"" of type '" "wxGrid *""'");
17513 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17515 if (!SWIG_IsOK(ecode2
)) {
17516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetReadOnly" "', expected argument " "2"" of type '" "int""'");
17518 arg2
= static_cast< int >(val2
);
17519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17520 if (!SWIG_IsOK(ecode3
)) {
17521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetReadOnly" "', expected argument " "3"" of type '" "int""'");
17523 arg3
= static_cast< int >(val3
);
17525 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17526 if (!SWIG_IsOK(ecode4
)) {
17527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SetReadOnly" "', expected argument " "4"" of type '" "bool""'");
17529 arg4
= static_cast< bool >(val4
);
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_Py_Void();
17544 SWIGINTERN PyObject
*_wrap_Grid_SelectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
= 0;
17546 wxGrid
*arg1
= (wxGrid
*) 0 ;
17548 bool arg3
= (bool) false ;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 PyObject
* obj2
= 0 ;
17558 char * kwnames
[] = {
17559 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
17562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",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_SelectRow" "', 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_SelectRow" "', expected argument " "2"" of type '" "int""'");
17572 arg2
= static_cast< int >(val2
);
17574 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17575 if (!SWIG_IsOK(ecode3
)) {
17576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectRow" "', expected argument " "3"" of type '" "bool""'");
17578 arg3
= static_cast< bool >(val3
);
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 (arg1
)->SelectRow(arg2
,arg3
);
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= SWIG_Py_Void();
17593 SWIGINTERN PyObject
*_wrap_Grid_SelectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
= 0;
17595 wxGrid
*arg1
= (wxGrid
*) 0 ;
17597 bool arg3
= (bool) false ;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 PyObject
* obj2
= 0 ;
17607 char * kwnames
[] = {
17608 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
17611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17613 if (!SWIG_IsOK(res1
)) {
17614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
17616 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17618 if (!SWIG_IsOK(ecode2
)) {
17619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectCol" "', expected argument " "2"" of type '" "int""'");
17621 arg2
= static_cast< int >(val2
);
17623 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17624 if (!SWIG_IsOK(ecode3
)) {
17625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectCol" "', expected argument " "3"" of type '" "bool""'");
17627 arg3
= static_cast< bool >(val3
);
17630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17631 (arg1
)->SelectCol(arg2
,arg3
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_Py_Void();
17642 SWIGINTERN PyObject
*_wrap_Grid_SelectBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
= 0;
17644 wxGrid
*arg1
= (wxGrid
*) 0 ;
17649 bool arg6
= (bool) false ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 PyObject
* obj2
= 0 ;
17665 PyObject
* obj3
= 0 ;
17666 PyObject
* obj4
= 0 ;
17667 PyObject
* obj5
= 0 ;
17668 char * kwnames
[] = {
17669 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
17672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17674 if (!SWIG_IsOK(res1
)) {
17675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectBlock" "', expected argument " "1"" of type '" "wxGrid *""'");
17677 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17679 if (!SWIG_IsOK(ecode2
)) {
17680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SelectBlock" "', expected argument " "2"" of type '" "int""'");
17682 arg2
= static_cast< int >(val2
);
17683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17684 if (!SWIG_IsOK(ecode3
)) {
17685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SelectBlock" "', expected argument " "3"" of type '" "int""'");
17687 arg3
= static_cast< int >(val3
);
17688 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17689 if (!SWIG_IsOK(ecode4
)) {
17690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Grid_SelectBlock" "', expected argument " "4"" of type '" "int""'");
17692 arg4
= static_cast< int >(val4
);
17693 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17694 if (!SWIG_IsOK(ecode5
)) {
17695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Grid_SelectBlock" "', expected argument " "5"" of type '" "int""'");
17697 arg5
= static_cast< int >(val5
);
17699 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
17700 if (!SWIG_IsOK(ecode6
)) {
17701 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Grid_SelectBlock" "', expected argument " "6"" of type '" "bool""'");
17703 arg6
= static_cast< bool >(val6
);
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= SWIG_Py_Void();
17718 SWIGINTERN PyObject
*_wrap_Grid_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17719 PyObject
*resultobj
= 0;
17720 wxGrid
*arg1
= (wxGrid
*) 0 ;
17723 PyObject
*swig_obj
[1] ;
17725 if (!args
) SWIG_fail
;
17726 swig_obj
[0] = args
;
17727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17728 if (!SWIG_IsOK(res1
)) {
17729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SelectAll" "', expected argument " "1"" of type '" "wxGrid *""'");
17731 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 (arg1
)->SelectAll();
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17738 resultobj
= SWIG_Py_Void();
17745 SWIGINTERN PyObject
*_wrap_Grid_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17746 PyObject
*resultobj
= 0;
17747 wxGrid
*arg1
= (wxGrid
*) 0 ;
17751 PyObject
*swig_obj
[1] ;
17753 if (!args
) SWIG_fail
;
17754 swig_obj
[0] = args
;
17755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17756 if (!SWIG_IsOK(res1
)) {
17757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17759 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (bool)(arg1
)->IsSelection();
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17775 SWIGINTERN PyObject
*_wrap_Grid_ClearSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17776 PyObject
*resultobj
= 0;
17777 wxGrid
*arg1
= (wxGrid
*) 0 ;
17780 PyObject
*swig_obj
[1] ;
17782 if (!args
) SWIG_fail
;
17783 swig_obj
[0] = args
;
17784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17785 if (!SWIG_IsOK(res1
)) {
17786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_ClearSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17788 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 (arg1
)->ClearSelection();
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 resultobj
= SWIG_Py_Void();
17802 SWIGINTERN PyObject
*_wrap_Grid_IsInSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
= 0;
17804 wxGrid
*arg1
= (wxGrid
*) 0 ;
17814 PyObject
* obj0
= 0 ;
17815 PyObject
* obj1
= 0 ;
17816 PyObject
* obj2
= 0 ;
17817 char * kwnames
[] = {
17818 (char *) "self",(char *) "row",(char *) "col", NULL
17821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17823 if (!SWIG_IsOK(res1
)) {
17824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_IsInSelection" "', expected argument " "1"" of type '" "wxGrid *""'");
17826 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17828 if (!SWIG_IsOK(ecode2
)) {
17829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_IsInSelection" "', expected argument " "2"" of type '" "int""'");
17831 arg2
= static_cast< int >(val2
);
17832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17833 if (!SWIG_IsOK(ecode3
)) {
17834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_IsInSelection" "', expected argument " "3"" of type '" "int""'");
17836 arg3
= static_cast< int >(val3
);
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17852 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17853 PyObject
*resultobj
= 0;
17854 wxGrid
*arg1
= (wxGrid
*) 0 ;
17855 wxGridCellCoordsArray result
;
17858 PyObject
*swig_obj
[1] ;
17860 if (!args
) SWIG_fail
;
17861 swig_obj
[0] = args
;
17862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17863 if (!SWIG_IsOK(res1
)) {
17864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCells" "', expected argument " "1"" of type '" "wxGrid const *""'");
17866 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= wxGridCellCoordsArray_helper(result
);
17882 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17883 PyObject
*resultobj
= 0;
17884 wxGrid
*arg1
= (wxGrid
*) 0 ;
17885 wxGridCellCoordsArray result
;
17888 PyObject
*swig_obj
[1] ;
17890 if (!args
) SWIG_fail
;
17891 swig_obj
[0] = args
;
17892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17893 if (!SWIG_IsOK(res1
)) {
17894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockTopLeft" "', expected argument " "1"" of type '" "wxGrid const *""'");
17896 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= wxGridCellCoordsArray_helper(result
);
17912 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17913 PyObject
*resultobj
= 0;
17914 wxGrid
*arg1
= (wxGrid
*) 0 ;
17915 wxGridCellCoordsArray result
;
17918 PyObject
*swig_obj
[1] ;
17920 if (!args
) SWIG_fail
;
17921 swig_obj
[0] = args
;
17922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17923 if (!SWIG_IsOK(res1
)) {
17924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBlockBottomRight" "', expected argument " "1"" of type '" "wxGrid const *""'");
17926 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= wxGridCellCoordsArray_helper(result
);
17942 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17943 PyObject
*resultobj
= 0;
17944 wxGrid
*arg1
= (wxGrid
*) 0 ;
17948 PyObject
*swig_obj
[1] ;
17950 if (!args
) SWIG_fail
;
17951 swig_obj
[0] = args
;
17952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17953 if (!SWIG_IsOK(res1
)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedRows" "', expected argument " "1"" of type '" "wxGrid const *""'");
17956 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= PyList_New(0);
17966 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
17967 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
17968 PyList_Append(resultobj
, val
);
17978 SWIGINTERN PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17979 PyObject
*resultobj
= 0;
17980 wxGrid
*arg1
= (wxGrid
*) 0 ;
17984 PyObject
*swig_obj
[1] ;
17986 if (!args
) SWIG_fail
;
17987 swig_obj
[0] = args
;
17988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
17989 if (!SWIG_IsOK(res1
)) {
17990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectedCols" "', expected argument " "1"" of type '" "wxGrid const *""'");
17992 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
18000 resultobj
= PyList_New(0);
18002 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18003 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18004 PyList_Append(resultobj
, val
);
18014 SWIGINTERN PyObject
*_wrap_Grid_DeselectRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
= 0;
18016 wxGrid
*arg1
= (wxGrid
*) 0 ;
18022 PyObject
* obj0
= 0 ;
18023 PyObject
* obj1
= 0 ;
18024 char * kwnames
[] = {
18025 (char *) "self",(char *) "row", NULL
18028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18030 if (!SWIG_IsOK(res1
)) {
18031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectRow" "', expected argument " "1"" of type '" "wxGrid *""'");
18033 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18035 if (!SWIG_IsOK(ecode2
)) {
18036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectRow" "', expected argument " "2"" of type '" "int""'");
18038 arg2
= static_cast< int >(val2
);
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->DeselectRow(arg2
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_Py_Void();
18052 SWIGINTERN PyObject
*_wrap_Grid_DeselectCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
= 0;
18054 wxGrid
*arg1
= (wxGrid
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 char * kwnames
[] = {
18063 (char *) "self",(char *) "col", NULL
18066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18068 if (!SWIG_IsOK(res1
)) {
18069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCol" "', expected argument " "1"" of type '" "wxGrid *""'");
18071 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18073 if (!SWIG_IsOK(ecode2
)) {
18074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCol" "', expected argument " "2"" of type '" "int""'");
18076 arg2
= static_cast< int >(val2
);
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 (arg1
)->DeselectCol(arg2
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= SWIG_Py_Void();
18090 SWIGINTERN PyObject
*_wrap_Grid_DeselectCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
= 0;
18092 wxGrid
*arg1
= (wxGrid
*) 0 ;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 PyObject
* obj2
= 0 ;
18104 char * kwnames
[] = {
18105 (char *) "self",(char *) "row",(char *) "col", NULL
18108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18110 if (!SWIG_IsOK(res1
)) {
18111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_DeselectCell" "', expected argument " "1"" of type '" "wxGrid *""'");
18113 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18115 if (!SWIG_IsOK(ecode2
)) {
18116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_DeselectCell" "', expected argument " "2"" of type '" "int""'");
18118 arg2
= static_cast< int >(val2
);
18119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18120 if (!SWIG_IsOK(ecode3
)) {
18121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_DeselectCell" "', expected argument " "3"" of type '" "int""'");
18123 arg3
= static_cast< int >(val3
);
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 (arg1
)->DeselectCell(arg2
,arg3
);
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_Py_Void();
18137 SWIGINTERN PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
= 0;
18139 wxGrid
*arg1
= (wxGrid
*) 0 ;
18140 wxGridCellCoords
*arg2
= 0 ;
18141 wxGridCellCoords
*arg3
= 0 ;
18145 wxGridCellCoords temp2
;
18146 wxGridCellCoords temp3
;
18147 PyObject
* obj0
= 0 ;
18148 PyObject
* obj1
= 0 ;
18149 PyObject
* obj2
= 0 ;
18150 char * kwnames
[] = {
18151 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
18154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18156 if (!SWIG_IsOK(res1
)) {
18157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_BlockToDeviceRect" "', expected argument " "1"" of type '" "wxGrid *""'");
18159 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18162 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
18166 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
18181 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18182 PyObject
*resultobj
= 0;
18183 wxGrid
*arg1
= (wxGrid
*) 0 ;
18187 PyObject
*swig_obj
[1] ;
18189 if (!args
) SWIG_fail
;
18190 swig_obj
[0] = args
;
18191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18192 if (!SWIG_IsOK(res1
)) {
18193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid const *""'");
18195 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18209 SWIGINTERN PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18210 PyObject
*resultobj
= 0;
18211 wxGrid
*arg1
= (wxGrid
*) 0 ;
18215 PyObject
*swig_obj
[1] ;
18217 if (!args
) SWIG_fail
;
18218 swig_obj
[0] = args
;
18219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18220 if (!SWIG_IsOK(res1
)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid const *""'");
18223 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18237 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
= 0;
18239 wxGrid
*arg1
= (wxGrid
*) 0 ;
18240 wxColour
*arg2
= 0 ;
18244 PyObject
* obj0
= 0 ;
18245 PyObject
* obj1
= 0 ;
18246 char * kwnames
[] = {
18247 (char *) "self",(char *) "c", NULL
18250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18252 if (!SWIG_IsOK(res1
)) {
18253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionBackground" "', expected argument " "1"" of type '" "wxGrid *""'");
18255 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18258 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_Py_Void();
18273 SWIGINTERN PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
= 0;
18275 wxGrid
*arg1
= (wxGrid
*) 0 ;
18276 wxColour
*arg2
= 0 ;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 char * kwnames
[] = {
18283 (char *) "self",(char *) "c", NULL
18286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18288 if (!SWIG_IsOK(res1
)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetSelectionForeground" "', expected argument " "1"" of type '" "wxGrid *""'");
18291 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18294 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= SWIG_Py_Void();
18309 SWIGINTERN PyObject
*_wrap_Grid_RegisterDataType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
= 0;
18311 wxGrid
*arg1
= (wxGrid
*) 0 ;
18312 wxString
*arg2
= 0 ;
18313 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
18314 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
18317 bool temp2
= false ;
18322 PyObject
* obj0
= 0 ;
18323 PyObject
* obj1
= 0 ;
18324 PyObject
* obj2
= 0 ;
18325 PyObject
* obj3
= 0 ;
18326 char * kwnames
[] = {
18327 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
18330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18332 if (!SWIG_IsOK(res1
)) {
18333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_RegisterDataType" "', expected argument " "1"" of type '" "wxGrid *""'");
18335 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18337 arg2
= wxString_in_helper(obj1
);
18338 if (arg2
== NULL
) SWIG_fail
;
18341 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGridCellRenderer
, 0 | 0 );
18342 if (!SWIG_IsOK(res3
)) {
18343 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Grid_RegisterDataType" "', expected argument " "3"" of type '" "wxGridCellRenderer *""'");
18345 arg3
= reinterpret_cast< wxGridCellRenderer
* >(argp3
);
18346 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGridCellEditor
, 0 | 0 );
18347 if (!SWIG_IsOK(res4
)) {
18348 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Grid_RegisterDataType" "', expected argument " "4"" of type '" "wxGridCellEditor *""'");
18350 arg4
= reinterpret_cast< wxGridCellEditor
* >(argp4
);
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= SWIG_Py_Void();
18372 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
= 0;
18374 wxGrid
*arg1
= (wxGrid
*) 0 ;
18377 wxGridCellEditor
*result
= 0 ;
18384 PyObject
* obj0
= 0 ;
18385 PyObject
* obj1
= 0 ;
18386 PyObject
* obj2
= 0 ;
18387 char * kwnames
[] = {
18388 (char *) "self",(char *) "row",(char *) "col", NULL
18391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18393 if (!SWIG_IsOK(res1
)) {
18394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18396 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18398 if (!SWIG_IsOK(ecode2
)) {
18399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "2"" of type '" "int""'");
18401 arg2
= static_cast< int >(val2
);
18402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18403 if (!SWIG_IsOK(ecode3
)) {
18404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultEditorForCell" "', expected argument " "3"" of type '" "int""'");
18406 arg3
= static_cast< int >(val3
);
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18422 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
= 0;
18424 wxGrid
*arg1
= (wxGrid
*) 0 ;
18427 wxGridCellRenderer
*result
= 0 ;
18434 PyObject
* obj0
= 0 ;
18435 PyObject
* obj1
= 0 ;
18436 PyObject
* obj2
= 0 ;
18437 char * kwnames
[] = {
18438 (char *) "self",(char *) "row",(char *) "col", NULL
18441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18443 if (!SWIG_IsOK(res1
)) {
18444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "1"" of type '" "wxGrid const *""'");
18446 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18448 if (!SWIG_IsOK(ecode2
)) {
18449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "2"" of type '" "int""'");
18451 arg2
= static_cast< int >(val2
);
18452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18453 if (!SWIG_IsOK(ecode3
)) {
18454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_GetDefaultRendererForCell" "', expected argument " "3"" of type '" "int""'");
18456 arg3
= static_cast< int >(val3
);
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18464 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18472 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
= 0;
18474 wxGrid
*arg1
= (wxGrid
*) 0 ;
18475 wxString
*arg2
= 0 ;
18476 wxGridCellEditor
*result
= 0 ;
18479 bool temp2
= false ;
18480 PyObject
* obj0
= 0 ;
18481 PyObject
* obj1
= 0 ;
18482 char * kwnames
[] = {
18483 (char *) "self",(char *) "typeName", NULL
18486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18488 if (!SWIG_IsOK(res1
)) {
18489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultEditorForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18491 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18493 arg2
= wxString_in_helper(obj1
);
18494 if (arg2
== NULL
) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= wxPyMake_wxGridCellEditor(result
, (bool)0);
18520 SWIGINTERN PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
= 0;
18522 wxGrid
*arg1
= (wxGrid
*) 0 ;
18523 wxString
*arg2
= 0 ;
18524 wxGridCellRenderer
*result
= 0 ;
18527 bool temp2
= false ;
18528 PyObject
* obj0
= 0 ;
18529 PyObject
* obj1
= 0 ;
18530 char * kwnames
[] = {
18531 (char *) "self",(char *) "typeName", NULL
18534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18536 if (!SWIG_IsOK(res1
)) {
18537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetDefaultRendererForType" "', expected argument " "1"" of type '" "wxGrid const *""'");
18539 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18541 arg2
= wxString_in_helper(obj1
);
18542 if (arg2
== NULL
) SWIG_fail
;
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= wxPyMake_wxGridCellRenderer(result
, (bool)0);
18568 SWIGINTERN PyObject
*_wrap_Grid_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
= 0;
18570 wxGrid
*arg1
= (wxGrid
*) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 PyObject
* obj1
= 0 ;
18581 PyObject
* obj2
= 0 ;
18582 char * kwnames
[] = {
18583 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
18586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18588 if (!SWIG_IsOK(res1
)) {
18589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetMargins" "', expected argument " "1"" of type '" "wxGrid *""'");
18591 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18593 if (!SWIG_IsOK(ecode2
)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetMargins" "', expected argument " "2"" of type '" "int""'");
18596 arg2
= static_cast< int >(val2
);
18597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18598 if (!SWIG_IsOK(ecode3
)) {
18599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Grid_SetMargins" "', expected argument " "3"" of type '" "int""'");
18601 arg3
= static_cast< int >(val3
);
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 (arg1
)->SetMargins(arg2
,arg3
);
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_Py_Void();
18615 SWIGINTERN PyObject
*_wrap_Grid_GetGridWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18616 PyObject
*resultobj
= 0;
18617 wxGrid
*arg1
= (wxGrid
*) 0 ;
18618 wxWindow
*result
= 0 ;
18621 PyObject
*swig_obj
[1] ;
18623 if (!args
) SWIG_fail
;
18624 swig_obj
[0] = args
;
18625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18626 if (!SWIG_IsOK(res1
)) {
18627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18629 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 result
= (wxWindow
*)(arg1
)->GetGridWindow();
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18637 resultobj
= wxPyMake_wxObject(result
, 0);
18645 SWIGINTERN PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18646 PyObject
*resultobj
= 0;
18647 wxGrid
*arg1
= (wxGrid
*) 0 ;
18648 wxWindow
*result
= 0 ;
18651 PyObject
*swig_obj
[1] ;
18653 if (!args
) SWIG_fail
;
18654 swig_obj
[0] = args
;
18655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18656 if (!SWIG_IsOK(res1
)) {
18657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridRowLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18659 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= wxPyMake_wxObject(result
, 0);
18675 SWIGINTERN PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18676 PyObject
*resultobj
= 0;
18677 wxGrid
*arg1
= (wxGrid
*) 0 ;
18678 wxWindow
*result
= 0 ;
18681 PyObject
*swig_obj
[1] ;
18683 if (!args
) SWIG_fail
;
18684 swig_obj
[0] = args
;
18685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18686 if (!SWIG_IsOK(res1
)) {
18687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridColLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18689 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= wxPyMake_wxObject(result
, 0);
18705 SWIGINTERN PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18706 PyObject
*resultobj
= 0;
18707 wxGrid
*arg1
= (wxGrid
*) 0 ;
18708 wxWindow
*result
= 0 ;
18711 PyObject
*swig_obj
[1] ;
18713 if (!args
) SWIG_fail
;
18714 swig_obj
[0] = args
;
18715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18716 if (!SWIG_IsOK(res1
)) {
18717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetGridCornerLabelWindow" "', expected argument " "1"" of type '" "wxGrid *""'");
18719 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18727 resultobj
= wxPyMake_wxObject(result
, 0);
18735 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
= 0;
18737 wxGrid
*arg1
= (wxGrid
*) 0 ;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 char * kwnames
[] = {
18746 (char *) "self",(char *) "x", NULL
18749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18751 if (!SWIG_IsOK(res1
)) {
18752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineX" "', expected argument " "1"" of type '" "wxGrid *""'");
18754 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18756 if (!SWIG_IsOK(ecode2
)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineX" "', expected argument " "2"" of type '" "int""'");
18759 arg2
= static_cast< int >(val2
);
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->SetScrollLineX(arg2
);
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 resultobj
= SWIG_Py_Void();
18773 SWIGINTERN PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
= 0;
18775 wxGrid
*arg1
= (wxGrid
*) 0 ;
18781 PyObject
* obj0
= 0 ;
18782 PyObject
* obj1
= 0 ;
18783 char * kwnames
[] = {
18784 (char *) "self",(char *) "y", NULL
18787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18789 if (!SWIG_IsOK(res1
)) {
18790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_SetScrollLineY" "', expected argument " "1"" of type '" "wxGrid *""'");
18792 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18794 if (!SWIG_IsOK(ecode2
)) {
18795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_SetScrollLineY" "', expected argument " "2"" of type '" "int""'");
18797 arg2
= static_cast< int >(val2
);
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 (arg1
)->SetScrollLineY(arg2
);
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 resultobj
= SWIG_Py_Void();
18811 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18812 PyObject
*resultobj
= 0;
18813 wxGrid
*arg1
= (wxGrid
*) 0 ;
18817 PyObject
*swig_obj
[1] ;
18819 if (!args
) SWIG_fail
;
18820 swig_obj
[0] = args
;
18821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18822 if (!SWIG_IsOK(res1
)) {
18823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18825 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= SWIG_From_int(static_cast< int >(result
));
18839 SWIGINTERN PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18840 PyObject
*resultobj
= 0;
18841 wxGrid
*arg1
= (wxGrid
*) 0 ;
18845 PyObject
*swig_obj
[1] ;
18847 if (!args
) SWIG_fail
;
18848 swig_obj
[0] = args
;
18849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18850 if (!SWIG_IsOK(res1
)) {
18851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollLineY" "', expected argument " "1"" of type '" "wxGrid const *""'");
18853 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= SWIG_From_int(static_cast< int >(result
));
18867 SWIGINTERN PyObject
*_wrap_Grid_GetScrollX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
= 0;
18869 wxGrid
*arg1
= (wxGrid
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 PyObject
* obj1
= 0 ;
18878 char * kwnames
[] = {
18879 (char *) "self",(char *) "x", NULL
18882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18884 if (!SWIG_IsOK(res1
)) {
18885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollX" "', expected argument " "1"" of type '" "wxGrid const *""'");
18887 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18889 if (!SWIG_IsOK(ecode2
)) {
18890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollX" "', expected argument " "2"" of type '" "int""'");
18892 arg2
= static_cast< int >(val2
);
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= SWIG_From_int(static_cast< int >(result
));
18906 SWIGINTERN PyObject
*_wrap_Grid_GetScrollY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
= 0;
18908 wxGrid
*arg1
= (wxGrid
*) 0 ;
18915 PyObject
* obj0
= 0 ;
18916 PyObject
* obj1
= 0 ;
18917 char * kwnames
[] = {
18918 (char *) "self",(char *) "y", NULL
18921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGrid
, 0 | 0 );
18923 if (!SWIG_IsOK(res1
)) {
18924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Grid_GetScrollY" "', expected argument " "1"" of type '" "wxGrid const *""'");
18926 arg1
= reinterpret_cast< wxGrid
* >(argp1
);
18927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18928 if (!SWIG_IsOK(ecode2
)) {
18929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Grid_GetScrollY" "', expected argument " "2"" of type '" "int""'");
18931 arg2
= static_cast< int >(val2
);
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 resultobj
= SWIG_From_int(static_cast< int >(result
));
18945 SWIGINTERN PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
= 0;
18947 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18948 SwigValueWrapper
<wxVisualAttributes
> result
;
18951 PyObject
* obj0
= 0 ;
18952 char * kwnames
[] = {
18953 (char *) "variant", NULL
18956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18958 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18959 if (!SWIG_IsOK(ecode1
)) {
18960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Grid_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18962 arg1
= static_cast< wxWindowVariant
>(val1
);
18965 if (!wxPyCheckForApp()) SWIG_fail
;
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 result
= wxGrid::GetClassDefaultAttributes(arg1
);
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18978 SWIGINTERN PyObject
*Grid_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18981 SWIG_TypeNewClientData(SWIGTYPE_p_wxGrid
, SWIG_NewClientData(obj
));
18982 return SWIG_Py_Void();
18985 SWIGINTERN PyObject
*Grid_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18986 return SWIG_Python_InitShadowInstance(args
);
18989 SWIGINTERN PyObject
*_wrap_new_GridEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
= 0;
18993 wxGrid
*arg3
= (wxGrid
*) 0 ;
18994 int arg4
= (int) -1 ;
18995 int arg5
= (int) -1 ;
18996 int arg6
= (int) -1 ;
18997 int arg7
= (int) -1 ;
18998 bool arg8
= (bool) true ;
18999 bool arg9
= (bool) false ;
19000 bool arg10
= (bool) false ;
19001 bool arg11
= (bool) false ;
19002 bool arg12
= (bool) false ;
19003 wxGridEvent
*result
= 0 ;
19028 PyObject
* obj0
= 0 ;
19029 PyObject
* obj1
= 0 ;
19030 PyObject
* obj2
= 0 ;
19031 PyObject
* obj3
= 0 ;
19032 PyObject
* obj4
= 0 ;
19033 PyObject
* obj5
= 0 ;
19034 PyObject
* obj6
= 0 ;
19035 PyObject
* obj7
= 0 ;
19036 PyObject
* obj8
= 0 ;
19037 PyObject
* obj9
= 0 ;
19038 PyObject
* obj10
= 0 ;
19039 PyObject
* obj11
= 0 ;
19040 char * kwnames
[] = {
19041 (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
19044 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
;
19045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19046 if (!SWIG_IsOK(ecode1
)) {
19047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEvent" "', expected argument " "1"" of type '" "int""'");
19049 arg1
= static_cast< int >(val1
);
19050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19051 if (!SWIG_IsOK(ecode2
)) {
19052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19054 arg2
= static_cast< wxEventType
>(val2
);
19055 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19056 if (!SWIG_IsOK(res3
)) {
19057 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19059 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19061 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19062 if (!SWIG_IsOK(ecode4
)) {
19063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEvent" "', expected argument " "4"" of type '" "int""'");
19065 arg4
= static_cast< int >(val4
);
19068 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19069 if (!SWIG_IsOK(ecode5
)) {
19070 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEvent" "', expected argument " "5"" of type '" "int""'");
19072 arg5
= static_cast< int >(val5
);
19075 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19076 if (!SWIG_IsOK(ecode6
)) {
19077 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridEvent" "', expected argument " "6"" of type '" "int""'");
19079 arg6
= static_cast< int >(val6
);
19082 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19083 if (!SWIG_IsOK(ecode7
)) {
19084 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridEvent" "', expected argument " "7"" of type '" "int""'");
19086 arg7
= static_cast< int >(val7
);
19089 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19090 if (!SWIG_IsOK(ecode8
)) {
19091 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridEvent" "', expected argument " "8"" of type '" "bool""'");
19093 arg8
= static_cast< bool >(val8
);
19096 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19097 if (!SWIG_IsOK(ecode9
)) {
19098 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridEvent" "', expected argument " "9"" of type '" "bool""'");
19100 arg9
= static_cast< bool >(val9
);
19103 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19104 if (!SWIG_IsOK(ecode10
)) {
19105 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridEvent" "', expected argument " "10"" of type '" "bool""'");
19107 arg10
= static_cast< bool >(val10
);
19110 ecode11
= SWIG_AsVal_bool(obj10
, &val11
);
19111 if (!SWIG_IsOK(ecode11
)) {
19112 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "new_GridEvent" "', expected argument " "11"" of type '" "bool""'");
19114 arg11
= static_cast< bool >(val11
);
19117 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
19118 if (!SWIG_IsOK(ecode12
)) {
19119 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "new_GridEvent" "', expected argument " "12"" of type '" "bool""'");
19121 arg12
= static_cast< bool >(val12
);
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEvent
, SWIG_POINTER_NEW
| 0 );
19136 SWIGINTERN PyObject
*_wrap_GridEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19137 PyObject
*resultobj
= 0;
19138 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19142 PyObject
*swig_obj
[1] ;
19144 if (!args
) SWIG_fail
;
19145 swig_obj
[0] = args
;
19146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19147 if (!SWIG_IsOK(res1
)) {
19148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19150 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= (int)(arg1
)->GetRow();
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= SWIG_From_int(static_cast< int >(result
));
19164 SWIGINTERN PyObject
*_wrap_GridEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19165 PyObject
*resultobj
= 0;
19166 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19170 PyObject
*swig_obj
[1] ;
19172 if (!args
) SWIG_fail
;
19173 swig_obj
[0] = args
;
19174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19175 if (!SWIG_IsOK(res1
)) {
19176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19178 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 result
= (int)(arg1
)->GetCol();
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= SWIG_From_int(static_cast< int >(result
));
19192 SWIGINTERN PyObject
*_wrap_GridEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19193 PyObject
*resultobj
= 0;
19194 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19198 PyObject
*swig_obj
[1] ;
19200 if (!args
) SWIG_fail
;
19201 swig_obj
[0] = args
;
19202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19203 if (!SWIG_IsOK(res1
)) {
19204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19206 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 result
= (arg1
)->GetPosition();
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19220 SWIGINTERN PyObject
*_wrap_GridEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19221 PyObject
*resultobj
= 0;
19222 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19226 PyObject
*swig_obj
[1] ;
19228 if (!args
) SWIG_fail
;
19229 swig_obj
[0] = args
;
19230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19231 if (!SWIG_IsOK(res1
)) {
19232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_Selecting" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19234 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 result
= (bool)(arg1
)->Selecting();
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19250 SWIGINTERN PyObject
*_wrap_GridEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19251 PyObject
*resultobj
= 0;
19252 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19256 PyObject
*swig_obj
[1] ;
19258 if (!args
) SWIG_fail
;
19259 swig_obj
[0] = args
;
19260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19261 if (!SWIG_IsOK(res1
)) {
19262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19264 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 result
= (bool)(arg1
)->ControlDown();
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19280 SWIGINTERN PyObject
*_wrap_GridEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19281 PyObject
*resultobj
= 0;
19282 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19286 PyObject
*swig_obj
[1] ;
19288 if (!args
) SWIG_fail
;
19289 swig_obj
[0] = args
;
19290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19291 if (!SWIG_IsOK(res1
)) {
19292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19294 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 result
= (bool)(arg1
)->MetaDown();
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19310 SWIGINTERN PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19311 PyObject
*resultobj
= 0;
19312 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19316 PyObject
*swig_obj
[1] ;
19318 if (!args
) SWIG_fail
;
19319 swig_obj
[0] = args
;
19320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19321 if (!SWIG_IsOK(res1
)) {
19322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19324 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (bool)(arg1
)->ShiftDown();
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19340 SWIGINTERN PyObject
*_wrap_GridEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19341 PyObject
*resultobj
= 0;
19342 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19346 PyObject
*swig_obj
[1] ;
19348 if (!args
) SWIG_fail
;
19349 swig_obj
[0] = args
;
19350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19351 if (!SWIG_IsOK(res1
)) {
19352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_AltDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19354 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 result
= (bool)(arg1
)->AltDown();
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19370 SWIGINTERN PyObject
*_wrap_GridEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19371 PyObject
*resultobj
= 0;
19372 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
19376 PyObject
*swig_obj
[1] ;
19378 if (!args
) SWIG_fail
;
19379 swig_obj
[0] = args
;
19380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEvent
, 0 | 0 );
19381 if (!SWIG_IsOK(res1
)) {
19382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridEvent *""'");
19384 arg1
= reinterpret_cast< wxGridEvent
* >(argp1
);
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 result
= (bool)(arg1
)->CmdDown();
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19400 SWIGINTERN PyObject
*GridEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19403 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEvent
, SWIG_NewClientData(obj
));
19404 return SWIG_Py_Void();
19407 SWIGINTERN PyObject
*GridEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19408 return SWIG_Python_InitShadowInstance(args
);
19411 SWIGINTERN PyObject
*_wrap_new_GridSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
= 0;
19415 wxGrid
*arg3
= (wxGrid
*) 0 ;
19416 int arg4
= (int) -1 ;
19417 int arg5
= (int) -1 ;
19418 int arg6
= (int) -1 ;
19419 bool arg7
= (bool) false ;
19420 bool arg8
= (bool) false ;
19421 bool arg9
= (bool) false ;
19422 bool arg10
= (bool) false ;
19423 wxGridSizeEvent
*result
= 0 ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 PyObject
* obj2
= 0 ;
19447 PyObject
* obj3
= 0 ;
19448 PyObject
* obj4
= 0 ;
19449 PyObject
* obj5
= 0 ;
19450 PyObject
* obj6
= 0 ;
19451 PyObject
* obj7
= 0 ;
19452 PyObject
* obj8
= 0 ;
19453 PyObject
* obj9
= 0 ;
19454 char * kwnames
[] = {
19455 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19459 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19460 if (!SWIG_IsOK(ecode1
)) {
19461 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizeEvent" "', expected argument " "1"" of type '" "int""'");
19463 arg1
= static_cast< int >(val1
);
19464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19465 if (!SWIG_IsOK(ecode2
)) {
19466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizeEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19468 arg2
= static_cast< wxEventType
>(val2
);
19469 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19470 if (!SWIG_IsOK(res3
)) {
19471 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridSizeEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19473 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19475 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19476 if (!SWIG_IsOK(ecode4
)) {
19477 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizeEvent" "', expected argument " "4"" of type '" "int""'");
19479 arg4
= static_cast< int >(val4
);
19482 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19483 if (!SWIG_IsOK(ecode5
)) {
19484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridSizeEvent" "', expected argument " "5"" of type '" "int""'");
19486 arg5
= static_cast< int >(val5
);
19489 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19490 if (!SWIG_IsOK(ecode6
)) {
19491 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridSizeEvent" "', expected argument " "6"" of type '" "int""'");
19493 arg6
= static_cast< int >(val6
);
19496 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19497 if (!SWIG_IsOK(ecode7
)) {
19498 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridSizeEvent" "', expected argument " "7"" of type '" "bool""'");
19500 arg7
= static_cast< bool >(val7
);
19503 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19504 if (!SWIG_IsOK(ecode8
)) {
19505 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridSizeEvent" "', expected argument " "8"" of type '" "bool""'");
19507 arg8
= static_cast< bool >(val8
);
19510 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19511 if (!SWIG_IsOK(ecode9
)) {
19512 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridSizeEvent" "', expected argument " "9"" of type '" "bool""'");
19514 arg9
= static_cast< bool >(val9
);
19517 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19518 if (!SWIG_IsOK(ecode10
)) {
19519 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridSizeEvent" "', expected argument " "10"" of type '" "bool""'");
19521 arg10
= static_cast< bool >(val10
);
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizeEvent
, SWIG_POINTER_NEW
| 0 );
19536 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19537 PyObject
*resultobj
= 0;
19538 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19542 PyObject
*swig_obj
[1] ;
19544 if (!args
) SWIG_fail
;
19545 swig_obj
[0] = args
;
19546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19547 if (!SWIG_IsOK(res1
)) {
19548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetRowOrCol" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19550 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 result
= (int)(arg1
)->GetRowOrCol();
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= SWIG_From_int(static_cast< int >(result
));
19564 SWIGINTERN PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19565 PyObject
*resultobj
= 0;
19566 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19570 PyObject
*swig_obj
[1] ;
19572 if (!args
) SWIG_fail
;
19573 swig_obj
[0] = args
;
19574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19575 if (!SWIG_IsOK(res1
)) {
19576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_GetPosition" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19578 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (arg1
)->GetPosition();
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19585 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19592 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19593 PyObject
*resultobj
= 0;
19594 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19598 PyObject
*swig_obj
[1] ;
19600 if (!args
) SWIG_fail
;
19601 swig_obj
[0] = args
;
19602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19603 if (!SWIG_IsOK(res1
)) {
19604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19606 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 result
= (bool)(arg1
)->ControlDown();
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19622 SWIGINTERN PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19623 PyObject
*resultobj
= 0;
19624 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19628 PyObject
*swig_obj
[1] ;
19630 if (!args
) SWIG_fail
;
19631 swig_obj
[0] = args
;
19632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19633 if (!SWIG_IsOK(res1
)) {
19634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19636 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 result
= (bool)(arg1
)->MetaDown();
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19652 SWIGINTERN PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19653 PyObject
*resultobj
= 0;
19654 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19658 PyObject
*swig_obj
[1] ;
19660 if (!args
) SWIG_fail
;
19661 swig_obj
[0] = args
;
19662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19663 if (!SWIG_IsOK(res1
)) {
19664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19666 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 result
= (bool)(arg1
)->ShiftDown();
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19682 SWIGINTERN PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19683 PyObject
*resultobj
= 0;
19684 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19688 PyObject
*swig_obj
[1] ;
19690 if (!args
) SWIG_fail
;
19691 swig_obj
[0] = args
;
19692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19693 if (!SWIG_IsOK(res1
)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_AltDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19696 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (bool)(arg1
)->AltDown();
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19712 SWIGINTERN PyObject
*_wrap_GridSizeEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19713 PyObject
*resultobj
= 0;
19714 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
19718 PyObject
*swig_obj
[1] ;
19720 if (!args
) SWIG_fail
;
19721 swig_obj
[0] = args
;
19722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizeEvent
, 0 | 0 );
19723 if (!SWIG_IsOK(res1
)) {
19724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizeEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridSizeEvent *""'");
19726 arg1
= reinterpret_cast< wxGridSizeEvent
* >(argp1
);
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (bool)(arg1
)->CmdDown();
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19742 SWIGINTERN PyObject
*GridSizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19745 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizeEvent
, SWIG_NewClientData(obj
));
19746 return SWIG_Py_Void();
19749 SWIGINTERN PyObject
*GridSizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19750 return SWIG_Python_InitShadowInstance(args
);
19753 SWIGINTERN PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
= 0;
19757 wxGrid
*arg3
= (wxGrid
*) 0 ;
19758 wxGridCellCoords
*arg4
= 0 ;
19759 wxGridCellCoords
*arg5
= 0 ;
19760 bool arg6
= (bool) true ;
19761 bool arg7
= (bool) false ;
19762 bool arg8
= (bool) false ;
19763 bool arg9
= (bool) false ;
19764 bool arg10
= (bool) false ;
19765 wxGridRangeSelectEvent
*result
= 0 ;
19772 wxGridCellCoords temp4
;
19773 wxGridCellCoords temp5
;
19784 PyObject
* obj0
= 0 ;
19785 PyObject
* obj1
= 0 ;
19786 PyObject
* obj2
= 0 ;
19787 PyObject
* obj3
= 0 ;
19788 PyObject
* obj4
= 0 ;
19789 PyObject
* obj5
= 0 ;
19790 PyObject
* obj6
= 0 ;
19791 PyObject
* obj7
= 0 ;
19792 PyObject
* obj8
= 0 ;
19793 PyObject
* obj9
= 0 ;
19794 char * kwnames
[] = {
19795 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
19798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
19799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19800 if (!SWIG_IsOK(ecode1
)) {
19801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "1"" of type '" "int""'");
19803 arg1
= static_cast< int >(val1
);
19804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19805 if (!SWIG_IsOK(ecode2
)) {
19806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "2"" of type '" "wxEventType""'");
19808 arg2
= static_cast< wxEventType
>(val2
);
19809 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGrid
, 0 | 0 );
19810 if (!SWIG_IsOK(res3
)) {
19811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "3"" of type '" "wxGrid *""'");
19813 arg3
= reinterpret_cast< wxGrid
* >(argp3
);
19816 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
19820 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
19823 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
19824 if (!SWIG_IsOK(ecode6
)) {
19825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "6"" of type '" "bool""'");
19827 arg6
= static_cast< bool >(val6
);
19830 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19831 if (!SWIG_IsOK(ecode7
)) {
19832 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "7"" of type '" "bool""'");
19834 arg7
= static_cast< bool >(val7
);
19837 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
19838 if (!SWIG_IsOK(ecode8
)) {
19839 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "8"" of type '" "bool""'");
19841 arg8
= static_cast< bool >(val8
);
19844 ecode9
= SWIG_AsVal_bool(obj8
, &val9
);
19845 if (!SWIG_IsOK(ecode9
)) {
19846 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "9"" of type '" "bool""'");
19848 arg9
= static_cast< bool >(val9
);
19851 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19852 if (!SWIG_IsOK(ecode10
)) {
19853 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "new_GridRangeSelectEvent" "', expected argument " "10"" of type '" "bool""'");
19855 arg10
= static_cast< bool >(val10
);
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_POINTER_NEW
| 0 );
19870 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19871 PyObject
*resultobj
= 0;
19872 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19873 wxGridCellCoords result
;
19876 PyObject
*swig_obj
[1] ;
19878 if (!args
) SWIG_fail
;
19879 swig_obj
[0] = args
;
19880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19881 if (!SWIG_IsOK(res1
)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopLeftCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19884 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 result
= (arg1
)->GetTopLeftCoords();
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
19898 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19899 PyObject
*resultobj
= 0;
19900 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19901 wxGridCellCoords result
;
19904 PyObject
*swig_obj
[1] ;
19906 if (!args
) SWIG_fail
;
19907 swig_obj
[0] = args
;
19908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19909 if (!SWIG_IsOK(res1
)) {
19910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRightCoords" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19912 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= (arg1
)->GetBottomRightCoords();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_NewPointerObj((new wxGridCellCoords(static_cast< const wxGridCellCoords
& >(result
))), SWIGTYPE_p_wxGridCellCoords
, SWIG_POINTER_OWN
| 0 );
19926 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19927 PyObject
*resultobj
= 0;
19928 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19932 PyObject
*swig_obj
[1] ;
19934 if (!args
) SWIG_fail
;
19935 swig_obj
[0] = args
;
19936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19937 if (!SWIG_IsOK(res1
)) {
19938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetTopRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19940 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (int)(arg1
)->GetTopRow();
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 resultobj
= SWIG_From_int(static_cast< int >(result
));
19954 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19955 PyObject
*resultobj
= 0;
19956 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19960 PyObject
*swig_obj
[1] ;
19962 if (!args
) SWIG_fail
;
19963 swig_obj
[0] = args
;
19964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19965 if (!SWIG_IsOK(res1
)) {
19966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetBottomRow" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19968 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (int)(arg1
)->GetBottomRow();
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_From_int(static_cast< int >(result
));
19982 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19983 PyObject
*resultobj
= 0;
19984 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
19988 PyObject
*swig_obj
[1] ;
19990 if (!args
) SWIG_fail
;
19991 swig_obj
[0] = args
;
19992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
19993 if (!SWIG_IsOK(res1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetLeftCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
19996 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 result
= (int)(arg1
)->GetLeftCol();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_From_int(static_cast< int >(result
));
20010 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20011 PyObject
*resultobj
= 0;
20012 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20016 PyObject
*swig_obj
[1] ;
20018 if (!args
) SWIG_fail
;
20019 swig_obj
[0] = args
;
20020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20021 if (!SWIG_IsOK(res1
)) {
20022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_GetRightCol" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20024 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (int)(arg1
)->GetRightCol();
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= SWIG_From_int(static_cast< int >(result
));
20038 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20039 PyObject
*resultobj
= 0;
20040 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20044 PyObject
*swig_obj
[1] ;
20046 if (!args
) SWIG_fail
;
20047 swig_obj
[0] = args
;
20048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20049 if (!SWIG_IsOK(res1
)) {
20050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_Selecting" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20052 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 result
= (bool)(arg1
)->Selecting();
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20068 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20069 PyObject
*resultobj
= 0;
20070 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20074 PyObject
*swig_obj
[1] ;
20076 if (!args
) SWIG_fail
;
20077 swig_obj
[0] = args
;
20078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20079 if (!SWIG_IsOK(res1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ControlDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20082 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (bool)(arg1
)->ControlDown();
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20098 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20099 PyObject
*resultobj
= 0;
20100 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20104 PyObject
*swig_obj
[1] ;
20106 if (!args
) SWIG_fail
;
20107 swig_obj
[0] = args
;
20108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20109 if (!SWIG_IsOK(res1
)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_MetaDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20112 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 result
= (bool)(arg1
)->MetaDown();
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20128 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20129 PyObject
*resultobj
= 0;
20130 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20134 PyObject
*swig_obj
[1] ;
20136 if (!args
) SWIG_fail
;
20137 swig_obj
[0] = args
;
20138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20139 if (!SWIG_IsOK(res1
)) {
20140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_ShiftDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20142 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (bool)(arg1
)->ShiftDown();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20158 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20159 PyObject
*resultobj
= 0;
20160 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20164 PyObject
*swig_obj
[1] ;
20166 if (!args
) SWIG_fail
;
20167 swig_obj
[0] = args
;
20168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20169 if (!SWIG_IsOK(res1
)) {
20170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_AltDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20172 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= (bool)(arg1
)->AltDown();
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20188 SWIGINTERN PyObject
*_wrap_GridRangeSelectEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20189 PyObject
*resultobj
= 0;
20190 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
20194 PyObject
*swig_obj
[1] ;
20196 if (!args
) SWIG_fail
;
20197 swig_obj
[0] = args
;
20198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridRangeSelectEvent
, 0 | 0 );
20199 if (!SWIG_IsOK(res1
)) {
20200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridRangeSelectEvent_CmdDown" "', expected argument " "1"" of type '" "wxGridRangeSelectEvent *""'");
20202 arg1
= reinterpret_cast< wxGridRangeSelectEvent
* >(argp1
);
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (bool)(arg1
)->CmdDown();
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20218 SWIGINTERN PyObject
*GridRangeSelectEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20221 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, SWIG_NewClientData(obj
));
20222 return SWIG_Py_Void();
20225 SWIGINTERN PyObject
*GridRangeSelectEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20226 return SWIG_Python_InitShadowInstance(args
);
20229 SWIGINTERN PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
= 0;
20233 wxObject
*arg3
= (wxObject
*) 0 ;
20236 wxControl
*arg6
= (wxControl
*) 0 ;
20237 wxGridEditorCreatedEvent
*result
= 0 ;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 PyObject
* obj2
= 0 ;
20253 PyObject
* obj3
= 0 ;
20254 PyObject
* obj4
= 0 ;
20255 PyObject
* obj5
= 0 ;
20256 char * kwnames
[] = {
20257 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
20260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20261 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20262 if (!SWIG_IsOK(ecode1
)) {
20263 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "1"" of type '" "int""'");
20265 arg1
= static_cast< int >(val1
);
20266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20267 if (!SWIG_IsOK(ecode2
)) {
20268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "2"" of type '" "wxEventType""'");
20270 arg2
= static_cast< wxEventType
>(val2
);
20271 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxObject
, 0 | 0 );
20272 if (!SWIG_IsOK(res3
)) {
20273 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "3"" of type '" "wxObject *""'");
20275 arg3
= reinterpret_cast< wxObject
* >(argp3
);
20276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20277 if (!SWIG_IsOK(ecode4
)) {
20278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "4"" of type '" "int""'");
20280 arg4
= static_cast< int >(val4
);
20281 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20282 if (!SWIG_IsOK(ecode5
)) {
20283 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "5"" of type '" "int""'");
20285 arg5
= static_cast< int >(val5
);
20286 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxControl
, 0 | 0 );
20287 if (!SWIG_IsOK(res6
)) {
20288 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_GridEditorCreatedEvent" "', expected argument " "6"" of type '" "wxControl *""'");
20290 arg6
= reinterpret_cast< wxControl
* >(argp6
);
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_POINTER_NEW
| 0 );
20304 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20305 PyObject
*resultobj
= 0;
20306 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20310 PyObject
*swig_obj
[1] ;
20312 if (!args
) SWIG_fail
;
20313 swig_obj
[0] = args
;
20314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20315 if (!SWIG_IsOK(res1
)) {
20316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20318 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (int)(arg1
)->GetRow();
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= SWIG_From_int(static_cast< int >(result
));
20332 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20333 PyObject
*resultobj
= 0;
20334 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20338 PyObject
*swig_obj
[1] ;
20340 if (!args
) SWIG_fail
;
20341 swig_obj
[0] = args
;
20342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20343 if (!SWIG_IsOK(res1
)) {
20344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20346 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= (int)(arg1
)->GetCol();
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20353 resultobj
= SWIG_From_int(static_cast< int >(result
));
20360 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20361 PyObject
*resultobj
= 0;
20362 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20363 wxControl
*result
= 0 ;
20366 PyObject
*swig_obj
[1] ;
20368 if (!args
) SWIG_fail
;
20369 swig_obj
[0] = args
;
20370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20371 if (!SWIG_IsOK(res1
)) {
20372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_GetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20374 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 result
= (wxControl
*)(arg1
)->GetControl();
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= wxPyMake_wxObject(result
, 0);
20390 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
= 0;
20392 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20398 PyObject
* obj0
= 0 ;
20399 PyObject
* obj1
= 0 ;
20400 char * kwnames
[] = {
20401 (char *) "self",(char *) "row", NULL
20404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20406 if (!SWIG_IsOK(res1
)) {
20407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20409 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20411 if (!SWIG_IsOK(ecode2
)) {
20412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetRow" "', expected argument " "2"" of type '" "int""'");
20414 arg2
= static_cast< int >(val2
);
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 (arg1
)->SetRow(arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 resultobj
= SWIG_Py_Void();
20428 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
= 0;
20430 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 PyObject
* obj1
= 0 ;
20438 char * kwnames
[] = {
20439 (char *) "self",(char *) "col", NULL
20442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20444 if (!SWIG_IsOK(res1
)) {
20445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20447 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20449 if (!SWIG_IsOK(ecode2
)) {
20450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridEditorCreatedEvent_SetCol" "', expected argument " "2"" of type '" "int""'");
20452 arg2
= static_cast< int >(val2
);
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 (arg1
)->SetCol(arg2
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= SWIG_Py_Void();
20466 SWIGINTERN PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
= 0;
20468 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
20469 wxControl
*arg2
= (wxControl
*) 0 ;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 char * kwnames
[] = {
20477 (char *) "self",(char *) "ctrl", NULL
20480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridEditorCreatedEvent
, 0 | 0 );
20482 if (!SWIG_IsOK(res1
)) {
20483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "1"" of type '" "wxGridEditorCreatedEvent *""'");
20485 arg1
= reinterpret_cast< wxGridEditorCreatedEvent
* >(argp1
);
20486 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
20487 if (!SWIG_IsOK(res2
)) {
20488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridEditorCreatedEvent_SetControl" "', expected argument " "2"" of type '" "wxControl *""'");
20490 arg2
= reinterpret_cast< wxControl
* >(argp2
);
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 (arg1
)->SetControl(arg2
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= SWIG_Py_Void();
20504 SWIGINTERN PyObject
*GridEditorCreatedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20507 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, SWIG_NewClientData(obj
));
20508 return SWIG_Py_Void();
20511 SWIGINTERN PyObject
*GridEditorCreatedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20512 return SWIG_Python_InitShadowInstance(args
);
20515 static PyMethodDef SwigMethods
[] = {
20516 { (char *)"GridCellWorker__setOORInfo", (PyCFunction
) _wrap_GridCellWorker__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20517 { (char *)"delete_GridCellWorker", (PyCFunction
)_wrap_delete_GridCellWorker
, METH_O
, NULL
},
20518 { (char *)"GridCellWorker_SetParameters", (PyCFunction
) _wrap_GridCellWorker_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20519 { (char *)"GridCellWorker_IncRef", (PyCFunction
)_wrap_GridCellWorker_IncRef
, METH_O
, NULL
},
20520 { (char *)"GridCellWorker_DecRef", (PyCFunction
)_wrap_GridCellWorker_DecRef
, METH_O
, NULL
},
20521 { (char *)"GridCellWorker_swigregister", GridCellWorker_swigregister
, METH_VARARGS
, NULL
},
20522 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20523 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20524 { (char *)"GridCellRenderer_Clone", (PyCFunction
)_wrap_GridCellRenderer_Clone
, METH_O
, NULL
},
20525 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20526 { (char *)"new_PyGridCellRenderer", (PyCFunction
)_wrap_new_PyGridCellRenderer
, METH_NOARGS
, NULL
},
20527 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20528 { (char *)"PyGridCellRenderer_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20529 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
20530 { (char *)"PyGridCellRenderer_swiginit", PyGridCellRenderer_swiginit
, METH_VARARGS
, NULL
},
20531 { (char *)"new_GridCellStringRenderer", (PyCFunction
)_wrap_new_GridCellStringRenderer
, METH_NOARGS
, NULL
},
20532 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20533 { (char *)"GridCellStringRenderer_swiginit", GridCellStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20534 { (char *)"new_GridCellNumberRenderer", (PyCFunction
)_wrap_new_GridCellNumberRenderer
, METH_NOARGS
, NULL
},
20535 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
20536 { (char *)"GridCellNumberRenderer_swiginit", GridCellNumberRenderer_swiginit
, METH_VARARGS
, NULL
},
20537 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20538 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
)_wrap_GridCellFloatRenderer_GetWidth
, METH_O
, NULL
},
20539 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20540 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
)_wrap_GridCellFloatRenderer_GetPrecision
, METH_O
, NULL
},
20541 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20542 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
20543 { (char *)"GridCellFloatRenderer_swiginit", GridCellFloatRenderer_swiginit
, METH_VARARGS
, NULL
},
20544 { (char *)"new_GridCellBoolRenderer", (PyCFunction
)_wrap_new_GridCellBoolRenderer
, METH_NOARGS
, NULL
},
20545 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
20546 { (char *)"GridCellBoolRenderer_swiginit", GridCellBoolRenderer_swiginit
, METH_VARARGS
, NULL
},
20547 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20548 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
20549 { (char *)"GridCellDateTimeRenderer_swiginit", GridCellDateTimeRenderer_swiginit
, METH_VARARGS
, NULL
},
20550 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20551 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
20552 { (char *)"GridCellEnumRenderer_swiginit", GridCellEnumRenderer_swiginit
, METH_VARARGS
, NULL
},
20553 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
)_wrap_new_GridCellAutoWrapStringRenderer
, METH_NOARGS
, NULL
},
20554 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
20555 { (char *)"GridCellAutoWrapStringRenderer_swiginit", GridCellAutoWrapStringRenderer_swiginit
, METH_VARARGS
, NULL
},
20556 { (char *)"GridCellEditor_IsCreated", (PyCFunction
)_wrap_GridCellEditor_IsCreated
, METH_O
, NULL
},
20557 { (char *)"GridCellEditor_GetControl", (PyCFunction
)_wrap_GridCellEditor_GetControl
, METH_O
, NULL
},
20558 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20559 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
)_wrap_GridCellEditor_GetCellAttr
, METH_O
, NULL
},
20560 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20561 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20562 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20563 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20564 { (char *)"GridCellEditor_Reset", (PyCFunction
)_wrap_GridCellEditor_Reset
, METH_O
, NULL
},
20565 { (char *)"GridCellEditor_Clone", (PyCFunction
)_wrap_GridCellEditor_Clone
, METH_O
, NULL
},
20566 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20567 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20568 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20569 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20570 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20571 { (char *)"GridCellEditor_StartingClick", (PyCFunction
)_wrap_GridCellEditor_StartingClick
, METH_O
, NULL
},
20572 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20573 { (char *)"GridCellEditor_Destroy", (PyCFunction
)_wrap_GridCellEditor_Destroy
, METH_O
, NULL
},
20574 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20575 { (char *)"new_PyGridCellEditor", (PyCFunction
)_wrap_new_PyGridCellEditor
, METH_NOARGS
, NULL
},
20576 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20577 { (char *)"PyGridCellEditor_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20578 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
20579 { (char *)"PyGridCellEditor_swiginit", PyGridCellEditor_swiginit
, METH_VARARGS
, NULL
},
20580 { (char *)"new_GridCellTextEditor", (PyCFunction
)_wrap_new_GridCellTextEditor
, METH_NOARGS
, NULL
},
20581 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
)_wrap_GridCellTextEditor_GetValue
, METH_O
, NULL
},
20582 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
20583 { (char *)"GridCellTextEditor_swiginit", GridCellTextEditor_swiginit
, METH_VARARGS
, NULL
},
20584 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20585 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
20586 { (char *)"GridCellNumberEditor_swiginit", GridCellNumberEditor_swiginit
, METH_VARARGS
, NULL
},
20587 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20588 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
20589 { (char *)"GridCellFloatEditor_swiginit", GridCellFloatEditor_swiginit
, METH_VARARGS
, NULL
},
20590 { (char *)"new_GridCellBoolEditor", (PyCFunction
)_wrap_new_GridCellBoolEditor
, METH_NOARGS
, NULL
},
20591 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
20592 { (char *)"GridCellBoolEditor_swiginit", GridCellBoolEditor_swiginit
, METH_VARARGS
, NULL
},
20593 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20594 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
20595 { (char *)"GridCellChoiceEditor_swiginit", GridCellChoiceEditor_swiginit
, METH_VARARGS
, NULL
},
20596 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20597 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
20598 { (char *)"GridCellEnumEditor_swiginit", GridCellEnumEditor_swiginit
, METH_VARARGS
, NULL
},
20599 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
)_wrap_new_GridCellAutoWrapStringEditor
, METH_NOARGS
, NULL
},
20600 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
20601 { (char *)"GridCellAutoWrapStringEditor_swiginit", GridCellAutoWrapStringEditor_swiginit
, METH_VARARGS
, NULL
},
20602 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20603 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20604 { (char *)"delete_GridCellAttr", (PyCFunction
)_wrap_delete_GridCellAttr
, METH_O
, NULL
},
20605 { (char *)"GridCellAttr_Clone", (PyCFunction
)_wrap_GridCellAttr_Clone
, METH_O
, NULL
},
20606 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20607 { (char *)"GridCellAttr_IncRef", (PyCFunction
)_wrap_GridCellAttr_IncRef
, METH_O
, NULL
},
20608 { (char *)"GridCellAttr_DecRef", (PyCFunction
)_wrap_GridCellAttr_DecRef
, METH_O
, NULL
},
20609 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20610 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20611 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20612 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20613 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20614 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20615 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20616 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20617 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20618 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20619 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
)_wrap_GridCellAttr_HasTextColour
, METH_O
, NULL
},
20620 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_HasBackgroundColour
, METH_O
, NULL
},
20621 { (char *)"GridCellAttr_HasFont", (PyCFunction
)_wrap_GridCellAttr_HasFont
, METH_O
, NULL
},
20622 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
)_wrap_GridCellAttr_HasAlignment
, METH_O
, NULL
},
20623 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
)_wrap_GridCellAttr_HasRenderer
, METH_O
, NULL
},
20624 { (char *)"GridCellAttr_HasEditor", (PyCFunction
)_wrap_GridCellAttr_HasEditor
, METH_O
, NULL
},
20625 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
)_wrap_GridCellAttr_HasReadWriteMode
, METH_O
, NULL
},
20626 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
)_wrap_GridCellAttr_HasOverflowMode
, METH_O
, NULL
},
20627 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
)_wrap_GridCellAttr_GetTextColour
, METH_O
, NULL
},
20628 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
)_wrap_GridCellAttr_GetBackgroundColour
, METH_O
, NULL
},
20629 { (char *)"GridCellAttr_GetFont", (PyCFunction
)_wrap_GridCellAttr_GetFont
, METH_O
, NULL
},
20630 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
)_wrap_GridCellAttr_GetAlignment
, METH_O
, NULL
},
20631 { (char *)"GridCellAttr_GetSize", (PyCFunction
)_wrap_GridCellAttr_GetSize
, METH_O
, NULL
},
20632 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
)_wrap_GridCellAttr_GetOverflow
, METH_O
, NULL
},
20633 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20634 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20635 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
)_wrap_GridCellAttr_IsReadOnly
, METH_O
, NULL
},
20636 { (char *)"GridCellAttr_GetKind", (PyCFunction
)_wrap_GridCellAttr_GetKind
, METH_O
, NULL
},
20637 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20638 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
20639 { (char *)"GridCellAttr_swiginit", GridCellAttr_swiginit
, METH_VARARGS
, NULL
},
20640 { (char *)"new_GridCellAttrProvider", (PyCFunction
)_wrap_new_GridCellAttrProvider
, METH_NOARGS
, NULL
},
20641 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20642 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20643 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20644 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20645 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20646 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20647 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20648 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20649 { (char *)"GridCellAttrProvider_swiginit", GridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20650 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
)_wrap_new_PyGridCellAttrProvider
, METH_NOARGS
, NULL
},
20651 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20652 { (char *)"PyGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20653 { (char *)"PyGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20654 { (char *)"PyGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20655 { (char *)"PyGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20656 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
20657 { (char *)"PyGridCellAttrProvider_swiginit", PyGridCellAttrProvider_swiginit
, METH_VARARGS
, NULL
},
20658 { (char *)"delete_GridTableBase", (PyCFunction
)_wrap_delete_GridTableBase
, METH_O
, NULL
},
20659 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20660 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20661 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
)_wrap_GridTableBase_GetAttrProvider
, METH_O
, NULL
},
20662 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20663 { (char *)"GridTableBase_GetView", (PyCFunction
)_wrap_GridTableBase_GetView
, METH_O
, NULL
},
20664 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
)_wrap_GridTableBase_GetNumberRows
, METH_O
, NULL
},
20665 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
)_wrap_GridTableBase_GetNumberCols
, METH_O
, NULL
},
20666 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20667 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20668 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20669 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20670 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20671 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20672 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20673 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20674 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20675 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20676 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20677 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20678 { (char *)"GridTableBase_Clear", (PyCFunction
)_wrap_GridTableBase_Clear
, METH_O
, NULL
},
20679 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20680 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20681 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20682 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20683 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20684 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20685 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20686 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20687 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20688 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20689 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
)_wrap_GridTableBase_CanHaveAttributes
, METH_O
, NULL
},
20690 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20691 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20692 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20693 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20694 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
20695 { (char *)"new_PyGridTableBase", (PyCFunction
)_wrap_new_PyGridTableBase
, METH_NOARGS
, NULL
},
20696 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20697 { (char *)"PyGridTableBase_Destroy", (PyCFunction
)_wrap_PyGridTableBase_Destroy
, METH_O
, NULL
},
20698 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
20699 { (char *)"PyGridTableBase_swiginit", PyGridTableBase_swiginit
, METH_VARARGS
, NULL
},
20700 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20701 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
20702 { (char *)"GridStringTable_swiginit", GridStringTable_swiginit
, METH_VARARGS
, NULL
},
20703 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20704 { (char *)"delete_GridTableMessage", (PyCFunction
)_wrap_delete_GridTableMessage
, METH_O
, NULL
},
20705 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20706 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
)_wrap_GridTableMessage_GetTableObject
, METH_O
, NULL
},
20707 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20708 { (char *)"GridTableMessage_GetId", (PyCFunction
)_wrap_GridTableMessage_GetId
, METH_O
, NULL
},
20709 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20710 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt
, METH_O
, NULL
},
20711 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20712 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
)_wrap_GridTableMessage_GetCommandInt2
, METH_O
, NULL
},
20713 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
20714 { (char *)"GridTableMessage_swiginit", GridTableMessage_swiginit
, METH_VARARGS
, NULL
},
20715 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20716 { (char *)"delete_GridCellCoords", (PyCFunction
)_wrap_delete_GridCellCoords
, METH_O
, NULL
},
20717 { (char *)"GridCellCoords_GetRow", (PyCFunction
)_wrap_GridCellCoords_GetRow
, METH_O
, NULL
},
20718 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20719 { (char *)"GridCellCoords_GetCol", (PyCFunction
)_wrap_GridCellCoords_GetCol
, METH_O
, NULL
},
20720 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20721 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20722 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20723 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20724 { (char *)"GridCellCoords_Get", (PyCFunction
)_wrap_GridCellCoords_Get
, METH_O
, NULL
},
20725 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
20726 { (char *)"GridCellCoords_swiginit", GridCellCoords_swiginit
, METH_VARARGS
, NULL
},
20727 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20728 { (char *)"new_PreGrid", (PyCFunction
)_wrap_new_PreGrid
, METH_NOARGS
, NULL
},
20729 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20730 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20731 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20732 { (char *)"Grid_GetSelectionMode", (PyCFunction
)_wrap_Grid_GetSelectionMode
, METH_O
, NULL
},
20733 { (char *)"Grid_GetNumberRows", (PyCFunction
)_wrap_Grid_GetNumberRows
, METH_O
, NULL
},
20734 { (char *)"Grid_GetNumberCols", (PyCFunction
)_wrap_Grid_GetNumberCols
, METH_O
, NULL
},
20735 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20736 { (char *)"Grid_GetTable", (PyCFunction
)_wrap_Grid_GetTable
, METH_O
, NULL
},
20737 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20738 { (char *)"Grid_ClearGrid", (PyCFunction
)_wrap_Grid_ClearGrid
, METH_O
, NULL
},
20739 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20740 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20741 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20742 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20743 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20744 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20745 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20746 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20747 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20748 { (char *)"Grid_BeginBatch", (PyCFunction
)_wrap_Grid_BeginBatch
, METH_O
, NULL
},
20749 { (char *)"Grid_EndBatch", (PyCFunction
)_wrap_Grid_EndBatch
, METH_O
, NULL
},
20750 { (char *)"Grid_GetBatchCount", (PyCFunction
)_wrap_Grid_GetBatchCount
, METH_O
, NULL
},
20751 { (char *)"Grid_ForceRefresh", (PyCFunction
)_wrap_Grid_ForceRefresh
, METH_O
, NULL
},
20752 { (char *)"Grid_IsEditable", (PyCFunction
)_wrap_Grid_IsEditable
, METH_O
, NULL
},
20753 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20754 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20755 { (char *)"Grid_DisableCellEditControl", (PyCFunction
)_wrap_Grid_DisableCellEditControl
, METH_O
, NULL
},
20756 { (char *)"Grid_CanEnableCellControl", (PyCFunction
)_wrap_Grid_CanEnableCellControl
, METH_O
, NULL
},
20757 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
)_wrap_Grid_IsCellEditControlEnabled
, METH_O
, NULL
},
20758 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
)_wrap_Grid_IsCellEditControlShown
, METH_O
, NULL
},
20759 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
)_wrap_Grid_IsCurrentCellReadOnly
, METH_O
, NULL
},
20760 { (char *)"Grid_ShowCellEditControl", (PyCFunction
)_wrap_Grid_ShowCellEditControl
, METH_O
, NULL
},
20761 { (char *)"Grid_HideCellEditControl", (PyCFunction
)_wrap_Grid_HideCellEditControl
, METH_O
, NULL
},
20762 { (char *)"Grid_SaveEditControlValue", (PyCFunction
)_wrap_Grid_SaveEditControlValue
, METH_O
, NULL
},
20763 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20764 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20765 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20766 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20767 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20768 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20769 { (char *)"Grid_GetGridCursorRow", (PyCFunction
)_wrap_Grid_GetGridCursorRow
, METH_O
, NULL
},
20770 { (char *)"Grid_GetGridCursorCol", (PyCFunction
)_wrap_Grid_GetGridCursorCol
, METH_O
, NULL
},
20771 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20772 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20773 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20774 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20775 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20776 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20777 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20778 { (char *)"Grid_MovePageDown", (PyCFunction
)_wrap_Grid_MovePageDown
, METH_O
, NULL
},
20779 { (char *)"Grid_MovePageUp", (PyCFunction
)_wrap_Grid_MovePageUp
, METH_O
, NULL
},
20780 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20781 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20782 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20783 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20784 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultRowLabelSize
, METH_O
, NULL
},
20785 { (char *)"Grid_GetRowLabelSize", (PyCFunction
)_wrap_Grid_GetRowLabelSize
, METH_O
, NULL
},
20786 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
)_wrap_Grid_GetDefaultColLabelSize
, METH_O
, NULL
},
20787 { (char *)"Grid_GetColLabelSize", (PyCFunction
)_wrap_Grid_GetColLabelSize
, METH_O
, NULL
},
20788 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
)_wrap_Grid_GetLabelBackgroundColour
, METH_O
, NULL
},
20789 { (char *)"Grid_GetLabelTextColour", (PyCFunction
)_wrap_Grid_GetLabelTextColour
, METH_O
, NULL
},
20790 { (char *)"Grid_GetLabelFont", (PyCFunction
)_wrap_Grid_GetLabelFont
, METH_O
, NULL
},
20791 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
)_wrap_Grid_GetRowLabelAlignment
, METH_O
, NULL
},
20792 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
)_wrap_Grid_GetColLabelAlignment
, METH_O
, NULL
},
20793 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
)_wrap_Grid_GetColLabelTextOrientation
, METH_O
, NULL
},
20794 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20795 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20796 { (char *)"Grid_GetGridLineColour", (PyCFunction
)_wrap_Grid_GetGridLineColour
, METH_O
, NULL
},
20797 { (char *)"Grid_GetDefaultGridLinePen", (PyCFunction
)_wrap_Grid_GetDefaultGridLinePen
, METH_O
, NULL
},
20798 { (char *)"Grid_GetRowGridLinePen", (PyCFunction
) _wrap_Grid_GetRowGridLinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20799 { (char *)"Grid_GetColGridLinePen", (PyCFunction
) _wrap_Grid_GetColGridLinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20800 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
)_wrap_Grid_GetCellHighlightColour
, METH_O
, NULL
},
20801 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightPenWidth
, METH_O
, NULL
},
20802 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
)_wrap_Grid_GetCellHighlightROPenWidth
, METH_O
, NULL
},
20803 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20804 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20805 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20806 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20807 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20808 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20809 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20810 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20811 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20812 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20813 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20814 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20815 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20816 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20817 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20818 { (char *)"Grid_DisableDragRowSize", (PyCFunction
)_wrap_Grid_DisableDragRowSize
, METH_O
, NULL
},
20819 { (char *)"Grid_CanDragRowSize", (PyCFunction
)_wrap_Grid_CanDragRowSize
, METH_O
, NULL
},
20820 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20821 { (char *)"Grid_DisableDragColSize", (PyCFunction
)_wrap_Grid_DisableDragColSize
, METH_O
, NULL
},
20822 { (char *)"Grid_CanDragColSize", (PyCFunction
)_wrap_Grid_CanDragColSize
, METH_O
, NULL
},
20823 { (char *)"Grid_EnableDragColMove", (PyCFunction
) _wrap_Grid_EnableDragColMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20824 { (char *)"Grid_DisableDragColMove", (PyCFunction
)_wrap_Grid_DisableDragColMove
, METH_O
, NULL
},
20825 { (char *)"Grid_CanDragColMove", (PyCFunction
)_wrap_Grid_CanDragColMove
, METH_O
, NULL
},
20826 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20827 { (char *)"Grid_DisableDragGridSize", (PyCFunction
)_wrap_Grid_DisableDragGridSize
, METH_O
, NULL
},
20828 { (char *)"Grid_CanDragGridSize", (PyCFunction
)_wrap_Grid_CanDragGridSize
, METH_O
, NULL
},
20829 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20830 { (char *)"Grid_DisableDragCell", (PyCFunction
)_wrap_Grid_DisableDragCell
, METH_O
, NULL
},
20831 { (char *)"Grid_CanDragCell", (PyCFunction
)_wrap_Grid_CanDragCell
, METH_O
, NULL
},
20832 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20833 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20834 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20835 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20836 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20837 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20838 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20839 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20840 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20841 { (char *)"Grid_GridLinesEnabled", (PyCFunction
)_wrap_Grid_GridLinesEnabled
, METH_O
, NULL
},
20842 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
)_wrap_Grid_GetDefaultRowSize
, METH_O
, NULL
},
20843 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20844 { (char *)"Grid_GetDefaultColSize", (PyCFunction
)_wrap_Grid_GetDefaultColSize
, METH_O
, NULL
},
20845 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20846 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
)_wrap_Grid_GetDefaultCellBackgroundColour
, METH_O
, NULL
},
20847 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20848 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
)_wrap_Grid_GetDefaultCellTextColour
, METH_O
, NULL
},
20849 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20850 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
)_wrap_Grid_GetDefaultCellFont
, METH_O
, NULL
},
20851 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20852 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
)_wrap_Grid_GetDefaultCellAlignment
, METH_O
, NULL
},
20853 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20854 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
)_wrap_Grid_GetDefaultCellOverflow
, METH_O
, NULL
},
20855 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20856 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20857 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20858 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20859 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20860 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20861 { (char *)"Grid_GetColAt", (PyCFunction
) _wrap_Grid_GetColAt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20862 { (char *)"Grid_SetColPos", (PyCFunction
) _wrap_Grid_SetColPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20863 { (char *)"Grid_GetColPos", (PyCFunction
) _wrap_Grid_GetColPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20864 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20865 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20866 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20867 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20868 { (char *)"Grid_AutoSize", (PyCFunction
)_wrap_Grid_AutoSize
, METH_O
, NULL
},
20869 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20870 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20871 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20872 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20873 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20874 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20875 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
)_wrap_Grid_GetColMinimalAcceptableWidth
, METH_O
, NULL
},
20876 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
)_wrap_Grid_GetRowMinimalAcceptableHeight
, METH_O
, NULL
},
20877 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20878 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20879 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20880 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20881 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20882 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20883 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20884 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20885 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20886 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20887 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20888 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20889 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20890 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
)_wrap_Grid_GetDefaultRenderer
, METH_O
, NULL
},
20891 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20892 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20893 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20894 { (char *)"Grid_GetDefaultEditor", (PyCFunction
)_wrap_Grid_GetDefaultEditor
, METH_O
, NULL
},
20895 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20896 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20897 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20898 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20899 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20900 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20901 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20902 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20903 { (char *)"Grid_SelectAll", (PyCFunction
)_wrap_Grid_SelectAll
, METH_O
, NULL
},
20904 { (char *)"Grid_IsSelection", (PyCFunction
)_wrap_Grid_IsSelection
, METH_O
, NULL
},
20905 { (char *)"Grid_ClearSelection", (PyCFunction
)_wrap_Grid_ClearSelection
, METH_O
, NULL
},
20906 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20907 { (char *)"Grid_GetSelectedCells", (PyCFunction
)_wrap_Grid_GetSelectedCells
, METH_O
, NULL
},
20908 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
)_wrap_Grid_GetSelectionBlockTopLeft
, METH_O
, NULL
},
20909 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
)_wrap_Grid_GetSelectionBlockBottomRight
, METH_O
, NULL
},
20910 { (char *)"Grid_GetSelectedRows", (PyCFunction
)_wrap_Grid_GetSelectedRows
, METH_O
, NULL
},
20911 { (char *)"Grid_GetSelectedCols", (PyCFunction
)_wrap_Grid_GetSelectedCols
, METH_O
, NULL
},
20912 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20913 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20914 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20915 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20916 { (char *)"Grid_GetSelectionBackground", (PyCFunction
)_wrap_Grid_GetSelectionBackground
, METH_O
, NULL
},
20917 { (char *)"Grid_GetSelectionForeground", (PyCFunction
)_wrap_Grid_GetSelectionForeground
, METH_O
, NULL
},
20918 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20919 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20920 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20921 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20922 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20923 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20924 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20925 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20926 { (char *)"Grid_GetGridWindow", (PyCFunction
)_wrap_Grid_GetGridWindow
, METH_O
, NULL
},
20927 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
)_wrap_Grid_GetGridRowLabelWindow
, METH_O
, NULL
},
20928 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
)_wrap_Grid_GetGridColLabelWindow
, METH_O
, NULL
},
20929 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
)_wrap_Grid_GetGridCornerLabelWindow
, METH_O
, NULL
},
20930 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20931 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20932 { (char *)"Grid_GetScrollLineX", (PyCFunction
)_wrap_Grid_GetScrollLineX
, METH_O
, NULL
},
20933 { (char *)"Grid_GetScrollLineY", (PyCFunction
)_wrap_Grid_GetScrollLineY
, METH_O
, NULL
},
20934 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20935 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20936 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20937 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
20938 { (char *)"Grid_swiginit", Grid_swiginit
, METH_VARARGS
, NULL
},
20939 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20940 { (char *)"GridEvent_GetRow", (PyCFunction
)_wrap_GridEvent_GetRow
, METH_O
, NULL
},
20941 { (char *)"GridEvent_GetCol", (PyCFunction
)_wrap_GridEvent_GetCol
, METH_O
, NULL
},
20942 { (char *)"GridEvent_GetPosition", (PyCFunction
)_wrap_GridEvent_GetPosition
, METH_O
, NULL
},
20943 { (char *)"GridEvent_Selecting", (PyCFunction
)_wrap_GridEvent_Selecting
, METH_O
, NULL
},
20944 { (char *)"GridEvent_ControlDown", (PyCFunction
)_wrap_GridEvent_ControlDown
, METH_O
, NULL
},
20945 { (char *)"GridEvent_MetaDown", (PyCFunction
)_wrap_GridEvent_MetaDown
, METH_O
, NULL
},
20946 { (char *)"GridEvent_ShiftDown", (PyCFunction
)_wrap_GridEvent_ShiftDown
, METH_O
, NULL
},
20947 { (char *)"GridEvent_AltDown", (PyCFunction
)_wrap_GridEvent_AltDown
, METH_O
, NULL
},
20948 { (char *)"GridEvent_CmdDown", (PyCFunction
)_wrap_GridEvent_CmdDown
, METH_O
, NULL
},
20949 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
20950 { (char *)"GridEvent_swiginit", GridEvent_swiginit
, METH_VARARGS
, NULL
},
20951 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20952 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
)_wrap_GridSizeEvent_GetRowOrCol
, METH_O
, NULL
},
20953 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
)_wrap_GridSizeEvent_GetPosition
, METH_O
, NULL
},
20954 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
)_wrap_GridSizeEvent_ControlDown
, METH_O
, NULL
},
20955 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
)_wrap_GridSizeEvent_MetaDown
, METH_O
, NULL
},
20956 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
)_wrap_GridSizeEvent_ShiftDown
, METH_O
, NULL
},
20957 { (char *)"GridSizeEvent_AltDown", (PyCFunction
)_wrap_GridSizeEvent_AltDown
, METH_O
, NULL
},
20958 { (char *)"GridSizeEvent_CmdDown", (PyCFunction
)_wrap_GridSizeEvent_CmdDown
, METH_O
, NULL
},
20959 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
20960 { (char *)"GridSizeEvent_swiginit", GridSizeEvent_swiginit
, METH_VARARGS
, NULL
},
20961 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20962 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_O
, NULL
},
20963 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_O
, NULL
},
20964 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetTopRow
, METH_O
, NULL
},
20965 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
)_wrap_GridRangeSelectEvent_GetBottomRow
, METH_O
, NULL
},
20966 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetLeftCol
, METH_O
, NULL
},
20967 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
)_wrap_GridRangeSelectEvent_GetRightCol
, METH_O
, NULL
},
20968 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
)_wrap_GridRangeSelectEvent_Selecting
, METH_O
, NULL
},
20969 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ControlDown
, METH_O
, NULL
},
20970 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
)_wrap_GridRangeSelectEvent_MetaDown
, METH_O
, NULL
},
20971 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
)_wrap_GridRangeSelectEvent_ShiftDown
, METH_O
, NULL
},
20972 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
)_wrap_GridRangeSelectEvent_AltDown
, METH_O
, NULL
},
20973 { (char *)"GridRangeSelectEvent_CmdDown", (PyCFunction
)_wrap_GridRangeSelectEvent_CmdDown
, METH_O
, NULL
},
20974 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
20975 { (char *)"GridRangeSelectEvent_swiginit", GridRangeSelectEvent_swiginit
, METH_VARARGS
, NULL
},
20976 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20977 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetRow
, METH_O
, NULL
},
20978 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetCol
, METH_O
, NULL
},
20979 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
)_wrap_GridEditorCreatedEvent_GetControl
, METH_O
, NULL
},
20980 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20981 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20982 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20983 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
20984 { (char *)"GridEditorCreatedEvent_swiginit", GridEditorCreatedEvent_swiginit
, METH_VARARGS
, NULL
},
20985 { NULL
, NULL
, 0, NULL
}
20989 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
20991 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
20992 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
20994 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
20995 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
20997 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
20998 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
21000 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
21001 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
21003 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
21004 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
21006 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
21007 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
21009 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
21010 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
21012 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
21013 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
21015 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
21016 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
21018 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
21019 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
21021 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
21022 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
21024 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
21025 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
21027 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
21028 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
21030 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellWorker(void *x
) {
21031 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
21033 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellWorker(void *x
) {
21034 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
21036 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellWorker(void *x
) {
21037 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
21039 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellWorker(void *x
) {
21040 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
21042 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellWorker(void *x
) {
21043 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*)(wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
21045 static void *_p_wxGridCellTextEditorTo_p_wxGridCellWorker(void *x
) {
21046 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
21048 static void *_p_wxPyGridCellEditorTo_p_wxGridCellWorker(void *x
) {
21049 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
21051 static void *_p_wxGridCellEditorTo_p_wxGridCellWorker(void *x
) {
21052 return (void *)((wxGridCellWorker
*) ((wxGridCellEditor
*) x
));
21054 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellWorker(void *x
) {
21055 return (void *)((wxGridCellWorker
*) (wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
21057 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellWorker(void *x
) {
21058 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
21060 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellWorker(void *x
) {
21061 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
21063 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellWorker(void *x
) {
21064 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
21066 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellWorker(void *x
) {
21067 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
21069 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellWorker(void *x
) {
21070 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
21072 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellWorker(void *x
) {
21073 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*)(wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
21075 static void *_p_wxGridCellStringRendererTo_p_wxGridCellWorker(void *x
) {
21076 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
21078 static void *_p_wxPyGridCellRendererTo_p_wxGridCellWorker(void *x
) {
21079 return (void *)((wxGridCellWorker
*) (wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
21081 static void *_p_wxGridCellRendererTo_p_wxGridCellWorker(void *x
) {
21082 return (void *)((wxGridCellWorker
*) ((wxGridCellRenderer
*) x
));
21084 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
21085 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
21087 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
21088 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21090 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
21091 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21093 static void *_p_wxGridTo_p_wxPanel(void *x
) {
21094 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
21096 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
21097 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21099 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
21100 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21102 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
21103 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
21105 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
21106 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21108 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
21109 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
21111 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
21112 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21114 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
21115 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21117 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
21118 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21120 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21121 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21123 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
21124 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
21126 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
21127 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21129 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
21130 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
21132 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
21133 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21135 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
21136 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21138 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
21139 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21141 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
21142 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
21144 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
21145 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
21147 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
21148 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21150 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
21151 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21153 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
21154 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21156 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
21157 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
21159 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
21160 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21162 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
21163 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21165 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
21166 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21168 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
21169 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21171 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
21172 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21174 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
21175 return (void *)((wxWindow
*) ((wxPanel
*) x
));
21177 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
21178 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
21180 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
21181 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21183 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
21184 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21186 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
21187 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21189 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
21190 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
21192 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
21193 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21195 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
21196 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
21198 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
21199 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
21201 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
21202 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
21204 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
21205 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
21207 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
21208 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
21210 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
21211 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
21213 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
21214 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21216 static void *_p_wxControlTo_p_wxWindow(void *x
) {
21217 return (void *)((wxWindow
*) ((wxControl
*) x
));
21219 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
21220 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21222 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
21223 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21225 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
21226 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21228 static void *_p_wxGridTo_p_wxWindow(void *x
) {
21229 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21231 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
21232 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
21234 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
21235 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
21237 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
21238 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21240 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
21241 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21243 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
21244 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21246 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
21247 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
21249 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
21250 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21252 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
21253 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
21255 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
21256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21258 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
21259 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21261 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
21262 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21264 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
21265 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
21267 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
21268 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21270 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
21271 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
21273 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21274 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21276 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21277 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21279 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21280 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21282 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21283 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21285 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21286 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21288 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21289 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21291 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21292 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21294 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21295 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21297 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21298 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21300 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21301 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21303 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21304 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21306 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
21307 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
21309 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21310 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21312 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21313 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21315 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
21316 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21318 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21319 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21321 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21324 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21325 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21327 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21328 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21330 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21331 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21333 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21334 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21336 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21337 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21339 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21340 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21342 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
21343 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
21345 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
21346 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21348 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21349 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21351 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21352 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21354 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
21355 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21357 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21358 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21360 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21361 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21363 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21364 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21366 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21367 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21369 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21370 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21372 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
21373 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
21375 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
21376 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21378 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21379 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21381 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21382 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21384 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21385 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21387 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21390 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21391 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21393 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21394 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21396 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21397 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21399 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21400 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21402 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21403 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21405 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21406 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21408 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21409 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21411 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21412 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21414 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21415 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21417 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21418 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21420 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21421 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21423 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21426 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21429 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21430 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21432 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21433 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21435 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21438 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21439 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21441 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21442 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21444 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21445 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21447 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21448 return (void *)((wxObject
*) ((wxSizer
*) x
));
21450 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21451 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21453 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21454 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21456 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21459 static void *_p_wxEventTo_p_wxObject(void *x
) {
21460 return (void *)((wxObject
*) ((wxEvent
*) x
));
21462 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21463 return (void *)((wxObject
*) ((wxFontData
*) x
));
21465 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21466 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21468 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21469 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21471 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21472 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21474 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21475 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21477 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21478 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21480 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
21481 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
21483 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21484 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21486 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
21487 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
21489 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
21490 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
21492 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21493 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21495 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21496 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21498 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21499 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21501 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21502 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21504 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21505 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21507 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21508 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21510 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21513 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
21514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
21516 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
21517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
21519 static void *_p_wxControlTo_p_wxObject(void *x
) {
21520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21522 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21523 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21525 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21528 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21529 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21531 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21532 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21534 static void *_p_wxGridTo_p_wxObject(void *x
) {
21535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21537 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21538 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21540 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21543 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
21544 return (void *)((wxObject
*) ((wxColourData
*) x
));
21546 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21547 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21549 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21552 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
21553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
21555 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
21556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21558 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
21559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21561 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
21562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21564 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
21565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21567 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
21568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21570 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
21571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21573 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
21574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
21576 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
21577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21579 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
21580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21582 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
21583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21585 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21586 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21588 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
21589 return (void *)((wxObject
*) ((wxPrinter
*) x
));
21591 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21592 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21594 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
21595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
21597 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21598 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21600 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21603 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21604 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21606 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21607 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21609 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21610 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21612 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21613 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21615 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21616 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21618 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21619 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21621 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
21622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
21624 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21625 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21627 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21628 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21630 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21631 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21633 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21634 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21636 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21639 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21640 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21642 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21643 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21645 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21646 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21648 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21651 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
21652 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
21654 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21655 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21657 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21660 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21663 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21664 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21666 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
21667 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
21669 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
21670 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21672 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
21673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
21675 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
21676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21678 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
21679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21681 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
21682 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
21684 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21685 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21687 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
21688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21690 static void *_p_wxImageTo_p_wxObject(void *x
) {
21691 return (void *)((wxObject
*) ((wxImage
*) x
));
21693 static void *_p_wxFrameTo_p_wxObject(void *x
) {
21694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21696 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
21697 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
21699 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21700 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21702 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
21703 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21705 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
21706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
21708 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
21709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21711 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21714 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21715 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21717 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21718 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21720 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21721 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21723 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21724 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21726 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21729 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
21730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21732 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
21733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
21735 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
21736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
21738 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
21739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
21741 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
21742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
21744 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
21745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21747 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
21748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
21750 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
21751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21753 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
21754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21756 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
21757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21759 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
21760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
21762 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
21763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21765 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
21766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
21768 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
21769 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
21771 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
21772 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
21774 static void *_p_wxPanelTo_p_wxObject(void *x
) {
21775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
21777 static void *_p_wxDialogTo_p_wxObject(void *x
) {
21778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21780 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
21781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21783 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
21784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21786 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
21787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21789 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
21790 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
21792 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
21793 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
21795 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21796 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21798 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21801 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21802 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21804 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21805 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21807 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21808 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21810 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21811 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21813 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21814 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21816 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
21817 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
21819 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
21820 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
21822 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21825 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21826 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21828 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
21829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21831 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
21832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21834 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21835 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21837 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21838 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21840 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21843 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21846 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
21847 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
21849 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
21850 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
21852 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21855 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21856 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21858 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21861 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21864 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21867 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21868 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21870 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21871 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21873 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21874 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21876 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21877 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21879 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
21880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
21882 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21885 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21888 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21891 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21894 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
21895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
21897 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21900 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21903 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21906 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21907 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21909 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21910 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21912 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21915 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21918 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21921 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21922 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21924 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21927 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21928 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21930 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21931 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21933 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21934 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21936 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21937 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21939 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21942 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21943 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21945 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21946 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21948 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
21949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
21951 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21952 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21954 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21957 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21960 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21963 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21964 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21966 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
21967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
21969 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21972 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21973 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21975 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21978 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21979 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21981 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21984 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21987 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21990 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
21991 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
21993 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21996 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21997 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21999 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
22000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22002 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
22003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22005 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
22006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22008 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
22009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22011 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
22012 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
22014 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
22015 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
22017 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
22018 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
22020 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
22021 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
22023 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
22024 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
22026 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
22027 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
22029 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
22030 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
22032 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
22033 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
22035 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
22036 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
22038 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
22039 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
22041 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
22042 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
22044 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
22045 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
22047 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
22048 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
22050 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22051 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22053 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22054 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22056 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22057 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22059 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
22060 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
22062 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22063 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22065 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22066 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22068 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22069 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22071 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22072 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22074 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
22075 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
22077 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22078 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22080 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
22081 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
22083 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
22084 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
22086 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
22087 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
22089 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
22090 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
22092 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22093 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22095 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22096 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22098 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22099 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22101 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
22102 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
22104 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
22105 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
22107 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
22108 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};
22109 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
22110 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
22111 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
22112 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
22113 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
22114 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
22115 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
22116 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
22117 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
22118 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
22119 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
22120 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
22121 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
22122 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
22123 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
22124 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
22125 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
22126 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
22127 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
22128 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
22129 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
22130 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
22131 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
22132 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
22133 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
22134 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
22135 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
22136 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
22137 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
22138 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
22139 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
22140 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
22141 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
22142 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
22143 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
22144 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
22145 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
22146 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
22147 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
22148 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
22149 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
22150 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
22151 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
22152 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
22153 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
22154 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
22155 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
22156 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
22157 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
22158 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
22159 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
22160 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
22161 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
22162 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
22163 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
22164 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
22165 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
22166 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
22167 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
22168 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
22169 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
22170 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
22171 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
22172 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
22173 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
22174 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
22175 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
22176 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
22177 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
22178 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
22179 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
22180 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
22181 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
22182 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
22183 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
22184 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
22185 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
22186 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
22187 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
22188 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
22189 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
22190 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
22191 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
22192 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
22193 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
22194 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
22195 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
22196 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
22197 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
22198 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
22199 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
22200 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
22201 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
22202 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
22203 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
22204 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
22205 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
22206 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
22207 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
22208 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
22209 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
22210 static swig_type_info _swigt__p_wxGrid
= {"_p_wxGrid", "wxGrid *", 0, 0, (void*)0, 0};
22211 static swig_type_info _swigt__p_wxGridCellAttr
= {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, (void*)0, 0};
22212 static swig_type_info _swigt__p_wxGridCellAttrProvider
= {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, (void*)0, 0};
22213 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
= {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, (void*)0, 0};
22214 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
= {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, (void*)0, 0};
22215 static swig_type_info _swigt__p_wxGridCellBoolEditor
= {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, (void*)0, 0};
22216 static swig_type_info _swigt__p_wxGridCellBoolRenderer
= {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, (void*)0, 0};
22217 static swig_type_info _swigt__p_wxGridCellChoiceEditor
= {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, (void*)0, 0};
22218 static swig_type_info _swigt__p_wxGridCellCoords
= {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, (void*)0, 0};
22219 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
= {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, (void*)0, 0};
22220 static swig_type_info _swigt__p_wxGridCellEditor
= {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, (void*)0, 0};
22221 static swig_type_info _swigt__p_wxGridCellEnumEditor
= {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, (void*)0, 0};
22222 static swig_type_info _swigt__p_wxGridCellEnumRenderer
= {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, (void*)0, 0};
22223 static swig_type_info _swigt__p_wxGridCellFloatEditor
= {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, (void*)0, 0};
22224 static swig_type_info _swigt__p_wxGridCellFloatRenderer
= {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, (void*)0, 0};
22225 static swig_type_info _swigt__p_wxGridCellNumberEditor
= {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, (void*)0, 0};
22226 static swig_type_info _swigt__p_wxGridCellNumberRenderer
= {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, (void*)0, 0};
22227 static swig_type_info _swigt__p_wxGridCellRenderer
= {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, (void*)0, 0};
22228 static swig_type_info _swigt__p_wxGridCellStringRenderer
= {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, (void*)0, 0};
22229 static swig_type_info _swigt__p_wxGridCellTextEditor
= {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, (void*)0, 0};
22230 static swig_type_info _swigt__p_wxGridCellWorker
= {"_p_wxGridCellWorker", "wxGridCellWorker *", 0, 0, (void*)0, 0};
22231 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
= {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, (void*)0, 0};
22232 static swig_type_info _swigt__p_wxGridEvent
= {"_p_wxGridEvent", "wxGridEvent *", 0, 0, (void*)0, 0};
22233 static swig_type_info _swigt__p_wxGridRangeSelectEvent
= {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, (void*)0, 0};
22234 static swig_type_info _swigt__p_wxGridSizeEvent
= {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, (void*)0, 0};
22235 static swig_type_info _swigt__p_wxGridStringTable
= {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, (void*)0, 0};
22236 static swig_type_info _swigt__p_wxGridTableBase
= {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, (void*)0, 0};
22237 static swig_type_info _swigt__p_wxGridTableMessage
= {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, (void*)0, 0};
22238 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
22239 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
22240 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
22241 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
22242 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
22243 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
22244 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
22245 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
22246 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
22247 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
22248 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
22249 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
22250 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
22251 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
22252 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
22253 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
22254 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
22255 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
22256 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
22257 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
22258 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
22259 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
22260 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
22261 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
22262 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
22263 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
22264 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
22265 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
22266 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
22267 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
22268 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
22269 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
22270 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
22271 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
22272 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
22273 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
22274 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
22275 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
22276 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
22277 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
22278 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
22279 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
22280 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
22281 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22282 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
22283 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
22284 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
22285 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22286 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
22287 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22288 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
= {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, (void*)0, 0};
22289 static swig_type_info _swigt__p_wxPyGridCellEditor
= {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, (void*)0, 0};
22290 static swig_type_info _swigt__p_wxPyGridCellRenderer
= {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, (void*)0, 0};
22291 static swig_type_info _swigt__p_wxPyGridTableBase
= {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, (void*)0, 0};
22292 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22293 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
22294 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
22295 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
22296 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
22297 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22299 static swig_type_info
*swig_type_initial
[] = {
22301 &_swigt__p_form_ops_t
,
22304 &_swigt__p_unsigned_char
,
22305 &_swigt__p_unsigned_int
,
22306 &_swigt__p_unsigned_long
,
22307 &_swigt__p_wxANIHandler
,
22308 &_swigt__p_wxAcceleratorTable
,
22309 &_swigt__p_wxActivateEvent
,
22310 &_swigt__p_wxArrayString
,
22311 &_swigt__p_wxBMPHandler
,
22312 &_swigt__p_wxBoxSizer
,
22313 &_swigt__p_wxCURHandler
,
22314 &_swigt__p_wxCalculateLayoutEvent
,
22315 &_swigt__p_wxChildFocusEvent
,
22316 &_swigt__p_wxClipboardTextEvent
,
22317 &_swigt__p_wxCloseEvent
,
22318 &_swigt__p_wxColour
,
22319 &_swigt__p_wxColourData
,
22320 &_swigt__p_wxColourDialog
,
22321 &_swigt__p_wxCommandEvent
,
22322 &_swigt__p_wxContextMenuEvent
,
22323 &_swigt__p_wxControl
,
22324 &_swigt__p_wxControlWithItems
,
22326 &_swigt__p_wxDateEvent
,
22327 &_swigt__p_wxDialog
,
22328 &_swigt__p_wxDirDialog
,
22329 &_swigt__p_wxDisplayChangedEvent
,
22330 &_swigt__p_wxDropFilesEvent
,
22331 &_swigt__p_wxDuplexMode
,
22332 &_swigt__p_wxEraseEvent
,
22333 &_swigt__p_wxEvent
,
22334 &_swigt__p_wxEvtHandler
,
22335 &_swigt__p_wxFSFile
,
22336 &_swigt__p_wxFileDialog
,
22337 &_swigt__p_wxFileSystem
,
22338 &_swigt__p_wxFindDialogEvent
,
22339 &_swigt__p_wxFindReplaceData
,
22340 &_swigt__p_wxFindReplaceDialog
,
22341 &_swigt__p_wxFlexGridSizer
,
22342 &_swigt__p_wxFocusEvent
,
22344 &_swigt__p_wxFontData
,
22345 &_swigt__p_wxFontDialog
,
22346 &_swigt__p_wxFrame
,
22347 &_swigt__p_wxGBSizerItem
,
22348 &_swigt__p_wxGIFHandler
,
22350 &_swigt__p_wxGridBagSizer
,
22351 &_swigt__p_wxGridCellAttr
,
22352 &_swigt__p_wxGridCellAttrProvider
,
22353 &_swigt__p_wxGridCellAutoWrapStringEditor
,
22354 &_swigt__p_wxGridCellAutoWrapStringRenderer
,
22355 &_swigt__p_wxGridCellBoolEditor
,
22356 &_swigt__p_wxGridCellBoolRenderer
,
22357 &_swigt__p_wxGridCellChoiceEditor
,
22358 &_swigt__p_wxGridCellCoords
,
22359 &_swigt__p_wxGridCellDateTimeRenderer
,
22360 &_swigt__p_wxGridCellEditor
,
22361 &_swigt__p_wxGridCellEnumEditor
,
22362 &_swigt__p_wxGridCellEnumRenderer
,
22363 &_swigt__p_wxGridCellFloatEditor
,
22364 &_swigt__p_wxGridCellFloatRenderer
,
22365 &_swigt__p_wxGridCellNumberEditor
,
22366 &_swigt__p_wxGridCellNumberRenderer
,
22367 &_swigt__p_wxGridCellRenderer
,
22368 &_swigt__p_wxGridCellStringRenderer
,
22369 &_swigt__p_wxGridCellTextEditor
,
22370 &_swigt__p_wxGridCellWorker
,
22371 &_swigt__p_wxGridEditorCreatedEvent
,
22372 &_swigt__p_wxGridEvent
,
22373 &_swigt__p_wxGridRangeSelectEvent
,
22374 &_swigt__p_wxGridSizeEvent
,
22375 &_swigt__p_wxGridSizer
,
22376 &_swigt__p_wxGridStringTable
,
22377 &_swigt__p_wxGridTableBase
,
22378 &_swigt__p_wxGridTableMessage
,
22379 &_swigt__p_wxICOHandler
,
22380 &_swigt__p_wxIconizeEvent
,
22381 &_swigt__p_wxIdleEvent
,
22382 &_swigt__p_wxImage
,
22383 &_swigt__p_wxImageHandler
,
22384 &_swigt__p_wxIndividualLayoutConstraint
,
22385 &_swigt__p_wxInitDialogEvent
,
22386 &_swigt__p_wxJPEGHandler
,
22387 &_swigt__p_wxKeyEvent
,
22388 &_swigt__p_wxLayoutAlgorithm
,
22389 &_swigt__p_wxLayoutConstraints
,
22390 &_swigt__p_wxMDIChildFrame
,
22391 &_swigt__p_wxMDIClientWindow
,
22392 &_swigt__p_wxMDIParentFrame
,
22393 &_swigt__p_wxMaximizeEvent
,
22395 &_swigt__p_wxMenuBar
,
22396 &_swigt__p_wxMenuEvent
,
22397 &_swigt__p_wxMenuItem
,
22398 &_swigt__p_wxMessageDialog
,
22399 &_swigt__p_wxMiniFrame
,
22400 &_swigt__p_wxMouseCaptureChangedEvent
,
22401 &_swigt__p_wxMouseCaptureLostEvent
,
22402 &_swigt__p_wxMouseEvent
,
22403 &_swigt__p_wxMoveEvent
,
22404 &_swigt__p_wxMultiChoiceDialog
,
22405 &_swigt__p_wxNavigationKeyEvent
,
22406 &_swigt__p_wxNcPaintEvent
,
22407 &_swigt__p_wxNotifyEvent
,
22408 &_swigt__p_wxNumberEntryDialog
,
22409 &_swigt__p_wxObject
,
22410 &_swigt__p_wxPCXHandler
,
22411 &_swigt__p_wxPNGHandler
,
22412 &_swigt__p_wxPNMHandler
,
22413 &_swigt__p_wxPageSetupDialog
,
22414 &_swigt__p_wxPageSetupDialogData
,
22415 &_swigt__p_wxPaintEvent
,
22416 &_swigt__p_wxPaletteChangedEvent
,
22417 &_swigt__p_wxPanel
,
22418 &_swigt__p_wxPaperSize
,
22419 &_swigt__p_wxPasswordEntryDialog
,
22421 &_swigt__p_wxPoint
,
22422 &_swigt__p_wxPopupWindow
,
22423 &_swigt__p_wxPreviewCanvas
,
22424 &_swigt__p_wxPreviewControlBar
,
22425 &_swigt__p_wxPreviewFrame
,
22426 &_swigt__p_wxPrintData
,
22427 &_swigt__p_wxPrintDialog
,
22428 &_swigt__p_wxPrintDialogData
,
22429 &_swigt__p_wxPrintPreview
,
22430 &_swigt__p_wxPrinter
,
22431 &_swigt__p_wxProgressDialog
,
22432 &_swigt__p_wxPyApp
,
22433 &_swigt__p_wxPyCommandEvent
,
22434 &_swigt__p_wxPyEvent
,
22435 &_swigt__p_wxPyGridCellAttrProvider
,
22436 &_swigt__p_wxPyGridCellEditor
,
22437 &_swigt__p_wxPyGridCellRenderer
,
22438 &_swigt__p_wxPyGridTableBase
,
22439 &_swigt__p_wxPyHtmlListBox
,
22440 &_swigt__p_wxPyImageHandler
,
22441 &_swigt__p_wxPyPanel
,
22442 &_swigt__p_wxPyPopupTransientWindow
,
22443 &_swigt__p_wxPyPreviewControlBar
,
22444 &_swigt__p_wxPyPreviewFrame
,
22445 &_swigt__p_wxPyPrintPreview
,
22446 &_swigt__p_wxPyPrintout
,
22447 &_swigt__p_wxPyScrolledWindow
,
22448 &_swigt__p_wxPySizer
,
22449 &_swigt__p_wxPyTaskBarIcon
,
22450 &_swigt__p_wxPyVListBox
,
22451 &_swigt__p_wxPyVScrolledWindow
,
22452 &_swigt__p_wxPyValidator
,
22453 &_swigt__p_wxPyWindow
,
22454 &_swigt__p_wxQueryLayoutInfoEvent
,
22455 &_swigt__p_wxQueryNewPaletteEvent
,
22457 &_swigt__p_wxSashEvent
,
22458 &_swigt__p_wxSashLayoutWindow
,
22459 &_swigt__p_wxSashWindow
,
22460 &_swigt__p_wxScrollEvent
,
22461 &_swigt__p_wxScrollWinEvent
,
22462 &_swigt__p_wxScrolledWindow
,
22463 &_swigt__p_wxSetCursorEvent
,
22464 &_swigt__p_wxShowEvent
,
22465 &_swigt__p_wxSingleChoiceDialog
,
22467 &_swigt__p_wxSizeEvent
,
22468 &_swigt__p_wxSizer
,
22469 &_swigt__p_wxSizerItem
,
22470 &_swigt__p_wxSplashScreen
,
22471 &_swigt__p_wxSplashScreenWindow
,
22472 &_swigt__p_wxSplitterEvent
,
22473 &_swigt__p_wxSplitterWindow
,
22474 &_swigt__p_wxStaticBoxSizer
,
22475 &_swigt__p_wxStatusBar
,
22476 &_swigt__p_wxStdDialogButtonSizer
,
22477 &_swigt__p_wxString
,
22478 &_swigt__p_wxSysColourChangedEvent
,
22479 &_swigt__p_wxTIFFHandler
,
22480 &_swigt__p_wxTaskBarIconEvent
,
22481 &_swigt__p_wxTextEntryDialog
,
22482 &_swigt__p_wxTipWindow
,
22483 &_swigt__p_wxTopLevelWindow
,
22484 &_swigt__p_wxUpdateUIEvent
,
22485 &_swigt__p_wxValidator
,
22486 &_swigt__p_wxVisualAttributes
,
22487 &_swigt__p_wxWindow
,
22488 &_swigt__p_wxWindowCreateEvent
,
22489 &_swigt__p_wxWindowDestroyEvent
,
22490 &_swigt__p_wxXPMHandler
,
22493 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
22494 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
22495 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
22496 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
22497 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
22498 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
22499 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
22500 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
22501 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
22502 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
22503 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22504 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
22505 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
22506 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
22507 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
22508 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22509 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22510 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22511 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22512 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22513 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
22514 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}};
22515 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
22516 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}};
22517 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
22518 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
22519 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22520 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22521 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22522 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22523 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
22524 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22525 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22526 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
22527 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
22528 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
22529 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
22530 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22531 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22532 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22533 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22534 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
22535 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22536 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22537 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22538 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22539 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22540 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22541 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
22542 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22543 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
22544 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
22545 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22546 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
22547 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
22548 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
22549 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
22550 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
22551 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
22552 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
22553 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
22554 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
22555 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22556 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
22557 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22558 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22559 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
22560 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
22561 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22562 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
22563 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
22564 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
22565 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
22566 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
22567 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
22568 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
22569 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
22570 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22571 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22572 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
22573 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
22574 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
22575 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
22576 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22577 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
22578 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
22579 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
22580 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
22581 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
22582 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
22583 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
22584 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22585 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
22586 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
22587 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
22588 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
22589 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
22590 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
22591 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
22592 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
22593 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
22594 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
22595 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
22596 static swig_cast_info _swigc__p_wxGrid
[] = { {&_swigt__p_wxGrid
, 0, 0, 0},{0, 0, 0, 0}};
22597 static swig_cast_info _swigc__p_wxGridCellAttr
[] = { {&_swigt__p_wxGridCellAttr
, 0, 0, 0},{0, 0, 0, 0}};
22598 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}};
22599 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor
[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor
, 0, 0, 0},{0, 0, 0, 0}};
22600 static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer
[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22601 static swig_cast_info _swigc__p_wxGridCellBoolEditor
[] = { {&_swigt__p_wxGridCellBoolEditor
, 0, 0, 0},{0, 0, 0, 0}};
22602 static swig_cast_info _swigc__p_wxGridCellBoolRenderer
[] = { {&_swigt__p_wxGridCellBoolRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22603 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}};
22604 static swig_cast_info _swigc__p_wxGridCellCoords
[] = { {&_swigt__p_wxGridCellCoords
, 0, 0, 0},{0, 0, 0, 0}};
22605 static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer
[] = { {&_swigt__p_wxGridCellDateTimeRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22606 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}};
22607 static swig_cast_info _swigc__p_wxGridCellEnumEditor
[] = { {&_swigt__p_wxGridCellEnumEditor
, 0, 0, 0},{0, 0, 0, 0}};
22608 static swig_cast_info _swigc__p_wxGridCellEnumRenderer
[] = { {&_swigt__p_wxGridCellEnumRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22609 static swig_cast_info _swigc__p_wxGridCellFloatEditor
[] = { {&_swigt__p_wxGridCellFloatEditor
, 0, 0, 0},{0, 0, 0, 0}};
22610 static swig_cast_info _swigc__p_wxGridCellFloatRenderer
[] = { {&_swigt__p_wxGridCellFloatRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22611 static swig_cast_info _swigc__p_wxGridCellNumberEditor
[] = { {&_swigt__p_wxGridCellNumberEditor
, 0, 0, 0},{0, 0, 0, 0}};
22612 static swig_cast_info _swigc__p_wxGridCellNumberRenderer
[] = { {&_swigt__p_wxGridCellNumberRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22613 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}};
22614 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}};
22615 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}};
22616 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}};
22617 static swig_cast_info _swigc__p_wxGridEditorCreatedEvent
[] = { {&_swigt__p_wxGridEditorCreatedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22618 static swig_cast_info _swigc__p_wxGridEvent
[] = { {&_swigt__p_wxGridEvent
, 0, 0, 0},{0, 0, 0, 0}};
22619 static swig_cast_info _swigc__p_wxGridRangeSelectEvent
[] = { {&_swigt__p_wxGridRangeSelectEvent
, 0, 0, 0},{0, 0, 0, 0}};
22620 static swig_cast_info _swigc__p_wxGridSizeEvent
[] = { {&_swigt__p_wxGridSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22621 static swig_cast_info _swigc__p_wxGridStringTable
[] = { {&_swigt__p_wxGridStringTable
, 0, 0, 0},{0, 0, 0, 0}};
22622 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}};
22623 static swig_cast_info _swigc__p_wxGridTableMessage
[] = { {&_swigt__p_wxGridTableMessage
, 0, 0, 0},{0, 0, 0, 0}};
22624 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22625 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}};
22626 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
22627 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22628 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22629 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
22630 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22631 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22632 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22633 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
22634 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
22635 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
22636 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22637 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22638 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
22639 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
22640 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
22641 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
22642 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
22643 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
22644 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
22645 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22646 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
22647 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22648 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22649 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22650 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
22651 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
22652 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
22653 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
22654 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22655 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22656 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22657 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22658 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
22659 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
22660 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
22661 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
22662 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22663 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
22664 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
22665 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
22666 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
22667 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22668 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
22669 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridStringTable
, _p_wxGridStringTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent
, _p_wxGridEditorCreatedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridEvent
, _p_wxGridEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizeEvent
, _p_wxGridSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent
, _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
22670 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}};
22671 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
22672 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
22673 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
22674 static swig_cast_info _swigc__p_wxPyGridCellAttrProvider
[] = { {&_swigt__p_wxPyGridCellAttrProvider
, 0, 0, 0},{0, 0, 0, 0}};
22675 static swig_cast_info _swigc__p_wxPyGridCellEditor
[] = { {&_swigt__p_wxPyGridCellEditor
, 0, 0, 0},{0, 0, 0, 0}};
22676 static swig_cast_info _swigc__p_wxPyGridCellRenderer
[] = { {&_swigt__p_wxPyGridCellRenderer
, 0, 0, 0},{0, 0, 0, 0}};
22677 static swig_cast_info _swigc__p_wxPyGridTableBase
[] = { {&_swigt__p_wxPyGridTableBase
, 0, 0, 0},{0, 0, 0, 0}};
22678 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
22679 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}};
22680 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
22681 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
22682 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
22683 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGrid
, _p_wxGridTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
22685 static swig_cast_info
*swig_cast_initial
[] = {
22687 _swigc__p_form_ops_t
,
22690 _swigc__p_unsigned_char
,
22691 _swigc__p_unsigned_int
,
22692 _swigc__p_unsigned_long
,
22693 _swigc__p_wxANIHandler
,
22694 _swigc__p_wxAcceleratorTable
,
22695 _swigc__p_wxActivateEvent
,
22696 _swigc__p_wxArrayString
,
22697 _swigc__p_wxBMPHandler
,
22698 _swigc__p_wxBoxSizer
,
22699 _swigc__p_wxCURHandler
,
22700 _swigc__p_wxCalculateLayoutEvent
,
22701 _swigc__p_wxChildFocusEvent
,
22702 _swigc__p_wxClipboardTextEvent
,
22703 _swigc__p_wxCloseEvent
,
22704 _swigc__p_wxColour
,
22705 _swigc__p_wxColourData
,
22706 _swigc__p_wxColourDialog
,
22707 _swigc__p_wxCommandEvent
,
22708 _swigc__p_wxContextMenuEvent
,
22709 _swigc__p_wxControl
,
22710 _swigc__p_wxControlWithItems
,
22712 _swigc__p_wxDateEvent
,
22713 _swigc__p_wxDialog
,
22714 _swigc__p_wxDirDialog
,
22715 _swigc__p_wxDisplayChangedEvent
,
22716 _swigc__p_wxDropFilesEvent
,
22717 _swigc__p_wxDuplexMode
,
22718 _swigc__p_wxEraseEvent
,
22720 _swigc__p_wxEvtHandler
,
22721 _swigc__p_wxFSFile
,
22722 _swigc__p_wxFileDialog
,
22723 _swigc__p_wxFileSystem
,
22724 _swigc__p_wxFindDialogEvent
,
22725 _swigc__p_wxFindReplaceData
,
22726 _swigc__p_wxFindReplaceDialog
,
22727 _swigc__p_wxFlexGridSizer
,
22728 _swigc__p_wxFocusEvent
,
22730 _swigc__p_wxFontData
,
22731 _swigc__p_wxFontDialog
,
22733 _swigc__p_wxGBSizerItem
,
22734 _swigc__p_wxGIFHandler
,
22736 _swigc__p_wxGridBagSizer
,
22737 _swigc__p_wxGridCellAttr
,
22738 _swigc__p_wxGridCellAttrProvider
,
22739 _swigc__p_wxGridCellAutoWrapStringEditor
,
22740 _swigc__p_wxGridCellAutoWrapStringRenderer
,
22741 _swigc__p_wxGridCellBoolEditor
,
22742 _swigc__p_wxGridCellBoolRenderer
,
22743 _swigc__p_wxGridCellChoiceEditor
,
22744 _swigc__p_wxGridCellCoords
,
22745 _swigc__p_wxGridCellDateTimeRenderer
,
22746 _swigc__p_wxGridCellEditor
,
22747 _swigc__p_wxGridCellEnumEditor
,
22748 _swigc__p_wxGridCellEnumRenderer
,
22749 _swigc__p_wxGridCellFloatEditor
,
22750 _swigc__p_wxGridCellFloatRenderer
,
22751 _swigc__p_wxGridCellNumberEditor
,
22752 _swigc__p_wxGridCellNumberRenderer
,
22753 _swigc__p_wxGridCellRenderer
,
22754 _swigc__p_wxGridCellStringRenderer
,
22755 _swigc__p_wxGridCellTextEditor
,
22756 _swigc__p_wxGridCellWorker
,
22757 _swigc__p_wxGridEditorCreatedEvent
,
22758 _swigc__p_wxGridEvent
,
22759 _swigc__p_wxGridRangeSelectEvent
,
22760 _swigc__p_wxGridSizeEvent
,
22761 _swigc__p_wxGridSizer
,
22762 _swigc__p_wxGridStringTable
,
22763 _swigc__p_wxGridTableBase
,
22764 _swigc__p_wxGridTableMessage
,
22765 _swigc__p_wxICOHandler
,
22766 _swigc__p_wxIconizeEvent
,
22767 _swigc__p_wxIdleEvent
,
22769 _swigc__p_wxImageHandler
,
22770 _swigc__p_wxIndividualLayoutConstraint
,
22771 _swigc__p_wxInitDialogEvent
,
22772 _swigc__p_wxJPEGHandler
,
22773 _swigc__p_wxKeyEvent
,
22774 _swigc__p_wxLayoutAlgorithm
,
22775 _swigc__p_wxLayoutConstraints
,
22776 _swigc__p_wxMDIChildFrame
,
22777 _swigc__p_wxMDIClientWindow
,
22778 _swigc__p_wxMDIParentFrame
,
22779 _swigc__p_wxMaximizeEvent
,
22781 _swigc__p_wxMenuBar
,
22782 _swigc__p_wxMenuEvent
,
22783 _swigc__p_wxMenuItem
,
22784 _swigc__p_wxMessageDialog
,
22785 _swigc__p_wxMiniFrame
,
22786 _swigc__p_wxMouseCaptureChangedEvent
,
22787 _swigc__p_wxMouseCaptureLostEvent
,
22788 _swigc__p_wxMouseEvent
,
22789 _swigc__p_wxMoveEvent
,
22790 _swigc__p_wxMultiChoiceDialog
,
22791 _swigc__p_wxNavigationKeyEvent
,
22792 _swigc__p_wxNcPaintEvent
,
22793 _swigc__p_wxNotifyEvent
,
22794 _swigc__p_wxNumberEntryDialog
,
22795 _swigc__p_wxObject
,
22796 _swigc__p_wxPCXHandler
,
22797 _swigc__p_wxPNGHandler
,
22798 _swigc__p_wxPNMHandler
,
22799 _swigc__p_wxPageSetupDialog
,
22800 _swigc__p_wxPageSetupDialogData
,
22801 _swigc__p_wxPaintEvent
,
22802 _swigc__p_wxPaletteChangedEvent
,
22804 _swigc__p_wxPaperSize
,
22805 _swigc__p_wxPasswordEntryDialog
,
22808 _swigc__p_wxPopupWindow
,
22809 _swigc__p_wxPreviewCanvas
,
22810 _swigc__p_wxPreviewControlBar
,
22811 _swigc__p_wxPreviewFrame
,
22812 _swigc__p_wxPrintData
,
22813 _swigc__p_wxPrintDialog
,
22814 _swigc__p_wxPrintDialogData
,
22815 _swigc__p_wxPrintPreview
,
22816 _swigc__p_wxPrinter
,
22817 _swigc__p_wxProgressDialog
,
22819 _swigc__p_wxPyCommandEvent
,
22820 _swigc__p_wxPyEvent
,
22821 _swigc__p_wxPyGridCellAttrProvider
,
22822 _swigc__p_wxPyGridCellEditor
,
22823 _swigc__p_wxPyGridCellRenderer
,
22824 _swigc__p_wxPyGridTableBase
,
22825 _swigc__p_wxPyHtmlListBox
,
22826 _swigc__p_wxPyImageHandler
,
22827 _swigc__p_wxPyPanel
,
22828 _swigc__p_wxPyPopupTransientWindow
,
22829 _swigc__p_wxPyPreviewControlBar
,
22830 _swigc__p_wxPyPreviewFrame
,
22831 _swigc__p_wxPyPrintPreview
,
22832 _swigc__p_wxPyPrintout
,
22833 _swigc__p_wxPyScrolledWindow
,
22834 _swigc__p_wxPySizer
,
22835 _swigc__p_wxPyTaskBarIcon
,
22836 _swigc__p_wxPyVListBox
,
22837 _swigc__p_wxPyVScrolledWindow
,
22838 _swigc__p_wxPyValidator
,
22839 _swigc__p_wxPyWindow
,
22840 _swigc__p_wxQueryLayoutInfoEvent
,
22841 _swigc__p_wxQueryNewPaletteEvent
,
22843 _swigc__p_wxSashEvent
,
22844 _swigc__p_wxSashLayoutWindow
,
22845 _swigc__p_wxSashWindow
,
22846 _swigc__p_wxScrollEvent
,
22847 _swigc__p_wxScrollWinEvent
,
22848 _swigc__p_wxScrolledWindow
,
22849 _swigc__p_wxSetCursorEvent
,
22850 _swigc__p_wxShowEvent
,
22851 _swigc__p_wxSingleChoiceDialog
,
22853 _swigc__p_wxSizeEvent
,
22855 _swigc__p_wxSizerItem
,
22856 _swigc__p_wxSplashScreen
,
22857 _swigc__p_wxSplashScreenWindow
,
22858 _swigc__p_wxSplitterEvent
,
22859 _swigc__p_wxSplitterWindow
,
22860 _swigc__p_wxStaticBoxSizer
,
22861 _swigc__p_wxStatusBar
,
22862 _swigc__p_wxStdDialogButtonSizer
,
22863 _swigc__p_wxString
,
22864 _swigc__p_wxSysColourChangedEvent
,
22865 _swigc__p_wxTIFFHandler
,
22866 _swigc__p_wxTaskBarIconEvent
,
22867 _swigc__p_wxTextEntryDialog
,
22868 _swigc__p_wxTipWindow
,
22869 _swigc__p_wxTopLevelWindow
,
22870 _swigc__p_wxUpdateUIEvent
,
22871 _swigc__p_wxValidator
,
22872 _swigc__p_wxVisualAttributes
,
22873 _swigc__p_wxWindow
,
22874 _swigc__p_wxWindowCreateEvent
,
22875 _swigc__p_wxWindowDestroyEvent
,
22876 _swigc__p_wxXPMHandler
,
22880 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22882 static swig_const_info swig_const_table
[] = {
22883 {0, 0, 0, 0.0, 0, 0}};
22888 /* -----------------------------------------------------------------------------
22889 * Type initialization:
22890 * This problem is tough by the requirement that no dynamic
22891 * memory is used. Also, since swig_type_info structures store pointers to
22892 * swig_cast_info structures and swig_cast_info structures store pointers back
22893 * to swig_type_info structures, we need some lookup code at initialization.
22894 * The idea is that swig generates all the structures that are needed.
22895 * The runtime then collects these partially filled structures.
22896 * The SWIG_InitializeModule function takes these initial arrays out of
22897 * swig_module, and does all the lookup, filling in the swig_module.types
22898 * array with the correct data and linking the correct swig_cast_info
22899 * structures together.
22901 * The generated swig_type_info structures are assigned staticly to an initial
22902 * array. We just loop though that array, and handle each type individually.
22903 * First we lookup if this type has been already loaded, and if so, use the
22904 * loaded structure instead of the generated one. Then we have to fill in the
22905 * cast linked list. The cast data is initially stored in something like a
22906 * two-dimensional array. Each row corresponds to a type (there are the same
22907 * number of rows as there are in the swig_type_initial array). Each entry in
22908 * a column is one of the swig_cast_info structures for that type.
22909 * The cast_initial array is actually an array of arrays, because each row has
22910 * a variable number of columns. So to actually build the cast linked list,
22911 * we find the array of casts associated with the type, and loop through it
22912 * adding the casts to the list. The one last trick we need to do is making
22913 * sure the type pointer in the swig_cast_info struct is correct.
22915 * First off, we lookup the cast->type name to see if it is already loaded.
22916 * There are three cases to handle:
22917 * 1) If the cast->type has already been loaded AND the type we are adding
22918 * casting info to has not been loaded (it is in this module), THEN we
22919 * replace the cast->type pointer with the type pointer that has already
22921 * 2) If BOTH types (the one we are adding casting info to, and the
22922 * cast->type) are loaded, THEN the cast info has already been loaded by
22923 * the previous module so we just ignore it.
22924 * 3) Finally, if cast->type has not already been loaded, then we add that
22925 * swig_cast_info to the linked list (because the cast->type) pointer will
22927 * ----------------------------------------------------------------------------- */
22937 #define SWIGRUNTIME_DEBUG
22941 SWIG_InitializeModule(void *clientdata
) {
22943 swig_module_info
*module_head
;
22944 static int init_run
= 0;
22946 clientdata
= clientdata
;
22948 if (init_run
) return;
22951 /* Initialize the swig_module */
22952 swig_module
.type_initial
= swig_type_initial
;
22953 swig_module
.cast_initial
= swig_cast_initial
;
22955 /* Try and load any already created modules */
22956 module_head
= SWIG_GetModule(clientdata
);
22958 swig_module
.next
= module_head
->next
;
22959 module_head
->next
= &swig_module
;
22961 /* This is the first module loaded */
22962 swig_module
.next
= &swig_module
;
22963 SWIG_SetModule(clientdata
, &swig_module
);
22966 /* Now work on filling in swig_module.types */
22967 #ifdef SWIGRUNTIME_DEBUG
22968 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
22970 for (i
= 0; i
< swig_module
.size
; ++i
) {
22971 swig_type_info
*type
= 0;
22972 swig_type_info
*ret
;
22973 swig_cast_info
*cast
;
22975 #ifdef SWIGRUNTIME_DEBUG
22976 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
22979 /* if there is another module already loaded */
22980 if (swig_module
.next
!= &swig_module
) {
22981 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
22984 /* Overwrite clientdata field */
22985 #ifdef SWIGRUNTIME_DEBUG
22986 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
22988 if (swig_module
.type_initial
[i
]->clientdata
) {
22989 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
22990 #ifdef SWIGRUNTIME_DEBUG
22991 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
22995 type
= swig_module
.type_initial
[i
];
22998 /* Insert casting types */
22999 cast
= swig_module
.cast_initial
[i
];
23000 while (cast
->type
) {
23001 /* Don't need to add information already in the list */
23003 #ifdef SWIGRUNTIME_DEBUG
23004 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
23006 if (swig_module
.next
!= &swig_module
) {
23007 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
23008 #ifdef SWIGRUNTIME_DEBUG
23009 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
23013 if (type
== swig_module
.type_initial
[i
]) {
23014 #ifdef SWIGRUNTIME_DEBUG
23015 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
23020 /* Check for casting already in the list */
23021 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
23022 #ifdef SWIGRUNTIME_DEBUG
23023 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
23025 if (!ocast
) ret
= 0;
23030 #ifdef SWIGRUNTIME_DEBUG
23031 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
23034 type
->cast
->prev
= cast
;
23035 cast
->next
= type
->cast
;
23041 /* Set entry in modules->types array equal to the type */
23042 swig_module
.types
[i
] = type
;
23044 swig_module
.types
[i
] = 0;
23046 #ifdef SWIGRUNTIME_DEBUG
23047 printf("**** SWIG_InitializeModule: Cast List ******\n");
23048 for (i
= 0; i
< swig_module
.size
; ++i
) {
23050 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
23051 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
23052 while (cast
->type
) {
23053 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
23057 printf("---- Total casts: %d\n",j
);
23059 printf("**** SWIG_InitializeModule: Cast List ******\n");
23063 /* This function will propagate the clientdata field of type to
23064 * any new swig_type_info structures that have been added into the list
23065 * of equivalent types. It is like calling
23066 * SWIG_TypeClientData(type, clientdata) a second time.
23069 SWIG_PropagateClientData(void) {
23071 swig_cast_info
*equiv
;
23072 static int init_run
= 0;
23074 if (init_run
) return;
23077 for (i
= 0; i
< swig_module
.size
; i
++) {
23078 if (swig_module
.types
[i
]->clientdata
) {
23079 equiv
= swig_module
.types
[i
]->cast
;
23081 if (!equiv
->converter
) {
23082 if (equiv
->type
&& !equiv
->type
->clientdata
)
23083 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
23085 equiv
= equiv
->next
;
23105 /* Python-specific SWIG API */
23106 #define SWIG_newvarlink() SWIG_Python_newvarlink()
23107 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
23108 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
23110 /* -----------------------------------------------------------------------------
23111 * global variable support code.
23112 * ----------------------------------------------------------------------------- */
23114 typedef struct swig_globalvar
{
23115 char *name
; /* Name of global variable */
23116 PyObject
*(*get_attr
)(void); /* Return the current value */
23117 int (*set_attr
)(PyObject
*); /* Set the value */
23118 struct swig_globalvar
*next
;
23121 typedef struct swig_varlinkobject
{
23123 swig_globalvar
*vars
;
23124 } swig_varlinkobject
;
23126 SWIGINTERN PyObject
*
23127 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
23128 return PyString_FromString("<Swig global variables>");
23131 SWIGINTERN PyObject
*
23132 swig_varlink_str(swig_varlinkobject
*v
) {
23133 PyObject
*str
= PyString_FromString("(");
23134 swig_globalvar
*var
;
23135 for (var
= v
->vars
; var
; var
=var
->next
) {
23136 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
23137 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
23139 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
23144 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
23145 PyObject
*str
= swig_varlink_str(v
);
23146 fprintf(fp
,"Swig global variables ");
23147 fprintf(fp
,"%s\n", PyString_AsString(str
));
23153 swig_varlink_dealloc(swig_varlinkobject
*v
) {
23154 swig_globalvar
*var
= v
->vars
;
23156 swig_globalvar
*n
= var
->next
;
23163 SWIGINTERN PyObject
*
23164 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
23165 PyObject
*res
= NULL
;
23166 swig_globalvar
*var
= v
->vars
;
23168 if (strcmp(var
->name
,n
) == 0) {
23169 res
= (*var
->get_attr
)();
23174 if (res
== NULL
&& !PyErr_Occurred()) {
23175 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23181 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
23183 swig_globalvar
*var
= v
->vars
;
23185 if (strcmp(var
->name
,n
) == 0) {
23186 res
= (*var
->set_attr
)(p
);
23191 if (res
== 1 && !PyErr_Occurred()) {
23192 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23197 SWIGINTERN PyTypeObject
*
23198 swig_varlink_type(void) {
23199 static char varlink__doc__
[] = "Swig var link object";
23200 static PyTypeObject varlink_type
;
23201 static int type_init
= 0;
23203 const PyTypeObject tmp
23205 PyObject_HEAD_INIT(NULL
)
23206 0, /* Number of items in variable part (ob_size) */
23207 (char *)"swigvarlink", /* Type name (tp_name) */
23208 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
23209 0, /* Itemsize (tp_itemsize) */
23210 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
23211 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
23212 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
23213 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
23214 0, /* tp_compare */
23215 (reprfunc
) swig_varlink_repr
, /* tp_repr */
23216 0, /* tp_as_number */
23217 0, /* tp_as_sequence */
23218 0, /* tp_as_mapping */
23221 (reprfunc
)swig_varlink_str
, /* tp_str */
23222 0, /* tp_getattro */
23223 0, /* tp_setattro */
23224 0, /* tp_as_buffer */
23226 varlink__doc__
, /* tp_doc */
23227 0, /* tp_traverse */
23229 0, /* tp_richcompare */
23230 0, /* tp_weaklistoffset */
23231 #if PY_VERSION_HEX >= 0x02020000
23232 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
23234 #if PY_VERSION_HEX >= 0x02030000
23237 #ifdef COUNT_ALLOCS
23238 0,0,0,0 /* tp_alloc -> tp_next */
23241 varlink_type
= tmp
;
23242 varlink_type
.ob_type
= &PyType_Type
;
23245 return &varlink_type
;
23248 /* Create a variable linking object for use later */
23249 SWIGINTERN PyObject
*
23250 SWIG_Python_newvarlink(void) {
23251 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
23255 return ((PyObject
*) result
);
23259 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
23260 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
23261 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
23263 size_t size
= strlen(name
)+1;
23264 gv
->name
= (char *)malloc(size
);
23266 strncpy(gv
->name
,name
,size
);
23267 gv
->get_attr
= get_attr
;
23268 gv
->set_attr
= set_attr
;
23269 gv
->next
= v
->vars
;
23275 SWIGINTERN PyObject
*
23277 static PyObject
*_SWIG_globals
= 0;
23278 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
23279 return _SWIG_globals
;
23282 /* -----------------------------------------------------------------------------
23283 * constants/methods manipulation
23284 * ----------------------------------------------------------------------------- */
23286 /* Install Constants */
23288 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
23291 for (i
= 0; constants
[i
].type
; ++i
) {
23292 switch(constants
[i
].type
) {
23293 case SWIG_PY_POINTER
:
23294 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
23296 case SWIG_PY_BINARY
:
23297 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
23304 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
23310 /* -----------------------------------------------------------------------------*/
23311 /* Fix SwigMethods to carry the callback ptrs when needed */
23312 /* -----------------------------------------------------------------------------*/
23315 SWIG_Python_FixMethods(PyMethodDef
*methods
,
23316 swig_const_info
*const_table
,
23317 swig_type_info
**types
,
23318 swig_type_info
**types_initial
) {
23320 for (i
= 0; methods
[i
].ml_name
; ++i
) {
23321 const char *c
= methods
[i
].ml_doc
;
23322 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
23324 swig_const_info
*ci
= 0;
23325 const char *name
= c
+ 10;
23326 for (j
= 0; const_table
[j
].type
; ++j
) {
23327 if (strncmp(const_table
[j
].name
, name
,
23328 strlen(const_table
[j
].name
)) == 0) {
23329 ci
= &(const_table
[j
]);
23334 size_t shift
= (ci
->ptype
) - types
;
23335 swig_type_info
*ty
= types_initial
[shift
];
23336 size_t ldoc
= (c
- methods
[i
].ml_doc
);
23337 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
23338 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
23341 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
23343 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
23345 strncpy(buff
, "swig_ptr: ", 10);
23347 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
23348 methods
[i
].ml_doc
= ndoc
;
23360 /* -----------------------------------------------------------------------------*
23361 * Partial Init method
23362 * -----------------------------------------------------------------------------*/
23367 SWIGEXPORT
void SWIG_init(void) {
23370 /* Fix SwigMethods to carry the callback ptrs when needed */
23371 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
23373 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23374 d
= PyModule_GetDict(m
);
23376 SWIG_InitializeModule(0);
23377 SWIG_InstallConstants(d
,swig_const_table
);
23380 SWIG_Python_SetConstant(d
, "GRID_VALUE_STRING",SWIG_FromCharPtr("string"));
23381 SWIG_Python_SetConstant(d
, "GRID_VALUE_BOOL",SWIG_FromCharPtr("bool"));
23382 SWIG_Python_SetConstant(d
, "GRID_VALUE_NUMBER",SWIG_FromCharPtr("long"));
23383 SWIG_Python_SetConstant(d
, "GRID_VALUE_FLOAT",SWIG_FromCharPtr("double"));
23384 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICE",SWIG_FromCharPtr("choice"));
23385 SWIG_Python_SetConstant(d
, "GRID_VALUE_TEXT",SWIG_FromCharPtr("string"));
23386 SWIG_Python_SetConstant(d
, "GRID_VALUE_LONG",SWIG_FromCharPtr("long"));
23387 SWIG_Python_SetConstant(d
, "GRID_VALUE_CHOICEINT",SWIG_FromCharPtr("choiceint"));
23388 SWIG_Python_SetConstant(d
, "GRID_VALUE_DATETIME",SWIG_FromCharPtr("datetime"));
23389 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
23390 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellCoords",GridNoCellCoords_get
, GridNoCellCoords_set
);
23391 SWIG_addvarlink(SWIG_globals(),(char*)"GridNoCellRect",GridNoCellRect_get
, GridNoCellRect_set
);
23392 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_ROWS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_ROWS
)));
23393 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_NUMBER_COLS",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_NUMBER_COLS
)));
23394 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_HEIGHT
)));
23395 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_WIDTH
)));
23396 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_COL_LABEL_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_COL_LABEL_HEIGHT
)));
23397 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_ROW_LABEL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_ROW_LABEL_WIDTH
)));
23398 SWIG_Python_SetConstant(d
, "GRID_LABEL_EDGE_ZONE",SWIG_From_int(static_cast< int >(wxGRID_LABEL_EDGE_ZONE
)));
23399 SWIG_Python_SetConstant(d
, "GRID_MIN_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_MIN_ROW_HEIGHT
)));
23400 SWIG_Python_SetConstant(d
, "GRID_MIN_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_MIN_COL_WIDTH
)));
23401 SWIG_Python_SetConstant(d
, "GRID_DEFAULT_SCROLLBAR_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH
)));
23402 SWIG_Python_SetConstant(d
, "GridCellAttr_Any",SWIG_From_int(static_cast< int >(wxGridCellAttr::Any
)));
23403 SWIG_Python_SetConstant(d
, "GridCellAttr_Default",SWIG_From_int(static_cast< int >(wxGridCellAttr::Default
)));
23404 SWIG_Python_SetConstant(d
, "GridCellAttr_Cell",SWIG_From_int(static_cast< int >(wxGridCellAttr::Cell
)));
23405 SWIG_Python_SetConstant(d
, "GridCellAttr_Row",SWIG_From_int(static_cast< int >(wxGridCellAttr::Row
)));
23406 SWIG_Python_SetConstant(d
, "GridCellAttr_Col",SWIG_From_int(static_cast< int >(wxGridCellAttr::Col
)));
23407 SWIG_Python_SetConstant(d
, "GridCellAttr_Merged",SWIG_From_int(static_cast< int >(wxGridCellAttr::Merged
)));
23408 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_GET_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
)));
23409 SWIG_Python_SetConstant(d
, "GRIDTABLE_REQUEST_VIEW_SEND_VALUES",SWIG_From_int(static_cast< int >(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
)));
23410 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_INSERTED
)));
23411 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_APPENDED
)));
23412 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_ROWS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_ROWS_DELETED
)));
23413 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED
)));
23414 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED
)));
23415 SWIG_Python_SetConstant(d
, "GRIDTABLE_NOTIFY_COLS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_DELETED
)));
23416 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells
)));
23417 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows
)));
23418 SWIG_Python_SetConstant(d
, "Grid_wxGridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns
)));
23419 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
23420 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
23421 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
23422 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
23423 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
23424 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
23425 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
23426 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
23427 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
23428 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
23429 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
23430 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
23431 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
23432 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
23433 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
23434 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
23435 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));