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_NOINCLUDE
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
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_STATIC_INLINE static inline
146 #define SWIG_STATIC_INLINE static
149 SWIG_STATIC_INLINE
long
150 SPyObj_AsLong(PyObject
* obj
)
152 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
155 SWIG_STATIC_INLINE
unsigned long
156 SPyObj_AsUnsignedLong(PyObject
* obj
)
158 if (PyLong_Check(obj
)) {
159 return PyLong_AsUnsignedLong(obj
);
161 long i
= PyInt_AsLong(obj
);
162 if ( !PyErr_Occurred() && (i
< 0)) {
163 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject
*
171 SPyObj_FromLongLong(long long value
)
173 return (value
> (long)(LONG_MAX
)) ?
174 PyLong_FromLongLong(value
) : PyInt_FromLong((long)value
);
178 SWIG_STATIC_INLINE PyObject
*
179 SPyObj_FromUnsignedLong(unsigned long value
)
181 return (value
> (unsigned long)(LONG_MAX
)) ?
182 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject
*
187 SPyObj_FromUnsignedLongLong(unsigned long long value
)
189 return (value
> (unsigned long long)(LONG_MAX
)) ?
190 PyLong_FromUnsignedLongLong(value
) : PyInt_FromLong((long)value
);
194 SWIG_STATIC_INLINE
long
195 SPyObj_AsLongInRange(PyObject
* obj
, long min_value
, long max_value
)
197 long value
= SPyObj_AsLong(obj
);
198 if (!PyErr_Occurred()) {
199 if (value
< min_value
) {
200 PyErr_SetString(PyExc_OverflowError
,"value is smaller than type minimum");
201 } else if (value
> max_value
) {
202 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
208 SWIG_STATIC_INLINE
unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject
*obj
, unsigned long max_value
)
211 unsigned long value
= SPyObj_AsUnsignedLong(obj
);
212 if (!PyErr_Occurred()) {
213 if (value
> max_value
) {
214 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
220 SWIG_STATIC_INLINE
signed char
221 SPyObj_AsSignedChar(PyObject
*obj
) {
222 return (signed char)SPyObj_AsLongInRange(obj
, SCHAR_MIN
, SCHAR_MAX
);
225 SWIG_STATIC_INLINE
short
226 SPyObj_AsShort(PyObject
*obj
) {
227 return (short)SPyObj_AsLongInRange(obj
, SHRT_MIN
, SHRT_MAX
);
230 SWIG_STATIC_INLINE
int
231 SPyObj_AsInt(PyObject
*obj
) {
232 return SPyObj_AsLongInRange(obj
, INT_MIN
, INT_MAX
);
235 SWIG_STATIC_INLINE
unsigned char
236 SPyObj_AsUnsignedChar(PyObject
*obj
) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj
, UCHAR_MAX
);
240 SWIG_STATIC_INLINE
unsigned short
241 SPyObj_AsUnsignedShort(PyObject
*obj
) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj
, USHRT_MAX
);
245 SWIG_STATIC_INLINE
unsigned int
246 SPyObj_AsUnsignedInt(PyObject
*obj
) {
247 return SPyObj_AsUnsignedLongInRange(obj
, UINT_MAX
);
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE
long long
252 SPyObj_AsLongLong(PyObject
*obj
) {
253 return PyInt_Check(obj
) ?
254 PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
);
257 SWIG_STATIC_INLINE
unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject
*obj
) {
259 return PyLong_Check(obj
) ?
260 PyLong_AsUnsignedLongLong(obj
) : SPyObj_AsUnsignedLong(obj
);
264 SWIG_STATIC_INLINE
double
265 SPyObj_AsDouble(PyObject
*obj
) {
266 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
267 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
270 SWIG_STATIC_INLINE
float
271 SPyObj_AsFloat(PyObject
*obj
) {
272 double value
= SPyObj_AsDouble(obj
);
273 if (!PyErr_Occurred()) {
274 if (value
< FLT_MIN
) {
275 PyErr_SetString(PyExc_OverflowError
,"float is smaller than flt_min");
276 } else if (value
> FLT_MAX
) {
277 PyErr_SetString(PyExc_OverflowError
,"float is greater than flt_max");
280 return (float) value
;
283 SWIG_STATIC_INLINE
char
284 SPyObj_AsChar(PyObject
*obj
) {
285 char c
= (PyString_Check(obj
) && PyString_Size(obj
) == 1) ?
286 PyString_AsString(obj
)[0]
287 : (char) SPyObj_AsLongInRange(obj
, CHAR_MIN
, CHAR_MAX
);
288 if (PyErr_Occurred()) {
290 PyErr_SetString(PyExc_TypeError
, "a char is required");
295 SWIG_STATIC_INLINE PyObject
*
296 SPyObj_FromChar(char c
) {
297 return PyString_FromStringAndSize(&c
,1);
300 SWIG_STATIC_INLINE PyObject
*
301 SPyObj_FromCharPtr(const char* cptr
) {
302 return cptr
? PyString_FromString(cptr
) : Py_BuildValue((char*)"");
305 SWIG_STATIC_INLINE
int
306 SPyObj_AsBool(PyObject
*obj
) {
307 return SPyObj_AsLong
/*Long*/(obj
) ? 1 : 0;
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
322 /* Flags for pointer conversion */
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
330 /* Constant information structure */
331 typedef struct swig_const_info
{
337 swig_type_info
**ptype
;
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
362 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
364 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
367 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
372 /* Contract support */
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
382 /* -------- TYPES TABLE (BEGIN) -------- */
384 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
385 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
386 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
387 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
388 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
389 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
390 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
391 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
392 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
393 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
394 #define SWIGTYPE_p_wxColour swig_types[10]
395 #define SWIGTYPE_p_wxDC swig_types[11]
396 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
397 #define SWIGTYPE_p_wxGrid swig_types[13]
398 #define SWIGTYPE_p_wxPanel swig_types[14]
399 #define SWIGTYPE_p_wxNotifyEvent swig_types[15]
400 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[16]
401 #define SWIGTYPE_p_wxSize swig_types[17]
402 #define SWIGTYPE_p_wxGridCellCoords swig_types[18]
403 #define SWIGTYPE_p_wxScrolledWindow swig_types[19]
404 #define SWIGTYPE_p_wxWindow swig_types[20]
405 #define SWIGTYPE_p_wxFont swig_types[21]
406 #define SWIGTYPE_p_wxControl swig_types[22]
407 #define SWIGTYPE_p_wxEvent swig_types[23]
408 #define SWIGTYPE_p_wxObject swig_types[24]
409 #define SWIGTYPE_p_wxGridSizeEvent swig_types[25]
410 #define SWIGTYPE_p_wxRect swig_types[26]
411 #define SWIGTYPE_p_long swig_types[27]
412 #define SWIGTYPE_p_wxString swig_types[28]
413 #define SWIGTYPE_p_wxEvtHandler swig_types[29]
414 #define SWIGTYPE_p_wxPoint swig_types[30]
415 #define SWIGTYPE_p_wxGridEvent swig_types[31]
416 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[32]
417 #define SWIGTYPE_p_wxGridTableBase swig_types[33]
418 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[34]
419 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
420 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
421 #define SWIGTYPE_p_wxGridCellEditor swig_types[37]
422 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
423 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[39]
424 #define SWIGTYPE_p_wxPyGridTableBase swig_types[40]
425 #define SWIGTYPE_p_wxGridStringTable swig_types[41]
426 #define SWIGTYPE_p_wxArrayString swig_types[42]
427 #define SWIGTYPE_p_wxCommandEvent swig_types[43]
428 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[44]
429 #define SWIGTYPE_p_wxKeyEvent swig_types[45]
430 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[46]
431 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[47]
432 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[48]
433 #define SWIGTYPE_p_int swig_types[49]
434 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[50]
435 static swig_type_info
*swig_types
[52];
437 /* -------- TYPES TABLE (END) -------- */
440 /*-----------------------------------------------
442 ------------------------------------------------*/
443 #define SWIG_init init_grid
445 #define SWIG_name "_grid"
447 #include "wx/wxPython/wxPython.h"
448 #include "wx/wxPython/pyclasses.h"
449 #include "wx/wxPython/printfw.h"
452 #include <wx/generic/gridctrl.h>
455 static const wxString
wxPyEmptyString(wxEmptyString
);
456 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
457 static const wxString
wxPyDateTimeFormatStr(wxT("%c"));
460 #define wxPyMake_TEMPLATE(TYPE) \
461 PyObject* wxPyMake_##TYPE(TYPE* source) { \
462 PyObject* target = NULL; \
464 /* Check if there is already a pointer to a Python object in the \
465 OOR data that we can use. */ \
466 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
468 target = data->m_obj; \
471 /* Otherwise make a new wrapper for it the old fashioned way and \
472 give it the OOR treatment */ \
474 target = wxPyConstructObject(source, wxT(#TYPE), False); \
476 source->SetClientObject(new wxPyOORClientData(target)); \
478 } else { /* source was NULL so return None. */ \
479 Py_INCREF(Py_None); target = Py_None; \
485 wxPyMake_TEMPLATE(wxGridCellRenderer)
486 wxPyMake_TEMPLATE(wxGridCellEditor
)
487 wxPyMake_TEMPLATE(wxGridCellAttr
)
488 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
489 wxPyMake_TEMPLATE(wxGridTableBase
)
493 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
494 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
495 wxGridCellAttr* rval = NULL; \
497 wxPyBeginBlockThreads(); \
498 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
500 wxGridCellAttr* ptr; \
501 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
503 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
508 wxPyEndBlockThreads(); \
510 rval = PCLASS::CBNAME(a, b, c); \
513 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
514 return PCLASS::CBNAME(a, b, c); \
519 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
520 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
521 wxPyBeginBlockThreads(); \
523 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
524 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
525 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
528 wxPyEndBlockThreads(); \
530 PCLASS::CBNAME(attr, a, b); \
532 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
533 PCLASS::CBNAME(attr, a, b); \
538 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
539 void CBNAME(wxGridCellAttr *attr, int val) { \
540 wxPyBeginBlockThreads(); \
542 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
543 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
544 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
547 wxPyEndBlockThreads(); \
549 PCLASS::CBNAME(attr, val); \
551 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
552 PCLASS::CBNAME(attr, val); \
557 #define PYCALLBACK_INT__pure(CBNAME) \
559 wxPyBeginBlockThreads(); \
561 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
562 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
563 wxPyEndBlockThreads(); \
569 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
570 bool CBNAME(int a, int b) { \
571 wxPyBeginBlockThreads(); \
573 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
574 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
575 wxPyEndBlockThreads(); \
580 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
581 wxString CBNAME(int a, int b) { \
582 wxPyBeginBlockThreads(); \
584 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
586 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
588 rval = Py2wxString(ro); \
592 wxPyEndBlockThreads(); \
597 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
598 void CBNAME(int a, int b, const wxString& c) { \
599 wxPyBeginBlockThreads(); \
600 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
601 PyObject* s = wx2PyString(c); \
602 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
605 wxPyEndBlockThreads(); \
609 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
610 wxString CBNAME(int a, int b) { \
612 wxPyBeginBlockThreads(); \
614 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
616 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
618 rval = Py2wxString(ro); \
622 wxPyEndBlockThreads(); \
624 rval = PCLASS::CBNAME(a, b); \
627 wxString base_##CBNAME(int a, int b) { \
628 return PCLASS::CBNAME(a, b); \
632 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
633 bool CBNAME(int a, int b, const wxString& c) { \
636 wxPyBeginBlockThreads(); \
637 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
638 PyObject* s = wx2PyString(c); \
639 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
642 wxPyEndBlockThreads(); \
644 rval = PCLASS::CBNAME(a,b,c); \
647 bool base_##CBNAME(int a, int b, const wxString& c) { \
648 return PCLASS::CBNAME(a,b,c); \
654 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
655 long CBNAME(int a, int b) { \
658 wxPyBeginBlockThreads(); \
659 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
660 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
661 wxPyEndBlockThreads(); \
663 rval = PCLASS::CBNAME(a,b); \
666 long base_##CBNAME(int a, int b) { \
667 return PCLASS::CBNAME(a,b); \
672 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
673 bool CBNAME(int a, int b) { \
676 wxPyBeginBlockThreads(); \
677 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
678 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
679 wxPyEndBlockThreads(); \
681 rval = PCLASS::CBNAME(a,b); \
684 bool base_##CBNAME(int a, int b) { \
685 return PCLASS::CBNAME(a,b); \
690 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
691 double CBNAME(int a, int b) { \
693 wxPyBeginBlockThreads(); \
695 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
697 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
699 PyObject* str = PyObject_Str(ro); \
700 rval = PyFloat_AsDouble(str); \
701 Py_DECREF(ro); Py_DECREF(str); \
704 wxPyEndBlockThreads(); \
706 rval = PCLASS::CBNAME(a, b); \
709 double base_##CBNAME(int a, int b) { \
710 return PCLASS::CBNAME(a, b); \
715 #define PYCALLBACK__(PCLASS, CBNAME) \
718 wxPyBeginBlockThreads(); \
719 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
720 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
721 wxPyEndBlockThreads(); \
725 void base_##CBNAME() { \
732 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
733 bool CBNAME(size_t a, size_t b) { \
736 wxPyBeginBlockThreads(); \
737 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
738 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
739 wxPyEndBlockThreads(); \
741 rval = PCLASS::CBNAME(a,b); \
744 bool base_##CBNAME(size_t a, size_t b) { \
745 return PCLASS::CBNAME(a,b); \
750 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
751 bool CBNAME(size_t a) { \
754 wxPyBeginBlockThreads(); \
755 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
756 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
757 wxPyEndBlockThreads(); \
759 rval = PCLASS::CBNAME(a); \
762 bool base_##CBNAME(size_t a) { \
763 return PCLASS::CBNAME(a); \
767 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
768 wxString CBNAME(int a) { \
770 wxPyBeginBlockThreads(); \
772 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
774 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
776 rval = Py2wxString(ro); \
780 wxPyEndBlockThreads(); \
782 rval = PCLASS::CBNAME(a); \
785 wxString base_##CBNAME(int a) { \
786 return PCLASS::CBNAME(a); \
790 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
791 void CBNAME(int a, const wxString& c) { \
793 wxPyBeginBlockThreads(); \
794 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
795 PyObject* s = wx2PyString(c); \
796 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
799 wxPyEndBlockThreads(); \
801 PCLASS::CBNAME(a,c); \
803 void base_##CBNAME(int a, const wxString& c) { \
804 PCLASS::CBNAME(a,c); \
810 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
814 wxPyBeginBlockThreads(); \
815 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
816 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
817 wxPyEndBlockThreads(); \
819 rval = PCLASS::CBNAME(); \
822 bool base_##CBNAME() { \
823 return PCLASS::CBNAME(); \
828 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
829 void CBNAME(size_t a, int b) { \
831 wxPyBeginBlockThreads(); \
832 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
833 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
834 wxPyEndBlockThreads(); \
836 PCLASS::CBNAME(a,b); \
838 void base_##CBNAME(size_t a, int b) { \
839 PCLASS::CBNAME(a,b); \
845 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
846 void CBNAME(int a, int b, long c) { \
848 wxPyBeginBlockThreads(); \
849 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
850 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
851 wxPyEndBlockThreads(); \
853 PCLASS::CBNAME(a,b,c); \
855 void base_##CBNAME(int a, int b, long c) { \
856 PCLASS::CBNAME(a,b,c); \
862 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
863 void CBNAME(int a, int b, double c) { \
865 wxPyBeginBlockThreads(); \
866 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
867 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
868 wxPyEndBlockThreads(); \
870 PCLASS::CBNAME(a,b,c); \
872 void base_##CBNAME(int a, int b, double c) { \
873 PCLASS::CBNAME(a,b,c); \
878 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
879 void CBNAME(int a, int b, bool c) { \
881 wxPyBeginBlockThreads(); \
882 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
883 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
884 wxPyEndBlockThreads(); \
886 PCLASS::CBNAME(a,b,c); \
888 void base_##CBNAME(int a, int b, bool c) { \
889 PCLASS::CBNAME(a,b,c); \
896 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
897 self
->SetClientObject(new wxPyOORClientData(_self
));
900 class wxPyGridCellRenderer
: public wxGridCellRenderer
903 wxPyGridCellRenderer() : wxGridCellRenderer() {};
905 // Implement Python callback aware virtual methods
906 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
907 wxDC
& dc
, const wxRect
& rect
,
908 int row
, int col
, bool isSelected
) {
909 wxPyBeginBlockThreads();
910 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
911 PyObject
* go
= wxPyMake_wxObject(&grid
);
912 PyObject
* dco
= wxPyMake_wxObject(&dc
);
913 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
914 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
916 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
917 row
, col
, isSelected
));
923 wxPyEndBlockThreads();
926 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
929 wxPyBeginBlockThreads();
930 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
933 PyObject
* go
= wxPyMake_wxObject(&grid
);
934 PyObject
* dco
= wxPyMake_wxObject(&dc
);
935 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
937 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
945 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
946 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
949 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
950 PyObject
* o1
= PySequence_GetItem(ro
, 0);
951 PyObject
* o2
= PySequence_GetItem(ro
, 1);
952 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
953 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
955 PyErr_SetString(PyExc_TypeError
, errmsg
);
960 PyErr_SetString(PyExc_TypeError
, errmsg
);
965 wxPyEndBlockThreads();
970 wxGridCellRenderer
*Clone() const {
971 wxGridCellRenderer
* rval
= NULL
;
972 wxPyBeginBlockThreads();
973 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
975 wxGridCellRenderer
* ptr
;
976 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
978 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
983 wxPyEndBlockThreads();
987 DEC_PYCALLBACK__STRING(SetParameters
);
992 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
995 void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
996 self
->SetClientObject(new wxPyOORClientData(_self
));
999 class wxPyGridCellEditor
: public wxGridCellEditor
1002 wxPyGridCellEditor() : wxGridCellEditor() {}
1004 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
1005 wxPyBeginBlockThreads();
1006 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
1007 PyObject
* po
= wxPyMake_wxObject(parent
);
1008 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
1010 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
1014 wxPyEndBlockThreads();
1018 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
1019 wxPyBeginBlockThreads();
1020 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
1021 PyObject
* go
= wxPyMake_wxObject(grid
);
1022 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1025 wxPyEndBlockThreads();
1029 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
1031 wxPyBeginBlockThreads();
1032 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
1033 PyObject
* go
= wxPyMake_wxObject(grid
);
1034 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1037 wxPyEndBlockThreads();
1042 wxGridCellEditor
* Clone() const {
1043 wxGridCellEditor
* rval
= NULL
;
1044 wxPyBeginBlockThreads();
1045 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
1047 wxGridCellEditor
* ptr
;
1048 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1050 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
1055 wxPyEndBlockThreads();
1060 void Show(bool show
, wxGridCellAttr
*attr
) {
1062 wxPyBeginBlockThreads();
1063 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
1064 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
1065 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
1068 wxPyEndBlockThreads();
1070 wxGridCellEditor::Show(show
, attr
);
1072 void base_Show(bool show
, wxGridCellAttr
*attr
) {
1073 wxGridCellEditor::Show(show
, attr
);
1077 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1079 wxPyBeginBlockThreads();
1080 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
1081 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
1082 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
1084 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
1089 wxPyEndBlockThreads();
1091 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1093 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1094 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1098 DEC_PYCALLBACK___pure(Reset
);
1099 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
1100 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
1101 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
1102 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
1103 DEC_PYCALLBACK__(StartingClick
);
1104 DEC_PYCALLBACK__(Destroy
);
1105 DEC_PYCALLBACK__STRING(SetParameters
);
1106 DEC_PYCALLBACK_STRING__constpure(GetValue
);
1112 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
1113 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
1114 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
1115 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
1116 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
1117 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
1118 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
1119 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
1120 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
1123 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
1124 self
->SetClientObject(new wxPyOORClientData(_self
));
1127 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1133 } else if (target
== Py_None
) {
1137 if (!PyTuple_Check(target
)) {
1139 target
= PyTuple_New(1);
1140 PyTuple_SetItem(target
, 0, o2
);
1142 o3
= PyTuple_New(1);
1143 PyTuple_SetItem(o3
, 0, o
);
1146 target
= PySequence_Concat(o2
, o3
);
1153 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
1154 self
->SetClientObject(new wxPyOORClientData(_self
));
1157 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
1160 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1162 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
1163 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
1164 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
1165 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
1170 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
1171 self
->SetClientObject(new wxPyOORClientData(_self
));
1174 class wxPyGridTableBase
: public wxGridTableBase
1177 wxPyGridTableBase() : wxGridTableBase() {}
1179 PYCALLBACK_INT__pure(GetNumberRows
);
1180 PYCALLBACK_INT__pure(GetNumberCols
);
1181 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1182 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1183 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1184 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1185 PYCALLBACK__(wxGridTableBase
, Clear
);
1186 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1187 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1188 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1189 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1190 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1191 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1192 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1193 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1194 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1195 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1196 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1197 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1198 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1199 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1200 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1203 wxString
GetValue(int row
, int col
) {
1204 wxPyBeginBlockThreads();
1206 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1208 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1210 rval
= Py2wxString(ro
);
1214 wxPyEndBlockThreads();
1218 void SetValue(int row
, int col
, const wxString
& val
) {
1219 wxPyBeginBlockThreads();
1220 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1221 PyObject
* s
= wx2PyString(val
);
1222 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1225 wxPyEndBlockThreads();
1229 // Map the Get/Set methods for the standard non-string types to
1230 // the GetValue and SetValue python methods.
1231 long GetValueAsLong( int row
, int col
) {
1233 wxPyBeginBlockThreads();
1234 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1237 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1238 if (ro
&& PyNumber_Check(ro
)) {
1239 num
= PyNumber_Int(ro
);
1241 rval
= PyInt_AsLong(num
);
1247 wxPyEndBlockThreads();
1251 double GetValueAsDouble( int row
, int col
) {
1253 wxPyBeginBlockThreads();
1254 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1257 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1258 if (ro
&& PyNumber_Check(ro
)) {
1259 num
= PyNumber_Float(ro
);
1261 rval
= PyFloat_AsDouble(num
);
1267 wxPyEndBlockThreads();
1271 bool GetValueAsBool( int row
, int col
) {
1272 return (bool)GetValueAsLong(row
, col
);
1275 void SetValueAsLong( int row
, int col
, long value
) {
1276 wxPyBeginBlockThreads();
1277 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1278 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1280 wxPyEndBlockThreads();
1283 void SetValueAsDouble( int row
, int col
, double value
) {
1284 wxPyBeginBlockThreads();
1285 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1286 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1288 wxPyEndBlockThreads();
1291 void SetValueAsBool( int row
, int col
, bool value
) {
1292 SetValueAsLong( row
, col
, (long)value
);
1299 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1300 PyObject
*wxGridCellCoords_asTuple(wxGridCellCoords
*self
){
1301 PyObject
* tup
= PyTuple_New(2);
1302 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1303 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1307 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1309 // If source is an object instance then it may already be the right type
1310 if (wxPySwigInstance_Check(source
)) {
1311 wxGridCellCoords
* ptr
;
1312 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1317 // otherwise a 2-tuple of integers is expected
1318 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1319 PyObject
* o1
= PySequence_GetItem(source
, 0);
1320 PyObject
* o2
= PySequence_GetItem(source
, 1);
1321 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1326 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1333 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1338 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1341 if (wxPySwigInstance_Check(source
) &&
1342 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1346 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1353 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1355 PyObject
* list
= PyList_New(0);
1357 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1358 wxGridCellCoords
& coord
= source
.Item(idx
);
1359 PyObject
* tup
= PyTuple_New(2);
1360 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1361 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1362 PyList_Append(list
, tup
);
1369 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1371 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1372 wxGridCellCoords rv
;
1373 self
->XYToCell(x
, y
, rv
);
1379 static int _wrap_DateTimeFormatStr_set(PyObject
*_val
) {
1380 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1385 static PyObject
*_wrap_DateTimeFormatStr_get() {
1390 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1392 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1399 static int _wrap_GridNoCellCoords_set(PyObject
*_val
) {
1400 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1405 static PyObject
*_wrap_GridNoCellCoords_get() {
1408 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellCoords
, SWIGTYPE_p_wxGridCellCoords
, 0);
1413 static int _wrap_GridNoCellRect_set(PyObject
*_val
) {
1414 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1419 static PyObject
*_wrap_GridNoCellRect_get() {
1422 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellRect
, SWIGTYPE_p_wxRect
, 0);
1427 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
*resultobj
;
1429 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1430 PyObject
*arg2
= (PyObject
*) 0 ;
1431 PyObject
* obj0
= 0 ;
1432 PyObject
* obj1
= 0 ;
1434 (char *) "self",(char *) "_self", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1442 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1444 wxPyEndAllowThreads(__tstate
);
1445 if (PyErr_Occurred()) SWIG_fail
;
1447 Py_INCREF(Py_None
); resultobj
= Py_None
;
1454 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
*resultobj
;
1456 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1457 wxString
*arg2
= 0 ;
1458 bool temp2
= False
;
1459 PyObject
* obj0
= 0 ;
1460 PyObject
* obj1
= 0 ;
1462 (char *) "self",(char *) "params", NULL
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1468 arg2
= wxString_in_helper(obj1
);
1469 if (arg2
== NULL
) SWIG_fail
;
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 (arg1
)->SetParameters((wxString
const &)*arg2
);
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) SWIG_fail
;
1479 Py_INCREF(Py_None
); resultobj
= Py_None
;
1494 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
*resultobj
;
1496 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1497 PyObject
* obj0
= 0 ;
1499 (char *) "self", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1511 Py_INCREF(Py_None
); resultobj
= Py_None
;
1518 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
*resultobj
;
1520 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1521 PyObject
* obj0
= 0 ;
1523 (char *) "self", NULL
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1532 wxPyEndAllowThreads(__tstate
);
1533 if (PyErr_Occurred()) SWIG_fail
;
1535 Py_INCREF(Py_None
); resultobj
= Py_None
;
1542 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
*resultobj
;
1544 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1546 wxGridCellAttr
*arg3
= 0 ;
1553 PyObject
* obj0
= 0 ;
1554 PyObject
* obj1
= 0 ;
1555 PyObject
* obj2
= 0 ;
1556 PyObject
* obj3
= 0 ;
1557 PyObject
* obj4
= 0 ;
1558 PyObject
* obj7
= 0 ;
1560 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOiiO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&obj7
)) goto fail
;
1564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1567 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1569 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1571 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1573 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1575 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1579 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1582 arg8
= (bool) SPyObj_AsBool(obj7
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1592 Py_INCREF(Py_None
); resultobj
= Py_None
;
1599 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1603 wxGridCellAttr
*arg3
= 0 ;
1608 PyObject
* obj0
= 0 ;
1609 PyObject
* obj1
= 0 ;
1610 PyObject
* obj2
= 0 ;
1611 PyObject
* obj3
= 0 ;
1613 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOii:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
)) goto fail
;
1617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1620 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1622 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1624 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1626 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1628 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1639 resultptr
= new wxSize((wxSize
&) result
);
1640 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1648 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1650 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1651 wxGridCellRenderer
*result
;
1652 PyObject
* obj0
= 0 ;
1654 (char *) "self", NULL
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1675 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1678 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1680 return Py_BuildValue((char *)"");
1682 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxPyGridCellRenderer
*result
;
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1697 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1704 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1706 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1707 PyObject
*arg2
= (PyObject
*) 0 ;
1708 PyObject
*arg3
= (PyObject
*) 0 ;
1709 PyObject
* obj0
= 0 ;
1710 PyObject
* obj1
= 0 ;
1711 PyObject
* obj2
= 0 ;
1713 (char *) "self",(char *) "self",(char *) "_class", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1727 Py_INCREF(Py_None
); resultobj
= Py_None
;
1734 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
*resultobj
;
1736 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1737 wxString
*arg2
= 0 ;
1738 bool temp2
= False
;
1739 PyObject
* obj0
= 0 ;
1740 PyObject
* obj1
= 0 ;
1742 (char *) "self",(char *) "params", NULL
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1748 arg2
= wxString_in_helper(obj1
);
1749 if (arg2
== NULL
) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 Py_INCREF(Py_None
); resultobj
= Py_None
;
1774 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1777 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1779 return Py_BuildValue((char *)"");
1781 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxGridCellStringRenderer
*result
;
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1796 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1803 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1806 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1808 return Py_BuildValue((char *)"");
1810 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
*resultobj
;
1812 wxGridCellNumberRenderer
*result
;
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1832 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1835 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1837 return Py_BuildValue((char *)"");
1839 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
*resultobj
;
1841 int arg1
= (int) -1 ;
1842 int arg2
= (int) -1 ;
1843 wxGridCellFloatRenderer
*result
;
1845 (char *) "width",(char *) "precision", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellFloatRenderer",kwnames
,&arg1
,&arg2
)) goto fail
;
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1863 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
*resultobj
;
1865 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1867 PyObject
* obj0
= 0 ;
1869 (char *) "self", NULL
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1881 resultobj
= PyInt_FromLong((long)result
);
1888 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1892 PyObject
* obj0
= 0 ;
1894 (char *) "self",(char *) "width", NULL
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 (arg1
)->SetWidth(arg2
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1906 Py_INCREF(Py_None
); resultobj
= Py_None
;
1913 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
*resultobj
;
1915 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1917 PyObject
* obj0
= 0 ;
1919 (char *) "self", NULL
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
1923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 resultobj
= PyInt_FromLong((long)result
);
1938 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1942 PyObject
* obj0
= 0 ;
1944 (char *) "self",(char *) "precision", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&arg2
)) goto fail
;
1948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1951 (arg1
)->SetPrecision(arg2
);
1953 wxPyEndAllowThreads(__tstate
);
1954 if (PyErr_Occurred()) SWIG_fail
;
1956 Py_INCREF(Py_None
); resultobj
= Py_None
;
1963 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1966 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
1968 return Py_BuildValue((char *)"");
1970 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
*resultobj
;
1972 wxGridCellBoolRenderer
*result
;
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
1992 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1995 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
1997 return Py_BuildValue((char *)"");
1999 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
2002 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
2003 wxGridCellDateTimeRenderer
*result
;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2007 (char *) "outformat",(char *) "informat", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
2013 wxString
* sptr
= wxString_in_helper(obj0
);
2014 if (sptr
== NULL
) SWIG_fail
;
2021 wxString
* sptr
= wxString_in_helper(obj1
);
2022 if (sptr
== NULL
) SWIG_fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
2041 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2044 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
2046 return Py_BuildValue((char *)"");
2048 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
*resultobj
;
2050 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2051 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2052 wxGridCellEnumRenderer
*result
;
2053 bool temp1
= False
;
2054 PyObject
* obj0
= 0 ;
2056 (char *) "choices", NULL
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
2062 arg1
= wxString_in_helper(obj0
);
2063 if (arg1
== NULL
) SWIG_fail
;
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) SWIG_fail
;
2074 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
2089 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2092 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
2094 return Py_BuildValue((char *)"");
2096 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2098 wxGridCellAutoWrapStringRenderer
*result
;
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2111 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
2118 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2121 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
2123 return Py_BuildValue((char *)"");
2125 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2128 PyObject
*arg2
= (PyObject
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2130 PyObject
* obj1
= 0 ;
2132 (char *) "self",(char *) "_self", NULL
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 wxGridCellEditor__setOORInfo(arg1
,arg2
);
2142 wxPyEndAllowThreads(__tstate
);
2143 if (PyErr_Occurred()) SWIG_fail
;
2145 Py_INCREF(Py_None
); resultobj
= Py_None
;
2152 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
*resultobj
;
2154 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2156 PyObject
* obj0
= 0 ;
2158 (char *) "self", NULL
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
2162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 result
= (bool)(arg1
)->IsCreated();
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2170 resultobj
= PyInt_FromLong((long)result
);
2177 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
*resultobj
;
2179 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2181 PyObject
* obj0
= 0 ;
2183 (char *) "self", NULL
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 result
= (wxControl
*)(arg1
)->GetControl();
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2196 resultobj
= wxPyMake_wxObject(result
);
2204 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
*resultobj
;
2206 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2207 wxControl
*arg2
= (wxControl
*) 0 ;
2208 PyObject
* obj0
= 0 ;
2209 PyObject
* obj1
= 0 ;
2211 (char *) "self",(char *) "control", NULL
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 (arg1
)->SetControl(arg2
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2224 Py_INCREF(Py_None
); resultobj
= Py_None
;
2231 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2234 wxGridCellAttr
*result
;
2235 PyObject
* obj0
= 0 ;
2237 (char *) "self", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2250 resultobj
= wxPyMake_wxGridCellAttr(result
);
2258 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
*resultobj
;
2260 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2261 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2262 PyObject
* obj0
= 0 ;
2263 PyObject
* obj1
= 0 ;
2265 (char *) "self",(char *) "attr", NULL
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 (arg1
)->SetCellAttr(arg2
);
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 Py_INCREF(Py_None
); resultobj
= Py_None
;
2285 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2287 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2288 wxString
*arg2
= 0 ;
2289 bool temp2
= False
;
2290 PyObject
* obj0
= 0 ;
2291 PyObject
* obj1
= 0 ;
2293 (char *) "self",(char *) "params", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2299 arg2
= wxString_in_helper(obj1
);
2300 if (arg2
== NULL
) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 (arg1
)->SetParameters((wxString
const &)*arg2
);
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2310 Py_INCREF(Py_None
); resultobj
= Py_None
;
2325 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
*resultobj
;
2327 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2328 PyObject
* obj0
= 0 ;
2330 (char *) "self", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 Py_INCREF(Py_None
); resultobj
= Py_None
;
2349 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2352 PyObject
* obj0
= 0 ;
2354 (char *) "self", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2366 Py_INCREF(Py_None
); resultobj
= Py_None
;
2373 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2375 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2376 wxWindow
*arg2
= (wxWindow
*) 0 ;
2378 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2379 PyObject
* obj0
= 0 ;
2380 PyObject
* obj1
= 0 ;
2381 PyObject
* obj3
= 0 ;
2383 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
2387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2388 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2389 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 (arg1
)->Create(arg2
,arg3
,arg4
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 Py_INCREF(Py_None
); resultobj
= Py_None
;
2404 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2406 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2409 wxGrid
*arg4
= (wxGrid
*) 0 ;
2410 PyObject
* obj0
= 0 ;
2411 PyObject
* obj3
= 0 ;
2413 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2418 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2426 Py_INCREF(Py_None
); resultobj
= Py_None
;
2433 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
*resultobj
;
2435 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2438 wxGrid
*arg4
= (wxGrid
*) 0 ;
2440 PyObject
* obj0
= 0 ;
2441 PyObject
* obj3
= 0 ;
2443 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridCellEditor_EndEdit",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2448 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 resultobj
= PyInt_FromLong((long)result
);
2463 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2466 PyObject
* obj0
= 0 ;
2468 (char *) "self", NULL
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2480 Py_INCREF(Py_None
); resultobj
= Py_None
;
2487 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2490 wxGridCellEditor
*result
;
2491 PyObject
* obj0
= 0 ;
2493 (char *) "self", NULL
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2506 resultobj
= wxPyMake_wxGridCellEditor(result
);
2514 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2516 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2519 PyObject
* obj0
= 0 ;
2520 PyObject
* obj1
= 0 ;
2522 (char *) "self",(char *) "rect", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2529 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 (arg1
)->SetSize((wxRect
const &)*arg2
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 Py_INCREF(Py_None
); resultobj
= Py_None
;
2545 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2549 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2550 PyObject
* obj0
= 0 ;
2551 PyObject
* obj1
= 0 ;
2552 PyObject
* obj2
= 0 ;
2554 (char *) "self",(char *) "show",(char *) "attr", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2560 arg2
= (bool) SPyObj_AsBool(obj1
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2564 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 (arg1
)->Show(arg2
,arg3
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 Py_INCREF(Py_None
); resultobj
= Py_None
;
2580 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2584 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2586 PyObject
* obj0
= 0 ;
2587 PyObject
* obj1
= 0 ;
2588 PyObject
* obj2
= 0 ;
2590 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2597 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2599 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 Py_INCREF(Py_None
); resultobj
= Py_None
;
2614 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2617 wxKeyEvent
*arg2
= 0 ;
2619 PyObject
* obj0
= 0 ;
2620 PyObject
* obj1
= 0 ;
2622 (char *) "self",(char *) "event", NULL
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2629 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2638 resultobj
= PyInt_FromLong((long)result
);
2645 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
*resultobj
;
2647 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2648 wxKeyEvent
*arg2
= 0 ;
2649 PyObject
* obj0
= 0 ;
2650 PyObject
* obj1
= 0 ;
2652 (char *) "self",(char *) "event", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2657 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2659 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 (arg1
)->StartingKey(*arg2
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2668 Py_INCREF(Py_None
); resultobj
= Py_None
;
2675 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2677 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2678 PyObject
* obj0
= 0 ;
2680 (char *) "self", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 (arg1
)->StartingClick();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 Py_INCREF(Py_None
); resultobj
= Py_None
;
2699 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2702 wxKeyEvent
*arg2
= 0 ;
2703 PyObject
* obj0
= 0 ;
2704 PyObject
* obj1
= 0 ;
2706 (char *) "self",(char *) "event", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 (arg1
)->HandleReturn(*arg2
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2722 Py_INCREF(Py_None
); resultobj
= Py_None
;
2729 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2732 PyObject
* obj0
= 0 ;
2734 (char *) "self", NULL
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 Py_INCREF(Py_None
); resultobj
= Py_None
;
2753 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2756 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2758 return Py_BuildValue((char *)"");
2760 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxPyGridCellEditor
*result
;
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellEditor
, 1);
2782 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2785 PyObject
*arg2
= (PyObject
*) 0 ;
2786 PyObject
*arg3
= (PyObject
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2788 PyObject
* obj1
= 0 ;
2789 PyObject
* obj2
= 0 ;
2791 (char *) "self",(char *) "self",(char *) "_class", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2805 Py_INCREF(Py_None
); resultobj
= Py_None
;
2812 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
*resultobj
;
2814 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2817 PyObject
* obj0
= 0 ;
2818 PyObject
* obj1
= 0 ;
2820 (char *) "self",(char *) "rect", NULL
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2827 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2831 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
2833 wxPyEndAllowThreads(__tstate
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2836 Py_INCREF(Py_None
); resultobj
= Py_None
;
2843 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2845 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2847 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2848 PyObject
* obj0
= 0 ;
2849 PyObject
* obj1
= 0 ;
2850 PyObject
* obj2
= 0 ;
2852 (char *) "self",(char *) "show",(char *) "attr", NULL
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2858 arg2
= (bool) SPyObj_AsBool(obj1
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 (arg1
)->base_Show(arg2
,arg3
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 Py_INCREF(Py_None
); resultobj
= Py_None
;
2878 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2882 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2884 PyObject
* obj0
= 0 ;
2885 PyObject
* obj1
= 0 ;
2886 PyObject
* obj2
= 0 ;
2888 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2895 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2897 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 Py_INCREF(Py_None
); resultobj
= Py_None
;
2912 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2915 wxKeyEvent
*arg2
= 0 ;
2917 PyObject
* obj0
= 0 ;
2918 PyObject
* obj1
= 0 ;
2920 (char *) "self",(char *) "event", NULL
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2927 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2936 resultobj
= PyInt_FromLong((long)result
);
2943 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2946 wxKeyEvent
*arg2
= 0 ;
2947 PyObject
* obj0
= 0 ;
2948 PyObject
* obj1
= 0 ;
2950 (char *) "self",(char *) "event", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 (arg1
)->base_StartingKey(*arg2
);
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2966 Py_INCREF(Py_None
); resultobj
= Py_None
;
2973 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
*resultobj
;
2975 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2976 PyObject
* obj0
= 0 ;
2978 (char *) "self", NULL
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
2982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 (arg1
)->base_StartingClick();
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2990 Py_INCREF(Py_None
); resultobj
= Py_None
;
2997 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3000 wxKeyEvent
*arg2
= 0 ;
3001 PyObject
* obj0
= 0 ;
3002 PyObject
* obj1
= 0 ;
3004 (char *) "self",(char *) "event", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3009 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3011 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 (arg1
)->base_HandleReturn(*arg2
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3020 Py_INCREF(Py_None
); resultobj
= Py_None
;
3027 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3030 PyObject
* obj0
= 0 ;
3032 (char *) "self", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 (arg1
)->base_Destroy();
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 Py_INCREF(Py_None
); resultobj
= Py_None
;
3051 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3054 wxString
*arg2
= 0 ;
3055 bool temp2
= False
;
3056 PyObject
* obj0
= 0 ;
3057 PyObject
* obj1
= 0 ;
3059 (char *) "self",(char *) "params", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3065 arg2
= wxString_in_helper(obj1
);
3066 if (arg2
== NULL
) SWIG_fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3076 Py_INCREF(Py_None
); resultobj
= Py_None
;
3091 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3094 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
3096 return Py_BuildValue((char *)"");
3098 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxGridCellTextEditor
*result
;
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3113 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellTextEditor
, 1);
3120 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
*resultobj
;
3122 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
3124 PyObject
* obj0
= 0 ;
3126 (char *) "self", NULL
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellTextEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 result
= (arg1
)->GetValue();
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3151 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3154 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
3156 return Py_BuildValue((char *)"");
3158 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 int arg1
= (int) -1 ;
3161 int arg2
= (int) -1 ;
3162 wxGridCellNumberEditor
*result
;
3164 (char *) "min",(char *) "max", NULL
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellNumberEditor",kwnames
,&arg1
,&arg2
)) goto fail
;
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3182 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3186 PyObject
* obj0
= 0 ;
3188 (char *) "self", NULL
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellNumberEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 result
= (arg1
)->GetValue();
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3213 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3216 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3218 return Py_BuildValue((char *)"");
3220 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxGridCellFloatEditor
*result
;
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
;
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor();
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3242 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
*resultobj
;
3244 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3246 PyObject
* obj0
= 0 ;
3248 (char *) "self", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 result
= (arg1
)->GetValue();
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3273 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3276 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3278 return Py_BuildValue((char *)"");
3280 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxGridCellBoolEditor
*result
;
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3302 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3308 (char *) "self", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellBoolEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 result
= (arg1
)->GetValue();
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3333 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3336 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3338 return Py_BuildValue((char *)"");
3340 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 int arg1
= (int) 0 ;
3343 wxString
*arg2
= (wxString
*) NULL
;
3344 bool arg3
= (bool) False
;
3345 wxGridCellChoiceEditor
*result
;
3346 PyObject
* obj0
= 0 ;
3347 PyObject
* obj1
= 0 ;
3349 (char *) "choices",(char *) "allowOthers", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3355 arg1
= PyList_Size(obj0
);
3356 arg2
= wxString_LIST_helper(obj0
);
3357 if (arg2
== NULL
) SWIG_fail
;
3362 arg3
= (bool) SPyObj_AsBool(obj1
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3375 if (arg2
) delete [] arg2
;
3380 if (arg2
) delete [] arg2
;
3386 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3390 PyObject
* obj0
= 0 ;
3392 (char *) "self", NULL
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 result
= (arg1
)->GetValue();
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3417 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3420 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3422 return Py_BuildValue((char *)"");
3424 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3427 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3428 wxGridCellEnumEditor
*result
;
3429 bool temp1
= False
;
3430 PyObject
* obj0
= 0 ;
3432 (char *) "choices", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3438 arg1
= wxString_in_helper(obj0
);
3439 if (arg1
== NULL
) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3465 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
*resultobj
;
3467 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3469 PyObject
* obj0
= 0 ;
3471 (char *) "self", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEnumEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 result
= (arg1
)->GetValue();
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3496 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3499 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3501 return Py_BuildValue((char *)"");
3503 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxGridCellAutoWrapStringEditor
*result
;
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3525 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3527 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3529 PyObject
* obj0
= 0 ;
3531 (char *) "self", NULL
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 result
= (arg1
)->GetValue();
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3556 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3559 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3561 return Py_BuildValue((char *)"");
3563 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3565 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3566 PyObject
*arg2
= (PyObject
*) 0 ;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3570 (char *) "self",(char *) "_self", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 Py_INCREF(Py_None
); resultobj
= Py_None
;
3590 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3592 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3593 wxGridCellAttr
*result
;
3594 PyObject
* obj0
= 0 ;
3596 (char *) "attrDefault", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= wxPyMake_wxGridCellAttr(result
);
3619 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3622 wxGridCellAttr
*result
;
3623 PyObject
* obj0
= 0 ;
3625 (char *) "self", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3638 resultobj
= wxPyMake_wxGridCellAttr(result
);
3646 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3649 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3650 PyObject
* obj0
= 0 ;
3651 PyObject
* obj1
= 0 ;
3653 (char *) "self",(char *) "mergefrom", NULL
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3658 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 (arg1
)->MergeWith(arg2
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 Py_INCREF(Py_None
); resultobj
= Py_None
;
3673 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3678 (char *) "self", NULL
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 Py_INCREF(Py_None
); resultobj
= Py_None
;
3697 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3700 PyObject
* obj0
= 0 ;
3702 (char *) "self", NULL
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3724 wxColour
*arg2
= 0 ;
3726 PyObject
* obj0
= 0 ;
3727 PyObject
* obj1
= 0 ;
3729 (char *) "self",(char *) "colText", NULL
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3736 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3755 wxColour
*arg2
= 0 ;
3757 PyObject
* obj0
= 0 ;
3758 PyObject
* obj1
= 0 ;
3760 (char *) "self",(char *) "colBack", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3767 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 Py_INCREF(Py_None
); resultobj
= Py_None
;
3783 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3787 PyObject
* obj0
= 0 ;
3788 PyObject
* obj1
= 0 ;
3790 (char *) "self",(char *) "font", NULL
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
3794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3795 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3797 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 (arg1
)->SetFont((wxFont
const &)*arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3818 PyObject
* obj0
= 0 ;
3820 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellAttr_SetAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 (arg1
)->SetAlignment(arg2
,arg3
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 Py_INCREF(Py_None
); resultobj
= Py_None
;
3839 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3841 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3844 PyObject
* obj0
= 0 ;
3846 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellAttr_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 (arg1
)->SetSize(arg2
,arg3
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 Py_INCREF(Py_None
); resultobj
= Py_None
;
3865 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3868 bool arg2
= (bool) True
;
3869 PyObject
* obj0
= 0 ;
3870 PyObject
* obj1
= 0 ;
3872 (char *) "self",(char *) "allow", NULL
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
3876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3879 arg2
= (bool) SPyObj_AsBool(obj1
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 (arg1
)->SetOverflow(arg2
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 Py_INCREF(Py_None
); resultobj
= Py_None
;
3897 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3900 bool arg2
= (bool) True
;
3901 PyObject
* obj0
= 0 ;
3902 PyObject
* obj1
= 0 ;
3904 (char *) "self",(char *) "isReadOnly", NULL
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
3908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3911 arg2
= (bool) SPyObj_AsBool(obj1
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 (arg1
)->SetReadOnly(arg2
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3922 Py_INCREF(Py_None
); resultobj
= Py_None
;
3929 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3932 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3934 PyObject
* obj1
= 0 ;
3936 (char *) "self",(char *) "renderer", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3941 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 (arg1
)->SetRenderer(arg2
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 Py_INCREF(Py_None
); resultobj
= Py_None
;
3956 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3959 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
3960 PyObject
* obj0
= 0 ;
3961 PyObject
* obj1
= 0 ;
3963 (char *) "self",(char *) "editor", NULL
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3968 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 (arg1
)->SetEditor(arg2
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 Py_INCREF(Py_None
); resultobj
= Py_None
;
3983 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3985 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3987 PyObject
* obj0
= 0 ;
3989 (char *) "self",(char *) "kind", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellAttr_SetKind",kwnames
,&obj0
,&arg2
)) goto fail
;
3993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 Py_INCREF(Py_None
); resultobj
= Py_None
;
4008 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4014 (char *) "self", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
4018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= PyInt_FromLong((long)result
);
4033 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4039 (char *) "self", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
4043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= PyInt_FromLong((long)result
);
4058 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
;
4060 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4062 PyObject
* obj0
= 0 ;
4064 (char *) "self", NULL
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
4068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 resultobj
= PyInt_FromLong((long)result
);
4083 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
;
4085 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4087 PyObject
* obj0
= 0 ;
4089 (char *) "self", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
4093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 resultobj
= PyInt_FromLong((long)result
);
4108 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4110 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4112 PyObject
* obj0
= 0 ;
4114 (char *) "self", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= PyInt_FromLong((long)result
);
4133 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4139 (char *) "self", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 resultobj
= PyInt_FromLong((long)result
);
4158 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4162 PyObject
* obj0
= 0 ;
4164 (char *) "self", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
4168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 resultobj
= PyInt_FromLong((long)result
);
4183 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4185 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4189 (char *) "self", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= PyInt_FromLong((long)result
);
4208 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4214 (char *) "self", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4227 wxColour
* resultptr
;
4228 resultptr
= new wxColour((wxColour
&) result
);
4229 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4237 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4241 PyObject
* obj0
= 0 ;
4243 (char *) "self", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4256 wxColour
* resultptr
;
4257 resultptr
= new wxColour((wxColour
&) result
);
4258 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4266 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
;
4268 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4270 PyObject
* obj0
= 0 ;
4272 (char *) "self", NULL
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4286 resultptr
= new wxFont((wxFont
&) result
);
4287 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
4295 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4298 int *arg2
= (int *) 0 ;
4299 int *arg3
= (int *) 0 ;
4302 PyObject
* obj0
= 0 ;
4304 (char *) "self", NULL
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 Py_INCREF(Py_None
); resultobj
= Py_None
;
4320 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4321 resultobj
= t_output_helper(resultobj
,o
);
4324 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4325 resultobj
= t_output_helper(resultobj
,o
);
4333 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4335 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4336 int *arg2
= (int *) 0 ;
4337 int *arg3
= (int *) 0 ;
4340 PyObject
* obj0
= 0 ;
4342 (char *) "self", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 Py_INCREF(Py_None
); resultobj
= Py_None
;
4358 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4359 resultobj
= t_output_helper(resultobj
,o
);
4362 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4363 resultobj
= t_output_helper(resultobj
,o
);
4371 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
;
4373 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4375 PyObject
* obj0
= 0 ;
4377 (char *) "self", NULL
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= PyInt_FromLong((long)result
);
4396 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
*resultobj
;
4398 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4399 wxGrid
*arg2
= (wxGrid
*) 0 ;
4402 wxGridCellRenderer
*result
;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4406 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4411 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4428 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4431 wxGrid
*arg2
= (wxGrid
*) 0 ;
4434 wxGridCellEditor
*result
;
4435 PyObject
* obj0
= 0 ;
4436 PyObject
* obj1
= 0 ;
4438 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4443 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= wxPyMake_wxGridCellEditor(result
);
4460 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4464 PyObject
* obj0
= 0 ;
4466 (char *) "self", NULL
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= PyInt_FromLong((long)result
);
4485 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
;
4487 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4488 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4489 PyObject
* obj0
= 0 ;
4490 PyObject
* obj1
= 0 ;
4492 (char *) "self",(char *) "defAttr", NULL
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 (arg1
)->SetDefAttr(arg2
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4515 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4517 return Py_BuildValue((char *)"");
4519 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxGridCellAttrProvider
*result
;
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4543 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
*resultobj
;
4545 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4546 PyObject
*arg2
= (PyObject
*) 0 ;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4550 (char *) "self",(char *) "_self", NULL
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4563 Py_INCREF(Py_None
); resultobj
= Py_None
;
4570 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
;
4572 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4576 wxGridCellAttr
*result
;
4577 PyObject
* obj0
= 0 ;
4579 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= wxPyMake_wxGridCellAttr(result
);
4600 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4603 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4609 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 Py_INCREF(Py_None
); resultobj
= Py_None
;
4629 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
;
4631 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4632 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4634 PyObject
* obj0
= 0 ;
4635 PyObject
* obj1
= 0 ;
4637 (char *) "self",(char *) "attr",(char *) "row", NULL
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 (arg1
)->SetRowAttr(arg2
,arg3
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 Py_INCREF(Py_None
); resultobj
= Py_None
;
4657 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4660 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj1
= 0 ;
4665 (char *) "self",(char *) "attr",(char *) "col", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 (arg1
)->SetColAttr(arg2
,arg3
);
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 Py_INCREF(Py_None
); resultobj
= Py_None
;
4685 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
;
4687 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4693 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4699 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 (arg1
)->UpdateAttrRows(arg2
,arg3
);
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4709 Py_INCREF(Py_None
); resultobj
= Py_None
;
4716 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4721 PyObject
* obj0
= 0 ;
4722 PyObject
* obj1
= 0 ;
4724 (char *) "self",(char *) "pos",(char *) "numCols", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4730 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 (arg1
)->UpdateAttrCols(arg2
,arg3
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 Py_INCREF(Py_None
); resultobj
= Py_None
;
4747 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4750 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
4752 return Py_BuildValue((char *)"");
4754 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
;
4756 wxPyGridCellAttrProvider
*result
;
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4769 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
4776 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
;
4778 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4779 PyObject
*arg2
= (PyObject
*) 0 ;
4780 PyObject
*arg3
= (PyObject
*) 0 ;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4785 (char *) "self",(char *) "self",(char *) "_class", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4799 Py_INCREF(Py_None
); resultobj
= Py_None
;
4806 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
*resultobj
;
4808 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4812 wxGridCellAttr
*result
;
4813 PyObject
* obj0
= 0 ;
4815 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4828 resultobj
= wxPyMake_wxGridCellAttr(result
);
4836 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
*resultobj
;
4838 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4839 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4842 PyObject
* obj0
= 0 ;
4843 PyObject
* obj1
= 0 ;
4845 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4850 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 Py_INCREF(Py_None
); resultobj
= Py_None
;
4865 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4868 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4870 PyObject
* obj0
= 0 ;
4871 PyObject
* obj1
= 0 ;
4873 (char *) "self",(char *) "attr",(char *) "row", NULL
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4878 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 (arg1
)->base_SetRowAttr(arg2
,arg3
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 Py_INCREF(Py_None
); resultobj
= Py_None
;
4893 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
;
4895 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4896 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4898 PyObject
* obj0
= 0 ;
4899 PyObject
* obj1
= 0 ;
4901 (char *) "self",(char *) "attr",(char *) "col", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4906 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 (arg1
)->base_SetColAttr(arg2
,arg3
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 Py_INCREF(Py_None
); resultobj
= Py_None
;
4921 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4924 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
4926 return Py_BuildValue((char *)"");
4928 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4931 PyObject
*arg2
= (PyObject
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4935 (char *) "self",(char *) "_self", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 wxGridTableBase__setOORInfo(arg1
,arg2
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 Py_INCREF(Py_None
); resultobj
= Py_None
;
4955 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4958 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
4959 PyObject
* obj0
= 0 ;
4960 PyObject
* obj1
= 0 ;
4962 (char *) "self",(char *) "attrProvider", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 (arg1
)->SetAttrProvider(arg2
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 Py_INCREF(Py_None
); resultobj
= Py_None
;
4982 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4985 wxGridCellAttrProvider
*result
;
4986 PyObject
* obj0
= 0 ;
4988 (char *) "self", NULL
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
4992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
5009 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5012 wxGrid
*arg2
= (wxGrid
*) 0 ;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5016 (char *) "self",(char *) "grid", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 (arg1
)->SetView(arg2
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 Py_INCREF(Py_None
); resultobj
= Py_None
;
5036 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5040 PyObject
* obj0
= 0 ;
5042 (char *) "self", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= wxPyMake_wxObject(result
);
5063 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5069 (char *) "self", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= (int)(arg1
)->GetNumberRows();
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= PyInt_FromLong((long)result
);
5088 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5092 PyObject
* obj0
= 0 ;
5094 (char *) "self", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (int)(arg1
)->GetNumberCols();
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= PyInt_FromLong((long)result
);
5113 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5119 PyObject
* obj0
= 0 ;
5121 (char *) "self",(char *) "row",(char *) "col", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= PyInt_FromLong((long)result
);
5140 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
;
5142 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5148 (char *) "self",(char *) "row",(char *) "col", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (arg1
)->GetValue(arg2
,arg3
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5173 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
;
5175 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5178 wxString
*arg4
= 0 ;
5179 bool temp4
= False
;
5180 PyObject
* obj0
= 0 ;
5181 PyObject
* obj3
= 0 ;
5183 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_SetValue",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5189 arg4
= wxString_in_helper(obj3
);
5190 if (arg4
== NULL
) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 Py_INCREF(Py_None
); resultobj
= Py_None
;
5215 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "self",(char *) "row",(char *) "col", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetTypeName",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5248 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5253 wxString
*arg4
= 0 ;
5255 bool temp4
= False
;
5256 PyObject
* obj0
= 0 ;
5257 PyObject
* obj3
= 0 ;
5259 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5265 arg4
= wxString_in_helper(obj3
);
5266 if (arg4
== NULL
) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= PyInt_FromLong((long)result
);
5291 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5296 wxString
*arg4
= 0 ;
5298 bool temp4
= False
;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj3
= 0 ;
5302 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5308 arg4
= wxString_in_helper(obj3
);
5309 if (arg4
== NULL
) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 resultobj
= PyInt_FromLong((long)result
);
5334 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5340 PyObject
* obj0
= 0 ;
5342 (char *) "self",(char *) "row",(char *) "col", NULL
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= PyInt_FromLong((long)result
);
5361 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5369 (char *) "self",(char *) "row",(char *) "col", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= PyFloat_FromDouble(result
);
5388 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5396 (char *) "self",(char *) "row",(char *) "col", NULL
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= PyInt_FromLong((long)result
);
5415 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
;
5417 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5421 PyObject
* obj0
= 0 ;
5423 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 Py_INCREF(Py_None
); resultobj
= Py_None
;
5442 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5444 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5448 PyObject
* obj0
= 0 ;
5450 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiid:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 Py_INCREF(Py_None
); resultobj
= Py_None
;
5469 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5475 PyObject
* obj0
= 0 ;
5476 PyObject
* obj3
= 0 ;
5478 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5484 arg4
= (bool) SPyObj_AsBool(obj3
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 Py_INCREF(Py_None
); resultobj
= Py_None
;
5501 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5503 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5504 PyObject
* obj0
= 0 ;
5506 (char *) "self", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5518 Py_INCREF(Py_None
); resultobj
= Py_None
;
5525 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5527 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5528 size_t arg2
= (size_t) 0 ;
5529 size_t arg3
= (size_t) 1 ;
5531 PyObject
* obj0
= 0 ;
5532 PyObject
* obj1
= 0 ;
5533 PyObject
* obj2
= 0 ;
5535 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5542 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5548 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= PyInt_FromLong((long)result
);
5566 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5569 size_t arg2
= (size_t) 1 ;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5574 (char *) "self",(char *) "numRows", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
5578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5581 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= (bool)(arg1
)->AppendRows(arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= PyInt_FromLong((long)result
);
5599 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5602 size_t arg2
= (size_t) 0 ;
5603 size_t arg3
= (size_t) 1 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5607 PyObject
* obj2
= 0 ;
5609 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5616 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5622 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= PyInt_FromLong((long)result
);
5640 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5643 size_t arg2
= (size_t) 0 ;
5644 size_t arg3
= (size_t) 1 ;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5648 PyObject
* obj2
= 0 ;
5650 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5657 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5663 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= PyInt_FromLong((long)result
);
5681 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5684 size_t arg2
= (size_t) 1 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5689 (char *) "self",(char *) "numCols", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5696 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (bool)(arg1
)->AppendCols(arg2
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= PyInt_FromLong((long)result
);
5714 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5717 size_t arg2
= (size_t) 0 ;
5718 size_t arg3
= (size_t) 1 ;
5720 PyObject
* obj0
= 0 ;
5721 PyObject
* obj1
= 0 ;
5722 PyObject
* obj2
= 0 ;
5724 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5731 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5737 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= PyInt_FromLong((long)result
);
5755 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
;
5757 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5760 PyObject
* obj0
= 0 ;
5762 (char *) "self",(char *) "row", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 result
= (arg1
)->GetRowLabelValue(arg2
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5787 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
*resultobj
;
5789 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5794 (char *) "self",(char *) "col", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
5798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= (arg1
)->GetColLabelValue(arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5819 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5823 wxString
*arg3
= 0 ;
5824 bool temp3
= False
;
5825 PyObject
* obj0
= 0 ;
5826 PyObject
* obj2
= 0 ;
5828 (char *) "self",(char *) "row",(char *) "value", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5834 arg3
= wxString_in_helper(obj2
);
5835 if (arg3
== NULL
) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5845 Py_INCREF(Py_None
); resultobj
= Py_None
;
5860 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5862 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5864 wxString
*arg3
= 0 ;
5865 bool temp3
= False
;
5866 PyObject
* obj0
= 0 ;
5867 PyObject
* obj2
= 0 ;
5869 (char *) "self",(char *) "col",(char *) "value", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5875 arg3
= wxString_in_helper(obj2
);
5876 if (arg3
== NULL
) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5901 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5905 PyObject
* obj0
= 0 ;
5907 (char *) "self", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
5911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (bool)(arg1
)->CanHaveAttributes();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= PyInt_FromLong((long)result
);
5926 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5932 wxGridCellAttr
*result
;
5933 PyObject
* obj0
= 0 ;
5935 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:GridTableBase_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= wxPyMake_wxGridCellAttr(result
);
5956 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5959 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5965 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 Py_INCREF(Py_None
); resultobj
= Py_None
;
5985 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5987 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5988 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5990 PyObject
* obj0
= 0 ;
5991 PyObject
* obj1
= 0 ;
5993 (char *) "self",(char *) "attr",(char *) "row", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 (arg1
)->SetRowAttr(arg2
,arg3
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 Py_INCREF(Py_None
); resultobj
= Py_None
;
6013 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6016 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6018 PyObject
* obj0
= 0 ;
6019 PyObject
* obj1
= 0 ;
6021 (char *) "self",(char *) "attr",(char *) "col", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6026 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 (arg1
)->SetColAttr(arg2
,arg3
);
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 Py_INCREF(Py_None
); resultobj
= Py_None
;
6041 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6044 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6046 return Py_BuildValue((char *)"");
6048 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxPyGridTableBase
*result
;
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridTableBase
, 1);
6070 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6073 PyObject
*arg2
= (PyObject
*) 0 ;
6074 PyObject
*arg3
= (PyObject
*) 0 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6077 PyObject
* obj2
= 0 ;
6079 (char *) "self",(char *) "self",(char *) "_class", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 Py_INCREF(Py_None
); resultobj
= Py_None
;
6100 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6103 PyObject
* obj0
= 0 ;
6105 (char *) "self", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 wxPyGridTableBase_Destroy(arg1
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 Py_INCREF(Py_None
); resultobj
= Py_None
;
6124 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "self",(char *) "row",(char *) "col", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6157 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6162 wxString
*arg4
= 0 ;
6164 bool temp4
= False
;
6165 PyObject
* obj0
= 0 ;
6166 PyObject
* obj3
= 0 ;
6168 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6174 arg4
= wxString_in_helper(obj3
);
6175 if (arg4
== NULL
) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= PyInt_FromLong((long)result
);
6200 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6205 wxString
*arg4
= 0 ;
6207 bool temp4
= False
;
6208 PyObject
* obj0
= 0 ;
6209 PyObject
* obj3
= 0 ;
6211 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
6215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6217 arg4
= wxString_in_helper(obj3
);
6218 if (arg4
== NULL
) SWIG_fail
;
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 resultobj
= PyInt_FromLong((long)result
);
6243 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
;
6245 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6246 PyObject
* obj0
= 0 ;
6248 (char *) "self", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 (arg1
)->base_Clear();
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 Py_INCREF(Py_None
); resultobj
= Py_None
;
6267 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6270 size_t arg2
= (size_t) 0 ;
6271 size_t arg3
= (size_t) 1 ;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6275 PyObject
* obj2
= 0 ;
6277 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6284 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6290 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= PyInt_FromLong((long)result
);
6308 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6311 size_t arg2
= (size_t) 1 ;
6313 PyObject
* obj0
= 0 ;
6314 PyObject
* obj1
= 0 ;
6316 (char *) "self",(char *) "numRows", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6323 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= PyInt_FromLong((long)result
);
6341 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
;
6343 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6344 size_t arg2
= (size_t) 0 ;
6345 size_t arg3
= (size_t) 1 ;
6347 PyObject
* obj0
= 0 ;
6348 PyObject
* obj1
= 0 ;
6349 PyObject
* obj2
= 0 ;
6351 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6358 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6364 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= PyInt_FromLong((long)result
);
6382 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6385 size_t arg2
= (size_t) 0 ;
6386 size_t arg3
= (size_t) 1 ;
6388 PyObject
* obj0
= 0 ;
6389 PyObject
* obj1
= 0 ;
6390 PyObject
* obj2
= 0 ;
6392 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6399 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6405 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= PyInt_FromLong((long)result
);
6423 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6426 size_t arg2
= (size_t) 1 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6431 (char *) "self",(char *) "numCols", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6438 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= PyInt_FromLong((long)result
);
6456 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6459 size_t arg2
= (size_t) 0 ;
6460 size_t arg3
= (size_t) 1 ;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6464 PyObject
* obj2
= 0 ;
6466 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6473 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6479 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= PyInt_FromLong((long)result
);
6497 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self",(char *) "row", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 result
= (arg1
)->base_GetRowLabelValue(arg2
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6529 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
;
6531 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6534 PyObject
* obj0
= 0 ;
6536 (char *) "self",(char *) "col", NULL
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
6540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 result
= (arg1
)->base_GetColLabelValue(arg2
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6561 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6565 wxString
*arg3
= 0 ;
6566 bool temp3
= False
;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj2
= 0 ;
6570 (char *) "self",(char *) "row",(char *) "value", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6576 arg3
= wxString_in_helper(obj2
);
6577 if (arg3
== NULL
) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 Py_INCREF(Py_None
); resultobj
= Py_None
;
6602 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6606 wxString
*arg3
= 0 ;
6607 bool temp3
= False
;
6608 PyObject
* obj0
= 0 ;
6609 PyObject
* obj2
= 0 ;
6611 (char *) "self",(char *) "col",(char *) "value", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6617 arg3
= wxString_in_helper(obj2
);
6618 if (arg3
== NULL
) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6643 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
;
6645 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6647 PyObject
* obj0
= 0 ;
6649 (char *) "self", NULL
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 result
= (bool)(arg1
)->base_CanHaveAttributes();
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= PyInt_FromLong((long)result
);
6668 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6674 wxGridCellAttr
*result
;
6675 PyObject
* obj0
= 0 ;
6677 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= wxPyMake_wxGridCellAttr(result
);
6698 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6701 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6705 PyObject
* obj1
= 0 ;
6707 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
6711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 Py_INCREF(Py_None
); resultobj
= Py_None
;
6727 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6730 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6735 (char *) "self",(char *) "attr",(char *) "row", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 (arg1
)->base_SetRowAttr(arg2
,arg3
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 Py_INCREF(Py_None
); resultobj
= Py_None
;
6755 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
;
6757 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6758 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6763 (char *) "self",(char *) "attr",(char *) "col", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 (arg1
)->base_SetColAttr(arg2
,arg3
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 Py_INCREF(Py_None
); resultobj
= Py_None
;
6783 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6786 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
6788 return Py_BuildValue((char *)"");
6790 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 int arg1
= (int) 0 ;
6793 int arg2
= (int) 0 ;
6794 wxGridStringTable
*result
;
6796 (char *) "numRows",(char *) "numCols", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridStringTable",kwnames
,&arg1
,&arg2
)) goto fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridStringTable
, 1);
6814 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
6816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6817 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
6819 return Py_BuildValue((char *)"");
6821 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6825 int arg3
= (int) -1 ;
6826 int arg4
= (int) -1 ;
6827 wxGridTableMessage
*result
;
6828 PyObject
* obj0
= 0 ;
6830 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:new_GridTableMessage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridTableMessage
, 1);
6849 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6852 PyObject
* obj0
= 0 ;
6854 (char *) "self", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 Py_INCREF(Py_None
); resultobj
= Py_None
;
6873 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
*resultobj
;
6875 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6876 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
6877 PyObject
* obj0
= 0 ;
6878 PyObject
* obj1
= 0 ;
6880 (char *) "self",(char *) "table", NULL
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
6884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6885 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 (arg1
)->SetTableObject(arg2
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 Py_INCREF(Py_None
); resultobj
= Py_None
;
6900 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6903 wxGridTableBase
*result
;
6904 PyObject
* obj0
= 0 ;
6906 (char *) "self", NULL
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
6910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= wxPyMake_wxGridTableBase(result
);
6927 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6933 (char *) "self",(char *) "id", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
6937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 (arg1
)->SetId(arg2
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 Py_INCREF(Py_None
); resultobj
= Py_None
;
6952 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6958 (char *) "self", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
6962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 result
= (int)(arg1
)->GetId();
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 resultobj
= PyInt_FromLong((long)result
);
6977 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6981 PyObject
* obj0
= 0 ;
6983 (char *) "self",(char *) "comInt1", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&arg2
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 (arg1
)->SetCommandInt(arg2
);
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 Py_INCREF(Py_None
); resultobj
= Py_None
;
7002 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7006 PyObject
* obj0
= 0 ;
7008 (char *) "self", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 result
= (int)(arg1
)->GetCommandInt();
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= PyInt_FromLong((long)result
);
7027 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7031 PyObject
* obj0
= 0 ;
7033 (char *) "self",(char *) "comInt2", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&arg2
)) goto fail
;
7037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 (arg1
)->SetCommandInt2(arg2
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 Py_INCREF(Py_None
); resultobj
= Py_None
;
7052 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7056 PyObject
* obj0
= 0 ;
7058 (char *) "self", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (int)(arg1
)->GetCommandInt2();
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= PyInt_FromLong((long)result
);
7077 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
7079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7080 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7082 return Py_BuildValue((char *)"");
7084 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 int arg1
= (int) -1 ;
7087 int arg2
= (int) -1 ;
7088 wxGridCellCoords
*result
;
7090 (char *) "r",(char *) "c", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellCoords",kwnames
,&arg1
,&arg2
)) goto fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellCoords
, 1);
7108 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7113 (char *) "self", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 Py_INCREF(Py_None
); resultobj
= Py_None
;
7132 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7134 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7136 PyObject
* obj0
= 0 ;
7138 (char *) "self", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
7142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= PyInt_FromLong((long)result
);
7157 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7163 (char *) "self",(char *) "n", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellCoords_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 (arg1
)->SetRow(arg2
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 Py_INCREF(Py_None
); resultobj
= Py_None
;
7182 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
*resultobj
;
7184 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7186 PyObject
* obj0
= 0 ;
7188 (char *) "self", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= PyInt_FromLong((long)result
);
7207 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7209 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7211 PyObject
* obj0
= 0 ;
7213 (char *) "self",(char *) "n", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellCoords_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
7217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 (arg1
)->SetCol(arg2
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 Py_INCREF(Py_None
); resultobj
= Py_None
;
7232 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7239 (char *) "self",(char *) "row",(char *) "col", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellCoords_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 (arg1
)->Set(arg2
,arg3
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 Py_INCREF(Py_None
); resultobj
= Py_None
;
7258 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7261 wxGridCellCoords
*arg2
= 0 ;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7266 (char *) "self",(char *) "other", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7271 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7273 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= PyInt_FromLong((long)result
);
7289 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7292 wxGridCellCoords
*arg2
= 0 ;
7294 PyObject
* obj0
= 0 ;
7295 PyObject
* obj1
= 0 ;
7297 (char *) "self",(char *) "other", NULL
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7302 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7304 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 resultobj
= PyInt_FromLong((long)result
);
7320 static PyObject
*_wrap_GridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7326 (char *) "self", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= (PyObject
*)wxGridCellCoords_asTuple(arg1
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7345 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
7347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7348 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
7350 return Py_BuildValue((char *)"");
7352 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxWindow
*arg1
= (wxWindow
*) 0 ;
7356 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7357 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7358 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7359 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7360 long arg5
= (long) wxWANTS_CHARS
;
7361 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7362 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7366 bool temp6
= False
;
7367 PyObject
* obj0
= 0 ;
7368 PyObject
* obj2
= 0 ;
7369 PyObject
* obj3
= 0 ;
7370 PyObject
* obj5
= 0 ;
7372 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Grid",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7380 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7386 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7391 arg6
= wxString_in_helper(obj5
);
7392 if (arg6
== NULL
) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7404 resultobj
= wxPyMake_wxObject(result
);
7420 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7422 wxGrid
*arg1
= (wxGrid
*) 0 ;
7425 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7427 PyObject
* obj0
= 0 ;
7429 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Grid_CreateGrid",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
7433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= PyInt_FromLong((long)result
);
7448 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxGrid
*arg1
= (wxGrid
*) 0 ;
7451 WXGRIDSELECTIONMODES arg2
;
7452 PyObject
* obj0
= 0 ;
7454 (char *) "self",(char *) "selmode", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetSelectionMode",kwnames
,&obj0
,&arg2
)) goto fail
;
7458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 (arg1
)->SetSelectionMode(arg2
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 Py_INCREF(Py_None
); resultobj
= Py_None
;
7473 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7475 wxGrid
*arg1
= (wxGrid
*) 0 ;
7476 WXGRIDSELECTIONMODES result
;
7477 PyObject
* obj0
= 0 ;
7479 (char *) "self", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
7483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= PyInt_FromLong((long)result
);
7498 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxGrid
*arg1
= (wxGrid
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7504 (char *) "self", NULL
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
7508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (int)(arg1
)->GetNumberRows();
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= PyInt_FromLong((long)result
);
7523 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxGrid
*arg1
= (wxGrid
*) 0 ;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "self", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (int)(arg1
)->GetNumberCols();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= PyInt_FromLong((long)result
);
7548 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxGrid
*arg1
= (wxGrid
*) 0 ;
7551 wxGridTableMessage
*arg2
= 0 ;
7553 PyObject
* obj0
= 0 ;
7554 PyObject
* obj1
= 0 ;
7556 (char *) "self","arg2", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= PyInt_FromLong((long)result
);
7579 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxGrid
*arg1
= (wxGrid
*) 0 ;
7582 wxGridTableBase
*result
;
7583 PyObject
* obj0
= 0 ;
7585 (char *) "self", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
7589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7598 resultobj
= wxPyMake_wxGridTableBase(result
);
7606 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7608 wxGrid
*arg1
= (wxGrid
*) 0 ;
7609 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7610 bool arg3
= (bool) False
;
7611 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7613 PyObject
* obj0
= 0 ;
7614 PyObject
* obj1
= 0 ;
7615 PyObject
* obj2
= 0 ;
7617 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|Oi:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
7621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7622 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7625 arg3
= (bool) SPyObj_AsBool(obj2
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= PyInt_FromLong((long)result
);
7643 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxGrid
*arg1
= (wxGrid
*) 0 ;
7646 PyObject
* obj0
= 0 ;
7648 (char *) "self", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 (arg1
)->ClearGrid();
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 Py_INCREF(Py_None
); resultobj
= Py_None
;
7667 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxGrid
*arg1
= (wxGrid
*) 0 ;
7670 int arg2
= (int) 0 ;
7671 int arg3
= (int) 1 ;
7672 bool arg4
= (bool) True
;
7674 PyObject
* obj0
= 0 ;
7675 PyObject
* obj3
= 0 ;
7677 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_InsertRows",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7684 arg4
= (bool) SPyObj_AsBool(obj3
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= PyInt_FromLong((long)result
);
7702 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxGrid
*arg1
= (wxGrid
*) 0 ;
7705 int arg2
= (int) 1 ;
7706 bool arg3
= (bool) True
;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj2
= 0 ;
7711 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Grid_AppendRows",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7718 arg3
= (bool) SPyObj_AsBool(obj2
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= PyInt_FromLong((long)result
);
7736 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxGrid
*arg1
= (wxGrid
*) 0 ;
7739 int arg2
= (int) 0 ;
7740 int arg3
= (int) 1 ;
7741 bool arg4
= (bool) True
;
7743 PyObject
* obj0
= 0 ;
7744 PyObject
* obj3
= 0 ;
7746 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_DeleteRows",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7753 arg4
= (bool) SPyObj_AsBool(obj3
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 resultobj
= PyInt_FromLong((long)result
);
7771 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxGrid
*arg1
= (wxGrid
*) 0 ;
7774 int arg2
= (int) 0 ;
7775 int arg3
= (int) 1 ;
7776 bool arg4
= (bool) True
;
7778 PyObject
* obj0
= 0 ;
7779 PyObject
* obj3
= 0 ;
7781 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_InsertCols",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7788 arg4
= (bool) SPyObj_AsBool(obj3
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= PyInt_FromLong((long)result
);
7806 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxGrid
*arg1
= (wxGrid
*) 0 ;
7809 int arg2
= (int) 1 ;
7810 bool arg3
= (bool) True
;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj2
= 0 ;
7815 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Grid_AppendCols",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7822 arg3
= (bool) SPyObj_AsBool(obj2
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= PyInt_FromLong((long)result
);
7840 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxGrid
*arg1
= (wxGrid
*) 0 ;
7843 int arg2
= (int) 0 ;
7844 int arg3
= (int) 1 ;
7845 bool arg4
= (bool) True
;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj3
= 0 ;
7850 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_DeleteCols",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7857 arg4
= (bool) SPyObj_AsBool(obj3
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 resultobj
= PyInt_FromLong((long)result
);
7875 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxGrid
*arg1
= (wxGrid
*) 0 ;
7879 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
7880 PyObject
* obj0
= 0 ;
7881 PyObject
* obj1
= 0 ;
7882 PyObject
* obj2
= 0 ;
7884 (char *) "self",(char *) "dc",(char *) "attr", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7889 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7891 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7893 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 Py_INCREF(Py_None
); resultobj
= Py_None
;
7908 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxGrid
*arg1
= (wxGrid
*) 0 ;
7912 wxString
*arg3
= 0 ;
7914 int arg5
= (int) wxLEFT
;
7915 int arg6
= (int) wxTOP
;
7916 int arg7
= (int) wxHORIZONTAL
;
7917 bool temp3
= False
;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7921 PyObject
* obj2
= 0 ;
7922 PyObject
* obj3
= 0 ;
7924 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iii:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&arg7
)) goto fail
;
7928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7934 arg3
= wxString_in_helper(obj2
);
7935 if (arg3
== NULL
) SWIG_fail
;
7940 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 Py_INCREF(Py_None
); resultobj
= Py_None
;
7964 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxGrid
*arg1
= (wxGrid
*) 0 ;
7968 wxArrayString
*arg3
= 0 ;
7969 long *arg4
= (long *) 0 ;
7970 long *arg5
= (long *) 0 ;
7973 PyObject
* obj0
= 0 ;
7974 PyObject
* obj1
= 0 ;
7975 PyObject
* obj2
= 0 ;
7977 (char *) "self",(char *) "dc",(char *) "lines", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7989 if (! PySequence_Check(obj2
)) {
7990 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7993 arg3
= new wxArrayString
;
7994 int i
, len
=PySequence_Length(obj2
);
7995 for (i
=0; i
<len
; i
++) {
7996 PyObject
* item
= PySequence_GetItem(obj2
, i
);
7998 PyObject
* str
= PyObject_Unicode(item
);
8000 PyObject
* str
= PyObject_Str(item
);
8002 arg3
->Add(Py2wxString(str
));
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 Py_INCREF(Py_None
); resultobj
= Py_None
;
8016 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8017 resultobj
= t_output_helper(resultobj
,o
);
8020 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
8021 resultobj
= t_output_helper(resultobj
,o
);
8024 if (arg3
) delete arg3
;
8029 if (arg3
) delete arg3
;
8035 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxGrid
*arg1
= (wxGrid
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "self", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
8044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 (arg1
)->BeginBatch();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 Py_INCREF(Py_None
); resultobj
= Py_None
;
8059 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxGrid
*arg1
= (wxGrid
*) 0 ;
8062 PyObject
* obj0
= 0 ;
8064 (char *) "self", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
8068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 Py_INCREF(Py_None
); resultobj
= Py_None
;
8083 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8085 wxGrid
*arg1
= (wxGrid
*) 0 ;
8087 PyObject
* obj0
= 0 ;
8089 (char *) "self", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
8093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (int)(arg1
)->GetBatchCount();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= PyInt_FromLong((long)result
);
8108 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxGrid
*arg1
= (wxGrid
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8113 (char *) "self", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 (arg1
)->ForceRefresh();
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 Py_INCREF(Py_None
); resultobj
= Py_None
;
8132 static PyObject
*_wrap_Grid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxGrid
*arg1
= (wxGrid
*) 0 ;
8135 bool arg2
= (bool) True
;
8136 wxRect
*arg3
= (wxRect
*) NULL
;
8137 PyObject
* obj0
= 0 ;
8138 PyObject
* obj1
= 0 ;
8139 PyObject
* obj2
= 0 ;
8141 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8148 arg2
= (bool) SPyObj_AsBool(obj1
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8153 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 Py_INCREF(Py_None
); resultobj
= Py_None
;
8169 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxGrid
*arg1
= (wxGrid
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8175 (char *) "self", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
8179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (bool)(arg1
)->IsEditable();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= PyInt_FromLong((long)result
);
8194 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8196 wxGrid
*arg1
= (wxGrid
*) 0 ;
8198 PyObject
* obj0
= 0 ;
8199 PyObject
* obj1
= 0 ;
8201 (char *) "self",(char *) "edit", NULL
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
8205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8207 arg2
= (bool) SPyObj_AsBool(obj1
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 (arg1
)->EnableEditing(arg2
);
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 Py_INCREF(Py_None
); resultobj
= Py_None
;
8224 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxGrid
*arg1
= (wxGrid
*) 0 ;
8227 bool arg2
= (bool) True
;
8228 PyObject
* obj0
= 0 ;
8229 PyObject
* obj1
= 0 ;
8231 (char *) "self",(char *) "enable", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
8235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8238 arg2
= (bool) SPyObj_AsBool(obj1
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 (arg1
)->EnableCellEditControl(arg2
);
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 Py_INCREF(Py_None
); resultobj
= Py_None
;
8256 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
;
8258 wxGrid
*arg1
= (wxGrid
*) 0 ;
8259 PyObject
* obj0
= 0 ;
8261 (char *) "self", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
8265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 (arg1
)->DisableCellEditControl();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 Py_INCREF(Py_None
); resultobj
= Py_None
;
8280 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxGrid
*arg1
= (wxGrid
*) 0 ;
8284 PyObject
* obj0
= 0 ;
8286 (char *) "self", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
8290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 resultobj
= PyInt_FromLong((long)result
);
8305 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxGrid
*arg1
= (wxGrid
*) 0 ;
8309 PyObject
* obj0
= 0 ;
8311 (char *) "self", NULL
8314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
8315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 resultobj
= PyInt_FromLong((long)result
);
8330 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
*resultobj
;
8332 wxGrid
*arg1
= (wxGrid
*) 0 ;
8334 PyObject
* obj0
= 0 ;
8336 (char *) "self", NULL
8339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
8340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 resultobj
= PyInt_FromLong((long)result
);
8355 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 wxGrid
*arg1
= (wxGrid
*) 0 ;
8359 PyObject
* obj0
= 0 ;
8361 (char *) "self", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= PyInt_FromLong((long)result
);
8380 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxGrid
*arg1
= (wxGrid
*) 0 ;
8383 PyObject
* obj0
= 0 ;
8385 (char *) "self", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
8389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 (arg1
)->ShowCellEditControl();
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 Py_INCREF(Py_None
); resultobj
= Py_None
;
8404 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxGrid
*arg1
= (wxGrid
*) 0 ;
8407 PyObject
* obj0
= 0 ;
8409 (char *) "self", NULL
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
8413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 (arg1
)->HideCellEditControl();
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 Py_INCREF(Py_None
); resultobj
= Py_None
;
8428 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxGrid
*arg1
= (wxGrid
*) 0 ;
8431 PyObject
* obj0
= 0 ;
8433 (char *) "self", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
8437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 (arg1
)->SaveEditControlValue();
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 Py_INCREF(Py_None
); resultobj
= Py_None
;
8452 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxGrid
*arg1
= (wxGrid
*) 0 ;
8457 wxGridCellCoords result
;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self",(char *) "x",(char *) "y", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_XYToCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8473 wxGridCellCoords
* resultptr
;
8474 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
8475 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
8483 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
;
8485 wxGrid
*arg1
= (wxGrid
*) 0 ;
8488 PyObject
* obj0
= 0 ;
8490 (char *) "self",(char *) "y", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_YToRow",kwnames
,&obj0
,&arg2
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 result
= (int)(arg1
)->YToRow(arg2
);
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= PyInt_FromLong((long)result
);
8509 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxGrid
*arg1
= (wxGrid
*) 0 ;
8514 PyObject
* obj0
= 0 ;
8516 (char *) "self",(char *) "x", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_XToCol",kwnames
,&obj0
,&arg2
)) goto fail
;
8520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 result
= (int)(arg1
)->XToCol(arg2
);
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= PyInt_FromLong((long)result
);
8535 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
;
8537 wxGrid
*arg1
= (wxGrid
*) 0 ;
8540 PyObject
* obj0
= 0 ;
8542 (char *) "self",(char *) "y", NULL
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_YToEdgeOfRow",kwnames
,&obj0
,&arg2
)) goto fail
;
8546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= PyInt_FromLong((long)result
);
8561 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxGrid
*arg1
= (wxGrid
*) 0 ;
8566 PyObject
* obj0
= 0 ;
8568 (char *) "self",(char *) "x", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_XToEdgeOfCol",kwnames
,&obj0
,&arg2
)) goto fail
;
8572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= PyInt_FromLong((long)result
);
8587 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxGrid
*arg1
= (wxGrid
*) 0 ;
8593 PyObject
* obj0
= 0 ;
8595 (char *) "self",(char *) "row",(char *) "col", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_CellToRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (arg1
)->CellToRect(arg2
,arg3
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8609 resultptr
= new wxRect((wxRect
&) result
);
8610 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
8618 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxGrid
*arg1
= (wxGrid
*) 0 ;
8622 PyObject
* obj0
= 0 ;
8624 (char *) "self", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
8628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 result
= (int)(arg1
)->GetGridCursorRow();
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= PyInt_FromLong((long)result
);
8643 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
;
8645 wxGrid
*arg1
= (wxGrid
*) 0 ;
8647 PyObject
* obj0
= 0 ;
8649 (char *) "self", NULL
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
8653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (int)(arg1
)->GetGridCursorCol();
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= PyInt_FromLong((long)result
);
8668 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxGrid
*arg1
= (wxGrid
*) 0 ;
8673 bool arg4
= (bool) True
;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj3
= 0 ;
8678 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Grid_IsVisible",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
8682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8685 arg4
= (bool) SPyObj_AsBool(obj3
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= PyInt_FromLong((long)result
);
8703 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxGrid
*arg1
= (wxGrid
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8710 (char *) "self",(char *) "row",(char *) "col", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_MakeCellVisible",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->MakeCellVisible(arg2
,arg3
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxGrid
*arg1
= (wxGrid
*) 0 ;
8734 PyObject
* obj0
= 0 ;
8736 (char *) "self",(char *) "row",(char *) "col", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetGridCursor",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 (arg1
)->SetGridCursor(arg2
,arg3
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 Py_INCREF(Py_None
); resultobj
= Py_None
;
8755 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxGrid
*arg1
= (wxGrid
*) 0 ;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8763 (char *) "self",(char *) "expandSelection", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8769 arg2
= (bool) SPyObj_AsBool(obj1
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= PyInt_FromLong((long)result
);
8786 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxGrid
*arg1
= (wxGrid
*) 0 ;
8791 PyObject
* obj0
= 0 ;
8792 PyObject
* obj1
= 0 ;
8794 (char *) "self",(char *) "expandSelection", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
8798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8800 arg2
= (bool) SPyObj_AsBool(obj1
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 resultobj
= PyInt_FromLong((long)result
);
8817 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8819 wxGrid
*arg1
= (wxGrid
*) 0 ;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8825 (char *) "self",(char *) "expandSelection", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8831 arg2
= (bool) SPyObj_AsBool(obj1
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= PyInt_FromLong((long)result
);
8848 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxGrid
*arg1
= (wxGrid
*) 0 ;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8856 (char *) "self",(char *) "expandSelection", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8862 arg2
= (bool) SPyObj_AsBool(obj1
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= PyInt_FromLong((long)result
);
8879 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxGrid
*arg1
= (wxGrid
*) 0 ;
8883 PyObject
* obj0
= 0 ;
8885 (char *) "self", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 result
= (bool)(arg1
)->MovePageDown();
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= PyInt_FromLong((long)result
);
8904 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxGrid
*arg1
= (wxGrid
*) 0 ;
8908 PyObject
* obj0
= 0 ;
8910 (char *) "self", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
8914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (bool)(arg1
)->MovePageUp();
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8922 resultobj
= PyInt_FromLong((long)result
);
8929 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
;
8931 wxGrid
*arg1
= (wxGrid
*) 0 ;
8934 PyObject
* obj0
= 0 ;
8935 PyObject
* obj1
= 0 ;
8937 (char *) "self",(char *) "expandSelection", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8943 arg2
= (bool) SPyObj_AsBool(obj1
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= PyInt_FromLong((long)result
);
8960 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
;
8962 wxGrid
*arg1
= (wxGrid
*) 0 ;
8965 PyObject
* obj0
= 0 ;
8966 PyObject
* obj1
= 0 ;
8968 (char *) "self",(char *) "expandSelection", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8974 arg2
= (bool) SPyObj_AsBool(obj1
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= PyInt_FromLong((long)result
);
8991 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8993 wxGrid
*arg1
= (wxGrid
*) 0 ;
8996 PyObject
* obj0
= 0 ;
8997 PyObject
* obj1
= 0 ;
8999 (char *) "self",(char *) "expandSelection", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9005 arg2
= (bool) SPyObj_AsBool(obj1
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= PyInt_FromLong((long)result
);
9022 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxGrid
*arg1
= (wxGrid
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9030 (char *) "self",(char *) "expandSelection", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9036 arg2
= (bool) SPyObj_AsBool(obj1
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 resultobj
= PyInt_FromLong((long)result
);
9053 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
;
9055 wxGrid
*arg1
= (wxGrid
*) 0 ;
9057 PyObject
* obj0
= 0 ;
9059 (char *) "self", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
9063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (int)(arg1
)->GetDefaultRowLabelSize();
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= PyInt_FromLong((long)result
);
9078 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
;
9080 wxGrid
*arg1
= (wxGrid
*) 0 ;
9082 PyObject
* obj0
= 0 ;
9084 (char *) "self", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 result
= (int)(arg1
)->GetRowLabelSize();
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 resultobj
= PyInt_FromLong((long)result
);
9103 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
;
9105 wxGrid
*arg1
= (wxGrid
*) 0 ;
9107 PyObject
* obj0
= 0 ;
9109 (char *) "self", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
9113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 result
= (int)(arg1
)->GetDefaultColLabelSize();
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= PyInt_FromLong((long)result
);
9128 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxGrid
*arg1
= (wxGrid
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9134 (char *) "self", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (int)(arg1
)->GetColLabelSize();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= PyInt_FromLong((long)result
);
9153 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxGrid
*arg1
= (wxGrid
*) 0 ;
9157 PyObject
* obj0
= 0 ;
9159 (char *) "self", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= (arg1
)->GetLabelBackgroundColour();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9172 wxColour
* resultptr
;
9173 resultptr
= new wxColour((wxColour
&) result
);
9174 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9182 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxGrid
*arg1
= (wxGrid
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9188 (char *) "self", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
9192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (arg1
)->GetLabelTextColour();
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9201 wxColour
* resultptr
;
9202 resultptr
= new wxColour((wxColour
&) result
);
9203 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9211 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxGrid
*arg1
= (wxGrid
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9217 (char *) "self", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (arg1
)->GetLabelFont();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9231 resultptr
= new wxFont((wxFont
&) result
);
9232 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
9240 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxGrid
*arg1
= (wxGrid
*) 0 ;
9243 int *arg2
= (int *) 0 ;
9244 int *arg3
= (int *) 0 ;
9247 PyObject
* obj0
= 0 ;
9249 (char *) "self", NULL
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
9255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 Py_INCREF(Py_None
); resultobj
= Py_None
;
9265 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9266 resultobj
= t_output_helper(resultobj
,o
);
9269 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9270 resultobj
= t_output_helper(resultobj
,o
);
9278 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxGrid
*arg1
= (wxGrid
*) 0 ;
9281 int *arg2
= (int *) 0 ;
9282 int *arg3
= (int *) 0 ;
9285 PyObject
* obj0
= 0 ;
9287 (char *) "self", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
9293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 Py_INCREF(Py_None
); resultobj
= Py_None
;
9303 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9304 resultobj
= t_output_helper(resultobj
,o
);
9307 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9308 resultobj
= t_output_helper(resultobj
,o
);
9316 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxGrid
*arg1
= (wxGrid
*) 0 ;
9320 PyObject
* obj0
= 0 ;
9322 (char *) "self", NULL
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
9326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 result
= (int)(arg1
)->GetColLabelTextOrientation();
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= PyInt_FromLong((long)result
);
9341 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
;
9343 wxGrid
*arg1
= (wxGrid
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9348 (char *) "self",(char *) "row", NULL
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (arg1
)->GetRowLabelValue(arg2
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9373 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxGrid
*arg1
= (wxGrid
*) 0 ;
9378 PyObject
* obj0
= 0 ;
9380 (char *) "self",(char *) "col", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 result
= (arg1
)->GetColLabelValue(arg2
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9405 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxGrid
*arg1
= (wxGrid
*) 0 ;
9409 PyObject
* obj0
= 0 ;
9411 (char *) "self", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (arg1
)->GetGridLineColour();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9424 wxColour
* resultptr
;
9425 resultptr
= new wxColour((wxColour
&) result
);
9426 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9434 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxGrid
*arg1
= (wxGrid
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (arg1
)->GetCellHighlightColour();
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9453 wxColour
* resultptr
;
9454 resultptr
= new wxColour((wxColour
&) result
);
9455 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9463 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxGrid
*arg1
= (wxGrid
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9469 (char *) "self", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (int)(arg1
)->GetCellHighlightPenWidth();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= PyInt_FromLong((long)result
);
9488 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxGrid
*arg1
= (wxGrid
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9494 (char *) "self", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= PyInt_FromLong((long)result
);
9513 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxGrid
*arg1
= (wxGrid
*) 0 ;
9517 PyObject
* obj0
= 0 ;
9519 (char *) "self",(char *) "width", NULL
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetRowLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
9523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 (arg1
)->SetRowLabelSize(arg2
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 Py_INCREF(Py_None
); resultobj
= Py_None
;
9538 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxGrid
*arg1
= (wxGrid
*) 0 ;
9542 PyObject
* obj0
= 0 ;
9544 (char *) "self",(char *) "height", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 (arg1
)->SetColLabelSize(arg2
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 Py_INCREF(Py_None
); resultobj
= Py_None
;
9563 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxGrid
*arg1
= (wxGrid
*) 0 ;
9566 wxColour
*arg2
= 0 ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9571 (char *) "self","arg2", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 Py_INCREF(Py_None
); resultobj
= Py_None
;
9594 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxGrid
*arg1
= (wxGrid
*) 0 ;
9597 wxColour
*arg2
= 0 ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9602 (char *) "self","arg2", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9609 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxGrid
*arg1
= (wxGrid
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9632 (char *) "self","arg2", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 Py_INCREF(Py_None
); resultobj
= Py_None
;
9655 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxGrid
*arg1
= (wxGrid
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9662 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 Py_INCREF(Py_None
); resultobj
= Py_None
;
9681 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxGrid
*arg1
= (wxGrid
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9688 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColLabelAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 Py_INCREF(Py_None
); resultobj
= Py_None
;
9707 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9709 wxGrid
*arg1
= (wxGrid
*) 0 ;
9711 PyObject
* obj0
= 0 ;
9713 (char *) "self",(char *) "textOrientation", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 (arg1
)->SetColLabelTextOrientation(arg2
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 Py_INCREF(Py_None
); resultobj
= Py_None
;
9732 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxGrid
*arg1
= (wxGrid
*) 0 ;
9736 wxString
*arg3
= 0 ;
9737 bool temp3
= False
;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj2
= 0 ;
9741 (char *) "self",(char *) "row","arg3", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9747 arg3
= wxString_in_helper(obj2
);
9748 if (arg3
== NULL
) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 Py_INCREF(Py_None
); resultobj
= Py_None
;
9773 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9775 wxGrid
*arg1
= (wxGrid
*) 0 ;
9777 wxString
*arg3
= 0 ;
9778 bool temp3
= False
;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj2
= 0 ;
9782 (char *) "self",(char *) "col","arg3", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9788 arg3
= wxString_in_helper(obj2
);
9789 if (arg3
== NULL
) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 Py_INCREF(Py_None
); resultobj
= Py_None
;
9814 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxGrid
*arg1
= (wxGrid
*) 0 ;
9817 wxColour
*arg2
= 0 ;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9822 (char *) "self","arg2", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9829 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 Py_INCREF(Py_None
); resultobj
= Py_None
;
9845 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
;
9847 wxGrid
*arg1
= (wxGrid
*) 0 ;
9848 wxColour
*arg2
= 0 ;
9850 PyObject
* obj0
= 0 ;
9851 PyObject
* obj1
= 0 ;
9853 (char *) "self","arg2", NULL
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9860 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 Py_INCREF(Py_None
); resultobj
= Py_None
;
9876 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxGrid
*arg1
= (wxGrid
*) 0 ;
9880 PyObject
* obj0
= 0 ;
9882 (char *) "self",(char *) "width", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
9886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 (arg1
)->SetCellHighlightPenWidth(arg2
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 Py_INCREF(Py_None
); resultobj
= Py_None
;
9901 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxGrid
*arg1
= (wxGrid
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self",(char *) "width", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 (arg1
)->SetCellHighlightROPenWidth(arg2
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 Py_INCREF(Py_None
); resultobj
= Py_None
;
9926 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
;
9928 wxGrid
*arg1
= (wxGrid
*) 0 ;
9929 bool arg2
= (bool) True
;
9930 PyObject
* obj0
= 0 ;
9931 PyObject
* obj1
= 0 ;
9933 (char *) "self",(char *) "enable", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9940 arg2
= (bool) SPyObj_AsBool(obj1
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 (arg1
)->EnableDragRowSize(arg2
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 Py_INCREF(Py_None
); resultobj
= Py_None
;
9958 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxGrid
*arg1
= (wxGrid
*) 0 ;
9961 PyObject
* obj0
= 0 ;
9963 (char *) "self", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
9967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 (arg1
)->DisableDragRowSize();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 Py_INCREF(Py_None
); resultobj
= Py_None
;
9982 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
;
9984 wxGrid
*arg1
= (wxGrid
*) 0 ;
9986 PyObject
* obj0
= 0 ;
9988 (char *) "self", NULL
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
9992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (bool)(arg1
)->CanDragRowSize();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= PyInt_FromLong((long)result
);
10007 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxGrid
*arg1
= (wxGrid
*) 0 ;
10010 bool arg2
= (bool) True
;
10011 PyObject
* obj0
= 0 ;
10012 PyObject
* obj1
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self",(char *) "enable", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10021 arg2
= (bool) SPyObj_AsBool(obj1
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 (arg1
)->EnableDragColSize(arg2
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 Py_INCREF(Py_None
); resultobj
= Py_None
;
10039 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxGrid
*arg1
= (wxGrid
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 (arg1
)->DisableDragColSize();
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 Py_INCREF(Py_None
); resultobj
= Py_None
;
10063 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxGrid
*arg1
= (wxGrid
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
10073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (bool)(arg1
)->CanDragColSize();
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= PyInt_FromLong((long)result
);
10088 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxGrid
*arg1
= (wxGrid
*) 0 ;
10091 bool arg2
= (bool) True
;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self",(char *) "enable", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10102 arg2
= (bool) SPyObj_AsBool(obj1
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 (arg1
)->EnableDragGridSize(arg2
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 Py_INCREF(Py_None
); resultobj
= Py_None
;
10120 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxGrid
*arg1
= (wxGrid
*) 0 ;
10123 PyObject
* obj0
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
10129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 (arg1
)->DisableDragGridSize();
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 Py_INCREF(Py_None
); resultobj
= Py_None
;
10144 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxGrid
*arg1
= (wxGrid
*) 0 ;
10148 PyObject
* obj0
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
10154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (bool)(arg1
)->CanDragGridSize();
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= PyInt_FromLong((long)result
);
10169 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
;
10171 wxGrid
*arg1
= (wxGrid
*) 0 ;
10174 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
10175 PyObject
* obj0
= 0 ;
10176 PyObject
* obj3
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10183 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 Py_INCREF(Py_None
); resultobj
= Py_None
;
10198 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxGrid
*arg1
= (wxGrid
*) 0 ;
10202 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10203 PyObject
* obj0
= 0 ;
10204 PyObject
* obj2
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self",(char *) "row",(char *) "attr", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetRowAttr",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10211 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 (arg1
)->SetRowAttr(arg2
,arg3
);
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 Py_INCREF(Py_None
); resultobj
= Py_None
;
10226 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxGrid
*arg1
= (wxGrid
*) 0 ;
10230 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj2
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self",(char *) "col",(char *) "attr", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColAttr",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10239 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 (arg1
)->SetColAttr(arg2
,arg3
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 Py_INCREF(Py_None
); resultobj
= Py_None
;
10254 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxGrid
*arg1
= (wxGrid
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self",(char *) "col", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColFormatBool",kwnames
,&obj0
,&arg2
)) goto fail
;
10264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 (arg1
)->SetColFormatBool(arg2
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 Py_INCREF(Py_None
); resultobj
= Py_None
;
10279 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxGrid
*arg1
= (wxGrid
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self",(char *) "col", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColFormatNumber",kwnames
,&obj0
,&arg2
)) goto fail
;
10289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 (arg1
)->SetColFormatNumber(arg2
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 Py_INCREF(Py_None
); resultobj
= Py_None
;
10304 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxGrid
*arg1
= (wxGrid
*) 0 ;
10308 int arg3
= (int) -1 ;
10309 int arg4
= (int) -1 ;
10310 PyObject
* obj0
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:Grid_SetColFormatFloat",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 Py_INCREF(Py_None
); resultobj
= Py_None
;
10331 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
;
10333 wxGrid
*arg1
= (wxGrid
*) 0 ;
10335 wxString
*arg3
= 0 ;
10336 bool temp3
= False
;
10337 PyObject
* obj0
= 0 ;
10338 PyObject
* obj2
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self",(char *) "col",(char *) "typeName", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColFormatCustom",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10346 arg3
= wxString_in_helper(obj2
);
10347 if (arg3
== NULL
) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10357 Py_INCREF(Py_None
); resultobj
= Py_None
;
10372 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxGrid
*arg1
= (wxGrid
*) 0 ;
10375 bool arg2
= (bool) True
;
10376 PyObject
* obj0
= 0 ;
10377 PyObject
* obj1
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self",(char *) "enable", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10386 arg2
= (bool) SPyObj_AsBool(obj1
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 (arg1
)->EnableGridLines(arg2
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 Py_INCREF(Py_None
); resultobj
= Py_None
;
10404 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxGrid
*arg1
= (wxGrid
*) 0 ;
10408 PyObject
* obj0
= 0 ;
10409 char *kwnames
[] = {
10410 (char *) "self", NULL
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
10414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (bool)(arg1
)->GridLinesEnabled();
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= PyInt_FromLong((long)result
);
10429 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
*resultobj
;
10431 wxGrid
*arg1
= (wxGrid
*) 0 ;
10433 PyObject
* obj0
= 0 ;
10434 char *kwnames
[] = {
10435 (char *) "self", NULL
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
10439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (int)(arg1
)->GetDefaultRowSize();
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= PyInt_FromLong((long)result
);
10454 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxGrid
*arg1
= (wxGrid
*) 0 ;
10459 PyObject
* obj0
= 0 ;
10460 char *kwnames
[] = {
10461 (char *) "self",(char *) "row", NULL
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetRowSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (int)(arg1
)->GetRowSize(arg2
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= PyInt_FromLong((long)result
);
10480 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxGrid
*arg1
= (wxGrid
*) 0 ;
10484 PyObject
* obj0
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (int)(arg1
)->GetDefaultColSize();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= PyInt_FromLong((long)result
);
10505 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxGrid
*arg1
= (wxGrid
*) 0 ;
10510 PyObject
* obj0
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self",(char *) "col", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetColSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 result
= (int)(arg1
)->GetColSize(arg2
);
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= PyInt_FromLong((long)result
);
10531 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxGrid
*arg1
= (wxGrid
*) 0 ;
10535 PyObject
* obj0
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
10541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= (arg1
)->GetDefaultCellBackgroundColour();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10550 wxColour
* resultptr
;
10551 resultptr
= new wxColour((wxColour
&) result
);
10552 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10560 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxGrid
*arg1
= (wxGrid
*) 0 ;
10566 PyObject
* obj0
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self",(char *) "row",(char *) "col", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10581 wxColour
* resultptr
;
10582 resultptr
= new wxColour((wxColour
&) result
);
10583 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10591 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxGrid
*arg1
= (wxGrid
*) 0 ;
10595 PyObject
* obj0
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "self", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (arg1
)->GetDefaultCellTextColour();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10610 wxColour
* resultptr
;
10611 resultptr
= new wxColour((wxColour
&) result
);
10612 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10620 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxGrid
*arg1
= (wxGrid
*) 0 ;
10626 PyObject
* obj0
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self",(char *) "row",(char *) "col", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellTextColour",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10641 wxColour
* resultptr
;
10642 resultptr
= new wxColour((wxColour
&) result
);
10643 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10651 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxGrid
*arg1
= (wxGrid
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= (arg1
)->GetDefaultCellFont();
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10670 wxFont
* resultptr
;
10671 resultptr
= new wxFont((wxFont
&) result
);
10672 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
10680 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxGrid
*arg1
= (wxGrid
*) 0 ;
10686 PyObject
* obj0
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self",(char *) "row",(char *) "col", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellFont",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 result
= (arg1
)->GetCellFont(arg2
,arg3
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10701 wxFont
* resultptr
;
10702 resultptr
= new wxFont((wxFont
&) result
);
10703 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
10711 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxGrid
*arg1
= (wxGrid
*) 0 ;
10714 int *arg2
= (int *) 0 ;
10715 int *arg3
= (int *) 0 ;
10718 PyObject
* obj0
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self", NULL
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 Py_INCREF(Py_None
); resultobj
= Py_None
;
10736 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10737 resultobj
= t_output_helper(resultobj
,o
);
10740 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10741 resultobj
= t_output_helper(resultobj
,o
);
10749 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10751 wxGrid
*arg1
= (wxGrid
*) 0 ;
10754 int *arg4
= (int *) 0 ;
10755 int *arg5
= (int *) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self",(char *) "row",(char *) "col", NULL
10765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 Py_INCREF(Py_None
); resultobj
= Py_None
;
10776 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
10777 resultobj
= t_output_helper(resultobj
,o
);
10780 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
10781 resultobj
= t_output_helper(resultobj
,o
);
10789 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
;
10791 wxGrid
*arg1
= (wxGrid
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (bool)(arg1
)->GetDefaultCellOverflow();
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= PyInt_FromLong((long)result
);
10814 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxGrid
*arg1
= (wxGrid
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "row",(char *) "col", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellOverflow",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= PyInt_FromLong((long)result
);
10841 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxGrid
*arg1
= (wxGrid
*) 0 ;
10846 int *arg4
= (int *) 0 ;
10847 int *arg5
= (int *) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self",(char *) "row",(char *) "col", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 Py_INCREF(Py_None
); resultobj
= Py_None
;
10868 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
10869 resultobj
= t_output_helper(resultobj
,o
);
10872 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
10873 resultobj
= t_output_helper(resultobj
,o
);
10881 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxGrid
*arg1
= (wxGrid
*) 0 ;
10885 bool arg3
= (bool) False
;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10896 arg3
= (bool) SPyObj_AsBool(obj2
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10907 Py_INCREF(Py_None
); resultobj
= Py_None
;
10914 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
;
10916 wxGrid
*arg1
= (wxGrid
*) 0 ;
10919 PyObject
* obj0
= 0 ;
10920 char *kwnames
[] = {
10921 (char *) "self",(char *) "row",(char *) "height", NULL
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 (arg1
)->SetRowSize(arg2
,arg3
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 Py_INCREF(Py_None
); resultobj
= Py_None
;
10940 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
;
10942 wxGrid
*arg1
= (wxGrid
*) 0 ;
10944 bool arg3
= (bool) False
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj2
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10955 arg3
= (bool) SPyObj_AsBool(obj2
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->SetDefaultColSize(arg2
,arg3
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxGrid
*arg1
= (wxGrid
*) 0 ;
10978 PyObject
* obj0
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self",(char *) "col",(char *) "width", NULL
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->SetColSize(arg2
,arg3
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxGrid
*arg1
= (wxGrid
*) 0 ;
11003 bool arg3
= (bool) True
;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj2
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11014 arg3
= (bool) SPyObj_AsBool(obj2
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->AutoSizeColumn(arg2
,arg3
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxGrid
*arg1
= (wxGrid
*) 0 ;
11036 bool arg3
= (bool) True
;
11037 PyObject
* obj0
= 0 ;
11038 PyObject
* obj2
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_AutoSizeRow",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11047 arg3
= (bool) SPyObj_AsBool(obj2
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 (arg1
)->AutoSizeRow(arg2
,arg3
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 Py_INCREF(Py_None
); resultobj
= Py_None
;
11065 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxGrid
*arg1
= (wxGrid
*) 0 ;
11068 bool arg2
= (bool) True
;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self",(char *) "setAsMin", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11079 arg2
= (bool) SPyObj_AsBool(obj1
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 (arg1
)->AutoSizeColumns(arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 Py_INCREF(Py_None
); resultobj
= Py_None
;
11097 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxGrid
*arg1
= (wxGrid
*) 0 ;
11100 bool arg2
= (bool) True
;
11101 PyObject
* obj0
= 0 ;
11102 PyObject
* obj1
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self",(char *) "setAsMin", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
11108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11111 arg2
= (bool) SPyObj_AsBool(obj1
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 (arg1
)->AutoSizeRows(arg2
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 Py_INCREF(Py_None
); resultobj
= Py_None
;
11129 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxGrid
*arg1
= (wxGrid
*) 0 ;
11132 PyObject
* obj0
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
11138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 (arg1
)->AutoSize();
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 Py_INCREF(Py_None
); resultobj
= Py_None
;
11153 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxGrid
*arg1
= (wxGrid
*) 0 ;
11157 PyObject
* obj0
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "row", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 (arg1
)->AutoSizeRowLabelSize(arg2
);
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 Py_INCREF(Py_None
); resultobj
= Py_None
;
11178 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxGrid
*arg1
= (wxGrid
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self",(char *) "col", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
11188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 (arg1
)->AutoSizeColLabelSize(arg2
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11196 Py_INCREF(Py_None
); resultobj
= Py_None
;
11203 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxGrid
*arg1
= (wxGrid
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self",(char *) "col",(char *) "width", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColMinimalWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 Py_INCREF(Py_None
); resultobj
= Py_None
;
11229 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxGrid
*arg1
= (wxGrid
*) 0 ;
11234 PyObject
* obj0
= 0 ;
11235 char *kwnames
[] = {
11236 (char *) "self",(char *) "row",(char *) "width", NULL
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 Py_INCREF(Py_None
); resultobj
= Py_None
;
11255 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxGrid
*arg1
= (wxGrid
*) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "width", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
11265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 Py_INCREF(Py_None
); resultobj
= Py_None
;
11280 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxGrid
*arg1
= (wxGrid
*) 0 ;
11284 PyObject
* obj0
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self",(char *) "width", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 Py_INCREF(Py_None
); resultobj
= Py_None
;
11305 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxGrid
*arg1
= (wxGrid
*) 0 ;
11309 PyObject
* obj0
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self", NULL
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
11315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= PyInt_FromLong((long)result
);
11330 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
;
11332 wxGrid
*arg1
= (wxGrid
*) 0 ;
11334 PyObject
* obj0
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
11340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= PyInt_FromLong((long)result
);
11355 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
;
11357 wxGrid
*arg1
= (wxGrid
*) 0 ;
11358 wxColour
*arg2
= 0 ;
11360 PyObject
* obj0
= 0 ;
11361 PyObject
* obj1
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "self","arg2", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 Py_INCREF(Py_None
); resultobj
= Py_None
;
11386 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxGrid
*arg1
= (wxGrid
*) 0 ;
11391 wxColour
*arg4
= 0 ;
11393 PyObject
* obj0
= 0 ;
11394 PyObject
* obj3
= 0 ;
11395 char *kwnames
[] = {
11396 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11403 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxGrid
*arg1
= (wxGrid
*) 0 ;
11422 wxColour
*arg2
= 0 ;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self","arg2", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxGrid
*arg1
= (wxGrid
*) 0 ;
11455 wxColour
*arg4
= 0 ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj3
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellTextColour",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11467 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 Py_INCREF(Py_None
); resultobj
= Py_None
;
11483 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxGrid
*arg1
= (wxGrid
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 char *kwnames
[] = {
11490 (char *) "self","arg2", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11495 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11496 if (arg2
== NULL
) {
11497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 Py_INCREF(Py_None
); resultobj
= Py_None
;
11513 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
;
11515 wxGrid
*arg1
= (wxGrid
*) 0 ;
11519 PyObject
* obj0
= 0 ;
11520 PyObject
* obj3
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellFont",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11527 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11528 if (arg4
== NULL
) {
11529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 Py_INCREF(Py_None
); resultobj
= Py_None
;
11545 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
;
11547 wxGrid
*arg1
= (wxGrid
*) 0 ;
11550 PyObject
* obj0
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self",(char *) "horiz",(char *) "vert", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 Py_INCREF(Py_None
); resultobj
= Py_None
;
11571 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 wxGrid
*arg1
= (wxGrid
*) 0 ;
11578 PyObject
* obj0
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Grid_SetCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 Py_INCREF(Py_None
); resultobj
= Py_None
;
11599 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxGrid
*arg1
= (wxGrid
*) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11605 char *kwnames
[] = {
11606 (char *) "self",(char *) "allow", NULL
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
11610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11612 arg2
= (bool) SPyObj_AsBool(obj1
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 (arg1
)->SetDefaultCellOverflow(arg2
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 Py_INCREF(Py_None
); resultobj
= Py_None
;
11629 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxGrid
*arg1
= (wxGrid
*) 0 ;
11635 PyObject
* obj0
= 0 ;
11636 PyObject
* obj3
= 0 ;
11637 char *kwnames
[] = {
11638 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellOverflow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11644 arg4
= (bool) SPyObj_AsBool(obj3
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 Py_INCREF(Py_None
); resultobj
= Py_None
;
11661 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
;
11663 wxGrid
*arg1
= (wxGrid
*) 0 ;
11668 PyObject
* obj0
= 0 ;
11669 char *kwnames
[] = {
11670 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Grid_SetCellSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 Py_INCREF(Py_None
); resultobj
= Py_None
;
11689 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxGrid
*arg1
= (wxGrid
*) 0 ;
11692 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 PyObject
* obj1
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "self",(char *) "renderer", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
11700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11701 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 (arg1
)->SetDefaultRenderer(arg2
);
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 Py_INCREF(Py_None
); resultobj
= Py_None
;
11716 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
;
11718 wxGrid
*arg1
= (wxGrid
*) 0 ;
11721 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj3
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellRenderer",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11730 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 Py_INCREF(Py_None
); resultobj
= Py_None
;
11745 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxGrid
*arg1
= (wxGrid
*) 0 ;
11748 wxGridCellRenderer
*result
;
11749 PyObject
* obj0
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= wxPyMake_wxGridCellRenderer(result
);
11772 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
;
11774 wxGrid
*arg1
= (wxGrid
*) 0 ;
11777 wxGridCellRenderer
*result
;
11778 PyObject
* obj0
= 0 ;
11779 char *kwnames
[] = {
11780 (char *) "self",(char *) "row",(char *) "col", NULL
11783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellRenderer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= wxPyMake_wxGridCellRenderer(result
);
11801 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxGrid
*arg1
= (wxGrid
*) 0 ;
11804 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self",(char *) "editor", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
11812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11813 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 (arg1
)->SetDefaultEditor(arg2
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 Py_INCREF(Py_None
); resultobj
= Py_None
;
11828 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
;
11830 wxGrid
*arg1
= (wxGrid
*) 0 ;
11833 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj3
= 0 ;
11836 char *kwnames
[] = {
11837 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
11840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellEditor",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11842 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 Py_INCREF(Py_None
); resultobj
= Py_None
;
11857 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxGrid
*arg1
= (wxGrid
*) 0 ;
11860 wxGridCellEditor
*result
;
11861 PyObject
* obj0
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
11867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11876 resultobj
= wxPyMake_wxGridCellEditor(result
);
11884 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
*resultobj
;
11886 wxGrid
*arg1
= (wxGrid
*) 0 ;
11889 wxGridCellEditor
*result
;
11890 PyObject
* obj0
= 0 ;
11891 char *kwnames
[] = {
11892 (char *) "self",(char *) "row",(char *) "col", NULL
11895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellEditor",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= wxPyMake_wxGridCellEditor(result
);
11913 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
;
11915 wxGrid
*arg1
= (wxGrid
*) 0 ;
11919 PyObject
* obj0
= 0 ;
11920 char *kwnames
[] = {
11921 (char *) "self",(char *) "row",(char *) "col", NULL
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellValue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (arg1
)->GetCellValue(arg2
,arg3
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11946 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11947 PyObject
*resultobj
;
11948 wxGrid
*arg1
= (wxGrid
*) 0 ;
11951 wxString
*arg4
= 0 ;
11952 bool temp4
= False
;
11953 PyObject
* obj0
= 0 ;
11954 PyObject
* obj3
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellValue",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11962 arg4
= wxString_in_helper(obj3
);
11963 if (arg4
== NULL
) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 Py_INCREF(Py_None
); resultobj
= Py_None
;
11988 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxGrid
*arg1
= (wxGrid
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self",(char *) "row",(char *) "col", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_IsReadOnly",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= PyInt_FromLong((long)result
);
12015 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxGrid
*arg1
= (wxGrid
*) 0 ;
12020 bool arg4
= (bool) True
;
12021 PyObject
* obj0
= 0 ;
12022 PyObject
* obj3
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Grid_SetReadOnly",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
12028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12031 arg4
= (bool) SPyObj_AsBool(obj3
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 Py_INCREF(Py_None
); resultobj
= Py_None
;
12049 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxGrid
*arg1
= (wxGrid
*) 0 ;
12053 bool arg3
= (bool) False
;
12054 PyObject
* obj0
= 0 ;
12055 PyObject
* obj2
= 0 ;
12056 char *kwnames
[] = {
12057 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
12060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SelectRow",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12064 arg3
= (bool) SPyObj_AsBool(obj2
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 (arg1
)->SelectRow(arg2
,arg3
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 Py_INCREF(Py_None
); resultobj
= Py_None
;
12082 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxGrid
*arg1
= (wxGrid
*) 0 ;
12086 bool arg3
= (bool) False
;
12087 PyObject
* obj0
= 0 ;
12088 PyObject
* obj2
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SelectCol",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12097 arg3
= (bool) SPyObj_AsBool(obj2
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 (arg1
)->SelectCol(arg2
,arg3
);
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 Py_INCREF(Py_None
); resultobj
= Py_None
;
12115 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
;
12117 wxGrid
*arg1
= (wxGrid
*) 0 ;
12122 bool arg6
= (bool) False
;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj5
= 0 ;
12125 char *kwnames
[] = {
12126 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
12129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Grid_SelectBlock",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
12130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12133 arg6
= (bool) SPyObj_AsBool(obj5
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 Py_INCREF(Py_None
); resultobj
= Py_None
;
12151 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxGrid
*arg1
= (wxGrid
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "self", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
12160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 (arg1
)->SelectAll();
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12168 Py_INCREF(Py_None
); resultobj
= Py_None
;
12175 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxGrid
*arg1
= (wxGrid
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (bool)(arg1
)->IsSelection();
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= PyInt_FromLong((long)result
);
12200 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxGrid
*arg1
= (wxGrid
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 (arg1
)->ClearSelection();
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 Py_INCREF(Py_None
); resultobj
= Py_None
;
12224 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxGrid
*arg1
= (wxGrid
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self",(char *) "row",(char *) "col", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_IsInSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= PyInt_FromLong((long)result
);
12251 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxGrid
*arg1
= (wxGrid
*) 0 ;
12254 wxGridCellCoordsArray result
;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
12261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= wxGridCellCoordsArray_helper(result
);
12278 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12279 PyObject
*resultobj
;
12280 wxGrid
*arg1
= (wxGrid
*) 0 ;
12281 wxGridCellCoordsArray result
;
12282 PyObject
* obj0
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
12288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= wxGridCellCoordsArray_helper(result
);
12305 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12306 PyObject
*resultobj
;
12307 wxGrid
*arg1
= (wxGrid
*) 0 ;
12308 wxGridCellCoordsArray result
;
12309 PyObject
* obj0
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
12315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= wxGridCellCoordsArray_helper(result
);
12332 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxGrid
*arg1
= (wxGrid
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
12342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= PyList_New(0);
12353 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12354 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12355 PyList_Append(resultobj
, val
);
12365 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxGrid
*arg1
= (wxGrid
*) 0 ;
12369 PyObject
* obj0
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= PyList_New(0);
12386 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12387 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12388 PyList_Append(resultobj
, val
);
12398 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxGrid
*arg1
= (wxGrid
*) 0 ;
12402 PyObject
* obj0
= 0 ;
12403 char *kwnames
[] = {
12404 (char *) "self",(char *) "row", NULL
12407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_DeselectRow",kwnames
,&obj0
,&arg2
)) goto fail
;
12408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 (arg1
)->DeselectRow(arg2
);
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 Py_INCREF(Py_None
); resultobj
= Py_None
;
12423 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxGrid
*arg1
= (wxGrid
*) 0 ;
12427 PyObject
* obj0
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self",(char *) "col", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_DeselectCol",kwnames
,&obj0
,&arg2
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 (arg1
)->DeselectCol(arg2
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 Py_INCREF(Py_None
); resultobj
= Py_None
;
12448 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxGrid
*arg1
= (wxGrid
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self",(char *) "row",(char *) "col", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_DeselectCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 (arg1
)->DeselectCell(arg2
,arg3
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 Py_INCREF(Py_None
); resultobj
= Py_None
;
12474 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxGrid
*arg1
= (wxGrid
*) 0 ;
12477 wxGridCellCoords
*arg2
= 0 ;
12478 wxGridCellCoords
*arg3
= 0 ;
12480 wxGridCellCoords temp2
;
12481 wxGridCellCoords temp3
;
12482 PyObject
* obj0
= 0 ;
12483 PyObject
* obj1
= 0 ;
12484 PyObject
* obj2
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12493 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
12497 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 wxRect
* resultptr
;
12508 resultptr
= new wxRect((wxRect
&) result
);
12509 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12517 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxGrid
*arg1
= (wxGrid
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12536 wxColour
* resultptr
;
12537 resultptr
= new wxColour((wxColour
&) result
);
12538 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12546 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxGrid
*arg1
= (wxGrid
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
12556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12565 wxColour
* resultptr
;
12566 resultptr
= new wxColour((wxColour
&) result
);
12567 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12575 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
;
12577 wxGrid
*arg1
= (wxGrid
*) 0 ;
12578 wxColour
*arg2
= 0 ;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self",(char *) "c", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12590 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 Py_INCREF(Py_None
); resultobj
= Py_None
;
12606 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxGrid
*arg1
= (wxGrid
*) 0 ;
12609 wxColour
*arg2
= 0 ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self",(char *) "c", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
12618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12621 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 Py_INCREF(Py_None
); resultobj
= Py_None
;
12637 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxGrid
*arg1
= (wxGrid
*) 0 ;
12640 wxString
*arg2
= 0 ;
12641 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
12642 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
12643 bool temp2
= False
;
12644 PyObject
* obj0
= 0 ;
12645 PyObject
* obj1
= 0 ;
12646 PyObject
* obj2
= 0 ;
12647 PyObject
* obj3
= 0 ;
12648 char *kwnames
[] = {
12649 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
12652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12655 arg2
= wxString_in_helper(obj1
);
12656 if (arg2
== NULL
) SWIG_fail
;
12659 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12660 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 Py_INCREF(Py_None
); resultobj
= Py_None
;
12683 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxGrid
*arg1
= (wxGrid
*) 0 ;
12688 wxGridCellEditor
*result
;
12689 PyObject
* obj0
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self",(char *) "row",(char *) "col", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= wxPyMake_wxGridCellEditor(result
);
12712 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxGrid
*arg1
= (wxGrid
*) 0 ;
12717 wxGridCellRenderer
*result
;
12718 PyObject
* obj0
= 0 ;
12719 char *kwnames
[] = {
12720 (char *) "self",(char *) "row",(char *) "col", NULL
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12741 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxGrid
*arg1
= (wxGrid
*) 0 ;
12744 wxString
*arg2
= 0 ;
12745 wxGridCellEditor
*result
;
12746 bool temp2
= False
;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "self",(char *) "typeName", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
12754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12756 arg2
= wxString_in_helper(obj1
);
12757 if (arg2
== NULL
) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= wxPyMake_wxGridCellEditor(result
);
12784 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxGrid
*arg1
= (wxGrid
*) 0 ;
12787 wxString
*arg2
= 0 ;
12788 wxGridCellRenderer
*result
;
12789 bool temp2
= False
;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self",(char *) "typeName", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12799 arg2
= wxString_in_helper(obj1
);
12800 if (arg2
== NULL
) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12811 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12827 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
;
12829 wxGrid
*arg1
= (wxGrid
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 (arg1
)->SetMargins(arg2
,arg3
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 Py_INCREF(Py_None
); resultobj
= Py_None
;
12853 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxGrid
*arg1
= (wxGrid
*) 0 ;
12857 PyObject
* obj0
= 0 ;
12858 char *kwnames
[] = {
12859 (char *) "self", NULL
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
12863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 result
= (wxWindow
*)(arg1
)->GetGridWindow();
12868 wxPyEndAllowThreads(__tstate
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= wxPyMake_wxObject(result
);
12880 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxGrid
*arg1
= (wxGrid
*) 0 ;
12884 PyObject
* obj0
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
12890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= wxPyMake_wxObject(result
);
12907 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12909 wxGrid
*arg1
= (wxGrid
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
12917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= wxPyMake_wxObject(result
);
12934 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxGrid
*arg1
= (wxGrid
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= wxPyMake_wxObject(result
);
12961 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
12963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12964 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
12966 return Py_BuildValue((char *)"");
12968 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12972 wxGrid
*arg3
= (wxGrid
*) 0 ;
12973 int arg4
= (int) -1 ;
12974 int arg5
= (int) -1 ;
12975 int arg6
= (int) -1 ;
12976 int arg7
= (int) -1 ;
12977 bool arg8
= (bool) True
;
12978 bool arg9
= (bool) False
;
12979 bool arg10
= (bool) False
;
12980 bool arg11
= (bool) False
;
12981 bool arg12
= (bool) False
;
12982 wxGridEvent
*result
;
12983 PyObject
* obj2
= 0 ;
12984 PyObject
* obj7
= 0 ;
12985 PyObject
* obj8
= 0 ;
12986 PyObject
* obj9
= 0 ;
12987 PyObject
* obj10
= 0 ;
12988 PyObject
* obj11
= 0 ;
12989 char *kwnames
[] = {
12990 (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
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO|iiiiOOOOO:new_GridEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12997 arg8
= (bool) SPyObj_AsBool(obj7
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13003 arg9
= (bool) SPyObj_AsBool(obj8
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13009 arg10
= (bool) SPyObj_AsBool(obj9
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13015 arg11
= (bool) SPyObj_AsBool(obj10
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13021 arg12
= (bool) SPyObj_AsBool(obj11
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEvent
, 1);
13039 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
;
13041 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "self", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
13049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 result
= (int)(arg1
)->GetRow();
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= PyInt_FromLong((long)result
);
13064 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
;
13066 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
13068 PyObject
* obj0
= 0 ;
13069 char *kwnames
[] = {
13070 (char *) "self", NULL
13073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
13074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (int)(arg1
)->GetCol();
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 resultobj
= PyInt_FromLong((long)result
);
13089 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
13093 PyObject
* obj0
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 result
= (arg1
)->GetPosition();
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13108 wxPoint
* resultptr
;
13109 resultptr
= new wxPoint((wxPoint
&) result
);
13110 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13118 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
13122 PyObject
* obj0
= 0 ;
13123 char *kwnames
[] = {
13124 (char *) "self", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
13128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (bool)(arg1
)->Selecting();
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= PyInt_FromLong((long)result
);
13143 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= (bool)(arg1
)->ControlDown();
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= PyInt_FromLong((long)result
);
13168 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13169 PyObject
*resultobj
;
13170 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
13172 PyObject
* obj0
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self", NULL
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (bool)(arg1
)->MetaDown();
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= PyInt_FromLong((long)result
);
13193 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= (bool)(arg1
)->ShiftDown();
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= PyInt_FromLong((long)result
);
13218 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
;
13220 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (bool)(arg1
)->AltDown();
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13236 resultobj
= PyInt_FromLong((long)result
);
13243 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13246 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
13248 return Py_BuildValue((char *)"");
13250 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13254 wxGrid
*arg3
= (wxGrid
*) 0 ;
13255 int arg4
= (int) -1 ;
13256 int arg5
= (int) -1 ;
13257 int arg6
= (int) -1 ;
13258 bool arg7
= (bool) False
;
13259 bool arg8
= (bool) False
;
13260 bool arg9
= (bool) False
;
13261 bool arg10
= (bool) False
;
13262 wxGridSizeEvent
*result
;
13263 PyObject
* obj2
= 0 ;
13264 PyObject
* obj6
= 0 ;
13265 PyObject
* obj7
= 0 ;
13266 PyObject
* obj8
= 0 ;
13267 PyObject
* obj9
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO|iiiOOOO:new_GridSizeEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13276 arg7
= (bool) SPyObj_AsBool(obj6
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13282 arg8
= (bool) SPyObj_AsBool(obj7
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13288 arg9
= (bool) SPyObj_AsBool(obj8
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13294 arg10
= (bool) SPyObj_AsBool(obj9
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizeEvent
, 1);
13312 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
13322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (int)(arg1
)->GetRowOrCol();
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= PyInt_FromLong((long)result
);
13337 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
;
13339 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13341 PyObject
* obj0
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (arg1
)->GetPosition();
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13356 wxPoint
* resultptr
;
13357 resultptr
= new wxPoint((wxPoint
&) result
);
13358 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13366 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13367 PyObject
*resultobj
;
13368 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13370 PyObject
* obj0
= 0 ;
13371 char *kwnames
[] = {
13372 (char *) "self", NULL
13375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 result
= (bool)(arg1
)->ControlDown();
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= PyInt_FromLong((long)result
);
13391 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
;
13393 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13395 PyObject
* obj0
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= (bool)(arg1
)->MetaDown();
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13409 resultobj
= PyInt_FromLong((long)result
);
13416 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
;
13418 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13420 PyObject
* obj0
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (bool)(arg1
)->ShiftDown();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= PyInt_FromLong((long)result
);
13441 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (bool)(arg1
)->AltDown();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= PyInt_FromLong((long)result
);
13466 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13469 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
13471 return Py_BuildValue((char *)"");
13473 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
;
13477 wxGrid
*arg3
= (wxGrid
*) 0 ;
13478 wxGridCellCoords
*arg4
= 0 ;
13479 wxGridCellCoords
*arg5
= 0 ;
13480 bool arg6
= (bool) True
;
13481 bool arg7
= (bool) False
;
13482 bool arg8
= (bool) False
;
13483 bool arg9
= (bool) False
;
13484 bool arg10
= (bool) False
;
13485 wxGridRangeSelectEvent
*result
;
13486 wxGridCellCoords temp4
;
13487 wxGridCellCoords temp5
;
13488 PyObject
* obj2
= 0 ;
13489 PyObject
* obj3
= 0 ;
13490 PyObject
* obj4
= 0 ;
13491 PyObject
* obj5
= 0 ;
13492 PyObject
* obj6
= 0 ;
13493 PyObject
* obj7
= 0 ;
13494 PyObject
* obj8
= 0 ;
13495 PyObject
* obj9
= 0 ;
13496 char *kwnames
[] = {
13497 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13501 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13504 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
13508 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
13512 arg6
= (bool) SPyObj_AsBool(obj5
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13518 arg7
= (bool) SPyObj_AsBool(obj6
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13524 arg8
= (bool) SPyObj_AsBool(obj7
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13530 arg9
= (bool) SPyObj_AsBool(obj8
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13536 arg10
= (bool) SPyObj_AsBool(obj9
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
13554 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13557 wxGridCellCoords result
;
13558 PyObject
* obj0
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "self", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
13564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (arg1
)->GetTopLeftCoords();
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 wxGridCellCoords
* resultptr
;
13574 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
13575 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
13583 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
;
13585 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13586 wxGridCellCoords result
;
13587 PyObject
* obj0
= 0 ;
13588 char *kwnames
[] = {
13589 (char *) "self", NULL
13592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
13593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (arg1
)->GetBottomRightCoords();
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 wxGridCellCoords
* resultptr
;
13603 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
13604 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
13612 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13616 PyObject
* obj0
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "self", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
13622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 result
= (int)(arg1
)->GetTopRow();
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= PyInt_FromLong((long)result
);
13637 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13641 PyObject
* obj0
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
13647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 result
= (int)(arg1
)->GetBottomRow();
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= PyInt_FromLong((long)result
);
13662 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13666 PyObject
* obj0
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "self", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
13672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 result
= (int)(arg1
)->GetLeftCol();
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= PyInt_FromLong((long)result
);
13687 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
;
13689 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13691 PyObject
* obj0
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "self", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
13697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 result
= (int)(arg1
)->GetRightCol();
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= PyInt_FromLong((long)result
);
13712 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
;
13714 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13716 PyObject
* obj0
= 0 ;
13717 char *kwnames
[] = {
13718 (char *) "self", NULL
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
13722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 result
= (bool)(arg1
)->Selecting();
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= PyInt_FromLong((long)result
);
13737 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13741 PyObject
* obj0
= 0 ;
13742 char *kwnames
[] = {
13743 (char *) "self", NULL
13746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 result
= (bool)(arg1
)->ControlDown();
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= PyInt_FromLong((long)result
);
13762 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 result
= (bool)(arg1
)->MetaDown();
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= PyInt_FromLong((long)result
);
13787 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
;
13789 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13791 PyObject
* obj0
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (bool)(arg1
)->ShiftDown();
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= PyInt_FromLong((long)result
);
13812 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 result
= (bool)(arg1
)->AltDown();
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= PyInt_FromLong((long)result
);
13837 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13840 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
13842 return Py_BuildValue((char *)"");
13844 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
;
13848 wxObject
*arg3
= (wxObject
*) 0 ;
13851 wxControl
*arg6
= (wxControl
*) 0 ;
13852 wxGridEditorCreatedEvent
*result
;
13853 PyObject
* obj2
= 0 ;
13854 PyObject
* obj5
= 0 ;
13855 char *kwnames
[] = {
13856 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOiiO:new_GridEditorCreatedEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
13860 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13861 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
13876 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13880 PyObject
* obj0
= 0 ;
13881 char *kwnames
[] = {
13882 (char *) "self", NULL
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
13886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 result
= (int)(arg1
)->GetRow();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= PyInt_FromLong((long)result
);
13901 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
;
13903 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13905 PyObject
* obj0
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (int)(arg1
)->GetCol();
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= PyInt_FromLong((long)result
);
13926 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
;
13928 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13930 PyObject
* obj0
= 0 ;
13931 char *kwnames
[] = {
13932 (char *) "self", NULL
13935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
13936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 result
= (wxControl
*)(arg1
)->GetControl();
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= wxPyMake_wxObject(result
);
13953 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13954 PyObject
*resultobj
;
13955 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13957 PyObject
* obj0
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self",(char *) "row", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
13963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 (arg1
)->SetRow(arg2
);
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13971 Py_INCREF(Py_None
); resultobj
= Py_None
;
13978 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13982 PyObject
* obj0
= 0 ;
13983 char *kwnames
[] = {
13984 (char *) "self",(char *) "col", NULL
13987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
13988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13991 (arg1
)->SetCol(arg2
);
13993 wxPyEndAllowThreads(__tstate
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13996 Py_INCREF(Py_None
); resultobj
= Py_None
;
14003 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
;
14005 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
14006 wxControl
*arg2
= (wxControl
*) 0 ;
14007 PyObject
* obj0
= 0 ;
14008 PyObject
* obj1
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self",(char *) "ctrl", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
14014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 (arg1
)->SetControl(arg2
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 Py_INCREF(Py_None
); resultobj
= Py_None
;
14030 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14033 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
14035 return Py_BuildValue((char *)"");
14037 static PyMethodDef SwigMethods
[] = {
14038 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14039 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14040 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14041 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14042 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14043 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14044 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14045 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
14046 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14047 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14048 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14049 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
14050 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14051 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
14052 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14053 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
14054 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14055 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14056 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14057 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14058 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14059 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
14060 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14061 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
14062 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14063 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
14064 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14065 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
14066 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14067 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
14068 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14069 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14070 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14071 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14072 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14073 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14074 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14075 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14076 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14077 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14078 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14079 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14080 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14081 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14082 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14083 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14084 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14085 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14086 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14087 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14088 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14089 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14090 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
14091 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14092 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14093 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14094 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14095 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14096 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14097 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14098 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14099 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14100 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14101 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14102 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
14103 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14104 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14105 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
14106 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14107 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14108 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
14109 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14110 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14111 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
14112 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14113 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14114 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
14115 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14116 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14117 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
14118 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
14119 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14120 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
14121 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
14122 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14123 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
14124 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14125 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14126 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14127 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
14128 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14129 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14130 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14131 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14132 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
14133 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14134 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14135 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14136 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14137 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14138 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14139 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
14140 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14141 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14142 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
14143 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14144 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14145 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
14146 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
14147 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
14148 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14149 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14150 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
14151 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14152 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
14153 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14154 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14155 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14156 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14157 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
14158 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
14159 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14160 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14161 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14162 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14163 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14164 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14165 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
14166 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
14167 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
14168 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14169 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14170 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14171 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14172 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14173 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14174 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
14175 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14176 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14177 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14178 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
14179 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
14180 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14181 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14182 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
14183 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14184 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
14185 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14186 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14187 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14188 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14189 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14190 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14191 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14192 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14193 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14194 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14195 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14196 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14197 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14198 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14199 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14200 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14201 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14202 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14203 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14204 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14205 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14206 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14207 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14208 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14209 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14210 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
14211 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
14212 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14213 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14214 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14215 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14216 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14217 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14218 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14219 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14220 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14221 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14222 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14223 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14224 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14225 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14226 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14227 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14228 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14229 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14230 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14231 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14232 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14233 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
14234 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
14235 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
14236 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14237 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14238 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14239 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14240 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
14241 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
14242 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14243 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14244 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14245 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14246 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
14247 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14248 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14249 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14250 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14251 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14252 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14253 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
14254 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
14255 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
14256 { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
14257 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
14258 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
14259 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
14260 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
14261 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
14262 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14263 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14264 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14265 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
14266 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
14267 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
14268 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14269 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14270 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14271 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14272 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14273 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14274 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
14275 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
14276 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
14277 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
14278 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
14279 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
14280 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
14281 { (char *)"Grid_Refresh", (PyCFunction
) _wrap_Grid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
14282 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
14283 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
14284 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14285 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14286 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
14287 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14288 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
14289 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14290 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14291 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14292 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
14293 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
14294 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
14295 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
14296 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
14297 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
14298 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
14299 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
14300 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
14301 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
14302 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
14303 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
14304 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
14305 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
14306 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
14307 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
14308 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
14309 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
14310 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
14311 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
14312 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
14313 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
14314 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14315 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14316 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14317 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14318 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14319 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14320 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14321 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14322 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14323 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
14324 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14325 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14326 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14327 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14328 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14329 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14330 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14331 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14332 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14333 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14334 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14335 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14336 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14337 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
14338 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14339 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14340 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14341 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14342 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14343 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14344 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14345 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14346 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14347 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14348 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14349 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14350 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14351 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14352 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14353 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14354 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14355 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14356 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
14357 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
14358 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
14359 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
14360 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
14361 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14362 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14363 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14364 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14365 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14366 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14367 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14368 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14369 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14370 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14371 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14372 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14373 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14374 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14375 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14376 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14377 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14378 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14379 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14380 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14381 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
14382 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
14383 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
14384 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
14385 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
14386 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14387 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14388 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
14389 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
14390 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
14391 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
14392 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
14393 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
14394 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14395 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14396 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14397 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14398 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14399 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14400 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14401 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14402 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14403 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14404 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14405 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14406 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14407 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14408 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14409 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14410 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14411 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14412 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14413 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14414 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14415 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14416 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14417 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
14418 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
14419 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
14420 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
14421 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
14422 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
14423 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
14424 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
14425 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
14426 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
14427 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
14428 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
14429 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
14430 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
14431 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
14432 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
14433 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14434 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14435 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14436 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14437 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
14438 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
14439 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
14440 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
14441 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
14442 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
14443 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
14444 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14445 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14446 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14447 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
14448 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
14449 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14450 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14451 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14452 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14453 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14454 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14455 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14456 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14457 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
14458 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
14459 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
14460 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14461 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14462 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14463 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14464 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14465 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
14466 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
14467 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
14468 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
14469 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
14470 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
14471 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
14472 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
14473 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14474 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14475 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14476 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14477 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14478 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
14479 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
14480 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14481 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14482 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14483 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14484 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14485 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14486 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
14491 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14493 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
14494 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
14496 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
14497 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
14499 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
14500 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
14502 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
14503 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
14505 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
14506 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
14508 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
14509 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
14511 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
14512 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
14514 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
14515 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
14517 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
14518 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
14520 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
14521 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
14523 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
14524 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
14526 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
14527 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
14529 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
14530 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
14532 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
14533 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
14535 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
14536 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14538 static void *_p_wxGridTo_p_wxPanel(void *x
) {
14539 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
14541 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
14542 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14544 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
14545 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14547 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
14548 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
14550 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
14551 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14553 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
14554 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
14556 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
14557 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14559 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
14560 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14562 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
14563 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14565 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
14566 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14568 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
14569 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
14571 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
14572 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
14574 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
14575 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14577 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
14578 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14580 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
14581 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14583 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
14584 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
14586 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
14587 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
14589 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
14590 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14592 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
14593 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14595 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
14596 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14598 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
14599 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14601 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
14602 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14604 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
14605 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14607 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
14608 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14610 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
14611 return (void *)((wxWindow
*) ((wxPanel
*) x
));
14613 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
14614 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
14616 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
14617 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
14619 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
14620 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14622 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
14623 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
14625 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
14626 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14628 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
14629 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
14631 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
14632 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14634 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
14635 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
14637 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
14638 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
14640 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
14641 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
14643 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
14644 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
14646 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
14647 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
14649 static void *_p_wxControlTo_p_wxWindow(void *x
) {
14650 return (void *)((wxWindow
*) ((wxControl
*) x
));
14652 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
14653 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
14655 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
14656 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
14658 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
14659 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
14661 static void *_p_wxGridTo_p_wxWindow(void *x
) {
14662 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
14664 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
14665 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
14667 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
14668 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
14670 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
14671 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14673 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
14674 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14676 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
14677 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14679 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
14680 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
14682 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
14683 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14685 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
14686 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
14688 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
14689 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
14691 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
14692 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
14694 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
14695 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
14697 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
14698 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
14700 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
14701 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
14703 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
14704 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
14706 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
14707 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
14709 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
14710 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
14712 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
14713 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
14715 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
14716 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
14718 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
14719 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
14721 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
14722 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
14724 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
14725 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
14727 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
14728 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
14730 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
14731 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14733 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
14734 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
14736 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
14737 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
14739 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
14740 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
14742 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
14743 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
14745 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
14746 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
14748 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
14749 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
14751 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
14752 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14754 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
14755 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
14757 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
14758 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
14760 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
14761 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
14763 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
14764 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
14766 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
14767 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
14769 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
14770 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
14772 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
14773 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
14775 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
14776 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
14778 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
14779 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14781 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
14782 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
14784 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
14785 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
14787 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
14788 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
14790 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
14791 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
14793 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
14794 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
14796 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
14797 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
14799 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
14800 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
14802 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
14803 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
14805 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
14806 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
14808 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
14809 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
14811 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
14812 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
14814 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
14815 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
14817 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
14818 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
14820 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
14821 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
14823 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
14824 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
14826 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
14827 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
14829 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
14830 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
14832 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
14833 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
14835 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
14836 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
14838 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
14839 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
14841 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
14842 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
14844 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
14845 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
14847 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
14848 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
14850 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
14851 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
14853 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
14854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
14856 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
14857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
14859 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
14860 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
14862 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
14863 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
14865 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
14866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
14868 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
14869 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
14871 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
14872 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
14874 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
14875 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
14877 static void *_p_wxSizerTo_p_wxObject(void *x
) {
14878 return (void *)((wxObject
*) ((wxSizer
*) x
));
14880 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
14881 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
14883 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
14884 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
14886 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
14887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
14889 static void *_p_wxEventTo_p_wxObject(void *x
) {
14890 return (void *)((wxObject
*) ((wxEvent
*) x
));
14892 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
14893 return (void *)((wxObject
*) ((wxFontData
*) x
));
14895 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
14896 return (void *)((wxObject
*) ((wxPrintData
*) x
));
14898 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
14899 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
14901 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
14902 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
14904 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
14905 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
14907 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
14908 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
14910 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
14911 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
14913 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
14914 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
14916 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
14917 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
14919 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
14920 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
14922 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
14923 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
14925 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
14926 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
14928 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
14929 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
14931 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
14932 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
14934 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
14935 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
14937 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
14938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14940 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
14941 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
14943 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
14944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
14946 static void *_p_wxControlTo_p_wxObject(void *x
) {
14947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
14949 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
14950 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
14952 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
14953 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14955 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
14956 return (void *)((wxObject
*) ((wxFSFile
*) x
));
14958 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
14959 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
14961 static void *_p_wxGridTo_p_wxObject(void *x
) {
14962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
14964 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
14965 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
14967 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
14968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
14970 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
14971 return (void *)((wxObject
*) ((wxColourData
*) x
));
14973 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
14974 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
14976 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
14977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
14979 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
14980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
14982 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
14983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14985 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
14986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14988 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
14989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14991 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
14992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14994 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
14995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14997 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
14998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
15000 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
15001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
15003 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
15004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
15006 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
15007 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
15009 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
15010 return (void *)((wxObject
*) ((wxPrinter
*) x
));
15012 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
15013 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
15015 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
15016 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
15018 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
15019 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
15021 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
15022 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
15024 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
15025 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
15027 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
15028 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
15030 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
15031 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
15033 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
15034 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
15036 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
15037 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
15039 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
15040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15042 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
15043 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
15045 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
15046 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
15048 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
15049 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
15051 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
15052 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
15054 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
15055 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
15057 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
15058 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
15060 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
15061 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
15063 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
15064 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
15066 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
15067 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
15069 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
15070 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
15072 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
15073 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
15075 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
15076 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
15078 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
15079 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
15081 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
15082 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
15084 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
15085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15087 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
15088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15090 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
15091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15093 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
15094 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
15096 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
15097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
15099 static void *_p_wxImageTo_p_wxObject(void *x
) {
15100 return (void *)((wxObject
*) ((wxImage
*) x
));
15102 static void *_p_wxFrameTo_p_wxObject(void *x
) {
15103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
15105 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
15106 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
15108 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
15109 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
15111 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
15112 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
15114 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
15115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
15117 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
15118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
15120 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
15121 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
15123 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
15124 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
15126 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
15127 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
15129 static void *_p_wxWindowTo_p_wxObject(void *x
) {
15130 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
15132 static void *_p_wxMenuTo_p_wxObject(void *x
) {
15133 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
15135 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
15136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
15138 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
15139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
15141 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
15142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
15144 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
15145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
15147 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
15148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
15150 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
15151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
15153 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
15154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
15156 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
15157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
15159 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
15160 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
15162 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
15163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
15165 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
15166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15168 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
15169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
15171 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
15172 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
15174 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
15175 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
15177 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
15178 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
15180 static void *_p_wxPanelTo_p_wxObject(void *x
) {
15181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
15183 static void *_p_wxDialogTo_p_wxObject(void *x
) {
15184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
15186 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
15187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
15189 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
15190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
15192 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
15193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
15195 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
15196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
15198 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
15199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
15201 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
15202 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
15204 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
15205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
15207 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
15208 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
15210 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
15211 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
15213 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
15214 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
15216 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
15217 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
15219 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
15220 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
15222 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
15223 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
15225 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
15226 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
15228 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
15229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
15231 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
15232 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
15234 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
15235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
15237 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
15238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15240 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
15241 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
15243 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
15244 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
15246 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
15247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
15249 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
15250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
15252 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
15253 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
15255 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
15256 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
15258 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
15259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
15261 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
15262 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
15264 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
15265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
15267 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
15268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
15270 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
15271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
15273 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
15274 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
15276 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
15277 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
15279 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
15280 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
15282 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
15283 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
15285 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
15286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
15288 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
15289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
15291 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
15292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
15294 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
15295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
15297 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
15298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
15300 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
15301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
15303 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
15304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
15306 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
15307 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
15309 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
15310 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
15312 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
15313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15315 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
15316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
15318 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
15319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
15321 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
15322 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
15324 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
15325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
15327 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
15328 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
15330 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
15331 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
15333 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
15334 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
15336 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
15337 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
15339 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
15340 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
15342 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
15343 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
15345 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
15346 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
15348 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
15349 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
15351 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
15352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15354 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
15355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15357 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
15358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15360 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
15361 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
15363 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
15364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
15366 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
15367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
15369 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
15370 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
15372 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
15373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15375 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
15376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15378 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
15379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15381 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
15384 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15387 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
15388 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
15390 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
15391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
15393 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
15394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
15396 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
15397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
15399 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
15400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
15402 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
15403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
15405 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
15406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
15408 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
15409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
15411 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
15412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
15414 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
15415 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
15417 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
15418 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
15420 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
15421 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
15423 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
15424 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
15426 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
15427 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
15429 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
15430 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
15432 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
15433 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
15435 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
15436 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
15438 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
15439 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
15441 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
15442 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
15444 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
15445 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
15447 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
15448 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
15450 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
15451 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
15453 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
15454 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
15456 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
15457 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
15459 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
15460 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15462 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
15463 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
15465 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
15466 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
15468 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
15469 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
15471 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
15472 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
15474 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
15475 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15477 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
15478 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15480 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
15481 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
15483 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
15484 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
15486 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
15487 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
15489 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
15490 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
15492 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
15493 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
15495 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
15496 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
15498 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
15499 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
15501 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
15502 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
15504 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}};
15505 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}};
15506 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}};
15507 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}};
15508 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}};
15509 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}};
15510 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}};
15511 static swig_type_info _swigt__p_wxGridCellRenderer
[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0},{"_p_wxGridCellRenderer"},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer
},{0}};
15512 static swig_type_info _swigt__p_wxGridCellStringRenderer
[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0},{"_p_wxGridCellStringRenderer"},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer
},{0}};
15513 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}};
15514 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
15515 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
15516 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}};
15517 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}};
15518 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxGrid", _p_wxGridTo_p_wxPanel
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
},{0}};
15519 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
15520 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}};
15521 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
15522 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}};
15523 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow
},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
15524 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxGrid", _p_wxGridTo_p_wxWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
},{0}};
15525 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
15526 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
15527 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
},{0}};
15528 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject
},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxGrid", _p_wxGridTo_p_wxObject
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject
},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
15529 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}};
15530 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
15531 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
15532 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
15533 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
},{0}};
15534 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
15535 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}};
15536 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}};
15537 static swig_type_info _swigt__p_wxGridTableBase
[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase
},{"_p_wxGridTableBase"},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase
},{0}};
15538 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}};
15539 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}};
15540 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}};
15541 static swig_type_info _swigt__p_wxGridCellEditor
[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0},{"_p_wxGridCellEditor"},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor
},{0}};
15542 static swig_type_info _swigt__p_wxGridCellTextEditor
[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0},{"_p_wxGridCellTextEditor"},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor
},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor
},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor
},{0}};
15543 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}};
15544 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}};
15545 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}};
15546 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
15547 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent
},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent
},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{0}};
15548 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
},{0}};
15549 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
15550 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
},{0}};
15551 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}};
15552 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}};
15553 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
15554 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}};
15556 static swig_type_info
*swig_types_initial
[] = {
15557 _swigt__p_wxGridCellAutoWrapStringRenderer
,
15558 _swigt__p_wxGridCellEnumRenderer
,
15559 _swigt__p_wxGridCellDateTimeRenderer
,
15560 _swigt__p_wxGridCellBoolRenderer
,
15561 _swigt__p_wxGridCellFloatRenderer
,
15562 _swigt__p_wxGridCellNumberRenderer
,
15563 _swigt__p_wxPyGridCellRenderer
,
15564 _swigt__p_wxGridCellRenderer
,
15565 _swigt__p_wxGridCellStringRenderer
,
15566 _swigt__p_wxGridCellAttr
,
15567 _swigt__p_wxColour
,
15569 _swigt__p_wxGridTableMessage
,
15572 _swigt__p_wxNotifyEvent
,
15573 _swigt__p_wxGridRangeSelectEvent
,
15575 _swigt__p_wxGridCellCoords
,
15576 _swigt__p_wxScrolledWindow
,
15577 _swigt__p_wxWindow
,
15579 _swigt__p_wxControl
,
15581 _swigt__p_wxObject
,
15582 _swigt__p_wxGridSizeEvent
,
15585 _swigt__p_wxString
,
15586 _swigt__p_wxEvtHandler
,
15588 _swigt__p_wxGridEvent
,
15589 _swigt__p_wxGridEditorCreatedEvent
,
15590 _swigt__p_wxGridTableBase
,
15591 _swigt__p_wxGridCellFloatEditor
,
15592 _swigt__p_wxGridCellNumberEditor
,
15593 _swigt__p_wxPyGridCellEditor
,
15594 _swigt__p_wxGridCellEditor
,
15595 _swigt__p_wxGridCellTextEditor
,
15596 _swigt__p_wxGridCellBoolEditor
,
15597 _swigt__p_wxPyGridTableBase
,
15598 _swigt__p_wxGridStringTable
,
15599 _swigt__p_wxArrayString
,
15600 _swigt__p_wxCommandEvent
,
15601 _swigt__p_wxGridCellAttrProvider
,
15602 _swigt__p_wxKeyEvent
,
15603 _swigt__p_wxGridCellChoiceEditor
,
15604 _swigt__p_wxGridCellEnumEditor
,
15605 _swigt__p_wxGridCellAutoWrapStringEditor
,
15607 _swigt__p_wxPyGridCellAttrProvider
,
15612 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15614 static swig_const_info swig_const_table
[] = {
15615 { SWIG_PY_STRING
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0},
15616 { SWIG_PY_STRING
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0},
15617 { SWIG_PY_STRING
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0},
15618 { SWIG_PY_STRING
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0},
15619 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0},
15620 { SWIG_PY_STRING
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0},
15621 { SWIG_PY_STRING
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0},
15622 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0},
15623 { SWIG_PY_STRING
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0},
15624 { SWIG_PY_INT
, (char *)"GridCellAttr_Any", (long) wxGridCellAttr::Any
, 0, 0, 0},
15625 { SWIG_PY_INT
, (char *)"GridCellAttr_Default", (long) wxGridCellAttr::Default
, 0, 0, 0},
15626 { SWIG_PY_INT
, (char *)"GridCellAttr_Cell", (long) wxGridCellAttr::Cell
, 0, 0, 0},
15627 { SWIG_PY_INT
, (char *)"GridCellAttr_Row", (long) wxGridCellAttr::Row
, 0, 0, 0},
15628 { SWIG_PY_INT
, (char *)"GridCellAttr_Col", (long) wxGridCellAttr::Col
, 0, 0, 0},
15629 { SWIG_PY_INT
, (char *)"GridCellAttr_Merged", (long) wxGridCellAttr::Merged
, 0, 0, 0},
15630 { SWIG_PY_INT
, (char *)"GRIDTABLE_REQUEST_VIEW_GET_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
, 0, 0, 0},
15631 { SWIG_PY_INT
, (char *)"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
, 0, 0, 0},
15632 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_INSERTED", (long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
, 0, 0, 0},
15633 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_APPENDED", (long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
, 0, 0, 0},
15634 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_DELETED", (long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
, 0, 0, 0},
15635 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_INSERTED", (long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
, 0, 0, 0},
15636 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_APPENDED", (long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
, 0, 0, 0},
15637 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_DELETED", (long) wxGRIDTABLE_NOTIFY_COLS_DELETED
, 0, 0, 0},
15638 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectCells", (long) wxGrid::wxGridSelectCells
, 0, 0, 0},
15639 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectRows", (long) wxGrid::wxGridSelectRows
, 0, 0, 0},
15640 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectColumns", (long) wxGrid::wxGridSelectColumns
, 0, 0, 0},
15641 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_LEFT_CLICK", (long) wxEVT_GRID_CELL_LEFT_CLICK
, 0, 0, 0},
15642 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_RIGHT_CLICK", (long) wxEVT_GRID_CELL_RIGHT_CLICK
, 0, 0, 0},
15643 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_LEFT_DCLICK", (long) wxEVT_GRID_CELL_LEFT_DCLICK
, 0, 0, 0},
15644 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_RIGHT_DCLICK", (long) wxEVT_GRID_CELL_RIGHT_DCLICK
, 0, 0, 0},
15645 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_LEFT_CLICK", (long) wxEVT_GRID_LABEL_LEFT_CLICK
, 0, 0, 0},
15646 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_RIGHT_CLICK", (long) wxEVT_GRID_LABEL_RIGHT_CLICK
, 0, 0, 0},
15647 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_LEFT_DCLICK", (long) wxEVT_GRID_LABEL_LEFT_DCLICK
, 0, 0, 0},
15648 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_RIGHT_DCLICK", (long) wxEVT_GRID_LABEL_RIGHT_DCLICK
, 0, 0, 0},
15649 { SWIG_PY_INT
, (char *)"wxEVT_GRID_ROW_SIZE", (long) wxEVT_GRID_ROW_SIZE
, 0, 0, 0},
15650 { SWIG_PY_INT
, (char *)"wxEVT_GRID_COL_SIZE", (long) wxEVT_GRID_COL_SIZE
, 0, 0, 0},
15651 { SWIG_PY_INT
, (char *)"wxEVT_GRID_RANGE_SELECT", (long) wxEVT_GRID_RANGE_SELECT
, 0, 0, 0},
15652 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_CHANGE", (long) wxEVT_GRID_CELL_CHANGE
, 0, 0, 0},
15653 { SWIG_PY_INT
, (char *)"wxEVT_GRID_SELECT_CELL", (long) wxEVT_GRID_SELECT_CELL
, 0, 0, 0},
15654 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_SHOWN", (long) wxEVT_GRID_EDITOR_SHOWN
, 0, 0, 0},
15655 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_HIDDEN", (long) wxEVT_GRID_EDITOR_HIDDEN
, 0, 0, 0},
15656 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_CREATED", (long) wxEVT_GRID_EDITOR_CREATED
, 0, 0, 0},
15666 SWIGEXPORT(void) SWIG_init(void) {
15667 static PyObject
*SWIG_globals
= 0;
15668 static int typeinit
= 0;
15671 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
15672 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
15673 d
= PyModule_GetDict(m
);
15676 for (i
= 0; swig_types_initial
[i
]; i
++) {
15677 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
15681 SWIG_InstallConstants(d
,swig_const_table
);
15683 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
15684 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
15685 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
15686 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
15687 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
15688 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
15689 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
15690 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
15691 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
15692 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
15693 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
15694 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
15695 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
15696 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
15697 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
15698 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
15699 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
15700 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
15701 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
15702 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));