]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/grid_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / grid_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
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 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
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
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
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
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
cc6dd355
RD
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
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
994141e6 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
cc6dd355
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
9d1d5697 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
210#define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
211#define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
212#define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
213#define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
214#define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
215#define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
216#define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
217#define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
218#define SWIGTYPE_p_wxGridCellAttr swig_types[9]
219#define SWIGTYPE_p_wxColour swig_types[10]
220#define SWIGTYPE_p_wxDC swig_types[11]
221#define SWIGTYPE_p_wxGridTableMessage swig_types[12]
222#define SWIGTYPE_p_wxGrid swig_types[13]
994141e6
RD
223#define SWIGTYPE_p_char swig_types[14]
224#define SWIGTYPE_p_wxPanel swig_types[15]
225#define SWIGTYPE_p_wxNotifyEvent swig_types[16]
226#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[17]
227#define SWIGTYPE_p_wxSize swig_types[18]
228#define SWIGTYPE_p_wxGridCellCoords swig_types[19]
229#define SWIGTYPE_p_wxScrolledWindow swig_types[20]
230#define SWIGTYPE_p_wxWindow swig_types[21]
231#define SWIGTYPE_p_wxFont swig_types[22]
232#define SWIGTYPE_p_wxControl swig_types[23]
233#define SWIGTYPE_p_wxEvent swig_types[24]
234#define SWIGTYPE_p_wxObject swig_types[25]
235#define SWIGTYPE_p_wxGridSizeEvent swig_types[26]
236#define SWIGTYPE_p_wxRect swig_types[27]
237#define SWIGTYPE_p_long swig_types[28]
238#define SWIGTYPE_p_wxString swig_types[29]
239#define SWIGTYPE_p_wxEvtHandler swig_types[30]
240#define SWIGTYPE_p_wxPoint swig_types[31]
241#define SWIGTYPE_p_wxGridEvent swig_types[32]
242#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[33]
243#define SWIGTYPE_p_wxGridTableBase swig_types[34]
d14a1e28
RD
244#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
245#define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
246#define SWIGTYPE_p_wxGridCellEditor swig_types[37]
247#define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
994141e6
RD
248#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[39]
249#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[40]
250#define SWIGTYPE_p_wxPyGridTableBase swig_types[41]
251#define SWIGTYPE_p_wxGridStringTable swig_types[42]
252#define SWIGTYPE_p_wxArrayString swig_types[43]
253#define SWIGTYPE_p_wxCommandEvent swig_types[44]
254#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[45]
255#define SWIGTYPE_p_wxKeyEvent swig_types[46]
256#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[47]
257#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[48]
258#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[49]
259#define SWIGTYPE_p_int swig_types[50]
260#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[51]
261static swig_type_info *swig_types[53];
d14a1e28
RD
262
263/* -------- TYPES TABLE (END) -------- */
264
265
266/*-----------------------------------------------
267 @(target):= _grid.so
268 ------------------------------------------------*/
269#define SWIG_init init_grid
270
271#define SWIG_name "_grid"
272
15afbcd0 273/* Auxiliar swig macros */
994141e6 274
994141e6 275#ifdef __cplusplus
15afbcd0 276#define SWIGSTATICINLINE(a) static inline a
994141e6 277#define SWIGSTATIC(a) static a
15afbcd0
RD
278#define swig_new_array(type, size) (new type[(size)])
279#define swig_delete_array(cptr) delete[] cptr
280#define swig_const_cast(type,a) const_cast<type>(a)
281#define swig_static_cast(type,a) static_cast<type>(a)
282#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 283
994141e6 284#ifdef HAVE_NUMERIC_CAST
15afbcd0 285#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 286#else
15afbcd0 287#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
288#endif
289
15afbcd0
RD
290#else /* C case */
291
292#define SWIGSTATICINLINE(a) static a
293#define SWIGSTATIC(a) static a
294#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
295#define swig_delete_array(cptr) free((char*)cptr)
296#define swig_const_cast(type,a) (type)(a)
297#define swig_static_cast(type,a) (type)(a)
298#define swig_reinterpret_cast(type,a) (type)(a)
299#define swig_numeric_cast(type,a) (type)(a)
300
301#endif /* __cplusplus */
994141e6
RD
302
303
15afbcd0
RD
304#define SWIG_FromSignedChar PyInt_FromLong
305#define SWIG_FromUnsignedChar PyInt_FromLong
306#define SWIG_FromShort PyInt_FromLong
307#define SWIG_FromUnsignedShort PyInt_FromLong
308#define SWIG_FromInt PyInt_FromLong
309#define SWIG_FromLong PyInt_FromLong
310#define SWIG_FromFloat PyFloat_FromDouble
311#define SWIG_FromDouble PyFloat_FromDouble
312#define SWIG_FromFloat PyFloat_FromDouble
313#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
314
315
d14a1e28
RD
316#include "wx/wxPython/wxPython.h"
317#include "wx/wxPython/pyclasses.h"
318#include "wx/wxPython/printfw.h"
319
320#include <wx/grid.h>
321#include <wx/generic/gridctrl.h>
322
d14a1e28 323
b2dc1044
RD
324 static const wxString wxPyEmptyString(wxEmptyString);
325 static const wxString wxPyPanelNameStr(wxPanelNameStr);
33b885b9 326 static const wxString wxPyDateTimeFormatStr(wxT("%c"));
d14a1e28
RD
327
328
329#define wxPyMake_TEMPLATE(TYPE) \
330PyObject* wxPyMake_##TYPE(TYPE* source) { \
331 PyObject* target = NULL; \
332 if (source) { \
333 /* Check if there is already a pointer to a Python object in the \
334 OOR data that we can use. */ \
335 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
336 if (data) { \
337 target = data->m_obj; \
338 Py_INCREF(target); \
339 } \
340 /* Otherwise make a new wrapper for it the old fashioned way and \
341 give it the OOR treatment */ \
342 if (! target) { \
e811c8ce 343 target = wxPyConstructObject(source, wxT(#TYPE), False); \
d14a1e28
RD
344 if (target) \
345 source->SetClientObject(new wxPyOORClientData(target)); \
346 } \
347 } else { /* source was NULL so return None. */ \
348 Py_INCREF(Py_None); target = Py_None; \
349 } \
350 return target; \
351} \
352
353
354wxPyMake_TEMPLATE(wxGridCellRenderer)
355wxPyMake_TEMPLATE(wxGridCellEditor)
356wxPyMake_TEMPLATE(wxGridCellAttr)
357wxPyMake_TEMPLATE(wxGridCellAttrProvider)
358wxPyMake_TEMPLATE(wxGridTableBase)
359
360
361
362#define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
363 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
364 wxGridCellAttr* rval = NULL; \
365 bool found; \
366 wxPyBeginBlockThreads(); \
367 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
368 PyObject* ro; \
369 wxGridCellAttr* ptr; \
370 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
371 if (ro) { \
372 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
373 rval = ptr; \
374 Py_DECREF(ro); \
375 } \
376 } \
377 wxPyEndBlockThreads(); \
378 if (! found) \
379 rval = PCLASS::CBNAME(a, b, c); \
380 return rval; \
381 } \
382 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
383 return PCLASS::CBNAME(a, b, c); \
384 }
385
386
387
388#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
389 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
390 wxPyBeginBlockThreads(); \
391 bool found; \
392 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
393 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
394 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
395 Py_DECREF(obj); \
396 } \
397 wxPyEndBlockThreads(); \
398 if (! found) \
399 PCLASS::CBNAME(attr, a, b); \
400 } \
401 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
402 PCLASS::CBNAME(attr, a, b); \
403 }
404
405
406
407#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
408 void CBNAME(wxGridCellAttr *attr, int val) { \
409 wxPyBeginBlockThreads(); \
410 bool found; \
411 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
413 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
414 Py_DECREF(obj); \
415 } \
416 wxPyEndBlockThreads(); \
417 if (! found) \
418 PCLASS::CBNAME(attr, val); \
419 } \
420 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
421 PCLASS::CBNAME(attr, val); \
422 }
423
424
425
426#define PYCALLBACK_INT__pure(CBNAME) \
427 int CBNAME() { \
428 wxPyBeginBlockThreads(); \
429 int rval = 0; \
430 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
431 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
432 wxPyEndBlockThreads(); \
433 return rval; \
434 }
435
436
437
438#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
439 bool CBNAME(int a, int b) { \
440 wxPyBeginBlockThreads(); \
441 bool rval = 0; \
442 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
443 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
444 wxPyEndBlockThreads(); \
445 return rval; \
446 }
447
448
449#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
450 wxString CBNAME(int a, int b) { \
451 wxPyBeginBlockThreads(); \
452 wxString rval; \
453 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
454 PyObject* ro; \
455 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
456 if (ro) { \
457 rval = Py2wxString(ro); \
458 Py_DECREF(ro); \
459 } \
460 } \
461 wxPyEndBlockThreads(); \
462 return rval; \
463 }
464
465
466#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
467 void CBNAME(int a, int b, const wxString& c) { \
468 wxPyBeginBlockThreads(); \
469 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
470 PyObject* s = wx2PyString(c); \
471 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
472 Py_DECREF(s); \
473 } \
474 wxPyEndBlockThreads(); \
475 }
476
477
478#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
479 wxString CBNAME(int a, int b) { \
480 bool found; \
481 wxPyBeginBlockThreads(); \
482 wxString rval; \
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
484 PyObject* ro; \
485 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
486 if (ro) { \
487 rval = Py2wxString(ro); \
488 Py_DECREF(ro); \
489 } \
490 } \
491 wxPyEndBlockThreads(); \
492 if (! found) \
493 rval = PCLASS::CBNAME(a, b); \
494 return rval; \
495 } \
496 wxString base_##CBNAME(int a, int b) { \
497 return PCLASS::CBNAME(a, b); \
498 }
499
500
501#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
502 bool CBNAME(int a, int b, const wxString& c) { \
503 bool rval = 0; \
504 bool found; \
505 wxPyBeginBlockThreads(); \
506 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
507 PyObject* s = wx2PyString(c); \
508 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
509 Py_DECREF(s); \
510 } \
511 wxPyEndBlockThreads(); \
512 if (! found) \
513 rval = PCLASS::CBNAME(a,b,c); \
514 return rval; \
515 } \
516 bool base_##CBNAME(int a, int b, const wxString& c) { \
517 return PCLASS::CBNAME(a,b,c); \
518 }
519
520
521
522
523#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
524 long CBNAME(int a, int b) { \
525 long rval; \
526 bool found; \
527 wxPyBeginBlockThreads(); \
528 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
529 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
530 wxPyEndBlockThreads(); \
531 if (! found) \
532 rval = PCLASS::CBNAME(a,b); \
533 return rval; \
534 } \
535 long base_##CBNAME(int a, int b) { \
536 return PCLASS::CBNAME(a,b); \
537 }
538
539
540
541#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
542 bool CBNAME(int a, int b) { \
543 bool rval = 0; \
544 bool found; \
545 wxPyBeginBlockThreads(); \
546 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
547 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
548 wxPyEndBlockThreads(); \
549 if (! found) \
550 rval = PCLASS::CBNAME(a,b); \
551 return rval; \
552 } \
553 bool base_##CBNAME(int a, int b) { \
554 return PCLASS::CBNAME(a,b); \
555 }
556
557
558
559#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
560 double CBNAME(int a, int b) { \
561 bool found; \
562 wxPyBeginBlockThreads(); \
563 double rval; \
564 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
565 PyObject* ro; \
566 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
567 if (ro) { \
568 PyObject* str = PyObject_Str(ro); \
569 rval = PyFloat_AsDouble(str); \
570 Py_DECREF(ro); Py_DECREF(str); \
571 } \
572 } \
573 wxPyEndBlockThreads(); \
574 if (! found) \
575 rval = PCLASS::CBNAME(a, b); \
576 return rval; \
577 } \
578 double base_##CBNAME(int a, int b) { \
579 return PCLASS::CBNAME(a, b); \
580 }
581
582
583
584#define PYCALLBACK__(PCLASS, CBNAME) \
585 void CBNAME() { \
586 bool found; \
587 wxPyBeginBlockThreads(); \
588 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
589 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
590 wxPyEndBlockThreads(); \
591 if (! found) \
592 PCLASS::CBNAME(); \
593 } \
594 void base_##CBNAME() { \
595 PCLASS::CBNAME(); \
596 }
597
598
599
600
601#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
602 bool CBNAME(size_t a, size_t b) { \
603 bool rval = 0; \
604 bool found; \
605 wxPyBeginBlockThreads(); \
606 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
607 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
608 wxPyEndBlockThreads(); \
609 if (! found) \
610 rval = PCLASS::CBNAME(a,b); \
611 return rval; \
612 } \
613 bool base_##CBNAME(size_t a, size_t b) { \
614 return PCLASS::CBNAME(a,b); \
615 }
616
617
618
619#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
620 bool CBNAME(size_t a) { \
621 bool rval = 0; \
622 bool found; \
623 wxPyBeginBlockThreads(); \
624 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
625 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
626 wxPyEndBlockThreads(); \
627 if (! found) \
628 rval = PCLASS::CBNAME(a); \
629 return rval; \
630 } \
631 bool base_##CBNAME(size_t a) { \
632 return PCLASS::CBNAME(a); \
633 }
634
635
636#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
637 wxString CBNAME(int a) { \
638 bool found; \
639 wxPyBeginBlockThreads(); \
640 wxString rval; \
641 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
642 PyObject* ro; \
643 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
644 if (ro) { \
645 rval = Py2wxString(ro); \
646 Py_DECREF(ro); \
647 } \
648 } \
649 wxPyEndBlockThreads(); \
650 if (! found) \
651 rval = PCLASS::CBNAME(a); \
652 return rval; \
653 } \
654 wxString base_##CBNAME(int a) { \
655 return PCLASS::CBNAME(a); \
656 }
657
658
659#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
660 void CBNAME(int a, const wxString& c) { \
661 bool found; \
662 wxPyBeginBlockThreads(); \
663 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
664 PyObject* s = wx2PyString(c); \
665 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
666 Py_DECREF(s); \
667 } \
668 wxPyEndBlockThreads(); \
669 if (! found) \
670 PCLASS::CBNAME(a,c); \
671 } \
672 void base_##CBNAME(int a, const wxString& c) { \
673 PCLASS::CBNAME(a,c); \
674 }
675
676
677
678
679#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
680 bool CBNAME() { \
681 bool rval = 0; \
682 bool found; \
683 wxPyBeginBlockThreads(); \
684 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
685 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
686 wxPyEndBlockThreads(); \
687 if (! found) \
688 rval = PCLASS::CBNAME(); \
689 return rval; \
690 } \
691 bool base_##CBNAME() { \
692 return PCLASS::CBNAME(); \
693 }
694
695
696
697#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
698 void CBNAME(size_t a, int b) { \
699 bool found; \
700 wxPyBeginBlockThreads(); \
701 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
702 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
703 wxPyEndBlockThreads(); \
704 if (! found) \
705 PCLASS::CBNAME(a,b); \
706 } \
707 void base_##CBNAME(size_t a, int b) { \
708 PCLASS::CBNAME(a,b); \
709 }
710
711
712
713
714#define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
715 void CBNAME(int a, int b, long c) { \
716 bool found; \
717 wxPyBeginBlockThreads(); \
718 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
719 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
720 wxPyEndBlockThreads(); \
721 if (! found) \
722 PCLASS::CBNAME(a,b,c); \
723 } \
724 void base_##CBNAME(int a, int b, long c) { \
725 PCLASS::CBNAME(a,b,c); \
726 }
727
728
729
730
731#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
732 void CBNAME(int a, int b, double c) { \
733 bool found; \
734 wxPyBeginBlockThreads(); \
735 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
736 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
737 wxPyEndBlockThreads(); \
738 if (! found) \
739 PCLASS::CBNAME(a,b,c); \
740 } \
741 void base_##CBNAME(int a, int b, double c) { \
742 PCLASS::CBNAME(a,b,c); \
743 }
744
745
746
747#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
748 void CBNAME(int a, int b, bool c) { \
749 bool found; \
750 wxPyBeginBlockThreads(); \
751 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
752 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
753 wxPyEndBlockThreads(); \
754 if (! found) \
755 PCLASS::CBNAME(a,b,c); \
756 } \
757 void base_##CBNAME(int a, int b, bool c) { \
758 PCLASS::CBNAME(a,b,c); \
759 }
760
761
762
763
764
15afbcd0
RD
765
766SWIGSTATICINLINE(PyObject *)
767SWIG_FromCharPtr(const char* cptr)
768{
769 size_t size = cptr ? strlen(cptr) : 0;
770 if (cptr) {
771 if (size > INT_MAX) {
772 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
773 SWIG_TypeQuery("char *"), 0);
774 } else {
775 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
776 }
777 } else {
778 Py_INCREF(Py_None);
779 return Py_None;
780 }
781}
782
d14a1e28
RD
783void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){
784 self->SetClientObject(new wxPyOORClientData(_self));
785 }
786
15afbcd0
RD
787#include <limits.h>
788
789
790SWIGSTATICINLINE(long)
791SWIG_CheckLongInRange(long value, const char* type,
792 long min_value, long max_value)
793{
794 if (!PyErr_Occurred()) {
795 if (value < min_value) {
796 PyObject *err =
797 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
798 value, type, min_value);
799
800 PyErr_SetObject(PyExc_OverflowError, err);
801 Py_DECREF(err);
802 } else if (value > max_value) {
803 PyObject *err =
804 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
805 value, type, max_value);
806 PyErr_SetObject(PyExc_OverflowError, err);
807 Py_DECREF(err);
808 }
809 }
810 return value;
811}
812
813
814SWIGSTATICINLINE(long)
815SWIG_AsLong(PyObject * obj)
816{
817 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
818}
819
820
821#if INT_MAX != LONG_MAX
822SWIGSTATICINLINE(int)
823SWIG_AsInt(PyObject *obj)
994141e6 824{
15afbcd0
RD
825 return swig_numeric_cast(int,
826 SWIG_CheckLongInRange(SWIG_AsLong(obj),
827 "int", INT_MIN, INT_MAX));
994141e6 828}
15afbcd0
RD
829#else
830#define SWIG_AsInt SWIG_AsLong
831#endif
994141e6
RD
832
833
15afbcd0
RD
834SWIGSTATICINLINE(bool)
835SWIG_AsBool(PyObject *obj)
994141e6
RD
836{
837 return PyObject_IsTrue(obj) ? true : false;
838}
839
840
15afbcd0
RD
841SWIGSTATICINLINE(int)
842SWIG_CheckInt(PyObject* obj)
843{
844 SWIG_AsInt(obj);
845 if (PyErr_Occurred()) {
846 PyErr_Clear();
847 return 0;
848 } else {
849 return 1;
850 }
851}
852
853
854SWIGSTATICINLINE(int)
855SWIG_CheckBool(PyObject* obj)
856{
857 SWIG_AsBool(obj);
858 if (PyErr_Occurred()) {
859 PyErr_Clear();
860 return 0;
861 } else {
862 return 1;
863 }
864}
865
866
d14a1e28
RD
867class wxPyGridCellRenderer : public wxGridCellRenderer
868{
869public:
870 wxPyGridCellRenderer() : wxGridCellRenderer() {};
871
872 // Implement Python callback aware virtual methods
873 void Draw(wxGrid& grid, wxGridCellAttr& attr,
874 wxDC& dc, const wxRect& rect,
875 int row, int col, bool isSelected) {
876 wxPyBeginBlockThreads();
877 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
878 PyObject* go = wxPyMake_wxObject(&grid);
879 PyObject* dco = wxPyMake_wxObject(&dc);
880 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
881 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
882
883 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
884 row, col, isSelected));
885 Py_DECREF(go);
886 Py_DECREF(ao);
887 Py_DECREF(dco);
888 Py_DECREF(ro);
889 }
890 wxPyEndBlockThreads();
891 }
892
893 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
894 int row, int col) {
895 wxSize rval;
896 wxPyBeginBlockThreads();
897 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
898 PyObject* ro;
899 wxSize* ptr;
900 PyObject* go = wxPyMake_wxObject(&grid);
901 PyObject* dco = wxPyMake_wxObject(&dc);
902 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
903
904 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
905 go, ao, dco,
906 row, col));
907 Py_DECREF(go);
908 Py_DECREF(ao);
909 Py_DECREF(dco);
910
911 if (ro) {
912 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
913 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
914 rval = *ptr;
915 }
916 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
917 PyObject* o1 = PySequence_GetItem(ro, 0);
918 PyObject* o2 = PySequence_GetItem(ro, 1);
919 if (PyNumber_Check(o1) && PyNumber_Check(o2))
920 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
921 else
922 PyErr_SetString(PyExc_TypeError, errmsg);
923 Py_DECREF(o1);
924 Py_DECREF(o2);
925 }
926 else {
927 PyErr_SetString(PyExc_TypeError, errmsg);
928 }
929 Py_DECREF(ro);
930 }
931 }
932 wxPyEndBlockThreads();
933 return rval;
934 }
935
936
937 wxGridCellRenderer *Clone() const {
938 wxGridCellRenderer* rval = NULL;
939 wxPyBeginBlockThreads();
940 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
941 PyObject* ro;
942 wxGridCellRenderer* ptr;
943 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
944 if (ro) {
945 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
946 rval = ptr;
947 Py_DECREF(ro);
948 }
949 }
950 wxPyEndBlockThreads();
951 return rval;
952 }
953
954 DEC_PYCALLBACK__STRING(SetParameters);
955
956 PYPRIVATE;
957};
958
959IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
960
961
962void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
963 self->SetClientObject(new wxPyOORClientData(_self));
964 }
965
966class wxPyGridCellEditor : public wxGridCellEditor
967{
968public:
969 wxPyGridCellEditor() : wxGridCellEditor() {}
970
971 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
972 wxPyBeginBlockThreads();
973 if (wxPyCBH_findCallback(m_myInst, "Create")) {
974 PyObject* po = wxPyMake_wxObject(parent);
975 PyObject* eo = wxPyMake_wxObject(evtHandler);
976
977 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
978 Py_DECREF(po);
979 Py_DECREF(eo);
980 }
981 wxPyEndBlockThreads();
982 }
983
984
985 void BeginEdit(int row, int col, wxGrid* grid) {
986 wxPyBeginBlockThreads();
987 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
988 PyObject* go = wxPyMake_wxObject(grid);
989 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
990 Py_DECREF(go);
991 }
992 wxPyEndBlockThreads();
993 }
994
995
996 bool EndEdit(int row, int col, wxGrid* grid) {
e811c8ce 997 bool rv = False;
d14a1e28
RD
998 wxPyBeginBlockThreads();
999 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
1000 PyObject* go = wxPyMake_wxObject(grid);
1001 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
1002 Py_DECREF(go);
1003 }
1004 wxPyEndBlockThreads();
1005 return rv;
1006 }
1007
1008
1009 wxGridCellEditor* Clone() const {
1010 wxGridCellEditor* rval = NULL;
1011 wxPyBeginBlockThreads();
1012 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
1013 PyObject* ro;
1014 wxGridCellEditor* ptr;
1015 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1016 if (ro) {
1017 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
1018 rval = ptr;
1019 Py_DECREF(ro);
1020 }
1021 }
1022 wxPyEndBlockThreads();
1023 return rval;
1024 }
1025
1026
1027 void Show(bool show, wxGridCellAttr *attr) {
1028 bool found;
1029 wxPyBeginBlockThreads();
1030 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
1031 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
1032 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
1033 Py_DECREF(ao);
1034 }
1035 wxPyEndBlockThreads();
1036 if (! found)
1037 wxGridCellEditor::Show(show, attr);
1038 }
1039 void base_Show(bool show, wxGridCellAttr *attr) {
1040 wxGridCellEditor::Show(show, attr);
1041 }
1042
1043
1044 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1045 bool found;
1046 wxPyBeginBlockThreads();
1047 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
1048 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
1049 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
1050
1051 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
1052
1053 Py_DECREF(ro);
1054 Py_DECREF(ao);
1055 }
1056 wxPyEndBlockThreads();
1057 if (! found)
1058 wxGridCellEditor::PaintBackground(rectCell, attr);
1059 }
1060 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1061 wxGridCellEditor::PaintBackground(rectCell, attr);
1062 }
1063
1064
1065 DEC_PYCALLBACK___pure(Reset);
1066 DEC_PYCALLBACK__constany(SetSize, wxRect);
1067 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
1068 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
1069 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
1070 DEC_PYCALLBACK__(StartingClick);
1071 DEC_PYCALLBACK__(Destroy);
1072 DEC_PYCALLBACK__STRING(SetParameters);
1073 DEC_PYCALLBACK_STRING__constpure(GetValue);
1074
1075 PYPRIVATE;
1076};
1077
1078
1079IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
1080IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
1081IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
1082IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
1083IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
1084IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
1085IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
1086IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
1087IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
1088
1089
1090void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
1091 self->SetClientObject(new wxPyOORClientData(_self));
1092 }
1093
1094static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1095 PyObject* o2;
1096 PyObject* o3;
1097
1098 if (!target) {
1099 target = o;
1100 } else if (target == Py_None) {
1101 Py_DECREF(Py_None);
1102 target = o;
1103 } else {
1104 if (!PyTuple_Check(target)) {
1105 o2 = target;
1106 target = PyTuple_New(1);
1107 PyTuple_SetItem(target, 0, o2);
1108 }
1109 o3 = PyTuple_New(1);
1110 PyTuple_SetItem(o3, 0, o);
1111
1112 o2 = target;
1113 target = PySequence_Concat(o2, o3);
1114 Py_DECREF(o2);
1115 Py_DECREF(o3);
1116 }
1117 return target;
1118}
1119
1120void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
1121 self->SetClientObject(new wxPyOORClientData(_self));
1122 }
1123
15afbcd0
RD
1124SWIGSTATICINLINE(unsigned long)
1125SWIG_AsUnsignedLong(PyObject * obj)
1126{
1127 if (PyLong_Check(obj)) {
1128 return PyLong_AsUnsignedLong(obj);
1129 } else {
1130 long i = PyInt_AsLong(obj);
1131 if ( !PyErr_Occurred() && (i < 0)) {
1132 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
1133 }
1134 return i;
1135 }
1136}
1137
1138
1139SWIGSTATICINLINE(int)
1140SWIG_CheckUnsignedLong(PyObject* obj)
1141{
1142 SWIG_AsUnsignedLong(obj);
1143 if (PyErr_Occurred()) {
1144 PyErr_Clear();
1145 return 0;
1146 } else {
1147 return 1;
1148 }
1149}
1150
1151
d14a1e28
RD
1152class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
1153{
1154public:
1155 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1156
1157 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
1158 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
1159 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
1160 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
1161
1162 PYPRIVATE;
1163};
1164
1165void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
1166 self->SetClientObject(new wxPyOORClientData(_self));
1167 }
1168
15afbcd0
RD
1169SWIGSTATICINLINE(int)
1170SWIG_CheckLong(PyObject* obj)
994141e6 1171{
15afbcd0
RD
1172 SWIG_AsLong(obj);
1173 if (PyErr_Occurred()) {
1174 PyErr_Clear();
1175 return 0;
1176 } else {
1177 return 1;
1178 }
994141e6
RD
1179}
1180
1181
15afbcd0
RD
1182SWIGSTATICINLINE(double)
1183SWIG_AsDouble(PyObject *obj)
994141e6 1184{
15afbcd0 1185 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
994141e6 1186#if HAVE_LONG_LONG
15afbcd0 1187 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
994141e6 1188#else
15afbcd0 1189 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
994141e6
RD
1190#endif
1191 if (PyErr_Occurred()) {
1192 PyErr_Clear();
1193 PyErr_SetString(PyExc_TypeError, "a double is expected");
1194 }
15afbcd0
RD
1195 return val;
1196}
1197
1198
1199SWIGSTATICINLINE(int)
1200SWIG_CheckDouble(PyObject* obj)
1201{
1202 SWIG_AsDouble(obj);
1203 if (PyErr_Occurred()) {
1204 PyErr_Clear();
1205 return 0;
1206 } else {
1207 return 1;
1208 }
994141e6
RD
1209}
1210
1211
d14a1e28
RD
1212class wxPyGridTableBase : public wxGridTableBase
1213{
1214public:
1215 wxPyGridTableBase() : wxGridTableBase() {}
1216
1217 PYCALLBACK_INT__pure(GetNumberRows);
1218 PYCALLBACK_INT__pure(GetNumberCols);
1219 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
1220 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
1221 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
1222 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
1223 PYCALLBACK__(wxGridTableBase, Clear);
1224 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
1225 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
1226 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
1227 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
1228 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
1229 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
1230 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
1231 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
1232 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
1233 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
1234 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
1235 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
1236 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
1237 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
1238 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
1239
1240
1241 wxString GetValue(int row, int col) {
1242 wxPyBeginBlockThreads();
1243 wxString rval;
1244 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1245 PyObject* ro;
1246 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
1247 if (ro) {
1248 rval = Py2wxString(ro);
1249 Py_DECREF(ro);
1250 }
1251 }
1252 wxPyEndBlockThreads();
1253 return rval;
1254 }
1255
1256 void SetValue(int row, int col, const wxString& val) {
1257 wxPyBeginBlockThreads();
1258 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1259 PyObject* s = wx2PyString(val);
1260 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
1261 Py_DECREF(s);
1262 }
1263 wxPyEndBlockThreads();
1264 }
1265
1266
1267 // Map the Get/Set methods for the standard non-string types to
1268 // the GetValue and SetValue python methods.
1269 long GetValueAsLong( int row, int col ) {
1270 long rval = 0;
1271 wxPyBeginBlockThreads();
1272 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1273 PyObject* ro;
1274 PyObject* num;
1275 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1276 if (ro && PyNumber_Check(ro)) {
1277 num = PyNumber_Int(ro);
1278 if (num) {
1279 rval = PyInt_AsLong(num);
1280 Py_DECREF(num);
1281 }
1282 Py_DECREF(ro);
1283 }
1284 }
1285 wxPyEndBlockThreads();
1286 return rval;
1287 }
1288
1289 double GetValueAsDouble( int row, int col ) {
1290 double rval = 0.0;
1291 wxPyBeginBlockThreads();
1292 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1293 PyObject* ro;
1294 PyObject* num;
1295 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1296 if (ro && PyNumber_Check(ro)) {
1297 num = PyNumber_Float(ro);
1298 if (num) {
1299 rval = PyFloat_AsDouble(num);
1300 Py_DECREF(num);
1301 }
1302 Py_DECREF(ro);
1303 }
1304 }
1305 wxPyEndBlockThreads();
1306 return rval;
1307 }
1308
1309 bool GetValueAsBool( int row, int col ) {
1310 return (bool)GetValueAsLong(row, col);
1311 }
1312
1313 void SetValueAsLong( int row, int col, long value ) {
1314 wxPyBeginBlockThreads();
1315 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1316 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
1317 }
1318 wxPyEndBlockThreads();
1319 }
1320
1321 void SetValueAsDouble( int row, int col, double value ) {
1322 wxPyBeginBlockThreads();
1323 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1324 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
1325 }
1326 wxPyEndBlockThreads();
1327 }
1328
1329 void SetValueAsBool( int row, int col, bool value ) {
1330 SetValueAsLong( row, col, (long)value );
1331 }
1332
1333
1334 PYPRIVATE;
1335};
1336
1337void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
d14a1e28
RD
1338
1339bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
1340
22faec7d
RD
1341 if (source == Py_None) {
1342 **obj = wxGridCellCoords(-1,-1);
1343 return True;
1344 }
1345
d14a1e28
RD
1346 // If source is an object instance then it may already be the right type
1347 if (wxPySwigInstance_Check(source)) {
1348 wxGridCellCoords* ptr;
1349 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1350 goto error;
1351 *obj = ptr;
e811c8ce 1352 return True;
d14a1e28
RD
1353 }
1354 // otherwise a 2-tuple of integers is expected
1355 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
1356 PyObject* o1 = PySequence_GetItem(source, 0);
1357 PyObject* o2 = PySequence_GetItem(source, 1);
1358 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
1359 Py_DECREF(o1);
1360 Py_DECREF(o2);
1361 goto error;
1362 }
1363 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
1364 Py_DECREF(o1);
1365 Py_DECREF(o2);
e811c8ce 1366 return True;
d14a1e28
RD
1367 }
1368
1369 error:
1370 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
e811c8ce 1371 return False;
d14a1e28
RD
1372}
1373
1374
1375bool wxGridCellCoords_typecheck(PyObject* source) {
1376 void* ptr;
1377
1378 if (wxPySwigInstance_Check(source) &&
1379 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
e811c8ce 1380 return True;
d14a1e28
RD
1381
1382 PyErr_Clear();
1383 if (PySequence_Check(source) && PySequence_Length(source) == 2)
e811c8ce 1384 return True;
d14a1e28 1385
e811c8ce 1386 return False;
d14a1e28
RD
1387}
1388
1389
1390PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
1391{
1392 PyObject* list = PyList_New(0);
1393 size_t idx;
1394 for (idx = 0; idx < source.GetCount(); idx += 1) {
1395 wxGridCellCoords& coord = source.Item(idx);
1396 PyObject* tup = PyTuple_New(2);
1397 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
1398 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
1399 PyList_Append(list, tup);
1400 Py_DECREF(tup);
1401 }
1402 return list;
1403}
1404
22faec7d
RD
1405PyObject *wxGridCellCoords_asTuple(wxGridCellCoords *self){
1406 PyObject* tup = PyTuple_New(2);
1407 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1408 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1409 return tup;
1410 }
d14a1e28
RD
1411
1412typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
1413
1414wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
1415 wxGridCellCoords rv;
1416 self->XYToCell(x, y, rv);
1417 return rv;
1418 }
1419#ifdef __cplusplus
1420extern "C" {
1421#endif
b2dc1044
RD
1422static int _wrap_DateTimeFormatStr_set(PyObject *_val) {
1423 PyErr_SetString(PyExc_TypeError,"Variable DateTimeFormatStr is read-only.");
1424 return 1;
1425}
1426
1427
1428static PyObject *_wrap_DateTimeFormatStr_get() {
1429 PyObject *pyobj;
1430
1431 {
1432#if wxUSE_UNICODE
1433 pyobj = PyUnicode_FromWideChar((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1434#else
1435 pyobj = PyString_FromStringAndSize((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1436#endif
1437 }
1438 return pyobj;
1439}
1440
1441
d14a1e28
RD
1442static int _wrap_GridNoCellCoords_set(PyObject *_val) {
1443 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
1444 return 1;
1445}
1446
1447
1448static PyObject *_wrap_GridNoCellCoords_get() {
1449 PyObject *pyobj;
1450
15afbcd0 1451 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellCoords), SWIGTYPE_p_wxGridCellCoords, 0);
d14a1e28
RD
1452 return pyobj;
1453}
1454
1455
1456static int _wrap_GridNoCellRect_set(PyObject *_val) {
1457 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
1458 return 1;
1459}
1460
1461
1462static PyObject *_wrap_GridNoCellRect_get() {
1463 PyObject *pyobj;
1464
15afbcd0 1465 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellRect), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
1466 return pyobj;
1467}
1468
1469
1470static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1471 PyObject *resultobj;
1472 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1473 PyObject *arg2 = (PyObject *) 0 ;
1474 PyObject * obj0 = 0 ;
1475 PyObject * obj1 = 0 ;
1476 char *kwnames[] = {
1477 (char *) "self",(char *) "_self", NULL
1478 };
1479
1480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1483 arg2 = obj1;
1484 {
1485 PyThreadState* __tstate = wxPyBeginAllowThreads();
1486 wxGridCellRenderer__setOORInfo(arg1,arg2);
1487
1488 wxPyEndAllowThreads(__tstate);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 }
1491 Py_INCREF(Py_None); resultobj = Py_None;
1492 return resultobj;
1493 fail:
1494 return NULL;
1495}
1496
1497
1498static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject *resultobj;
1500 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1501 wxString *arg2 = 0 ;
e811c8ce 1502 bool temp2 = False ;
d14a1e28
RD
1503 PyObject * obj0 = 0 ;
1504 PyObject * obj1 = 0 ;
1505 char *kwnames[] = {
1506 (char *) "self",(char *) "params", NULL
1507 };
1508
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1512 {
1513 arg2 = wxString_in_helper(obj1);
1514 if (arg2 == NULL) SWIG_fail;
e811c8ce 1515 temp2 = True;
d14a1e28
RD
1516 }
1517 {
1518 PyThreadState* __tstate = wxPyBeginAllowThreads();
1519 (arg1)->SetParameters((wxString const &)*arg2);
1520
1521 wxPyEndAllowThreads(__tstate);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 }
1524 Py_INCREF(Py_None); resultobj = Py_None;
1525 {
1526 if (temp2)
1527 delete arg2;
1528 }
1529 return resultobj;
1530 fail:
1531 {
1532 if (temp2)
1533 delete arg2;
1534 }
1535 return NULL;
1536}
1537
1538
1539static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1540 PyObject *resultobj;
1541 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1542 PyObject * obj0 = 0 ;
1543 char *kwnames[] = {
1544 (char *) "self", NULL
1545 };
1546
1547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
1548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1550 {
1551 PyThreadState* __tstate = wxPyBeginAllowThreads();
1552 (arg1)->IncRef();
1553
1554 wxPyEndAllowThreads(__tstate);
1555 if (PyErr_Occurred()) SWIG_fail;
1556 }
1557 Py_INCREF(Py_None); resultobj = Py_None;
1558 return resultobj;
1559 fail:
1560 return NULL;
1561}
1562
1563
1564static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1565 PyObject *resultobj;
1566 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1567 PyObject * obj0 = 0 ;
1568 char *kwnames[] = {
1569 (char *) "self", NULL
1570 };
1571
1572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
1573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1575 {
1576 PyThreadState* __tstate = wxPyBeginAllowThreads();
1577 (arg1)->DecRef();
1578
1579 wxPyEndAllowThreads(__tstate);
1580 if (PyErr_Occurred()) SWIG_fail;
1581 }
1582 Py_INCREF(Py_None); resultobj = Py_None;
1583 return resultobj;
1584 fail:
1585 return NULL;
1586}
1587
1588
1589static PyObject *_wrap_GridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject *resultobj;
1591 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1592 wxGrid *arg2 = 0 ;
1593 wxGridCellAttr *arg3 = 0 ;
1594 wxDC *arg4 = 0 ;
1595 wxRect *arg5 = 0 ;
1596 int arg6 ;
1597 int arg7 ;
1598 bool arg8 ;
1599 wxRect temp5 ;
1600 PyObject * obj0 = 0 ;
1601 PyObject * obj1 = 0 ;
1602 PyObject * obj2 = 0 ;
1603 PyObject * obj3 = 0 ;
1604 PyObject * obj4 = 0 ;
994141e6
RD
1605 PyObject * obj5 = 0 ;
1606 PyObject * obj6 = 0 ;
d14a1e28
RD
1607 PyObject * obj7 = 0 ;
1608 char *kwnames[] = {
1609 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1610 };
1611
994141e6 1612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1616 SWIG_POINTER_EXCEPTION | 0)) == -1)
1617 SWIG_fail;
d14a1e28 1618 if (arg2 == NULL) {
15afbcd0
RD
1619 PyErr_SetString(PyExc_TypeError,"null reference");
1620 SWIG_fail;
d14a1e28 1621 }
15afbcd0
RD
1622 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1623 SWIG_POINTER_EXCEPTION | 0)) == -1)
1624 SWIG_fail;
d14a1e28 1625 if (arg3 == NULL) {
15afbcd0
RD
1626 PyErr_SetString(PyExc_TypeError,"null reference");
1627 SWIG_fail;
d14a1e28 1628 }
15afbcd0
RD
1629 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1630 SWIG_POINTER_EXCEPTION | 0)) == -1)
1631 SWIG_fail;
d14a1e28 1632 if (arg4 == NULL) {
15afbcd0
RD
1633 PyErr_SetString(PyExc_TypeError,"null reference");
1634 SWIG_fail;
d14a1e28
RD
1635 }
1636 {
1637 arg5 = &temp5;
1638 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
1639 }
15afbcd0
RD
1640 arg6 = (int) SWIG_AsInt(obj5);
1641 if (PyErr_Occurred()) SWIG_fail;
1642 arg7 = (int) SWIG_AsInt(obj6);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 arg8 = (bool) SWIG_AsBool(obj7);
1645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1646 {
1647 PyThreadState* __tstate = wxPyBeginAllowThreads();
1648 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
1649
1650 wxPyEndAllowThreads(__tstate);
1651 if (PyErr_Occurred()) SWIG_fail;
1652 }
1653 Py_INCREF(Py_None); resultobj = Py_None;
1654 return resultobj;
1655 fail:
1656 return NULL;
1657}
1658
1659
1660static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1661 PyObject *resultobj;
1662 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1663 wxGrid *arg2 = 0 ;
1664 wxGridCellAttr *arg3 = 0 ;
1665 wxDC *arg4 = 0 ;
1666 int arg5 ;
1667 int arg6 ;
1668 wxSize result;
1669 PyObject * obj0 = 0 ;
1670 PyObject * obj1 = 0 ;
1671 PyObject * obj2 = 0 ;
1672 PyObject * obj3 = 0 ;
994141e6
RD
1673 PyObject * obj4 = 0 ;
1674 PyObject * obj5 = 0 ;
d14a1e28
RD
1675 char *kwnames[] = {
1676 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1677 };
1678
994141e6 1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1683 SWIG_POINTER_EXCEPTION | 0)) == -1)
1684 SWIG_fail;
d14a1e28 1685 if (arg2 == NULL) {
15afbcd0
RD
1686 PyErr_SetString(PyExc_TypeError,"null reference");
1687 SWIG_fail;
d14a1e28 1688 }
15afbcd0
RD
1689 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1690 SWIG_POINTER_EXCEPTION | 0)) == -1)
1691 SWIG_fail;
d14a1e28 1692 if (arg3 == NULL) {
15afbcd0
RD
1693 PyErr_SetString(PyExc_TypeError,"null reference");
1694 SWIG_fail;
d14a1e28 1695 }
15afbcd0
RD
1696 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1697 SWIG_POINTER_EXCEPTION | 0)) == -1)
1698 SWIG_fail;
d14a1e28 1699 if (arg4 == NULL) {
15afbcd0
RD
1700 PyErr_SetString(PyExc_TypeError,"null reference");
1701 SWIG_fail;
994141e6 1702 }
15afbcd0
RD
1703 arg5 = (int) SWIG_AsInt(obj4);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 arg6 = (int) SWIG_AsInt(obj5);
1706 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 {
1715 wxSize * resultptr;
1716 resultptr = new wxSize((wxSize &) result);
15afbcd0 1717 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1718 }
1719 return resultobj;
1720 fail:
1721 return NULL;
1722}
1723
1724
1725static PyObject *_wrap_GridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1726 PyObject *resultobj;
1727 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1728 wxGridCellRenderer *result;
1729 PyObject * obj0 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "self", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
1735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1737 {
1738 PyThreadState* __tstate = wxPyBeginAllowThreads();
1739 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
1740
1741 wxPyEndAllowThreads(__tstate);
1742 if (PyErr_Occurred()) SWIG_fail;
1743 }
1744 {
1745 resultobj = wxPyMake_wxGridCellRenderer(result);
1746 }
1747 return resultobj;
1748 fail:
1749 return NULL;
1750}
1751
1752
1753static PyObject * GridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1754 PyObject *obj;
1755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1756 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
1757 Py_INCREF(obj);
1758 return Py_BuildValue((char *)"");
1759}
1760static PyObject *_wrap_new_PyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject *resultobj;
1762 wxPyGridCellRenderer *result;
1763 char *kwnames[] = {
1764 NULL
1765 };
1766
1767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
1768 {
1769 PyThreadState* __tstate = wxPyBeginAllowThreads();
1770 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
1771
1772 wxPyEndAllowThreads(__tstate);
1773 if (PyErr_Occurred()) SWIG_fail;
1774 }
15afbcd0 1775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellRenderer, 1);
d14a1e28
RD
1776 return resultobj;
1777 fail:
1778 return NULL;
1779}
1780
1781
1782static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1783 PyObject *resultobj;
1784 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1785 PyObject *arg2 = (PyObject *) 0 ;
1786 PyObject *arg3 = (PyObject *) 0 ;
1787 PyObject * obj0 = 0 ;
1788 PyObject * obj1 = 0 ;
1789 PyObject * obj2 = 0 ;
1790 char *kwnames[] = {
1791 (char *) "self",(char *) "self",(char *) "_class", NULL
1792 };
1793
1794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1797 arg2 = obj1;
1798 arg3 = obj2;
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 (arg1)->_setCallbackInfo(arg2,arg3);
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
1806 Py_INCREF(Py_None); resultobj = Py_None;
1807 return resultobj;
1808 fail:
1809 return NULL;
1810}
1811
1812
1813static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1816 wxString *arg2 = 0 ;
e811c8ce 1817 bool temp2 = False ;
d14a1e28
RD
1818 PyObject * obj0 = 0 ;
1819 PyObject * obj1 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "self",(char *) "params", NULL
1822 };
1823
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1827 {
1828 arg2 = wxString_in_helper(obj1);
1829 if (arg2 == NULL) SWIG_fail;
e811c8ce 1830 temp2 = True;
d14a1e28
RD
1831 }
1832 {
1833 PyThreadState* __tstate = wxPyBeginAllowThreads();
1834 (arg1)->base_SetParameters((wxString const &)*arg2);
1835
1836 wxPyEndAllowThreads(__tstate);
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 Py_INCREF(Py_None); resultobj = Py_None;
1840 {
1841 if (temp2)
1842 delete arg2;
1843 }
1844 return resultobj;
1845 fail:
1846 {
1847 if (temp2)
1848 delete arg2;
1849 }
1850 return NULL;
1851}
1852
1853
1854static PyObject * PyGridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1855 PyObject *obj;
1856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1857 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
1858 Py_INCREF(obj);
1859 return Py_BuildValue((char *)"");
1860}
1861static PyObject *_wrap_new_GridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1862 PyObject *resultobj;
1863 wxGridCellStringRenderer *result;
1864 char *kwnames[] = {
1865 NULL
1866 };
1867
1868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
1869 {
1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
1871 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
1872
1873 wxPyEndAllowThreads(__tstate);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 }
15afbcd0 1876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellStringRenderer, 1);
d14a1e28
RD
1877 return resultobj;
1878 fail:
1879 return NULL;
1880}
1881
1882
1883static PyObject * GridCellStringRenderer_swigregister(PyObject *self, PyObject *args) {
1884 PyObject *obj;
1885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1886 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
1887 Py_INCREF(obj);
1888 return Py_BuildValue((char *)"");
1889}
1890static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxGridCellNumberRenderer *result;
1893 char *kwnames[] = {
1894 NULL
1895 };
1896
1897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
1898 {
1899 PyThreadState* __tstate = wxPyBeginAllowThreads();
1900 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
1901
1902 wxPyEndAllowThreads(__tstate);
1903 if (PyErr_Occurred()) SWIG_fail;
1904 }
15afbcd0 1905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberRenderer, 1);
d14a1e28
RD
1906 return resultobj;
1907 fail:
1908 return NULL;
1909}
1910
1911
1912static PyObject * GridCellNumberRenderer_swigregister(PyObject *self, PyObject *args) {
1913 PyObject *obj;
1914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1915 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
1916 Py_INCREF(obj);
1917 return Py_BuildValue((char *)"");
1918}
1919static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1920 PyObject *resultobj;
1921 int arg1 = (int) -1 ;
1922 int arg2 = (int) -1 ;
1923 wxGridCellFloatRenderer *result;
994141e6
RD
1924 PyObject * obj0 = 0 ;
1925 PyObject * obj1 = 0 ;
d14a1e28
RD
1926 char *kwnames[] = {
1927 (char *) "width",(char *) "precision", NULL
1928 };
1929
994141e6
RD
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail;
1931 if (obj0) {
15afbcd0
RD
1932 arg1 = (int) SWIG_AsInt(obj0);
1933 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1934 }
1935 if (obj1) {
15afbcd0
RD
1936 arg2 = (int) SWIG_AsInt(obj1);
1937 if (PyErr_Occurred()) SWIG_fail;
994141e6 1938 }
d14a1e28
RD
1939 {
1940 PyThreadState* __tstate = wxPyBeginAllowThreads();
1941 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
1942
1943 wxPyEndAllowThreads(__tstate);
1944 if (PyErr_Occurred()) SWIG_fail;
1945 }
15afbcd0 1946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatRenderer, 1);
d14a1e28
RD
1947 return resultobj;
1948 fail:
1949 return NULL;
1950}
1951
1952
1953static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1954 PyObject *resultobj;
1955 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1956 int result;
1957 PyObject * obj0 = 0 ;
1958 char *kwnames[] = {
1959 (char *) "self", NULL
1960 };
1961
1962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
1963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
1964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1965 {
1966 PyThreadState* __tstate = wxPyBeginAllowThreads();
1967 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
1968
1969 wxPyEndAllowThreads(__tstate);
1970 if (PyErr_Occurred()) SWIG_fail;
1971 }
15afbcd0 1972 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1973 return resultobj;
1974 fail:
1975 return NULL;
1976}
1977
1978
1979static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1980 PyObject *resultobj;
1981 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1982 int arg2 ;
1983 PyObject * obj0 = 0 ;
994141e6 1984 PyObject * obj1 = 0 ;
d14a1e28
RD
1985 char *kwnames[] = {
1986 (char *) "self",(char *) "width", NULL
1987 };
1988
994141e6 1989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
1991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1992 arg2 = (int) SWIG_AsInt(obj1);
1993 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 (arg1)->SetWidth(arg2);
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
2001 Py_INCREF(Py_None); resultobj = Py_None;
2002 return resultobj;
2003 fail:
2004 return NULL;
2005}
2006
2007
2008static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2009 PyObject *resultobj;
2010 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2011 int result;
2012 PyObject * obj0 = 0 ;
2013 char *kwnames[] = {
2014 (char *) "self", NULL
2015 };
2016
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
15afbcd0
RD
2018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2020 {
2021 PyThreadState* __tstate = wxPyBeginAllowThreads();
2022 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
2023
2024 wxPyEndAllowThreads(__tstate);
2025 if (PyErr_Occurred()) SWIG_fail;
2026 }
15afbcd0 2027 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2028 return resultobj;
2029 fail:
2030 return NULL;
2031}
2032
2033
2034static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2035 PyObject *resultobj;
2036 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2037 int arg2 ;
2038 PyObject * obj0 = 0 ;
994141e6 2039 PyObject * obj1 = 0 ;
d14a1e28
RD
2040 char *kwnames[] = {
2041 (char *) "self",(char *) "precision", NULL
2042 };
2043
994141e6 2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2047 arg2 = (int) SWIG_AsInt(obj1);
2048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2049 {
2050 PyThreadState* __tstate = wxPyBeginAllowThreads();
2051 (arg1)->SetPrecision(arg2);
2052
2053 wxPyEndAllowThreads(__tstate);
2054 if (PyErr_Occurred()) SWIG_fail;
2055 }
2056 Py_INCREF(Py_None); resultobj = Py_None;
2057 return resultobj;
2058 fail:
2059 return NULL;
2060}
2061
2062
2063static PyObject * GridCellFloatRenderer_swigregister(PyObject *self, PyObject *args) {
2064 PyObject *obj;
2065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2066 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
2067 Py_INCREF(obj);
2068 return Py_BuildValue((char *)"");
2069}
2070static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2071 PyObject *resultobj;
2072 wxGridCellBoolRenderer *result;
2073 char *kwnames[] = {
2074 NULL
2075 };
2076
2077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
2078 {
2079 PyThreadState* __tstate = wxPyBeginAllowThreads();
2080 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
2081
2082 wxPyEndAllowThreads(__tstate);
2083 if (PyErr_Occurred()) SWIG_fail;
2084 }
15afbcd0 2085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolRenderer, 1);
d14a1e28
RD
2086 return resultobj;
2087 fail:
2088 return NULL;
2089}
2090
2091
2092static PyObject * GridCellBoolRenderer_swigregister(PyObject *self, PyObject *args) {
2093 PyObject *obj;
2094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2095 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
2096 Py_INCREF(obj);
2097 return Py_BuildValue((char *)"");
2098}
2099static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2100 PyObject *resultobj;
2101 wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
2102 wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
2103 wxGridCellDateTimeRenderer *result;
d14a1e28
RD
2104 PyObject * obj0 = 0 ;
2105 PyObject * obj1 = 0 ;
2106 char *kwnames[] = {
2107 (char *) "outformat",(char *) "informat", NULL
2108 };
2109
2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
2111 if (obj0) {
e811c8ce
RD
2112 {
2113 wxString* sptr = wxString_in_helper(obj0);
2114 if (sptr == NULL) SWIG_fail;
2115 arg1 = *sptr;
2116 delete sptr;
2117 }
d14a1e28
RD
2118 }
2119 if (obj1) {
e811c8ce
RD
2120 {
2121 wxString* sptr = wxString_in_helper(obj1);
2122 if (sptr == NULL) SWIG_fail;
2123 arg2 = *sptr;
2124 delete sptr;
2125 }
d14a1e28
RD
2126 }
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
15afbcd0 2134 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
d14a1e28
RD
2135 return resultobj;
2136 fail:
2137 return NULL;
2138}
2139
2140
2141static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *self, PyObject *args) {
2142 PyObject *obj;
2143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2144 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
2145 Py_INCREF(obj);
2146 return Py_BuildValue((char *)"");
2147}
2148static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2149 PyObject *resultobj;
2150 wxString const &arg1_defvalue = wxPyEmptyString ;
2151 wxString *arg1 = (wxString *) &arg1_defvalue ;
2152 wxGridCellEnumRenderer *result;
e811c8ce 2153 bool temp1 = False ;
d14a1e28
RD
2154 PyObject * obj0 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "choices", NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
2160 if (obj0) {
2161 {
2162 arg1 = wxString_in_helper(obj0);
2163 if (arg1 == NULL) SWIG_fail;
e811c8ce 2164 temp1 = True;
d14a1e28
RD
2165 }
2166 }
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
15afbcd0 2174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumRenderer, 1);
d14a1e28
RD
2175 {
2176 if (temp1)
2177 delete arg1;
2178 }
2179 return resultobj;
2180 fail:
2181 {
2182 if (temp1)
2183 delete arg1;
2184 }
2185 return NULL;
2186}
2187
2188
2189static PyObject * GridCellEnumRenderer_swigregister(PyObject *self, PyObject *args) {
2190 PyObject *obj;
2191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2192 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
2193 Py_INCREF(obj);
2194 return Py_BuildValue((char *)"");
2195}
2196static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 wxGridCellAutoWrapStringRenderer *result;
2199 char *kwnames[] = {
2200 NULL
2201 };
2202
2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
2204 {
2205 PyThreadState* __tstate = wxPyBeginAllowThreads();
2206 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
2207
2208 wxPyEndAllowThreads(__tstate);
2209 if (PyErr_Occurred()) SWIG_fail;
2210 }
15afbcd0 2211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
d14a1e28
RD
2212 return resultobj;
2213 fail:
2214 return NULL;
2215}
2216
2217
2218static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *self, PyObject *args) {
2219 PyObject *obj;
2220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2221 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
2222 Py_INCREF(obj);
2223 return Py_BuildValue((char *)"");
2224}
2225static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2226 PyObject *resultobj;
2227 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2228 PyObject *arg2 = (PyObject *) 0 ;
2229 PyObject * obj0 = 0 ;
2230 PyObject * obj1 = 0 ;
2231 char *kwnames[] = {
2232 (char *) "self",(char *) "_self", NULL
2233 };
2234
2235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2238 arg2 = obj1;
2239 {
2240 PyThreadState* __tstate = wxPyBeginAllowThreads();
2241 wxGridCellEditor__setOORInfo(arg1,arg2);
2242
2243 wxPyEndAllowThreads(__tstate);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 Py_INCREF(Py_None); resultobj = Py_None;
2247 return resultobj;
2248 fail:
2249 return NULL;
2250}
2251
2252
2253static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
2254 PyObject *resultobj;
2255 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2256 bool result;
2257 PyObject * obj0 = 0 ;
2258 char *kwnames[] = {
2259 (char *) "self", NULL
2260 };
2261
2262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
15afbcd0
RD
2263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 result = (bool)(arg1)->IsCreated();
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
4d5c3d91 2272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2273 return resultobj;
2274 fail:
2275 return NULL;
2276}
2277
2278
2279static PyObject *_wrap_GridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject *resultobj;
2281 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2282 wxControl *result;
2283 PyObject * obj0 = 0 ;
2284 char *kwnames[] = {
2285 (char *) "self", NULL
2286 };
2287
2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
2289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2291 {
2292 PyThreadState* __tstate = wxPyBeginAllowThreads();
2293 result = (wxControl *)(arg1)->GetControl();
2294
2295 wxPyEndAllowThreads(__tstate);
2296 if (PyErr_Occurred()) SWIG_fail;
2297 }
2298 {
2299 resultobj = wxPyMake_wxObject(result);
2300 }
2301 return resultobj;
2302 fail:
2303 return NULL;
2304}
2305
2306
2307static PyObject *_wrap_GridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2308 PyObject *resultobj;
2309 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2310 wxControl *arg2 = (wxControl *) 0 ;
2311 PyObject * obj0 = 0 ;
2312 PyObject * obj1 = 0 ;
2313 char *kwnames[] = {
2314 (char *) "self",(char *) "control", NULL
2315 };
2316
2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
2321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2322 {
2323 PyThreadState* __tstate = wxPyBeginAllowThreads();
2324 (arg1)->SetControl(arg2);
2325
2326 wxPyEndAllowThreads(__tstate);
2327 if (PyErr_Occurred()) SWIG_fail;
2328 }
2329 Py_INCREF(Py_None); resultobj = Py_None;
2330 return resultobj;
2331 fail:
2332 return NULL;
2333}
2334
2335
2336static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2337 PyObject *resultobj;
2338 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2339 wxGridCellAttr *result;
2340 PyObject * obj0 = 0 ;
2341 char *kwnames[] = {
2342 (char *) "self", NULL
2343 };
2344
2345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
15afbcd0
RD
2346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2348 {
2349 PyThreadState* __tstate = wxPyBeginAllowThreads();
2350 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
2351
2352 wxPyEndAllowThreads(__tstate);
2353 if (PyErr_Occurred()) SWIG_fail;
2354 }
2355 {
2356 resultobj = wxPyMake_wxGridCellAttr(result);
2357 }
2358 return resultobj;
2359 fail:
2360 return NULL;
2361}
2362
2363
2364static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2365 PyObject *resultobj;
2366 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2367 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
2368 PyObject * obj0 = 0 ;
2369 PyObject * obj1 = 0 ;
2370 char *kwnames[] = {
2371 (char *) "self",(char *) "attr", NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
2378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2379 {
2380 PyThreadState* __tstate = wxPyBeginAllowThreads();
2381 (arg1)->SetCellAttr(arg2);
2382
2383 wxPyEndAllowThreads(__tstate);
2384 if (PyErr_Occurred()) SWIG_fail;
2385 }
2386 Py_INCREF(Py_None); resultobj = Py_None;
2387 return resultobj;
2388 fail:
2389 return NULL;
2390}
2391
2392
2393static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2394 PyObject *resultobj;
2395 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2396 wxString *arg2 = 0 ;
e811c8ce 2397 bool temp2 = False ;
d14a1e28
RD
2398 PyObject * obj0 = 0 ;
2399 PyObject * obj1 = 0 ;
2400 char *kwnames[] = {
2401 (char *) "self",(char *) "params", NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2407 {
2408 arg2 = wxString_in_helper(obj1);
2409 if (arg2 == NULL) SWIG_fail;
e811c8ce 2410 temp2 = True;
d14a1e28
RD
2411 }
2412 {
2413 PyThreadState* __tstate = wxPyBeginAllowThreads();
2414 (arg1)->SetParameters((wxString const &)*arg2);
2415
2416 wxPyEndAllowThreads(__tstate);
2417 if (PyErr_Occurred()) SWIG_fail;
2418 }
2419 Py_INCREF(Py_None); resultobj = Py_None;
2420 {
2421 if (temp2)
2422 delete arg2;
2423 }
2424 return resultobj;
2425 fail:
2426 {
2427 if (temp2)
2428 delete arg2;
2429 }
2430 return NULL;
2431}
2432
2433
2434static PyObject *_wrap_GridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2435 PyObject *resultobj;
2436 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2437 PyObject * obj0 = 0 ;
2438 char *kwnames[] = {
2439 (char *) "self", NULL
2440 };
2441
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
2443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2445 {
2446 PyThreadState* __tstate = wxPyBeginAllowThreads();
2447 (arg1)->IncRef();
2448
2449 wxPyEndAllowThreads(__tstate);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 }
2452 Py_INCREF(Py_None); resultobj = Py_None;
2453 return resultobj;
2454 fail:
2455 return NULL;
2456}
2457
2458
2459static PyObject *_wrap_GridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2460 PyObject *resultobj;
2461 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2462 PyObject * obj0 = 0 ;
2463 char *kwnames[] = {
2464 (char *) "self", NULL
2465 };
2466
2467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
2468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2470 {
2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
2472 (arg1)->DecRef();
2473
2474 wxPyEndAllowThreads(__tstate);
2475 if (PyErr_Occurred()) SWIG_fail;
2476 }
2477 Py_INCREF(Py_None); resultobj = Py_None;
2478 return resultobj;
2479 fail:
2480 return NULL;
2481}
2482
2483
2484static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2485 PyObject *resultobj;
2486 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2487 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2488 int arg3 ;
d14a1e28
RD
2489 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
2490 PyObject * obj0 = 0 ;
2491 PyObject * obj1 = 0 ;
994141e6 2492 PyObject * obj2 = 0 ;
d14a1e28
RD
2493 PyObject * obj3 = 0 ;
2494 char *kwnames[] = {
2495 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2496 };
2497
994141e6 2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2503 arg3 = (int) SWIG_AsInt(obj2);
2504 if (PyErr_Occurred()) SWIG_fail;
2505 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxEvtHandler,
2506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2507 {
2508 PyThreadState* __tstate = wxPyBeginAllowThreads();
2509 (arg1)->Create(arg2,arg3,arg4);
2510
2511 wxPyEndAllowThreads(__tstate);
2512 if (PyErr_Occurred()) SWIG_fail;
2513 }
2514 Py_INCREF(Py_None); resultobj = Py_None;
2515 return resultobj;
2516 fail:
2517 return NULL;
2518}
2519
2520
2521static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2522 PyObject *resultobj;
2523 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2524 int arg2 ;
2525 int arg3 ;
2526 wxGrid *arg4 = (wxGrid *) 0 ;
2527 PyObject * obj0 = 0 ;
994141e6
RD
2528 PyObject * obj1 = 0 ;
2529 PyObject * obj2 = 0 ;
d14a1e28
RD
2530 PyObject * obj3 = 0 ;
2531 char *kwnames[] = {
2532 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2533 };
2534
994141e6 2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2538 arg2 = (int) SWIG_AsInt(obj1);
2539 if (PyErr_Occurred()) SWIG_fail;
2540 arg3 = (int) SWIG_AsInt(obj2);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2544 {
2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
2546 (arg1)->BeginEdit(arg2,arg3,arg4);
2547
2548 wxPyEndAllowThreads(__tstate);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 }
2551 Py_INCREF(Py_None); resultobj = Py_None;
2552 return resultobj;
2553 fail:
2554 return NULL;
2555}
2556
2557
2558static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2559 PyObject *resultobj;
2560 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2561 int arg2 ;
2562 int arg3 ;
2563 wxGrid *arg4 = (wxGrid *) 0 ;
2564 bool result;
2565 PyObject * obj0 = 0 ;
994141e6
RD
2566 PyObject * obj1 = 0 ;
2567 PyObject * obj2 = 0 ;
d14a1e28
RD
2568 PyObject * obj3 = 0 ;
2569 char *kwnames[] = {
2570 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2571 };
2572
994141e6 2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_EndEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2576 arg2 = (int) SWIG_AsInt(obj1);
2577 if (PyErr_Occurred()) SWIG_fail;
2578 arg3 = (int) SWIG_AsInt(obj2);
2579 if (PyErr_Occurred()) SWIG_fail;
2580 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2582 {
2583 PyThreadState* __tstate = wxPyBeginAllowThreads();
2584 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
2585
2586 wxPyEndAllowThreads(__tstate);
2587 if (PyErr_Occurred()) SWIG_fail;
2588 }
4d5c3d91 2589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2590 return resultobj;
2591 fail:
2592 return NULL;
2593}
2594
2595
2596static PyObject *_wrap_GridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2597 PyObject *resultobj;
2598 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2599 PyObject * obj0 = 0 ;
2600 char *kwnames[] = {
2601 (char *) "self", NULL
2602 };
2603
2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
15afbcd0
RD
2605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 (arg1)->Reset();
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 Py_INCREF(Py_None); resultobj = Py_None;
2615 return resultobj;
2616 fail:
2617 return NULL;
2618}
2619
2620
2621static PyObject *_wrap_GridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2622 PyObject *resultobj;
2623 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2624 wxGridCellEditor *result;
2625 PyObject * obj0 = 0 ;
2626 char *kwnames[] = {
2627 (char *) "self", NULL
2628 };
2629
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
2631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 {
2641 resultobj = wxPyMake_wxGridCellEditor(result);
2642 }
2643 return resultobj;
2644 fail:
2645 return NULL;
2646}
2647
2648
2649static PyObject *_wrap_GridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2650 PyObject *resultobj;
2651 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2652 wxRect *arg2 = 0 ;
2653 wxRect temp2 ;
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
2656 char *kwnames[] = {
2657 (char *) "self",(char *) "rect", NULL
2658 };
2659
2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2663 {
2664 arg2 = &temp2;
2665 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2666 }
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 (arg1)->SetSize((wxRect const &)*arg2);
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 Py_INCREF(Py_None); resultobj = Py_None;
2675 return resultobj;
2676 fail:
2677 return NULL;
2678}
2679
2680
2681static PyObject *_wrap_GridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject *resultobj;
2683 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2684 bool arg2 ;
2685 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2686 PyObject * obj0 = 0 ;
2687 PyObject * obj1 = 0 ;
2688 PyObject * obj2 = 0 ;
2689 char *kwnames[] = {
2690 (char *) "self",(char *) "show",(char *) "attr", NULL
2691 };
2692
2693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2696 arg2 = (bool) SWIG_AsBool(obj1);
2697 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2698 if (obj2) {
15afbcd0
RD
2699 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2701 }
2702 {
2703 PyThreadState* __tstate = wxPyBeginAllowThreads();
2704 (arg1)->Show(arg2,arg3);
2705
2706 wxPyEndAllowThreads(__tstate);
2707 if (PyErr_Occurred()) SWIG_fail;
2708 }
2709 Py_INCREF(Py_None); resultobj = Py_None;
2710 return resultobj;
2711 fail:
2712 return NULL;
2713}
2714
2715
2716static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2717 PyObject *resultobj;
2718 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2719 wxRect *arg2 = 0 ;
2720 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2721 wxRect temp2 ;
2722 PyObject * obj0 = 0 ;
2723 PyObject * obj1 = 0 ;
2724 PyObject * obj2 = 0 ;
2725 char *kwnames[] = {
2726 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2727 };
2728
2729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2732 {
2733 arg2 = &temp2;
2734 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2735 }
15afbcd0
RD
2736 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2738 {
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
2741
2742 wxPyEndAllowThreads(__tstate);
2743 if (PyErr_Occurred()) SWIG_fail;
2744 }
2745 Py_INCREF(Py_None); resultobj = Py_None;
2746 return resultobj;
2747 fail:
2748 return NULL;
2749}
2750
2751
2752static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2753 PyObject *resultobj;
2754 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2755 wxKeyEvent *arg2 = 0 ;
2756 bool result;
2757 PyObject * obj0 = 0 ;
2758 PyObject * obj1 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "self",(char *) "event", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2767 SWIG_POINTER_EXCEPTION | 0)) == -1)
2768 SWIG_fail;
d14a1e28 2769 if (arg2 == NULL) {
15afbcd0
RD
2770 PyErr_SetString(PyExc_TypeError,"null reference");
2771 SWIG_fail;
d14a1e28
RD
2772 }
2773 {
2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
2775 result = (bool)(arg1)->IsAcceptedKey(*arg2);
2776
2777 wxPyEndAllowThreads(__tstate);
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
4d5c3d91 2780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2781 return resultobj;
2782 fail:
2783 return NULL;
2784}
2785
2786
2787static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2788 PyObject *resultobj;
2789 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2790 wxKeyEvent *arg2 = 0 ;
2791 PyObject * obj0 = 0 ;
2792 PyObject * obj1 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self",(char *) "event", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2801 SWIG_POINTER_EXCEPTION | 0)) == -1)
2802 SWIG_fail;
d14a1e28 2803 if (arg2 == NULL) {
15afbcd0
RD
2804 PyErr_SetString(PyExc_TypeError,"null reference");
2805 SWIG_fail;
d14a1e28
RD
2806 }
2807 {
2808 PyThreadState* __tstate = wxPyBeginAllowThreads();
2809 (arg1)->StartingKey(*arg2);
2810
2811 wxPyEndAllowThreads(__tstate);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
2814 Py_INCREF(Py_None); resultobj = Py_None;
2815 return resultobj;
2816 fail:
2817 return NULL;
2818}
2819
2820
2821static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2822 PyObject *resultobj;
2823 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2824 PyObject * obj0 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
2830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2832 {
2833 PyThreadState* __tstate = wxPyBeginAllowThreads();
2834 (arg1)->StartingClick();
2835
2836 wxPyEndAllowThreads(__tstate);
2837 if (PyErr_Occurred()) SWIG_fail;
2838 }
2839 Py_INCREF(Py_None); resultobj = Py_None;
2840 return resultobj;
2841 fail:
2842 return NULL;
2843}
2844
2845
2846static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2847 PyObject *resultobj;
2848 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2849 wxKeyEvent *arg2 = 0 ;
2850 PyObject * obj0 = 0 ;
2851 PyObject * obj1 = 0 ;
2852 char *kwnames[] = {
2853 (char *) "self",(char *) "event", NULL
2854 };
2855
2856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2860 SWIG_POINTER_EXCEPTION | 0)) == -1)
2861 SWIG_fail;
d14a1e28 2862 if (arg2 == NULL) {
15afbcd0
RD
2863 PyErr_SetString(PyExc_TypeError,"null reference");
2864 SWIG_fail;
d14a1e28
RD
2865 }
2866 {
2867 PyThreadState* __tstate = wxPyBeginAllowThreads();
2868 (arg1)->HandleReturn(*arg2);
2869
2870 wxPyEndAllowThreads(__tstate);
2871 if (PyErr_Occurred()) SWIG_fail;
2872 }
2873 Py_INCREF(Py_None); resultobj = Py_None;
2874 return resultobj;
2875 fail:
2876 return NULL;
2877}
2878
2879
2880static PyObject *_wrap_GridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2881 PyObject *resultobj;
2882 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2883 PyObject * obj0 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "self", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
2889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2891 {
2892 PyThreadState* __tstate = wxPyBeginAllowThreads();
2893 (arg1)->Destroy();
2894
2895 wxPyEndAllowThreads(__tstate);
2896 if (PyErr_Occurred()) SWIG_fail;
2897 }
2898 Py_INCREF(Py_None); resultobj = Py_None;
2899 return resultobj;
2900 fail:
2901 return NULL;
2902}
2903
2904
2905static PyObject * GridCellEditor_swigregister(PyObject *self, PyObject *args) {
2906 PyObject *obj;
2907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2908 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
2909 Py_INCREF(obj);
2910 return Py_BuildValue((char *)"");
2911}
2912static PyObject *_wrap_new_PyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2913 PyObject *resultobj;
2914 wxPyGridCellEditor *result;
2915 char *kwnames[] = {
2916 NULL
2917 };
2918
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
2920 {
2921 PyThreadState* __tstate = wxPyBeginAllowThreads();
2922 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
2923
2924 wxPyEndAllowThreads(__tstate);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
15afbcd0 2927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellEditor, 1);
d14a1e28
RD
2928 return resultobj;
2929 fail:
2930 return NULL;
2931}
2932
2933
2934static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2937 PyObject *arg2 = (PyObject *) 0 ;
2938 PyObject *arg3 = (PyObject *) 0 ;
2939 PyObject * obj0 = 0 ;
2940 PyObject * obj1 = 0 ;
2941 PyObject * obj2 = 0 ;
2942 char *kwnames[] = {
2943 (char *) "self",(char *) "self",(char *) "_class", NULL
2944 };
2945
2946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
2948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2949 arg2 = obj1;
2950 arg3 = obj2;
2951 {
2952 PyThreadState* __tstate = wxPyBeginAllowThreads();
2953 (arg1)->_setCallbackInfo(arg2,arg3);
2954
2955 wxPyEndAllowThreads(__tstate);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 Py_INCREF(Py_None); resultobj = Py_None;
2959 return resultobj;
2960 fail:
2961 return NULL;
2962}
2963
2964
2965static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2966 PyObject *resultobj;
2967 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2968 wxRect *arg2 = 0 ;
2969 wxRect temp2 ;
2970 PyObject * obj0 = 0 ;
2971 PyObject * obj1 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "self",(char *) "rect", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
2978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2979 {
2980 arg2 = &temp2;
2981 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2982 }
2983 {
2984 PyThreadState* __tstate = wxPyBeginAllowThreads();
2985 (arg1)->base_SetSize((wxRect const &)*arg2);
2986
2987 wxPyEndAllowThreads(__tstate);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 Py_INCREF(Py_None); resultobj = Py_None;
2991 return resultobj;
2992 fail:
2993 return NULL;
2994}
2995
2996
2997static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2998 PyObject *resultobj;
2999 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3000 bool arg2 ;
3001 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
3002 PyObject * obj0 = 0 ;
3003 PyObject * obj1 = 0 ;
3004 PyObject * obj2 = 0 ;
3005 char *kwnames[] = {
3006 (char *) "self",(char *) "show",(char *) "attr", NULL
3007 };
3008
3009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3012 arg2 = (bool) SWIG_AsBool(obj1);
3013 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3014 if (obj2) {
15afbcd0
RD
3015 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3017 }
3018 {
3019 PyThreadState* __tstate = wxPyBeginAllowThreads();
3020 (arg1)->base_Show(arg2,arg3);
3021
3022 wxPyEndAllowThreads(__tstate);
3023 if (PyErr_Occurred()) SWIG_fail;
3024 }
3025 Py_INCREF(Py_None); resultobj = Py_None;
3026 return resultobj;
3027 fail:
3028 return NULL;
3029}
3030
3031
3032static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3033 PyObject *resultobj;
3034 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3035 wxRect *arg2 = 0 ;
3036 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
3037 wxRect temp2 ;
3038 PyObject * obj0 = 0 ;
3039 PyObject * obj1 = 0 ;
3040 PyObject * obj2 = 0 ;
3041 char *kwnames[] = {
3042 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3043 };
3044
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3048 {
3049 arg2 = &temp2;
3050 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3051 }
15afbcd0
RD
3052 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3);
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 Py_INCREF(Py_None); resultobj = Py_None;
3062 return resultobj;
3063 fail:
3064 return NULL;
3065}
3066
3067
3068static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3069 PyObject *resultobj;
3070 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3071 wxKeyEvent *arg2 = 0 ;
3072 bool result;
3073 PyObject * obj0 = 0 ;
3074 PyObject * obj1 = 0 ;
3075 char *kwnames[] = {
3076 (char *) "self",(char *) "event", NULL
3077 };
3078
3079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3083 SWIG_POINTER_EXCEPTION | 0)) == -1)
3084 SWIG_fail;
d14a1e28 3085 if (arg2 == NULL) {
15afbcd0
RD
3086 PyErr_SetString(PyExc_TypeError,"null reference");
3087 SWIG_fail;
d14a1e28
RD
3088 }
3089 {
3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
3091 result = (bool)(arg1)->base_IsAcceptedKey(*arg2);
3092
3093 wxPyEndAllowThreads(__tstate);
3094 if (PyErr_Occurred()) SWIG_fail;
3095 }
4d5c3d91 3096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3097 return resultobj;
3098 fail:
3099 return NULL;
3100}
3101
3102
3103static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3104 PyObject *resultobj;
3105 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3106 wxKeyEvent *arg2 = 0 ;
3107 PyObject * obj0 = 0 ;
3108 PyObject * obj1 = 0 ;
3109 char *kwnames[] = {
3110 (char *) "self",(char *) "event", NULL
3111 };
3112
3113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3117 SWIG_POINTER_EXCEPTION | 0)) == -1)
3118 SWIG_fail;
d14a1e28 3119 if (arg2 == NULL) {
15afbcd0
RD
3120 PyErr_SetString(PyExc_TypeError,"null reference");
3121 SWIG_fail;
d14a1e28
RD
3122 }
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 (arg1)->base_StartingKey(*arg2);
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 Py_INCREF(Py_None); resultobj = Py_None;
3131 return resultobj;
3132 fail:
3133 return NULL;
3134}
3135
3136
3137static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3138 PyObject *resultobj;
3139 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3140 PyObject * obj0 = 0 ;
3141 char *kwnames[] = {
3142 (char *) "self", NULL
3143 };
3144
3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
3146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3148 {
3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
3150 (arg1)->base_StartingClick();
3151
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 Py_INCREF(Py_None); resultobj = Py_None;
3156 return resultobj;
3157 fail:
3158 return NULL;
3159}
3160
3161
3162static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
3163 PyObject *resultobj;
3164 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3165 wxKeyEvent *arg2 = 0 ;
3166 PyObject * obj0 = 0 ;
3167 PyObject * obj1 = 0 ;
3168 char *kwnames[] = {
3169 (char *) "self",(char *) "event", NULL
3170 };
3171
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3176 SWIG_POINTER_EXCEPTION | 0)) == -1)
3177 SWIG_fail;
d14a1e28 3178 if (arg2 == NULL) {
15afbcd0
RD
3179 PyErr_SetString(PyExc_TypeError,"null reference");
3180 SWIG_fail;
d14a1e28
RD
3181 }
3182 {
3183 PyThreadState* __tstate = wxPyBeginAllowThreads();
3184 (arg1)->base_HandleReturn(*arg2);
3185
3186 wxPyEndAllowThreads(__tstate);
3187 if (PyErr_Occurred()) SWIG_fail;
3188 }
3189 Py_INCREF(Py_None); resultobj = Py_None;
3190 return resultobj;
3191 fail:
3192 return NULL;
3193}
3194
3195
3196static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
3197 PyObject *resultobj;
3198 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3199 PyObject * obj0 = 0 ;
3200 char *kwnames[] = {
3201 (char *) "self", NULL
3202 };
3203
3204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
3205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 (arg1)->base_Destroy();
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 Py_INCREF(Py_None); resultobj = Py_None;
3215 return resultobj;
3216 fail:
3217 return NULL;
3218}
3219
3220
3221static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
3222 PyObject *resultobj;
3223 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3224 wxString *arg2 = 0 ;
e811c8ce 3225 bool temp2 = False ;
d14a1e28
RD
3226 PyObject * obj0 = 0 ;
3227 PyObject * obj1 = 0 ;
3228 char *kwnames[] = {
3229 (char *) "self",(char *) "params", NULL
3230 };
3231
3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3235 {
3236 arg2 = wxString_in_helper(obj1);
3237 if (arg2 == NULL) SWIG_fail;
e811c8ce 3238 temp2 = True;
d14a1e28
RD
3239 }
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 (arg1)->base_SetParameters((wxString const &)*arg2);
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 Py_INCREF(Py_None); resultobj = Py_None;
3248 {
3249 if (temp2)
3250 delete arg2;
3251 }
3252 return resultobj;
3253 fail:
3254 {
3255 if (temp2)
3256 delete arg2;
3257 }
3258 return NULL;
3259}
3260
3261
3262static PyObject * PyGridCellEditor_swigregister(PyObject *self, PyObject *args) {
3263 PyObject *obj;
3264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3265 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
3266 Py_INCREF(obj);
3267 return Py_BuildValue((char *)"");
3268}
3269static PyObject *_wrap_new_GridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3270 PyObject *resultobj;
3271 wxGridCellTextEditor *result;
3272 char *kwnames[] = {
3273 NULL
3274 };
3275
3276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
3277 {
3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
3279 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
15afbcd0 3284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellTextEditor, 1);
d14a1e28
RD
3285 return resultobj;
3286 fail:
3287 return NULL;
3288}
3289
3290
3291static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3292 PyObject *resultobj;
3293 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
3294 wxString result;
3295 PyObject * obj0 = 0 ;
3296 char *kwnames[] = {
3297 (char *) "self", NULL
3298 };
3299
3300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellTextEditor,
3302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3303 {
3304 PyThreadState* __tstate = wxPyBeginAllowThreads();
3305 result = (arg1)->GetValue();
3306
3307 wxPyEndAllowThreads(__tstate);
3308 if (PyErr_Occurred()) SWIG_fail;
3309 }
3310 {
3311#if wxUSE_UNICODE
3312 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3313#else
3314 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3315#endif
3316 }
3317 return resultobj;
3318 fail:
3319 return NULL;
3320}
3321
3322
3323static PyObject * GridCellTextEditor_swigregister(PyObject *self, PyObject *args) {
3324 PyObject *obj;
3325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3326 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
3327 Py_INCREF(obj);
3328 return Py_BuildValue((char *)"");
3329}
3330static PyObject *_wrap_new_GridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 int arg1 = (int) -1 ;
3333 int arg2 = (int) -1 ;
3334 wxGridCellNumberEditor *result;
994141e6
RD
3335 PyObject * obj0 = 0 ;
3336 PyObject * obj1 = 0 ;
d14a1e28
RD
3337 char *kwnames[] = {
3338 (char *) "min",(char *) "max", NULL
3339 };
3340
994141e6
RD
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail;
3342 if (obj0) {
15afbcd0
RD
3343 arg1 = (int) SWIG_AsInt(obj0);
3344 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3345 }
3346 if (obj1) {
15afbcd0
RD
3347 arg2 = (int) SWIG_AsInt(obj1);
3348 if (PyErr_Occurred()) SWIG_fail;
994141e6 3349 }
d14a1e28
RD
3350 {
3351 PyThreadState* __tstate = wxPyBeginAllowThreads();
3352 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
3353
3354 wxPyEndAllowThreads(__tstate);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 }
15afbcd0 3357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberEditor, 1);
d14a1e28
RD
3358 return resultobj;
3359 fail:
3360 return NULL;
3361}
3362
3363
3364static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3365 PyObject *resultobj;
3366 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
3367 wxString result;
3368 PyObject * obj0 = 0 ;
3369 char *kwnames[] = {
3370 (char *) "self", NULL
3371 };
3372
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellNumberEditor,
3375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 result = (arg1)->GetValue();
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 {
3384#if wxUSE_UNICODE
3385 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3386#else
3387 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3388#endif
3389 }
3390 return resultobj;
3391 fail:
3392 return NULL;
3393}
3394
3395
3396static PyObject * GridCellNumberEditor_swigregister(PyObject *self, PyObject *args) {
3397 PyObject *obj;
3398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3399 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
3400 Py_INCREF(obj);
3401 return Py_BuildValue((char *)"");
3402}
3403static PyObject *_wrap_new_GridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3404 PyObject *resultobj;
3405 wxGridCellFloatEditor *result;
3406 char *kwnames[] = {
3407 NULL
3408 };
3409
3410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellFloatEditor",kwnames)) goto fail;
3411 {
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor();
3414
3415 wxPyEndAllowThreads(__tstate);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
15afbcd0 3418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatEditor, 1);
d14a1e28
RD
3419 return resultobj;
3420 fail:
3421 return NULL;
3422}
3423
3424
3425static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj;
3427 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3428 wxString result;
3429 PyObject * obj0 = 0 ;
3430 char *kwnames[] = {
3431 (char *) "self", NULL
3432 };
3433
3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatEditor,
3436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 result = (arg1)->GetValue();
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 {
3445#if wxUSE_UNICODE
3446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3447#else
3448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3449#endif
3450 }
3451 return resultobj;
3452 fail:
3453 return NULL;
3454}
3455
3456
3457static PyObject * GridCellFloatEditor_swigregister(PyObject *self, PyObject *args) {
3458 PyObject *obj;
3459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3460 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3461 Py_INCREF(obj);
3462 return Py_BuildValue((char *)"");
3463}
3464static PyObject *_wrap_new_GridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3465 PyObject *resultobj;
3466 wxGridCellBoolEditor *result;
3467 char *kwnames[] = {
3468 NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
15afbcd0 3479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolEditor, 1);
d14a1e28
RD
3480 return resultobj;
3481 fail:
3482 return NULL;
3483}
3484
3485
3486static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3487 PyObject *resultobj;
3488 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3489 wxString result;
3490 PyObject * obj0 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellBoolEditor,
3497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3498 {
3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
3500 result = (arg1)->GetValue();
3501
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 {
3506#if wxUSE_UNICODE
3507 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3508#else
3509 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3510#endif
3511 }
3512 return resultobj;
3513 fail:
3514 return NULL;
3515}
3516
3517
3518static PyObject * GridCellBoolEditor_swigregister(PyObject *self, PyObject *args) {
3519 PyObject *obj;
3520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3521 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3522 Py_INCREF(obj);
3523 return Py_BuildValue((char *)"");
3524}
3525static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3526 PyObject *resultobj;
3527 int arg1 = (int) 0 ;
3528 wxString *arg2 = (wxString *) NULL ;
e811c8ce 3529 bool arg3 = (bool) False ;
d14a1e28 3530 wxGridCellChoiceEditor *result;
7722248d 3531 PyObject * obj0 = 0 ;
d14a1e28 3532 PyObject * obj1 = 0 ;
d14a1e28 3533 char *kwnames[] = {
7722248d 3534 (char *) "choices",(char *) "allowOthers", NULL
d14a1e28
RD
3535 };
3536
7722248d
RD
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
3538 if (obj0) {
3539 {
3540 arg1 = PyList_Size(obj0);
3541 arg2 = wxString_LIST_helper(obj0);
3542 if (arg2 == NULL) SWIG_fail;
3543 }
d14a1e28 3544 }
7722248d 3545 if (obj1) {
15afbcd0
RD
3546 arg3 = (bool) SWIG_AsBool(obj1);
3547 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3548 }
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3552
3553 wxPyEndAllowThreads(__tstate);
3554 if (PyErr_Occurred()) SWIG_fail;
3555 }
15afbcd0 3556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellChoiceEditor, 1);
7722248d
RD
3557 {
3558 if (arg2) delete [] arg2;
3559 }
d14a1e28
RD
3560 return resultobj;
3561 fail:
7722248d
RD
3562 {
3563 if (arg2) delete [] arg2;
3564 }
d14a1e28
RD
3565 return NULL;
3566}
3567
3568
3569static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject *resultobj;
3571 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3572 wxString result;
3573 PyObject * obj0 = 0 ;
3574 char *kwnames[] = {
3575 (char *) "self", NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellChoiceEditor,
3580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = (arg1)->GetValue();
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 {
3589#if wxUSE_UNICODE
3590 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3591#else
3592 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3593#endif
3594 }
3595 return resultobj;
3596 fail:
3597 return NULL;
3598}
3599
3600
3601static PyObject * GridCellChoiceEditor_swigregister(PyObject *self, PyObject *args) {
3602 PyObject *obj;
3603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3604 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3605 Py_INCREF(obj);
3606 return Py_BuildValue((char *)"");
3607}
3608static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3609 PyObject *resultobj;
3610 wxString const &arg1_defvalue = wxPyEmptyString ;
3611 wxString *arg1 = (wxString *) &arg1_defvalue ;
3612 wxGridCellEnumEditor *result;
e811c8ce 3613 bool temp1 = False ;
d14a1e28
RD
3614 PyObject * obj0 = 0 ;
3615 char *kwnames[] = {
3616 (char *) "choices", NULL
3617 };
3618
3619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3620 if (obj0) {
3621 {
3622 arg1 = wxString_in_helper(obj0);
3623 if (arg1 == NULL) SWIG_fail;
e811c8ce 3624 temp1 = True;
d14a1e28
RD
3625 }
3626 }
3627 {
3628 PyThreadState* __tstate = wxPyBeginAllowThreads();
3629 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3630
3631 wxPyEndAllowThreads(__tstate);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 }
15afbcd0 3634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumEditor, 1);
d14a1e28
RD
3635 {
3636 if (temp1)
3637 delete arg1;
3638 }
3639 return resultobj;
3640 fail:
3641 {
3642 if (temp1)
3643 delete arg1;
3644 }
3645 return NULL;
3646}
3647
3648
3649static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3650 PyObject *resultobj;
3651 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3652 wxString result;
3653 PyObject * obj0 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEnumEditor,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3661 {
3662 PyThreadState* __tstate = wxPyBeginAllowThreads();
3663 result = (arg1)->GetValue();
3664
3665 wxPyEndAllowThreads(__tstate);
3666 if (PyErr_Occurred()) SWIG_fail;
3667 }
3668 {
3669#if wxUSE_UNICODE
3670 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3671#else
3672 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3673#endif
3674 }
3675 return resultobj;
3676 fail:
3677 return NULL;
3678}
3679
3680
3681static PyObject * GridCellEnumEditor_swigregister(PyObject *self, PyObject *args) {
3682 PyObject *obj;
3683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3684 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3685 Py_INCREF(obj);
3686 return Py_BuildValue((char *)"");
3687}
3688static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3689 PyObject *resultobj;
3690 wxGridCellAutoWrapStringEditor *result;
3691 char *kwnames[] = {
3692 NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
3698 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3699
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
15afbcd0 3703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
d14a1e28
RD
3704 return resultobj;
3705 fail:
3706 return NULL;
3707}
3708
3709
3710static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3711 PyObject *resultobj;
3712 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3713 wxString result;
3714 PyObject * obj0 = 0 ;
3715 char *kwnames[] = {
3716 (char *) "self", NULL
3717 };
3718
3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAutoWrapStringEditor,
3721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 result = (arg1)->GetValue();
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 {
3730#if wxUSE_UNICODE
3731 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3732#else
3733 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3734#endif
3735 }
3736 return resultobj;
3737 fail:
3738 return NULL;
3739}
3740
3741
3742static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *self, PyObject *args) {
3743 PyObject *obj;
3744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3745 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3746 Py_INCREF(obj);
3747 return Py_BuildValue((char *)"");
3748}
3749static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3752 PyObject *arg2 = (PyObject *) 0 ;
3753 PyObject * obj0 = 0 ;
3754 PyObject * obj1 = 0 ;
3755 char *kwnames[] = {
3756 (char *) "self",(char *) "_self", NULL
3757 };
3758
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3762 arg2 = obj1;
3763 {
3764 PyThreadState* __tstate = wxPyBeginAllowThreads();
3765 wxGridCellAttr__setOORInfo(arg1,arg2);
3766
3767 wxPyEndAllowThreads(__tstate);
3768 if (PyErr_Occurred()) SWIG_fail;
3769 }
3770 Py_INCREF(Py_None); resultobj = Py_None;
3771 return resultobj;
3772 fail:
3773 return NULL;
3774}
3775
3776
3777static PyObject *_wrap_new_GridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3778 PyObject *resultobj;
3779 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3780 wxGridCellAttr *result;
3781 PyObject * obj0 = 0 ;
3782 char *kwnames[] = {
3783 (char *) "attrDefault", NULL
3784 };
3785
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3787 if (obj0) {
15afbcd0
RD
3788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3790 }
3791 {
3792 PyThreadState* __tstate = wxPyBeginAllowThreads();
3793 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3794
3795 wxPyEndAllowThreads(__tstate);
3796 if (PyErr_Occurred()) SWIG_fail;
3797 }
3798 {
3799 resultobj = wxPyMake_wxGridCellAttr(result);
3800 }
3801 return resultobj;
3802 fail:
3803 return NULL;
3804}
3805
3806
3807static PyObject *_wrap_GridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3808 PyObject *resultobj;
3809 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3810 wxGridCellAttr *result;
3811 PyObject * obj0 = 0 ;
3812 char *kwnames[] = {
3813 (char *) "self", NULL
3814 };
3815
3816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
3817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 {
3827 resultobj = wxPyMake_wxGridCellAttr(result);
3828 }
3829 return resultobj;
3830 fail:
3831 return NULL;
3832}
3833
3834
3835static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3836 PyObject *resultobj;
3837 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3838 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
3839 PyObject * obj0 = 0 ;
3840 PyObject * obj1 = 0 ;
3841 char *kwnames[] = {
3842 (char *) "self",(char *) "mergefrom", NULL
3843 };
3844
3845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3848 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
3849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3850 {
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 (arg1)->MergeWith(arg2);
3853
3854 wxPyEndAllowThreads(__tstate);
3855 if (PyErr_Occurred()) SWIG_fail;
3856 }
3857 Py_INCREF(Py_None); resultobj = Py_None;
3858 return resultobj;
3859 fail:
3860 return NULL;
3861}
3862
3863
3864static PyObject *_wrap_GridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3865 PyObject *resultobj;
3866 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3867 PyObject * obj0 = 0 ;
3868 char *kwnames[] = {
3869 (char *) "self", NULL
3870 };
3871
3872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
3873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 (arg1)->IncRef();
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 Py_INCREF(Py_None); resultobj = Py_None;
3883 return resultobj;
3884 fail:
3885 return NULL;
3886}
3887
3888
3889static PyObject *_wrap_GridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3890 PyObject *resultobj;
3891 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3892 PyObject * obj0 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "self", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
3898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 (arg1)->DecRef();
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 Py_INCREF(Py_None); resultobj = Py_None;
3908 return resultobj;
3909 fail:
3910 return NULL;
3911}
3912
3913
3914static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3917 wxColour *arg2 = 0 ;
3918 wxColour temp2 ;
3919 PyObject * obj0 = 0 ;
3920 PyObject * obj1 = 0 ;
3921 char *kwnames[] = {
3922 (char *) "self",(char *) "colText", NULL
3923 };
3924
3925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3928 {
3929 arg2 = &temp2;
3930 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3931 }
3932 {
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 (arg1)->SetTextColour((wxColour const &)*arg2);
3935
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
3939 Py_INCREF(Py_None); resultobj = Py_None;
3940 return resultobj;
3941 fail:
3942 return NULL;
3943}
3944
3945
3946static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj;
3948 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3949 wxColour *arg2 = 0 ;
3950 wxColour temp2 ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3953 char *kwnames[] = {
3954 (char *) "self",(char *) "colBack", NULL
3955 };
3956
3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3960 {
3961 arg2 = &temp2;
3962 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3963 }
3964 {
3965 PyThreadState* __tstate = wxPyBeginAllowThreads();
3966 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3967
3968 wxPyEndAllowThreads(__tstate);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
3971 Py_INCREF(Py_None); resultobj = Py_None;
3972 return resultobj;
3973 fail:
3974 return NULL;
3975}
3976
3977
3978static PyObject *_wrap_GridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3979 PyObject *resultobj;
3980 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3981 wxFont *arg2 = 0 ;
3982 PyObject * obj0 = 0 ;
3983 PyObject * obj1 = 0 ;
3984 char *kwnames[] = {
3985 (char *) "self",(char *) "font", NULL
3986 };
3987
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
3992 SWIG_POINTER_EXCEPTION | 0)) == -1)
3993 SWIG_fail;
d14a1e28 3994 if (arg2 == NULL) {
15afbcd0
RD
3995 PyErr_SetString(PyExc_TypeError,"null reference");
3996 SWIG_fail;
d14a1e28
RD
3997 }
3998 {
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 (arg1)->SetFont((wxFont const &)*arg2);
4001
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 Py_INCREF(Py_None); resultobj = Py_None;
4006 return resultobj;
4007 fail:
4008 return NULL;
4009}
4010
4011
4012static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4013 PyObject *resultobj;
4014 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4015 int arg2 ;
4016 int arg3 ;
4017 PyObject * obj0 = 0 ;
994141e6
RD
4018 PyObject * obj1 = 0 ;
4019 PyObject * obj2 = 0 ;
d14a1e28
RD
4020 char *kwnames[] = {
4021 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4022 };
4023
994141e6 4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4027 arg2 = (int) SWIG_AsInt(obj1);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 arg3 = (int) SWIG_AsInt(obj2);
4030 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 (arg1)->SetAlignment(arg2,arg3);
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 Py_INCREF(Py_None); resultobj = Py_None;
4039 return resultobj;
4040 fail:
4041 return NULL;
4042}
4043
4044
4045static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj;
4047 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4048 int arg2 ;
4049 int arg3 ;
4050 PyObject * obj0 = 0 ;
994141e6
RD
4051 PyObject * obj1 = 0 ;
4052 PyObject * obj2 = 0 ;
d14a1e28
RD
4053 char *kwnames[] = {
4054 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4055 };
4056
994141e6 4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4060 arg2 = (int) SWIG_AsInt(obj1);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 arg3 = (int) SWIG_AsInt(obj2);
4063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 (arg1)->SetSize(arg2,arg3);
4067
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
4071 Py_INCREF(Py_None); resultobj = Py_None;
4072 return resultobj;
4073 fail:
4074 return NULL;
4075}
4076
4077
4078static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4079 PyObject *resultobj;
4080 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
e811c8ce 4081 bool arg2 = (bool) True ;
d14a1e28
RD
4082 PyObject * obj0 = 0 ;
4083 PyObject * obj1 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self",(char *) "allow", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4091 if (obj1) {
15afbcd0
RD
4092 arg2 = (bool) SWIG_AsBool(obj1);
4093 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4094 }
4095 {
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 (arg1)->SetOverflow(arg2);
4098
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 Py_INCREF(Py_None); resultobj = Py_None;
4103 return resultobj;
4104 fail:
4105 return NULL;
4106}
4107
4108
4109static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4110 PyObject *resultobj;
4111 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
e811c8ce 4112 bool arg2 = (bool) True ;
d14a1e28
RD
4113 PyObject * obj0 = 0 ;
4114 PyObject * obj1 = 0 ;
4115 char *kwnames[] = {
4116 (char *) "self",(char *) "isReadOnly", NULL
4117 };
4118
4119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4122 if (obj1) {
15afbcd0
RD
4123 arg2 = (bool) SWIG_AsBool(obj1);
4124 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4125 }
4126 {
4127 PyThreadState* __tstate = wxPyBeginAllowThreads();
4128 (arg1)->SetReadOnly(arg2);
4129
4130 wxPyEndAllowThreads(__tstate);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 }
4133 Py_INCREF(Py_None); resultobj = Py_None;
4134 return resultobj;
4135 fail:
4136 return NULL;
4137}
4138
4139
4140static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4141 PyObject *resultobj;
4142 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4143 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
4144 PyObject * obj0 = 0 ;
4145 PyObject * obj1 = 0 ;
4146 char *kwnames[] = {
4147 (char *) "self",(char *) "renderer", NULL
4148 };
4149
4150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
4154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4155 {
4156 PyThreadState* __tstate = wxPyBeginAllowThreads();
4157 (arg1)->SetRenderer(arg2);
4158
4159 wxPyEndAllowThreads(__tstate);
4160 if (PyErr_Occurred()) SWIG_fail;
4161 }
4162 Py_INCREF(Py_None); resultobj = Py_None;
4163 return resultobj;
4164 fail:
4165 return NULL;
4166}
4167
4168
4169static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4170 PyObject *resultobj;
4171 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4172 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
4173 PyObject * obj0 = 0 ;
4174 PyObject * obj1 = 0 ;
4175 char *kwnames[] = {
4176 (char *) "self",(char *) "editor", NULL
4177 };
4178
4179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
4183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4184 {
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4186 (arg1)->SetEditor(arg2);
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 }
4191 Py_INCREF(Py_None); resultobj = Py_None;
4192 return resultobj;
4193 fail:
4194 return NULL;
4195}
4196
4197
4198static PyObject *_wrap_GridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
4199 PyObject *resultobj;
4200 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4201 int arg2 ;
4202 PyObject * obj0 = 0 ;
994141e6 4203 PyObject * obj1 = 0 ;
d14a1e28
RD
4204 char *kwnames[] = {
4205 (char *) "self",(char *) "kind", NULL
4206 };
4207
994141e6 4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetKind",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4211 arg2 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj1);
4212 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 Py_INCREF(Py_None); resultobj = Py_None;
4221 return resultobj;
4222 fail:
4223 return NULL;
4224}
4225
4226
4227static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4228 PyObject *resultobj;
4229 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4230 bool result;
4231 PyObject * obj0 = 0 ;
4232 char *kwnames[] = {
4233 (char *) "self", NULL
4234 };
4235
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4239 {
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
4242
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4d5c3d91 4246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4247 return resultobj;
4248 fail:
4249 return NULL;
4250}
4251
4252
4253static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject *resultobj;
4255 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4256 bool result;
4257 PyObject * obj0 = 0 ;
4258 char *kwnames[] = {
4259 (char *) "self", NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4265 {
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
4268
4269 wxPyEndAllowThreads(__tstate);
4270 if (PyErr_Occurred()) SWIG_fail;
4271 }
4d5c3d91 4272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4273 return resultobj;
4274 fail:
4275 return NULL;
4276}
4277
4278
4279static PyObject *_wrap_GridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4280 PyObject *resultobj;
4281 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4282 bool result;
4283 PyObject * obj0 = 0 ;
4284 char *kwnames[] = {
4285 (char *) "self", NULL
4286 };
4287
4288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
4289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4291 {
4292 PyThreadState* __tstate = wxPyBeginAllowThreads();
4293 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
4294
4295 wxPyEndAllowThreads(__tstate);
4296 if (PyErr_Occurred()) SWIG_fail;
4297 }
4d5c3d91 4298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4299 return resultobj;
4300 fail:
4301 return NULL;
4302}
4303
4304
4305static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4306 PyObject *resultobj;
4307 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4308 bool result;
4309 PyObject * obj0 = 0 ;
4310 char *kwnames[] = {
4311 (char *) "self", NULL
4312 };
4313
4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
4315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4317 {
4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
4319 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
4320
4321 wxPyEndAllowThreads(__tstate);
4322 if (PyErr_Occurred()) SWIG_fail;
4323 }
4d5c3d91 4324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4325 return resultobj;
4326 fail:
4327 return NULL;
4328}
4329
4330
4331static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4332 PyObject *resultobj;
4333 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4334 bool result;
4335 PyObject * obj0 = 0 ;
4336 char *kwnames[] = {
4337 (char *) "self", NULL
4338 };
4339
4340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
15afbcd0
RD
4341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4d5c3d91 4350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4351 return resultobj;
4352 fail:
4353 return NULL;
4354}
4355
4356
4357static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj;
4359 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4360 bool result;
4361 PyObject * obj0 = 0 ;
4362 char *kwnames[] = {
4363 (char *) "self", NULL
4364 };
4365
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
4372
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4d5c3d91 4376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4377 return resultobj;
4378 fail:
4379 return NULL;
4380}
4381
4382
4383static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4384 PyObject *resultobj;
4385 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4386 bool result;
4387 PyObject * obj0 = 0 ;
4388 char *kwnames[] = {
4389 (char *) "self", NULL
4390 };
4391
4392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4d5c3d91 4402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4403 return resultobj;
4404 fail:
4405 return NULL;
4406}
4407
4408
4409static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj;
4411 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4412 bool result;
4413 PyObject * obj0 = 0 ;
4414 char *kwnames[] = {
4415 (char *) "self", NULL
4416 };
4417
4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4421 {
4422 PyThreadState* __tstate = wxPyBeginAllowThreads();
4423 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
4424
4425 wxPyEndAllowThreads(__tstate);
4426 if (PyErr_Occurred()) SWIG_fail;
4427 }
4d5c3d91 4428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4429 return resultobj;
4430 fail:
4431 return NULL;
4432}
4433
4434
4435static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4436 PyObject *resultobj;
4437 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4438 wxColour result;
4439 PyObject * obj0 = 0 ;
4440 char *kwnames[] = {
4441 (char *) "self", NULL
4442 };
4443
4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 {
4455 wxColour * resultptr;
4456 resultptr = new wxColour((wxColour &) result);
15afbcd0 4457 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4458 }
4459 return resultobj;
4460 fail:
4461 return NULL;
4462}
4463
4464
4465static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4466 PyObject *resultobj;
4467 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4468 wxColour result;
4469 PyObject * obj0 = 0 ;
4470 char *kwnames[] = {
4471 (char *) "self", NULL
4472 };
4473
4474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4477 {
4478 PyThreadState* __tstate = wxPyBeginAllowThreads();
4479 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
4480
4481 wxPyEndAllowThreads(__tstate);
4482 if (PyErr_Occurred()) SWIG_fail;
4483 }
4484 {
4485 wxColour * resultptr;
4486 resultptr = new wxColour((wxColour &) result);
15afbcd0 4487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4488 }
4489 return resultobj;
4490 fail:
4491 return NULL;
4492}
4493
4494
4495static PyObject *_wrap_GridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4496 PyObject *resultobj;
4497 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4498 wxFont result;
4499 PyObject * obj0 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "self", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
4505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4507 {
4508 PyThreadState* __tstate = wxPyBeginAllowThreads();
4509 result = ((wxGridCellAttr const *)arg1)->GetFont();
4510
4511 wxPyEndAllowThreads(__tstate);
4512 if (PyErr_Occurred()) SWIG_fail;
4513 }
4514 {
4515 wxFont * resultptr;
4516 resultptr = new wxFont((wxFont &) result);
15afbcd0 4517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
4518 }
4519 return resultobj;
4520 fail:
4521 return NULL;
4522}
4523
4524
4525static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject *resultobj;
4527 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4528 int *arg2 = (int *) 0 ;
4529 int *arg3 = (int *) 0 ;
4530 int temp2 ;
4531 int temp3 ;
4532 PyObject * obj0 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self", NULL
4535 };
4536
4537 arg2 = &temp2;
4538 arg3 = &temp3;
4539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
4540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4542 {
4543 PyThreadState* __tstate = wxPyBeginAllowThreads();
4544 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4545
4546 wxPyEndAllowThreads(__tstate);
4547 if (PyErr_Occurred()) SWIG_fail;
4548 }
4549 Py_INCREF(Py_None); resultobj = Py_None;
4550 {
4551 PyObject *o = PyInt_FromLong((long) (*arg2));
4552 resultobj = t_output_helper(resultobj,o);
4553 }
4554 {
4555 PyObject *o = PyInt_FromLong((long) (*arg3));
4556 resultobj = t_output_helper(resultobj,o);
4557 }
4558 return resultobj;
4559 fail:
4560 return NULL;
4561}
4562
4563
4564static PyObject *_wrap_GridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj;
4566 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4567 int *arg2 = (int *) 0 ;
4568 int *arg3 = (int *) 0 ;
4569 int temp2 ;
4570 int temp3 ;
4571 PyObject * obj0 = 0 ;
4572 char *kwnames[] = {
4573 (char *) "self", NULL
4574 };
4575
4576 arg2 = &temp2;
4577 arg3 = &temp3;
4578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
4579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 Py_INCREF(Py_None); resultobj = Py_None;
4589 {
4590 PyObject *o = PyInt_FromLong((long) (*arg2));
4591 resultobj = t_output_helper(resultobj,o);
4592 }
4593 {
4594 PyObject *o = PyInt_FromLong((long) (*arg3));
4595 resultobj = t_output_helper(resultobj,o);
4596 }
4597 return resultobj;
4598 fail:
4599 return NULL;
4600}
4601
4602
4603static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4604 PyObject *resultobj;
4605 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4606 bool result;
4607 PyObject * obj0 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "self", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
15afbcd0
RD
4613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4618
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4d5c3d91 4622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4623 return resultobj;
4624 fail:
4625 return NULL;
4626}
4627
4628
4629static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4630 PyObject *resultobj;
4631 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4632 wxGrid *arg2 = (wxGrid *) 0 ;
4633 int arg3 ;
4634 int arg4 ;
4635 wxGridCellRenderer *result;
4636 PyObject * obj0 = 0 ;
4637 PyObject * obj1 = 0 ;
994141e6
RD
4638 PyObject * obj2 = 0 ;
4639 PyObject * obj3 = 0 ;
d14a1e28
RD
4640 char *kwnames[] = {
4641 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4642 };
4643
994141e6 4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4649 arg3 = (int) SWIG_AsInt(obj2);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 arg4 = (int) SWIG_AsInt(obj3);
4652 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 {
4661 resultobj = wxPyMake_wxGridCellRenderer(result);
4662 }
4663 return resultobj;
4664 fail:
4665 return NULL;
4666}
4667
4668
4669static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj;
4671 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4672 wxGrid *arg2 = (wxGrid *) 0 ;
4673 int arg3 ;
4674 int arg4 ;
4675 wxGridCellEditor *result;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
994141e6
RD
4678 PyObject * obj2 = 0 ;
4679 PyObject * obj3 = 0 ;
d14a1e28
RD
4680 char *kwnames[] = {
4681 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4682 };
4683
994141e6 4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4689 arg3 = (int) SWIG_AsInt(obj2);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 arg4 = (int) SWIG_AsInt(obj3);
4692 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 {
4701 resultobj = wxPyMake_wxGridCellEditor(result);
4702 }
4703 return resultobj;
4704 fail:
4705 return NULL;
4706}
4707
4708
4709static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4710 PyObject *resultobj;
4711 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4712 bool result;
4713 PyObject * obj0 = 0 ;
4714 char *kwnames[] = {
4715 (char *) "self", NULL
4716 };
4717
4718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
15afbcd0
RD
4719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4721 {
4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
4723 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4724
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4d5c3d91 4728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4729 return resultobj;
4730 fail:
4731 return NULL;
4732}
4733
4734
4735static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4736 PyObject *resultobj;
4737 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4738 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4739 PyObject * obj0 = 0 ;
4740 PyObject * obj1 = 0 ;
4741 char *kwnames[] = {
4742 (char *) "self",(char *) "defAttr", NULL
4743 };
4744
4745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 (arg1)->SetDefAttr(arg2);
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 Py_INCREF(Py_None); resultobj = Py_None;
4758 return resultobj;
4759 fail:
4760 return NULL;
4761}
4762
4763
4764static PyObject * GridCellAttr_swigregister(PyObject *self, PyObject *args) {
4765 PyObject *obj;
4766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4767 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4768 Py_INCREF(obj);
4769 return Py_BuildValue((char *)"");
4770}
4771static PyObject *_wrap_new_GridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxGridCellAttrProvider *result;
4774 char *kwnames[] = {
4775 NULL
4776 };
4777
4778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4779 {
4780 PyThreadState* __tstate = wxPyBeginAllowThreads();
4781 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4782
4783 wxPyEndAllowThreads(__tstate);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 {
4787 resultobj = wxPyMake_wxGridCellAttrProvider(result);
4788 }
4789 return resultobj;
4790 fail:
4791 return NULL;
4792}
4793
4794
4795static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4796 PyObject *resultobj;
4797 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4798 PyObject *arg2 = (PyObject *) 0 ;
4799 PyObject * obj0 = 0 ;
4800 PyObject * obj1 = 0 ;
4801 char *kwnames[] = {
4802 (char *) "self",(char *) "_self", NULL
4803 };
4804
4805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4808 arg2 = obj1;
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 Py_INCREF(Py_None); resultobj = Py_None;
4817 return resultobj;
4818 fail:
4819 return NULL;
4820}
4821
4822
4823static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4824 PyObject *resultobj;
4825 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4826 int arg2 ;
4827 int arg3 ;
4828 int arg4 ;
4829 wxGridCellAttr *result;
4830 PyObject * obj0 = 0 ;
994141e6
RD
4831 PyObject * obj1 = 0 ;
4832 PyObject * obj2 = 0 ;
4833 PyObject * obj3 = 0 ;
d14a1e28
RD
4834 char *kwnames[] = {
4835 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4836 };
4837
994141e6 4838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4841 arg2 = (int) SWIG_AsInt(obj1);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 arg3 = (int) SWIG_AsInt(obj2);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
4846 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4847 {
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 {
4855 resultobj = wxPyMake_wxGridCellAttr(result);
4856 }
4857 return resultobj;
4858 fail:
4859 return NULL;
4860}
4861
4862
4863static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4864 PyObject *resultobj;
4865 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4866 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4867 int arg3 ;
4868 int arg4 ;
4869 PyObject * obj0 = 0 ;
4870 PyObject * obj1 = 0 ;
994141e6
RD
4871 PyObject * obj2 = 0 ;
4872 PyObject * obj3 = 0 ;
d14a1e28
RD
4873 char *kwnames[] = {
4874 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4875 };
4876
994141e6 4877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4882 arg3 = (int) SWIG_AsInt(obj2);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 arg4 = (int) SWIG_AsInt(obj3);
4885 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->SetAttr(arg2,arg3,arg4);
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 Py_INCREF(Py_None); resultobj = Py_None;
4894 return resultobj;
4895 fail:
4896 return NULL;
4897}
4898
4899
4900static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4901 PyObject *resultobj;
4902 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4903 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4904 int arg3 ;
4905 PyObject * obj0 = 0 ;
4906 PyObject * obj1 = 0 ;
994141e6 4907 PyObject * obj2 = 0 ;
d14a1e28
RD
4908 char *kwnames[] = {
4909 (char *) "self",(char *) "attr",(char *) "row", NULL
4910 };
4911
994141e6 4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4917 arg3 = (int) SWIG_AsInt(obj2);
4918 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 (arg1)->SetRowAttr(arg2,arg3);
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 Py_INCREF(Py_None); resultobj = Py_None;
4927 return resultobj;
4928 fail:
4929 return NULL;
4930}
4931
4932
4933static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj;
4935 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4936 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4937 int arg3 ;
4938 PyObject * obj0 = 0 ;
4939 PyObject * obj1 = 0 ;
994141e6 4940 PyObject * obj2 = 0 ;
d14a1e28
RD
4941 char *kwnames[] = {
4942 (char *) "self",(char *) "attr",(char *) "col", NULL
4943 };
4944
994141e6 4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4950 arg3 = (int) SWIG_AsInt(obj2);
4951 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4952 {
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 (arg1)->SetColAttr(arg2,arg3);
4955
4956 wxPyEndAllowThreads(__tstate);
4957 if (PyErr_Occurred()) SWIG_fail;
4958 }
4959 Py_INCREF(Py_None); resultobj = Py_None;
4960 return resultobj;
4961 fail:
4962 return NULL;
4963}
4964
4965
4966static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4967 PyObject *resultobj;
4968 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4969 size_t arg2 ;
4970 int arg3 ;
4971 PyObject * obj0 = 0 ;
4972 PyObject * obj1 = 0 ;
994141e6 4973 PyObject * obj2 = 0 ;
d14a1e28
RD
4974 char *kwnames[] = {
4975 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4976 };
4977
994141e6 4978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4981 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 arg3 = (int) SWIG_AsInt(obj2);
4984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 (arg1)->UpdateAttrRows(arg2,arg3);
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 Py_INCREF(Py_None); resultobj = Py_None;
4993 return resultobj;
4994 fail:
4995 return NULL;
4996}
4997
4998
4999static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5002 size_t arg2 ;
5003 int arg3 ;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
994141e6 5006 PyObject * obj2 = 0 ;
d14a1e28
RD
5007 char *kwnames[] = {
5008 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5009 };
5010
994141e6 5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5014 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 arg3 = (int) SWIG_AsInt(obj2);
5017 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 (arg1)->UpdateAttrCols(arg2,arg3);
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 Py_INCREF(Py_None); resultobj = Py_None;
5026 return resultobj;
5027 fail:
5028 return NULL;
5029}
5030
5031
5032static PyObject * GridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5033 PyObject *obj;
5034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5035 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
5036 Py_INCREF(obj);
5037 return Py_BuildValue((char *)"");
5038}
5039static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxPyGridCellAttrProvider *result;
5042 char *kwnames[] = {
5043 NULL
5044 };
5045
5046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
15afbcd0 5054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
d14a1e28
RD
5055 return resultobj;
5056 fail:
5057 return NULL;
5058}
5059
5060
5061static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5064 PyObject *arg2 = (PyObject *) 0 ;
5065 PyObject *arg3 = (PyObject *) 0 ;
5066 PyObject * obj0 = 0 ;
5067 PyObject * obj1 = 0 ;
5068 PyObject * obj2 = 0 ;
5069 char *kwnames[] = {
5070 (char *) "self",(char *) "self",(char *) "_class", NULL
5071 };
5072
5073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5076 arg2 = obj1;
5077 arg3 = obj2;
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 (arg1)->_setCallbackInfo(arg2,arg3);
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) SWIG_fail;
5084 }
5085 Py_INCREF(Py_None); resultobj = Py_None;
5086 return resultobj;
5087 fail:
5088 return NULL;
5089}
5090
5091
5092static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5093 PyObject *resultobj;
5094 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5095 int arg2 ;
5096 int arg3 ;
5097 int arg4 ;
5098 wxGridCellAttr *result;
5099 PyObject * obj0 = 0 ;
994141e6
RD
5100 PyObject * obj1 = 0 ;
5101 PyObject * obj2 = 0 ;
5102 PyObject * obj3 = 0 ;
d14a1e28
RD
5103 char *kwnames[] = {
5104 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5105 };
5106
994141e6 5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5110 arg2 = (int) SWIG_AsInt(obj1);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 arg3 = (int) SWIG_AsInt(obj2);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
5115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5119
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 {
5124 resultobj = wxPyMake_wxGridCellAttr(result);
5125 }
5126 return resultobj;
5127 fail:
5128 return NULL;
5129}
5130
5131
5132static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5135 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5136 int arg3 ;
5137 int arg4 ;
5138 PyObject * obj0 = 0 ;
5139 PyObject * obj1 = 0 ;
994141e6
RD
5140 PyObject * obj2 = 0 ;
5141 PyObject * obj3 = 0 ;
d14a1e28
RD
5142 char *kwnames[] = {
5143 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5144 };
5145
994141e6 5146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5149 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5151 arg3 = (int) SWIG_AsInt(obj2);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 arg4 = (int) SWIG_AsInt(obj3);
5154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 (arg1)->base_SetAttr(arg2,arg3,arg4);
5158
5159 wxPyEndAllowThreads(__tstate);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 Py_INCREF(Py_None); resultobj = Py_None;
5163 return resultobj;
5164 fail:
5165 return NULL;
5166}
5167
5168
5169static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5170 PyObject *resultobj;
5171 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5172 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5173 int arg3 ;
5174 PyObject * obj0 = 0 ;
5175 PyObject * obj1 = 0 ;
994141e6 5176 PyObject * obj2 = 0 ;
d14a1e28
RD
5177 char *kwnames[] = {
5178 (char *) "self",(char *) "attr",(char *) "row", NULL
5179 };
5180
994141e6 5181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5184 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5186 arg3 = (int) SWIG_AsInt(obj2);
5187 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5188 {
5189 PyThreadState* __tstate = wxPyBeginAllowThreads();
5190 (arg1)->base_SetRowAttr(arg2,arg3);
5191
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
5195 Py_INCREF(Py_None); resultobj = Py_None;
5196 return resultobj;
5197 fail:
5198 return NULL;
5199}
5200
5201
5202static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5203 PyObject *resultobj;
5204 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5205 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5206 int arg3 ;
5207 PyObject * obj0 = 0 ;
5208 PyObject * obj1 = 0 ;
994141e6 5209 PyObject * obj2 = 0 ;
d14a1e28
RD
5210 char *kwnames[] = {
5211 (char *) "self",(char *) "attr",(char *) "col", NULL
5212 };
5213
994141e6 5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5217 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5219 arg3 = (int) SWIG_AsInt(obj2);
5220 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 (arg1)->base_SetColAttr(arg2,arg3);
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 Py_INCREF(Py_None); resultobj = Py_None;
5229 return resultobj;
5230 fail:
5231 return NULL;
5232}
5233
5234
5235static PyObject * PyGridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5236 PyObject *obj;
5237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5238 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
5239 Py_INCREF(obj);
5240 return Py_BuildValue((char *)"");
5241}
5242static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5243 PyObject *resultobj;
5244 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5245 PyObject *arg2 = (PyObject *) 0 ;
5246 PyObject * obj0 = 0 ;
5247 PyObject * obj1 = 0 ;
5248 char *kwnames[] = {
5249 (char *) "self",(char *) "_self", NULL
5250 };
5251
5252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5255 arg2 = obj1;
5256 {
5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5258 wxGridTableBase__setOORInfo(arg1,arg2);
5259
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 Py_INCREF(Py_None); resultobj = Py_None;
5264 return resultobj;
5265 fail:
5266 return NULL;
5267}
5268
5269
5270static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5271 PyObject *resultobj;
5272 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5273 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
5274 PyObject * obj0 = 0 ;
5275 PyObject * obj1 = 0 ;
5276 char *kwnames[] = {
5277 (char *) "self",(char *) "attrProvider", NULL
5278 };
5279
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttrProvider,
5284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5285 {
5286 PyThreadState* __tstate = wxPyBeginAllowThreads();
5287 (arg1)->SetAttrProvider(arg2);
5288
5289 wxPyEndAllowThreads(__tstate);
5290 if (PyErr_Occurred()) SWIG_fail;
5291 }
5292 Py_INCREF(Py_None); resultobj = Py_None;
5293 return resultobj;
5294 fail:
5295 return NULL;
5296}
5297
5298
5299static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5300 PyObject *resultobj;
5301 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5302 wxGridCellAttrProvider *result;
5303 PyObject * obj0 = 0 ;
5304 char *kwnames[] = {
5305 (char *) "self", NULL
5306 };
5307
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
15afbcd0
RD
5309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5311 {
5312 PyThreadState* __tstate = wxPyBeginAllowThreads();
5313 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
5314
5315 wxPyEndAllowThreads(__tstate);
5316 if (PyErr_Occurred()) SWIG_fail;
5317 }
5318 {
5319 resultobj = wxPyMake_wxGridCellAttrProvider(result);
5320 }
5321 return resultobj;
5322 fail:
5323 return NULL;
5324}
5325
5326
5327static PyObject *_wrap_GridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj;
5329 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5330 wxGrid *arg2 = (wxGrid *) 0 ;
5331 PyObject * obj0 = 0 ;
5332 PyObject * obj1 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self",(char *) "grid", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
5341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5342 {
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 (arg1)->SetView(arg2);
5345
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 Py_INCREF(Py_None); resultobj = Py_None;
5350 return resultobj;
5351 fail:
5352 return NULL;
5353}
5354
5355
5356static PyObject *_wrap_GridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5357 PyObject *resultobj;
5358 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5359 wxGrid *result;
5360 PyObject * obj0 = 0 ;
5361 char *kwnames[] = {
5362 (char *) "self", NULL
5363 };
5364
5365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
15afbcd0
RD
5366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
5371
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 {
5376 resultobj = wxPyMake_wxObject(result);
5377 }
5378 return resultobj;
5379 fail:
5380 return NULL;
5381}
5382
5383
5384static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5385 PyObject *resultobj;
5386 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5387 int result;
5388 PyObject * obj0 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
5394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 result = (int)(arg1)->GetNumberRows();
5399
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
15afbcd0 5403 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5404 return resultobj;
5405 fail:
5406 return NULL;
5407}
5408
5409
5410static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5411 PyObject *resultobj;
5412 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5413 int result;
5414 PyObject * obj0 = 0 ;
5415 char *kwnames[] = {
5416 (char *) "self", NULL
5417 };
5418
5419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
5420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 result = (int)(arg1)->GetNumberCols();
5425
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
15afbcd0 5429 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5430 return resultobj;
5431 fail:
5432 return NULL;
5433}
5434
5435
5436static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5437 PyObject *resultobj;
5438 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5439 int arg2 ;
5440 int arg3 ;
5441 bool result;
5442 PyObject * obj0 = 0 ;
994141e6
RD
5443 PyObject * obj1 = 0 ;
5444 PyObject * obj2 = 0 ;
d14a1e28
RD
5445 char *kwnames[] = {
5446 (char *) "self",(char *) "row",(char *) "col", NULL
5447 };
5448
994141e6 5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5452 arg2 = (int) SWIG_AsInt(obj1);
5453 if (PyErr_Occurred()) SWIG_fail;
5454 arg3 = (int) SWIG_AsInt(obj2);
5455 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
5459
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
4d5c3d91 5463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5464 return resultobj;
5465 fail:
5466 return NULL;
5467}
5468
5469
5470static PyObject *_wrap_GridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5471 PyObject *resultobj;
5472 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5473 int arg2 ;
5474 int arg3 ;
5475 wxString result;
5476 PyObject * obj0 = 0 ;
994141e6
RD
5477 PyObject * obj1 = 0 ;
5478 PyObject * obj2 = 0 ;
d14a1e28
RD
5479 char *kwnames[] = {
5480 (char *) "self",(char *) "row",(char *) "col", NULL
5481 };
5482
994141e6 5483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5486 arg2 = (int) SWIG_AsInt(obj1);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 arg3 = (int) SWIG_AsInt(obj2);
5489 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 result = (arg1)->GetValue(arg2,arg3);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 {
5498#if wxUSE_UNICODE
5499 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5500#else
5501 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5502#endif
5503 }
5504 return resultobj;
5505 fail:
5506 return NULL;
5507}
5508
5509
5510static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj;
5512 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5513 int arg2 ;
5514 int arg3 ;
5515 wxString *arg4 = 0 ;
e811c8ce 5516 bool temp4 = False ;
d14a1e28 5517 PyObject * obj0 = 0 ;
994141e6
RD
5518 PyObject * obj1 = 0 ;
5519 PyObject * obj2 = 0 ;
d14a1e28
RD
5520 PyObject * obj3 = 0 ;
5521 char *kwnames[] = {
5522 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5523 };
5524
994141e6 5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5528 arg2 = (int) SWIG_AsInt(obj1);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 arg3 = (int) SWIG_AsInt(obj2);
5531 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5532 {
5533 arg4 = wxString_in_helper(obj3);
5534 if (arg4 == NULL) SWIG_fail;
e811c8ce 5535 temp4 = True;
d14a1e28
RD
5536 }
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 Py_INCREF(Py_None); resultobj = Py_None;
5545 {
5546 if (temp4)
5547 delete arg4;
5548 }
5549 return resultobj;
5550 fail:
5551 {
5552 if (temp4)
5553 delete arg4;
5554 }
5555 return NULL;
5556}
5557
5558
5559static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj;
5561 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5562 int arg2 ;
5563 int arg3 ;
5564 wxString result;
5565 PyObject * obj0 = 0 ;
994141e6
RD
5566 PyObject * obj1 = 0 ;
5567 PyObject * obj2 = 0 ;
d14a1e28
RD
5568 char *kwnames[] = {
5569 (char *) "self",(char *) "row",(char *) "col", NULL
5570 };
5571
994141e6 5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5575 arg2 = (int) SWIG_AsInt(obj1);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 arg3 = (int) SWIG_AsInt(obj2);
5578 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 result = (arg1)->GetTypeName(arg2,arg3);
5582
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 {
5587#if wxUSE_UNICODE
5588 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5589#else
5590 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5591#endif
5592 }
5593 return resultobj;
5594 fail:
5595 return NULL;
5596}
5597
5598
5599static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5600 PyObject *resultobj;
5601 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5602 int arg2 ;
5603 int arg3 ;
5604 wxString *arg4 = 0 ;
5605 bool result;
e811c8ce 5606 bool temp4 = False ;
d14a1e28 5607 PyObject * obj0 = 0 ;
994141e6
RD
5608 PyObject * obj1 = 0 ;
5609 PyObject * obj2 = 0 ;
d14a1e28
RD
5610 PyObject * obj3 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5613 };
5614
994141e6 5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5618 arg2 = (int) SWIG_AsInt(obj1);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 arg3 = (int) SWIG_AsInt(obj2);
5621 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5622 {
5623 arg4 = wxString_in_helper(obj3);
5624 if (arg4 == NULL) SWIG_fail;
e811c8ce 5625 temp4 = True;
d14a1e28
RD
5626 }
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
4d5c3d91 5634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5635 {
5636 if (temp4)
5637 delete arg4;
5638 }
5639 return resultobj;
5640 fail:
5641 {
5642 if (temp4)
5643 delete arg4;
5644 }
5645 return NULL;
5646}
5647
5648
5649static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5650 PyObject *resultobj;
5651 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5652 int arg2 ;
5653 int arg3 ;
5654 wxString *arg4 = 0 ;
5655 bool result;
e811c8ce 5656 bool temp4 = False ;
d14a1e28 5657 PyObject * obj0 = 0 ;
994141e6
RD
5658 PyObject * obj1 = 0 ;
5659 PyObject * obj2 = 0 ;
d14a1e28
RD
5660 PyObject * obj3 = 0 ;
5661 char *kwnames[] = {
5662 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5663 };
5664
994141e6 5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5668 arg2 = (int) SWIG_AsInt(obj1);
5669 if (PyErr_Occurred()) SWIG_fail;
5670 arg3 = (int) SWIG_AsInt(obj2);
5671 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5672 {
5673 arg4 = wxString_in_helper(obj3);
5674 if (arg4 == NULL) SWIG_fail;
e811c8ce 5675 temp4 = True;
d14a1e28
RD
5676 }
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
4d5c3d91 5684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5685 {
5686 if (temp4)
5687 delete arg4;
5688 }
5689 return resultobj;
5690 fail:
5691 {
5692 if (temp4)
5693 delete arg4;
5694 }
5695 return NULL;
5696}
5697
5698
5699static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5700 PyObject *resultobj;
5701 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5702 int arg2 ;
5703 int arg3 ;
5704 long result;
5705 PyObject * obj0 = 0 ;
994141e6
RD
5706 PyObject * obj1 = 0 ;
5707 PyObject * obj2 = 0 ;
d14a1e28
RD
5708 char *kwnames[] = {
5709 (char *) "self",(char *) "row",(char *) "col", NULL
5710 };
5711
994141e6 5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5715 arg2 = (int) SWIG_AsInt(obj1);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 arg3 = (int) SWIG_AsInt(obj2);
5718 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5722
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
15afbcd0 5726 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5727 return resultobj;
5728 fail:
5729 return NULL;
5730}
5731
5732
5733static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5736 int arg2 ;
5737 int arg3 ;
5738 double result;
5739 PyObject * obj0 = 0 ;
994141e6
RD
5740 PyObject * obj1 = 0 ;
5741 PyObject * obj2 = 0 ;
d14a1e28
RD
5742 char *kwnames[] = {
5743 (char *) "self",(char *) "row",(char *) "col", NULL
5744 };
5745
994141e6 5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5749 arg2 = (int) SWIG_AsInt(obj1);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 arg3 = (int) SWIG_AsInt(obj2);
5752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5756
5757 wxPyEndAllowThreads(__tstate);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 }
15afbcd0 5760 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5761 return resultobj;
5762 fail:
5763 return NULL;
5764}
5765
5766
5767static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5768 PyObject *resultobj;
5769 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5770 int arg2 ;
5771 int arg3 ;
5772 bool result;
5773 PyObject * obj0 = 0 ;
994141e6
RD
5774 PyObject * obj1 = 0 ;
5775 PyObject * obj2 = 0 ;
d14a1e28
RD
5776 char *kwnames[] = {
5777 (char *) "self",(char *) "row",(char *) "col", NULL
5778 };
5779
994141e6 5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5783 arg2 = (int) SWIG_AsInt(obj1);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 arg3 = (int) SWIG_AsInt(obj2);
5786 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
4d5c3d91 5794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5795 return resultobj;
5796 fail:
5797 return NULL;
5798}
5799
5800
5801static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj;
5803 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5804 int arg2 ;
5805 int arg3 ;
5806 long arg4 ;
5807 PyObject * obj0 = 0 ;
994141e6
RD
5808 PyObject * obj1 = 0 ;
5809 PyObject * obj2 = 0 ;
5810 PyObject * obj3 = 0 ;
d14a1e28
RD
5811 char *kwnames[] = {
5812 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5813 };
5814
994141e6 5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5818 arg2 = (int) SWIG_AsInt(obj1);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 arg3 = (int) SWIG_AsInt(obj2);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 arg4 = (long) SWIG_AsLong(obj3);
5823 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 (arg1)->SetValueAsLong(arg2,arg3,arg4);
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 Py_INCREF(Py_None); resultobj = Py_None;
5832 return resultobj;
5833 fail:
5834 return NULL;
5835}
5836
5837
5838static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5841 int arg2 ;
5842 int arg3 ;
5843 double arg4 ;
5844 PyObject * obj0 = 0 ;
994141e6
RD
5845 PyObject * obj1 = 0 ;
5846 PyObject * obj2 = 0 ;
5847 PyObject * obj3 = 0 ;
d14a1e28
RD
5848 char *kwnames[] = {
5849 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5850 };
5851
994141e6 5852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5855 arg2 = (int) SWIG_AsInt(obj1);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 arg3 = (int) SWIG_AsInt(obj2);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 arg4 = (double) SWIG_AsDouble(obj3);
5860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5861 {
5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
5863 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
5864
5865 wxPyEndAllowThreads(__tstate);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
5868 Py_INCREF(Py_None); resultobj = Py_None;
5869 return resultobj;
5870 fail:
5871 return NULL;
5872}
5873
5874
5875static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5876 PyObject *resultobj;
5877 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5878 int arg2 ;
5879 int arg3 ;
5880 bool arg4 ;
5881 PyObject * obj0 = 0 ;
994141e6
RD
5882 PyObject * obj1 = 0 ;
5883 PyObject * obj2 = 0 ;
d14a1e28
RD
5884 PyObject * obj3 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5887 };
5888
994141e6 5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5892 arg2 = (int) SWIG_AsInt(obj1);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 arg3 = (int) SWIG_AsInt(obj2);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 arg4 = (bool) SWIG_AsBool(obj3);
5897 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 (arg1)->SetValueAsBool(arg2,arg3,arg4);
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 Py_INCREF(Py_None); resultobj = Py_None;
5906 return resultobj;
5907 fail:
5908 return NULL;
5909}
5910
5911
5912static PyObject *_wrap_GridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj;
5914 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5915 PyObject * obj0 = 0 ;
5916 char *kwnames[] = {
5917 (char *) "self", NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
5921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5923 {
5924 PyThreadState* __tstate = wxPyBeginAllowThreads();
5925 (arg1)->Clear();
5926
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 Py_INCREF(Py_None); resultobj = Py_None;
5931 return resultobj;
5932 fail:
5933 return NULL;
5934}
5935
5936
5937static PyObject *_wrap_GridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject *resultobj;
5939 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5940 size_t arg2 = (size_t) 0 ;
5941 size_t arg3 = (size_t) 1 ;
5942 bool result;
5943 PyObject * obj0 = 0 ;
5944 PyObject * obj1 = 0 ;
5945 PyObject * obj2 = 0 ;
5946 char *kwnames[] = {
5947 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5948 };
5949
5950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 5953 if (obj1) {
15afbcd0
RD
5954 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5956 }
5957 if (obj2) {
15afbcd0
RD
5958 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
5959 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5960 }
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 result = (bool)(arg1)->InsertRows(arg2,arg3);
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
4d5c3d91 5968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5969 return resultobj;
5970 fail:
5971 return NULL;
5972}
5973
5974
5975static PyObject *_wrap_GridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj;
5977 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5978 size_t arg2 = (size_t) 1 ;
5979 bool result;
5980 PyObject * obj0 = 0 ;
5981 PyObject * obj1 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "self",(char *) "numRows", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 5989 if (obj1) {
15afbcd0
RD
5990 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5991 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5992 }
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 result = (bool)(arg1)->AppendRows(arg2);
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
4d5c3d91 6000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6001 return resultobj;
6002 fail:
6003 return NULL;
6004}
6005
6006
6007static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6008 PyObject *resultobj;
6009 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6010 size_t arg2 = (size_t) 0 ;
6011 size_t arg3 = (size_t) 1 ;
6012 bool result;
6013 PyObject * obj0 = 0 ;
6014 PyObject * obj1 = 0 ;
6015 PyObject * obj2 = 0 ;
6016 char *kwnames[] = {
6017 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6023 if (obj1) {
15afbcd0
RD
6024 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6025 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6026 }
6027 if (obj2) {
15afbcd0
RD
6028 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6029 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6030 }
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 result = (bool)(arg1)->DeleteRows(arg2,arg3);
6034
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
4d5c3d91 6038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6039 return resultobj;
6040 fail:
6041 return NULL;
6042}
6043
6044
6045static PyObject *_wrap_GridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6046 PyObject *resultobj;
6047 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6048 size_t arg2 = (size_t) 0 ;
6049 size_t arg3 = (size_t) 1 ;
6050 bool result;
6051 PyObject * obj0 = 0 ;
6052 PyObject * obj1 = 0 ;
6053 PyObject * obj2 = 0 ;
6054 char *kwnames[] = {
6055 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6056 };
6057
6058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6061 if (obj1) {
15afbcd0
RD
6062 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6064 }
6065 if (obj2) {
15afbcd0
RD
6066 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6068 }
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 result = (bool)(arg1)->InsertCols(arg2,arg3);
6072
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
4d5c3d91 6076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6077 return resultobj;
6078 fail:
6079 return NULL;
6080}
6081
6082
6083static PyObject *_wrap_GridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj;
6085 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6086 size_t arg2 = (size_t) 1 ;
6087 bool result;
6088 PyObject * obj0 = 0 ;
6089 PyObject * obj1 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self",(char *) "numCols", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6097 if (obj1) {
15afbcd0
RD
6098 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6100 }
6101 {
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 result = (bool)(arg1)->AppendCols(arg2);
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
4d5c3d91 6108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6109 return resultobj;
6110 fail:
6111 return NULL;
6112}
6113
6114
6115static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj;
6117 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6118 size_t arg2 = (size_t) 0 ;
6119 size_t arg3 = (size_t) 1 ;
6120 bool result;
6121 PyObject * obj0 = 0 ;
6122 PyObject * obj1 = 0 ;
6123 PyObject * obj2 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6131 if (obj1) {
15afbcd0
RD
6132 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6134 }
6135 if (obj2) {
15afbcd0
RD
6136 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6137 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6138 }
6139 {
6140 PyThreadState* __tstate = wxPyBeginAllowThreads();
6141 result = (bool)(arg1)->DeleteCols(arg2,arg3);
6142
6143 wxPyEndAllowThreads(__tstate);
6144 if (PyErr_Occurred()) SWIG_fail;
6145 }
4d5c3d91 6146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6147 return resultobj;
6148 fail:
6149 return NULL;
6150}
6151
6152
6153static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject *resultobj;
6155 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6156 int arg2 ;
6157 wxString result;
6158 PyObject * obj0 = 0 ;
994141e6 6159 PyObject * obj1 = 0 ;
d14a1e28
RD
6160 char *kwnames[] = {
6161 (char *) "self",(char *) "row", NULL
6162 };
6163
994141e6 6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6167 arg2 = (int) SWIG_AsInt(obj1);
6168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6169 {
6170 PyThreadState* __tstate = wxPyBeginAllowThreads();
6171 result = (arg1)->GetRowLabelValue(arg2);
6172
6173 wxPyEndAllowThreads(__tstate);
6174 if (PyErr_Occurred()) SWIG_fail;
6175 }
6176 {
6177#if wxUSE_UNICODE
6178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6179#else
6180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6181#endif
6182 }
6183 return resultobj;
6184 fail:
6185 return NULL;
6186}
6187
6188
6189static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6190 PyObject *resultobj;
6191 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6192 int arg2 ;
6193 wxString result;
6194 PyObject * obj0 = 0 ;
994141e6 6195 PyObject * obj1 = 0 ;
d14a1e28
RD
6196 char *kwnames[] = {
6197 (char *) "self",(char *) "col", NULL
6198 };
6199
994141e6 6200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6203 arg2 = (int) SWIG_AsInt(obj1);
6204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 result = (arg1)->GetColLabelValue(arg2);
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 {
6213#if wxUSE_UNICODE
6214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6215#else
6216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6217#endif
6218 }
6219 return resultobj;
6220 fail:
6221 return NULL;
6222}
6223
6224
6225static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6228 int arg2 ;
6229 wxString *arg3 = 0 ;
e811c8ce 6230 bool temp3 = False ;
d14a1e28 6231 PyObject * obj0 = 0 ;
994141e6 6232 PyObject * obj1 = 0 ;
d14a1e28
RD
6233 PyObject * obj2 = 0 ;
6234 char *kwnames[] = {
6235 (char *) "self",(char *) "row",(char *) "value", NULL
6236 };
6237
994141e6 6238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6241 arg2 = (int) SWIG_AsInt(obj1);
6242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6243 {
6244 arg3 = wxString_in_helper(obj2);
6245 if (arg3 == NULL) SWIG_fail;
e811c8ce 6246 temp3 = True;
d14a1e28
RD
6247 }
6248 {
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
6251
6252 wxPyEndAllowThreads(__tstate);
6253 if (PyErr_Occurred()) SWIG_fail;
6254 }
6255 Py_INCREF(Py_None); resultobj = Py_None;
6256 {
6257 if (temp3)
6258 delete arg3;
6259 }
6260 return resultobj;
6261 fail:
6262 {
6263 if (temp3)
6264 delete arg3;
6265 }
6266 return NULL;
6267}
6268
6269
6270static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj;
6272 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6273 int arg2 ;
6274 wxString *arg3 = 0 ;
e811c8ce 6275 bool temp3 = False ;
d14a1e28 6276 PyObject * obj0 = 0 ;
994141e6 6277 PyObject * obj1 = 0 ;
d14a1e28
RD
6278 PyObject * obj2 = 0 ;
6279 char *kwnames[] = {
6280 (char *) "self",(char *) "col",(char *) "value", NULL
6281 };
6282
994141e6 6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6286 arg2 = (int) SWIG_AsInt(obj1);
6287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6288 {
6289 arg3 = wxString_in_helper(obj2);
6290 if (arg3 == NULL) SWIG_fail;
e811c8ce 6291 temp3 = True;
d14a1e28
RD
6292 }
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 Py_INCREF(Py_None); resultobj = Py_None;
6301 {
6302 if (temp3)
6303 delete arg3;
6304 }
6305 return resultobj;
6306 fail:
6307 {
6308 if (temp3)
6309 delete arg3;
6310 }
6311 return NULL;
6312}
6313
6314
6315static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj;
6317 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6318 bool result;
6319 PyObject * obj0 = 0 ;
6320 char *kwnames[] = {
6321 (char *) "self", NULL
6322 };
6323
6324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
6325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6327 {
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 result = (bool)(arg1)->CanHaveAttributes();
6330
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
4d5c3d91 6334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6335 return resultobj;
6336 fail:
6337 return NULL;
6338}
6339
6340
6341static PyObject *_wrap_GridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6342 PyObject *resultobj;
6343 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6344 int arg2 ;
6345 int arg3 ;
6346 int arg4 ;
6347 wxGridCellAttr *result;
6348 PyObject * obj0 = 0 ;
994141e6
RD
6349 PyObject * obj1 = 0 ;
6350 PyObject * obj2 = 0 ;
6351 PyObject * obj3 = 0 ;
d14a1e28
RD
6352 char *kwnames[] = {
6353 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6354 };
6355
994141e6 6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6359 arg2 = (int) SWIG_AsInt(obj1);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 arg3 = (int) SWIG_AsInt(obj2);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
6364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6365 {
6366 PyThreadState* __tstate = wxPyBeginAllowThreads();
6367 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6368
6369 wxPyEndAllowThreads(__tstate);
6370 if (PyErr_Occurred()) SWIG_fail;
6371 }
6372 {
6373 resultobj = wxPyMake_wxGridCellAttr(result);
6374 }
6375 return resultobj;
6376 fail:
6377 return NULL;
6378}
6379
6380
6381static PyObject *_wrap_GridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6382 PyObject *resultobj;
6383 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6384 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6385 int arg3 ;
6386 int arg4 ;
6387 PyObject * obj0 = 0 ;
6388 PyObject * obj1 = 0 ;
994141e6
RD
6389 PyObject * obj2 = 0 ;
6390 PyObject * obj3 = 0 ;
d14a1e28
RD
6391 char *kwnames[] = {
6392 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6393 };
6394
994141e6 6395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6400 arg3 = (int) SWIG_AsInt(obj2);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 arg4 = (int) SWIG_AsInt(obj3);
6403 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6404 {
6405 PyThreadState* __tstate = wxPyBeginAllowThreads();
6406 (arg1)->SetAttr(arg2,arg3,arg4);
6407
6408 wxPyEndAllowThreads(__tstate);
6409 if (PyErr_Occurred()) SWIG_fail;
6410 }
6411 Py_INCREF(Py_None); resultobj = Py_None;
6412 return resultobj;
6413 fail:
6414 return NULL;
6415}
6416
6417
6418static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6419 PyObject *resultobj;
6420 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6421 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6422 int arg3 ;
6423 PyObject * obj0 = 0 ;
6424 PyObject * obj1 = 0 ;
994141e6 6425 PyObject * obj2 = 0 ;
d14a1e28
RD
6426 char *kwnames[] = {
6427 (char *) "self",(char *) "attr",(char *) "row", NULL
6428 };
6429
994141e6 6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6435 arg3 = (int) SWIG_AsInt(obj2);
6436 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 (arg1)->SetRowAttr(arg2,arg3);
6440
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 Py_INCREF(Py_None); resultobj = Py_None;
6445 return resultobj;
6446 fail:
6447 return NULL;
6448}
6449
6450
6451static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6452 PyObject *resultobj;
6453 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6454 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6455 int arg3 ;
6456 PyObject * obj0 = 0 ;
6457 PyObject * obj1 = 0 ;
994141e6 6458 PyObject * obj2 = 0 ;
d14a1e28
RD
6459 char *kwnames[] = {
6460 (char *) "self",(char *) "attr",(char *) "col", NULL
6461 };
6462
994141e6 6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6468 arg3 = (int) SWIG_AsInt(obj2);
6469 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 (arg1)->SetColAttr(arg2,arg3);
6473
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
6477 Py_INCREF(Py_None); resultobj = Py_None;
6478 return resultobj;
6479 fail:
6480 return NULL;
6481}
6482
6483
6484static PyObject * GridTableBase_swigregister(PyObject *self, PyObject *args) {
6485 PyObject *obj;
6486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6487 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
6488 Py_INCREF(obj);
6489 return Py_BuildValue((char *)"");
6490}
6491static PyObject *_wrap_new_PyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
6492 PyObject *resultobj;
6493 wxPyGridTableBase *result;
6494 char *kwnames[] = {
6495 NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 result = (wxPyGridTableBase *)new wxPyGridTableBase();
6502
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
15afbcd0 6506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridTableBase, 1);
d14a1e28
RD
6507 return resultobj;
6508 fail:
6509 return NULL;
6510}
6511
6512
6513static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6514 PyObject *resultobj;
6515 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6516 PyObject *arg2 = (PyObject *) 0 ;
6517 PyObject *arg3 = (PyObject *) 0 ;
6518 PyObject * obj0 = 0 ;
6519 PyObject * obj1 = 0 ;
6520 PyObject * obj2 = 0 ;
6521 char *kwnames[] = {
6522 (char *) "self",(char *) "self",(char *) "_class", NULL
6523 };
6524
6525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6528 arg2 = obj1;
6529 arg3 = obj2;
6530 {
6531 PyThreadState* __tstate = wxPyBeginAllowThreads();
6532 (arg1)->_setCallbackInfo(arg2,arg3);
6533
6534 wxPyEndAllowThreads(__tstate);
6535 if (PyErr_Occurred()) SWIG_fail;
6536 }
6537 Py_INCREF(Py_None); resultobj = Py_None;
6538 return resultobj;
6539 fail:
6540 return NULL;
6541}
6542
6543
6544static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6545 PyObject *resultobj;
6546 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6547 PyObject * obj0 = 0 ;
6548 char *kwnames[] = {
6549 (char *) "self", NULL
6550 };
6551
6552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
6553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 wxPyGridTableBase_Destroy(arg1);
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 Py_INCREF(Py_None); resultobj = Py_None;
6563 return resultobj;
6564 fail:
6565 return NULL;
6566}
6567
6568
6569static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6572 int arg2 ;
6573 int arg3 ;
6574 wxString result;
6575 PyObject * obj0 = 0 ;
994141e6
RD
6576 PyObject * obj1 = 0 ;
6577 PyObject * obj2 = 0 ;
d14a1e28
RD
6578 char *kwnames[] = {
6579 (char *) "self",(char *) "row",(char *) "col", NULL
6580 };
6581
994141e6 6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6585 arg2 = (int) SWIG_AsInt(obj1);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 arg3 = (int) SWIG_AsInt(obj2);
6588 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (arg1)->base_GetTypeName(arg2,arg3);
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 {
6597#if wxUSE_UNICODE
6598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6599#else
6600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6601#endif
6602 }
6603 return resultobj;
6604 fail:
6605 return NULL;
6606}
6607
6608
6609static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6610 PyObject *resultobj;
6611 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6612 int arg2 ;
6613 int arg3 ;
6614 wxString *arg4 = 0 ;
6615 bool result;
e811c8ce 6616 bool temp4 = False ;
d14a1e28 6617 PyObject * obj0 = 0 ;
994141e6
RD
6618 PyObject * obj1 = 0 ;
6619 PyObject * obj2 = 0 ;
d14a1e28
RD
6620 PyObject * obj3 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6623 };
6624
994141e6 6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6628 arg2 = (int) SWIG_AsInt(obj1);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 arg3 = (int) SWIG_AsInt(obj2);
6631 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6632 {
6633 arg4 = wxString_in_helper(obj3);
6634 if (arg4 == NULL) SWIG_fail;
e811c8ce 6635 temp4 = True;
d14a1e28
RD
6636 }
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
4d5c3d91 6644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6645 {
6646 if (temp4)
6647 delete arg4;
6648 }
6649 return resultobj;
6650 fail:
6651 {
6652 if (temp4)
6653 delete arg4;
6654 }
6655 return NULL;
6656}
6657
6658
6659static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6660 PyObject *resultobj;
6661 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6662 int arg2 ;
6663 int arg3 ;
6664 wxString *arg4 = 0 ;
6665 bool result;
e811c8ce 6666 bool temp4 = False ;
d14a1e28 6667 PyObject * obj0 = 0 ;
994141e6
RD
6668 PyObject * obj1 = 0 ;
6669 PyObject * obj2 = 0 ;
d14a1e28
RD
6670 PyObject * obj3 = 0 ;
6671 char *kwnames[] = {
6672 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6673 };
6674
994141e6 6675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6678 arg2 = (int) SWIG_AsInt(obj1);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 arg3 = (int) SWIG_AsInt(obj2);
6681 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6682 {
6683 arg4 = wxString_in_helper(obj3);
6684 if (arg4 == NULL) SWIG_fail;
e811c8ce 6685 temp4 = True;
d14a1e28
RD
6686 }
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
4d5c3d91 6694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6695 {
6696 if (temp4)
6697 delete arg4;
6698 }
6699 return resultobj;
6700 fail:
6701 {
6702 if (temp4)
6703 delete arg4;
6704 }
6705 return NULL;
6706}
6707
6708
6709static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj;
6711 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6712 PyObject * obj0 = 0 ;
6713 char *kwnames[] = {
6714 (char *) "self", NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
6718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 (arg1)->base_Clear();
6723
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 Py_INCREF(Py_None); resultobj = Py_None;
6728 return resultobj;
6729 fail:
6730 return NULL;
6731}
6732
6733
6734static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6735 PyObject *resultobj;
6736 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6737 size_t arg2 = (size_t) 0 ;
6738 size_t arg3 = (size_t) 1 ;
6739 bool result;
6740 PyObject * obj0 = 0 ;
6741 PyObject * obj1 = 0 ;
6742 PyObject * obj2 = 0 ;
6743 char *kwnames[] = {
6744 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6745 };
6746
6747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6750 if (obj1) {
15afbcd0
RD
6751 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6753 }
6754 if (obj2) {
15afbcd0
RD
6755 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6756 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6757 }
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 }
4d5c3d91 6765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6766 return resultobj;
6767 fail:
6768 return NULL;
6769}
6770
6771
6772static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6773 PyObject *resultobj;
6774 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6775 size_t arg2 = (size_t) 1 ;
6776 bool result;
6777 PyObject * obj0 = 0 ;
6778 PyObject * obj1 = 0 ;
6779 char *kwnames[] = {
6780 (char *) "self",(char *) "numRows", NULL
6781 };
6782
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6786 if (obj1) {
15afbcd0
RD
6787 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6788 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6789 }
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 result = (bool)(arg1)->base_AppendRows(arg2);
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
4d5c3d91 6797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6798 return resultobj;
6799 fail:
6800 return NULL;
6801}
6802
6803
6804static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6805 PyObject *resultobj;
6806 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6807 size_t arg2 = (size_t) 0 ;
6808 size_t arg3 = (size_t) 1 ;
6809 bool result;
6810 PyObject * obj0 = 0 ;
6811 PyObject * obj1 = 0 ;
6812 PyObject * obj2 = 0 ;
6813 char *kwnames[] = {
6814 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6815 };
6816
6817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6820 if (obj1) {
15afbcd0
RD
6821 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6823 }
6824 if (obj2) {
15afbcd0
RD
6825 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6826 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6827 }
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
4d5c3d91 6835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6836 return resultobj;
6837 fail:
6838 return NULL;
6839}
6840
6841
6842static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject *resultobj;
6844 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6845 size_t arg2 = (size_t) 0 ;
6846 size_t arg3 = (size_t) 1 ;
6847 bool result;
6848 PyObject * obj0 = 0 ;
6849 PyObject * obj1 = 0 ;
6850 PyObject * obj2 = 0 ;
6851 char *kwnames[] = {
6852 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6853 };
6854
6855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6858 if (obj1) {
15afbcd0
RD
6859 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6861 }
6862 if (obj2) {
15afbcd0
RD
6863 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6865 }
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
4d5c3d91 6873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6874 return resultobj;
6875 fail:
6876 return NULL;
6877}
6878
6879
6880static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6883 size_t arg2 = (size_t) 1 ;
6884 bool result;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "numCols", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6894 if (obj1) {
15afbcd0
RD
6895 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6896 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6897 }
6898 {
6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
6900 result = (bool)(arg1)->base_AppendCols(arg2);
6901
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
4d5c3d91 6905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6906 return resultobj;
6907 fail:
6908 return NULL;
6909}
6910
6911
6912static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6913 PyObject *resultobj;
6914 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6915 size_t arg2 = (size_t) 0 ;
6916 size_t arg3 = (size_t) 1 ;
6917 bool result;
6918 PyObject * obj0 = 0 ;
6919 PyObject * obj1 = 0 ;
6920 PyObject * obj2 = 0 ;
6921 char *kwnames[] = {
6922 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6923 };
6924
6925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6928 if (obj1) {
15afbcd0
RD
6929 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6930 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6931 }
6932 if (obj2) {
15afbcd0
RD
6933 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6934 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6935 }
6936 {
6937 PyThreadState* __tstate = wxPyBeginAllowThreads();
6938 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
6939
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
4d5c3d91 6943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6944 return resultobj;
6945 fail:
6946 return NULL;
6947}
6948
6949
6950static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj;
6952 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6953 int arg2 ;
6954 wxString result;
6955 PyObject * obj0 = 0 ;
994141e6 6956 PyObject * obj1 = 0 ;
d14a1e28
RD
6957 char *kwnames[] = {
6958 (char *) "self",(char *) "row", NULL
6959 };
6960
994141e6 6961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6964 arg2 = (int) SWIG_AsInt(obj1);
6965 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6966 {
6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
6968 result = (arg1)->base_GetRowLabelValue(arg2);
6969
6970 wxPyEndAllowThreads(__tstate);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
6973 {
6974#if wxUSE_UNICODE
6975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6976#else
6977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6978#endif
6979 }
6980 return resultobj;
6981 fail:
6982 return NULL;
6983}
6984
6985
6986static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6989 int arg2 ;
6990 wxString result;
6991 PyObject * obj0 = 0 ;
994141e6 6992 PyObject * obj1 = 0 ;
d14a1e28
RD
6993 char *kwnames[] = {
6994 (char *) "self",(char *) "col", NULL
6995 };
6996
994141e6 6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7000 arg2 = (int) SWIG_AsInt(obj1);
7001 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 result = (arg1)->base_GetColLabelValue(arg2);
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 {
7010#if wxUSE_UNICODE
7011 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7012#else
7013 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7014#endif
7015 }
7016 return resultobj;
7017 fail:
7018 return NULL;
7019}
7020
7021
7022static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7023 PyObject *resultobj;
7024 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7025 int arg2 ;
7026 wxString *arg3 = 0 ;
e811c8ce 7027 bool temp3 = False ;
d14a1e28 7028 PyObject * obj0 = 0 ;
994141e6 7029 PyObject * obj1 = 0 ;
d14a1e28
RD
7030 PyObject * obj2 = 0 ;
7031 char *kwnames[] = {
7032 (char *) "self",(char *) "row",(char *) "value", NULL
7033 };
7034
994141e6 7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7038 arg2 = (int) SWIG_AsInt(obj1);
7039 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7040 {
7041 arg3 = wxString_in_helper(obj2);
7042 if (arg3 == NULL) SWIG_fail;
e811c8ce 7043 temp3 = True;
d14a1e28
RD
7044 }
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 Py_INCREF(Py_None); resultobj = Py_None;
7053 {
7054 if (temp3)
7055 delete arg3;
7056 }
7057 return resultobj;
7058 fail:
7059 {
7060 if (temp3)
7061 delete arg3;
7062 }
7063 return NULL;
7064}
7065
7066
7067static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7068 PyObject *resultobj;
7069 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7070 int arg2 ;
7071 wxString *arg3 = 0 ;
e811c8ce 7072 bool temp3 = False ;
d14a1e28 7073 PyObject * obj0 = 0 ;
994141e6 7074 PyObject * obj1 = 0 ;
d14a1e28
RD
7075 PyObject * obj2 = 0 ;
7076 char *kwnames[] = {
7077 (char *) "self",(char *) "col",(char *) "value", NULL
7078 };
7079
994141e6 7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7083 arg2 = (int) SWIG_AsInt(obj1);
7084 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7085 {
7086 arg3 = wxString_in_helper(obj2);
7087 if (arg3 == NULL) SWIG_fail;
e811c8ce 7088 temp3 = True;
d14a1e28
RD
7089 }
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 Py_INCREF(Py_None); resultobj = Py_None;
7098 {
7099 if (temp3)
7100 delete arg3;
7101 }
7102 return resultobj;
7103 fail:
7104 {
7105 if (temp3)
7106 delete arg3;
7107 }
7108 return NULL;
7109}
7110
7111
7112static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
7113 PyObject *resultobj;
7114 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7115 bool result;
7116 PyObject * obj0 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "self", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
7122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7124 {
7125 PyThreadState* __tstate = wxPyBeginAllowThreads();
7126 result = (bool)(arg1)->base_CanHaveAttributes();
7127
7128 wxPyEndAllowThreads(__tstate);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
4d5c3d91 7131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7132 return resultobj;
7133 fail:
7134 return NULL;
7135}
7136
7137
7138static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7139 PyObject *resultobj;
7140 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7141 int arg2 ;
7142 int arg3 ;
7143 int arg4 ;
7144 wxGridCellAttr *result;
7145 PyObject * obj0 = 0 ;
994141e6
RD
7146 PyObject * obj1 = 0 ;
7147 PyObject * obj2 = 0 ;
7148 PyObject * obj3 = 0 ;
d14a1e28
RD
7149 char *kwnames[] = {
7150 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7151 };
7152
994141e6 7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7156 arg2 = (int) SWIG_AsInt(obj1);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 arg3 = (int) SWIG_AsInt(obj2);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
7161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7162 {
7163 PyThreadState* __tstate = wxPyBeginAllowThreads();
7164 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
7165
7166 wxPyEndAllowThreads(__tstate);
7167 if (PyErr_Occurred()) SWIG_fail;
7168 }
7169 {
7170 resultobj = wxPyMake_wxGridCellAttr(result);
7171 }
7172 return resultobj;
7173 fail:
7174 return NULL;
7175}
7176
7177
7178static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj;
7180 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7181 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7182 int arg3 ;
7183 int arg4 ;
7184 PyObject * obj0 = 0 ;
7185 PyObject * obj1 = 0 ;
994141e6
RD
7186 PyObject * obj2 = 0 ;
7187 PyObject * obj3 = 0 ;
d14a1e28
RD
7188 char *kwnames[] = {
7189 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7190 };
7191
994141e6 7192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7197 arg3 = (int) SWIG_AsInt(obj2);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 arg4 = (int) SWIG_AsInt(obj3);
7200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 (arg1)->base_SetAttr(arg2,arg3,arg4);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 Py_INCREF(Py_None); resultobj = Py_None;
7209 return resultobj;
7210 fail:
7211 return NULL;
7212}
7213
7214
7215static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj;
7217 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7218 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7219 int arg3 ;
7220 PyObject * obj0 = 0 ;
7221 PyObject * obj1 = 0 ;
994141e6 7222 PyObject * obj2 = 0 ;
d14a1e28
RD
7223 char *kwnames[] = {
7224 (char *) "self",(char *) "attr",(char *) "row", NULL
7225 };
7226
994141e6 7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7232 arg3 = (int) SWIG_AsInt(obj2);
7233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 (arg1)->base_SetRowAttr(arg2,arg3);
7237
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 Py_INCREF(Py_None); resultobj = Py_None;
7242 return resultobj;
7243 fail:
7244 return NULL;
7245}
7246
7247
7248static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7249 PyObject *resultobj;
7250 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7251 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7252 int arg3 ;
7253 PyObject * obj0 = 0 ;
7254 PyObject * obj1 = 0 ;
994141e6 7255 PyObject * obj2 = 0 ;
d14a1e28
RD
7256 char *kwnames[] = {
7257 (char *) "self",(char *) "attr",(char *) "col", NULL
7258 };
7259
994141e6 7260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7263 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7265 arg3 = (int) SWIG_AsInt(obj2);
7266 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 (arg1)->base_SetColAttr(arg2,arg3);
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 Py_INCREF(Py_None); resultobj = Py_None;
7275 return resultobj;
7276 fail:
7277 return NULL;
7278}
7279
7280
7281static PyObject * PyGridTableBase_swigregister(PyObject *self, PyObject *args) {
7282 PyObject *obj;
7283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7284 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
7285 Py_INCREF(obj);
7286 return Py_BuildValue((char *)"");
7287}
7288static PyObject *_wrap_new_GridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7289 PyObject *resultobj;
7290 int arg1 = (int) 0 ;
7291 int arg2 = (int) 0 ;
7292 wxGridStringTable *result;
994141e6
RD
7293 PyObject * obj0 = 0 ;
7294 PyObject * obj1 = 0 ;
d14a1e28
RD
7295 char *kwnames[] = {
7296 (char *) "numRows",(char *) "numCols", NULL
7297 };
7298
994141e6
RD
7299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail;
7300 if (obj0) {
15afbcd0
RD
7301 arg1 = (int) SWIG_AsInt(obj0);
7302 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7303 }
7304 if (obj1) {
15afbcd0
RD
7305 arg2 = (int) SWIG_AsInt(obj1);
7306 if (PyErr_Occurred()) SWIG_fail;
994141e6 7307 }
d14a1e28
RD
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
15afbcd0 7315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridStringTable, 1);
d14a1e28
RD
7316 return resultobj;
7317 fail:
7318 return NULL;
7319}
7320
7321
7322static PyObject * GridStringTable_swigregister(PyObject *self, PyObject *args) {
7323 PyObject *obj;
7324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7325 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
7326 Py_INCREF(obj);
7327 return Py_BuildValue((char *)"");
7328}
7329static PyObject *_wrap_new_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7330 PyObject *resultobj;
7331 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7332 int arg2 ;
7333 int arg3 = (int) -1 ;
7334 int arg4 = (int) -1 ;
7335 wxGridTableMessage *result;
7336 PyObject * obj0 = 0 ;
994141e6
RD
7337 PyObject * obj1 = 0 ;
7338 PyObject * obj2 = 0 ;
7339 PyObject * obj3 = 0 ;
d14a1e28
RD
7340 char *kwnames[] = {
7341 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7342 };
7343
994141e6 7344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GridTableMessage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
7346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7347 arg2 = (int) SWIG_AsInt(obj1);
7348 if (PyErr_Occurred()) SWIG_fail;
994141e6 7349 if (obj2) {
15afbcd0
RD
7350 arg3 = (int) SWIG_AsInt(obj2);
7351 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7352 }
7353 if (obj3) {
15afbcd0
RD
7354 arg4 = (int) SWIG_AsInt(obj3);
7355 if (PyErr_Occurred()) SWIG_fail;
994141e6 7356 }
d14a1e28
RD
7357 {
7358 PyThreadState* __tstate = wxPyBeginAllowThreads();
7359 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
7360
7361 wxPyEndAllowThreads(__tstate);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 }
15afbcd0 7364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridTableMessage, 1);
d14a1e28
RD
7365 return resultobj;
7366 fail:
7367 return NULL;
7368}
7369
7370
7371static PyObject *_wrap_delete_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7372 PyObject *resultobj;
7373 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7374 PyObject * obj0 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self", NULL
7377 };
7378
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
7380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 delete arg1;
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 Py_INCREF(Py_None); resultobj = Py_None;
7390 return resultobj;
7391 fail:
7392 return NULL;
7393}
7394
7395
7396static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7399 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
7400 PyObject * obj0 = 0 ;
7401 PyObject * obj1 = 0 ;
7402 char *kwnames[] = {
7403 (char *) "self",(char *) "table", NULL
7404 };
7405
7406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
7410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 (arg1)->SetTableObject(arg2);
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 }
7418 Py_INCREF(Py_None); resultobj = Py_None;
7419 return resultobj;
7420 fail:
7421 return NULL;
7422}
7423
7424
7425static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7428 wxGridTableBase *result;
7429 PyObject * obj0 = 0 ;
7430 char *kwnames[] = {
7431 (char *) "self", NULL
7432 };
7433
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
7435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7437 {
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
7440
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 {
7445 resultobj = wxPyMake_wxGridTableBase(result);
7446 }
7447 return resultobj;
7448 fail:
7449 return NULL;
7450}
7451
7452
7453static PyObject *_wrap_GridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj;
7455 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7456 int arg2 ;
7457 PyObject * obj0 = 0 ;
994141e6 7458 PyObject * obj1 = 0 ;
d14a1e28
RD
7459 char *kwnames[] = {
7460 (char *) "self",(char *) "id", NULL
7461 };
7462
994141e6 7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7466 arg2 = (int) SWIG_AsInt(obj1);
7467 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 (arg1)->SetId(arg2);
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 Py_INCREF(Py_None); resultobj = Py_None;
7476 return resultobj;
7477 fail:
7478 return NULL;
7479}
7480
7481
7482static PyObject *_wrap_GridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7483 PyObject *resultobj;
7484 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7485 int result;
7486 PyObject * obj0 = 0 ;
7487 char *kwnames[] = {
7488 (char *) "self", NULL
7489 };
7490
7491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
7492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7494 {
7495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7496 result = (int)(arg1)->GetId();
7497
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
15afbcd0 7501 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7502 return resultobj;
7503 fail:
7504 return NULL;
7505}
7506
7507
7508static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj;
7510 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7511 int arg2 ;
7512 PyObject * obj0 = 0 ;
994141e6 7513 PyObject * obj1 = 0 ;
d14a1e28
RD
7514 char *kwnames[] = {
7515 (char *) "self",(char *) "comInt1", NULL
7516 };
7517
994141e6 7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7521 arg2 = (int) SWIG_AsInt(obj1);
7522 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7523 {
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 (arg1)->SetCommandInt(arg2);
7526
7527 wxPyEndAllowThreads(__tstate);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
7530 Py_INCREF(Py_None); resultobj = Py_None;
7531 return resultobj;
7532 fail:
7533 return NULL;
7534}
7535
7536
7537static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7538 PyObject *resultobj;
7539 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7540 int result;
7541 PyObject * obj0 = 0 ;
7542 char *kwnames[] = {
7543 (char *) "self", NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
7547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7549 {
7550 PyThreadState* __tstate = wxPyBeginAllowThreads();
7551 result = (int)(arg1)->GetCommandInt();
7552
7553 wxPyEndAllowThreads(__tstate);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
15afbcd0 7556 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7557 return resultobj;
7558 fail:
7559 return NULL;
7560}
7561
7562
7563static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj;
7565 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7566 int arg2 ;
7567 PyObject * obj0 = 0 ;
994141e6 7568 PyObject * obj1 = 0 ;
d14a1e28
RD
7569 char *kwnames[] = {
7570 (char *) "self",(char *) "comInt2", NULL
7571 };
7572
994141e6 7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7576 arg2 = (int) SWIG_AsInt(obj1);
7577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 (arg1)->SetCommandInt2(arg2);
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 Py_INCREF(Py_None); resultobj = Py_None;
7586 return resultobj;
7587 fail:
7588 return NULL;
7589}
7590
7591
7592static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj;
7594 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7595 int result;
7596 PyObject * obj0 = 0 ;
7597 char *kwnames[] = {
7598 (char *) "self", NULL
7599 };
7600
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
15afbcd0
RD
7602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 result = (int)(arg1)->GetCommandInt2();
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
15afbcd0 7611 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7612 return resultobj;
7613 fail:
7614 return NULL;
7615}
7616
7617
7618static PyObject * GridTableMessage_swigregister(PyObject *self, PyObject *args) {
7619 PyObject *obj;
7620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7621 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
7622 Py_INCREF(obj);
7623 return Py_BuildValue((char *)"");
7624}
7625static PyObject *_wrap_new_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7626 PyObject *resultobj;
7627 int arg1 = (int) -1 ;
7628 int arg2 = (int) -1 ;
7629 wxGridCellCoords *result;
994141e6
RD
7630 PyObject * obj0 = 0 ;
7631 PyObject * obj1 = 0 ;
d14a1e28
RD
7632 char *kwnames[] = {
7633 (char *) "r",(char *) "c", NULL
7634 };
7635
994141e6
RD
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail;
7637 if (obj0) {
15afbcd0
RD
7638 arg1 = (int) SWIG_AsInt(obj0);
7639 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7640 }
7641 if (obj1) {
15afbcd0
RD
7642 arg2 = (int) SWIG_AsInt(obj1);
7643 if (PyErr_Occurred()) SWIG_fail;
994141e6 7644 }
d14a1e28
RD
7645 {
7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7647 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
7648
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
15afbcd0 7652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
7653 return resultobj;
7654 fail:
7655 return NULL;
7656}
7657
7658
7659static PyObject *_wrap_delete_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7660 PyObject *resultobj;
7661 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7662 PyObject * obj0 = 0 ;
7663 char *kwnames[] = {
7664 (char *) "self", NULL
7665 };
7666
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
7668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 delete arg1;
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 Py_INCREF(Py_None); resultobj = Py_None;
7678 return resultobj;
7679 fail:
7680 return NULL;
7681}
7682
7683
7684static PyObject *_wrap_GridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj;
7686 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7687 int result;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
7694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
15afbcd0 7703 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7704 return resultobj;
7705 fail:
7706 return NULL;
7707}
7708
7709
7710static PyObject *_wrap_GridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7711 PyObject *resultobj;
7712 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7713 int arg2 ;
7714 PyObject * obj0 = 0 ;
994141e6 7715 PyObject * obj1 = 0 ;
d14a1e28
RD
7716 char *kwnames[] = {
7717 (char *) "self",(char *) "n", NULL
7718 };
7719
994141e6 7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7723 arg2 = (int) SWIG_AsInt(obj1);
7724 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 (arg1)->SetRow(arg2);
7728
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 Py_INCREF(Py_None); resultobj = Py_None;
7733 return resultobj;
7734 fail:
7735 return NULL;
7736}
7737
7738
7739static PyObject *_wrap_GridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7740 PyObject *resultobj;
7741 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7742 int result;
7743 PyObject * obj0 = 0 ;
7744 char *kwnames[] = {
7745 (char *) "self", NULL
7746 };
7747
7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
7749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
15afbcd0 7758 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7759 return resultobj;
7760 fail:
7761 return NULL;
7762}
7763
7764
7765static PyObject *_wrap_GridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj;
7767 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7768 int arg2 ;
7769 PyObject * obj0 = 0 ;
994141e6 7770 PyObject * obj1 = 0 ;
d14a1e28
RD
7771 char *kwnames[] = {
7772 (char *) "self",(char *) "n", NULL
7773 };
7774
994141e6 7775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7778 arg2 = (int) SWIG_AsInt(obj1);
7779 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7780 {
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 (arg1)->SetCol(arg2);
7783
7784 wxPyEndAllowThreads(__tstate);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 }
7787 Py_INCREF(Py_None); resultobj = Py_None;
7788 return resultobj;
7789 fail:
7790 return NULL;
7791}
7792
7793
7794static PyObject *_wrap_GridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7795 PyObject *resultobj;
7796 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7797 int arg2 ;
7798 int arg3 ;
7799 PyObject * obj0 = 0 ;
994141e6
RD
7800 PyObject * obj1 = 0 ;
7801 PyObject * obj2 = 0 ;
d14a1e28
RD
7802 char *kwnames[] = {
7803 (char *) "self",(char *) "row",(char *) "col", NULL
7804 };
7805
994141e6 7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellCoords_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7809 arg2 = (int) SWIG_AsInt(obj1);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 arg3 = (int) SWIG_AsInt(obj2);
7812 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 (arg1)->Set(arg2,arg3);
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 Py_INCREF(Py_None); resultobj = Py_None;
7821 return resultobj;
7822 fail:
7823 return NULL;
7824}
7825
7826
7827static PyObject *_wrap_GridCellCoords___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7830 wxGridCellCoords *arg2 = 0 ;
7831 bool result;
22faec7d 7832 wxGridCellCoords temp2 ;
d14a1e28
RD
7833 PyObject * obj0 = 0 ;
7834 PyObject * obj1 = 0 ;
7835 char *kwnames[] = {
7836 (char *) "self",(char *) "other", NULL
7837 };
7838
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22faec7d
RD
7842 {
7843 arg2 = &temp2;
7844 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
7845 }
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
4d5c3d91 7853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7854 return resultobj;
7855 fail:
7856 return NULL;
7857}
7858
7859
7860static PyObject *_wrap_GridCellCoords___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7861 PyObject *resultobj;
7862 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7863 wxGridCellCoords *arg2 = 0 ;
7864 bool result;
22faec7d 7865 wxGridCellCoords temp2 ;
d14a1e28
RD
7866 PyObject * obj0 = 0 ;
7867 PyObject * obj1 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self",(char *) "other", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22faec7d
RD
7875 {
7876 arg2 = &temp2;
7877 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
7878 }
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
4d5c3d91 7886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7887 return resultobj;
7888 fail:
7889 return NULL;
7890}
7891
7892
7893static PyObject *_wrap_GridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj;
7895 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7896 PyObject *result;
7897 PyObject * obj0 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_asTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
7903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = (PyObject *)wxGridCellCoords_asTuple(arg1);
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 resultobj = result;
7913 return resultobj;
7914 fail:
7915 return NULL;
7916}
7917
7918
7919static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) {
7920 PyObject *obj;
7921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7922 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
7923 Py_INCREF(obj);
7924 return Py_BuildValue((char *)"");
7925}
7926static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) {
7927 PyObject *resultobj;
7928 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 7929 int arg2 ;
d14a1e28
RD
7930 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7931 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7932 wxSize const &arg4_defvalue = wxDefaultSize ;
7933 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7934 long arg5 = (long) wxWANTS_CHARS ;
7935 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7936 wxString *arg6 = (wxString *) &arg6_defvalue ;
7937 wxGrid *result;
7938 wxPoint temp3 ;
7939 wxSize temp4 ;
e811c8ce 7940 bool temp6 = False ;
d14a1e28 7941 PyObject * obj0 = 0 ;
994141e6 7942 PyObject * obj1 = 0 ;
d14a1e28
RD
7943 PyObject * obj2 = 0 ;
7944 PyObject * obj3 = 0 ;
994141e6 7945 PyObject * obj4 = 0 ;
d14a1e28
RD
7946 PyObject * obj5 = 0 ;
7947 char *kwnames[] = {
7948 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7949 };
7950
994141e6 7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Grid",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
7952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7954 arg2 = (int) SWIG_AsInt(obj1);
7955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7956 if (obj2) {
7957 {
7958 arg3 = &temp3;
7959 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7960 }
7961 }
7962 if (obj3) {
7963 {
7964 arg4 = &temp4;
7965 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7966 }
7967 }
994141e6 7968 if (obj4) {
15afbcd0
RD
7969 arg5 = (long) SWIG_AsLong(obj4);
7970 if (PyErr_Occurred()) SWIG_fail;
994141e6 7971 }
d14a1e28
RD
7972 if (obj5) {
7973 {
7974 arg6 = wxString_in_helper(obj5);
7975 if (arg6 == NULL) SWIG_fail;
e811c8ce 7976 temp6 = True;
d14a1e28
RD
7977 }
7978 }
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7982
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 {
7987 resultobj = wxPyMake_wxObject(result);
7988 }
7989 {
7990 if (temp6)
7991 delete arg6;
7992 }
7993 return resultobj;
7994 fail:
7995 {
7996 if (temp6)
7997 delete arg6;
7998 }
7999 return NULL;
8000}
8001
8002
8003static PyObject *_wrap_Grid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8004 PyObject *resultobj;
8005 wxGrid *arg1 = (wxGrid *) 0 ;
8006 int arg2 ;
8007 int arg3 ;
8008 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8009 bool result;
8010 PyObject * obj0 = 0 ;
994141e6
RD
8011 PyObject * obj1 = 0 ;
8012 PyObject * obj2 = 0 ;
8013 PyObject * obj3 = 0 ;
d14a1e28
RD
8014 char *kwnames[] = {
8015 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8016 };
8017
994141e6 8018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_CreateGrid",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8021 arg2 = (int) SWIG_AsInt(obj1);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 arg3 = (int) SWIG_AsInt(obj2);
8024 if (PyErr_Occurred()) SWIG_fail;
994141e6 8025 if (obj3) {
15afbcd0
RD
8026 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8027 if (PyErr_Occurred()) SWIG_fail;
994141e6 8028 }
d14a1e28
RD
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
4d5c3d91 8036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8037 return resultobj;
8038 fail:
8039 return NULL;
8040}
8041
8042
8043static PyObject *_wrap_Grid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8044 PyObject *resultobj;
8045 wxGrid *arg1 = (wxGrid *) 0 ;
8046 WXGRIDSELECTIONMODES arg2 ;
8047 PyObject * obj0 = 0 ;
994141e6 8048 PyObject * obj1 = 0 ;
d14a1e28
RD
8049 char *kwnames[] = {
8050 (char *) "self",(char *) "selmode", NULL
8051 };
8052
994141e6 8053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8056 arg2 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj1);
8057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 (arg1)->SetSelectionMode(arg2);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 Py_INCREF(Py_None); resultobj = Py_None;
8066 return resultobj;
8067 fail:
8068 return NULL;
8069}
8070
8071
8072static PyObject *_wrap_Grid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxGrid *arg1 = (wxGrid *) 0 ;
8075 WXGRIDSELECTIONMODES result;
8076 PyObject * obj0 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "self", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
8082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8084 {
8085 PyThreadState* __tstate = wxPyBeginAllowThreads();
8086 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
8087
8088 wxPyEndAllowThreads(__tstate);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 }
15afbcd0 8091 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8092 return resultobj;
8093 fail:
8094 return NULL;
8095}
8096
8097
8098static PyObject *_wrap_Grid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8099 PyObject *resultobj;
8100 wxGrid *arg1 = (wxGrid *) 0 ;
8101 int result;
8102 PyObject * obj0 = 0 ;
8103 char *kwnames[] = {
8104 (char *) "self", NULL
8105 };
8106
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
8108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 result = (int)(arg1)->GetNumberRows();
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
15afbcd0 8117 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8118 return resultobj;
8119 fail:
8120 return NULL;
8121}
8122
8123
8124static PyObject *_wrap_Grid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxGrid *arg1 = (wxGrid *) 0 ;
8127 int result;
8128 PyObject * obj0 = 0 ;
8129 char *kwnames[] = {
8130 (char *) "self", NULL
8131 };
8132
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
8134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 result = (int)(arg1)->GetNumberCols();
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
15afbcd0 8143 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8144 return resultobj;
8145 fail:
8146 return NULL;
8147}
8148
8149
8150static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxGrid *arg1 = (wxGrid *) 0 ;
8153 wxGridTableMessage *arg2 = 0 ;
8154 bool result;
8155 PyObject * obj0 = 0 ;
8156 PyObject * obj1 = 0 ;
8157 char *kwnames[] = {
8158 (char *) "self","arg2", NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableMessage,
8165 SWIG_POINTER_EXCEPTION | 0)) == -1)
8166 SWIG_fail;
d14a1e28 8167 if (arg2 == NULL) {
15afbcd0
RD
8168 PyErr_SetString(PyExc_TypeError,"null reference");
8169 SWIG_fail;
d14a1e28
RD
8170 }
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 result = (bool)(arg1)->ProcessTableMessage(*arg2);
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
4d5c3d91 8178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8179 return resultobj;
8180 fail:
8181 return NULL;
8182}
8183
8184
8185static PyObject *_wrap_Grid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj;
8187 wxGrid *arg1 = (wxGrid *) 0 ;
8188 wxGridTableBase *result;
8189 PyObject * obj0 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "self", NULL
8192 };
8193
8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
8195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 {
8205 resultobj = wxPyMake_wxGridTableBase(result);
8206 }
8207 return resultobj;
8208 fail:
8209 return NULL;
8210}
8211
8212
8213static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8214 PyObject *resultobj;
8215 wxGrid *arg1 = (wxGrid *) 0 ;
8216 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
e811c8ce 8217 bool arg3 = (bool) False ;
d14a1e28
RD
8218 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8219 bool result;
8220 PyObject * obj0 = 0 ;
8221 PyObject * obj1 = 0 ;
8222 PyObject * obj2 = 0 ;
994141e6 8223 PyObject * obj3 = 0 ;
d14a1e28
RD
8224 char *kwnames[] = {
8225 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8226 };
8227
994141e6 8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
8232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8233 if (obj2) {
15afbcd0
RD
8234 arg3 = (bool) SWIG_AsBool(obj2);
8235 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8236 }
8237 if (obj3) {
15afbcd0
RD
8238 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8239 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8240 }
8241 {
8242 PyThreadState* __tstate = wxPyBeginAllowThreads();
8243 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
8244
8245 wxPyEndAllowThreads(__tstate);
8246 if (PyErr_Occurred()) SWIG_fail;
8247 }
4d5c3d91 8248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8249 return resultobj;
8250 fail:
8251 return NULL;
8252}
8253
8254
8255static PyObject *_wrap_Grid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8256 PyObject *resultobj;
8257 wxGrid *arg1 = (wxGrid *) 0 ;
8258 PyObject * obj0 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "self", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
15afbcd0
RD
8264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 (arg1)->ClearGrid();
8269
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 Py_INCREF(Py_None); resultobj = Py_None;
8274 return resultobj;
8275 fail:
8276 return NULL;
8277}
8278
8279
8280static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8281 PyObject *resultobj;
8282 wxGrid *arg1 = (wxGrid *) 0 ;
8283 int arg2 = (int) 0 ;
8284 int arg3 = (int) 1 ;
e811c8ce 8285 bool arg4 = (bool) True ;
d14a1e28
RD
8286 bool result;
8287 PyObject * obj0 = 0 ;
994141e6
RD
8288 PyObject * obj1 = 0 ;
8289 PyObject * obj2 = 0 ;
d14a1e28
RD
8290 PyObject * obj3 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8293 };
8294
994141e6 8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8298 if (obj1) {
15afbcd0
RD
8299 arg2 = (int) SWIG_AsInt(obj1);
8300 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8301 }
8302 if (obj2) {
15afbcd0
RD
8303 arg3 = (int) SWIG_AsInt(obj2);
8304 if (PyErr_Occurred()) SWIG_fail;
994141e6 8305 }
d14a1e28 8306 if (obj3) {
15afbcd0
RD
8307 arg4 = (bool) SWIG_AsBool(obj3);
8308 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
4d5c3d91 8317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8318 return resultobj;
8319 fail:
8320 return NULL;
8321}
8322
8323
8324static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 wxGrid *arg1 = (wxGrid *) 0 ;
8327 int arg2 = (int) 1 ;
e811c8ce 8328 bool arg3 = (bool) True ;
d14a1e28
RD
8329 bool result;
8330 PyObject * obj0 = 0 ;
994141e6 8331 PyObject * obj1 = 0 ;
d14a1e28
RD
8332 PyObject * obj2 = 0 ;
8333 char *kwnames[] = {
8334 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8335 };
8336
994141e6 8337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8340 if (obj1) {
15afbcd0
RD
8341 arg2 = (int) SWIG_AsInt(obj1);
8342 if (PyErr_Occurred()) SWIG_fail;
994141e6 8343 }
d14a1e28 8344 if (obj2) {
15afbcd0
RD
8345 arg3 = (bool) SWIG_AsBool(obj2);
8346 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8347 }
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 result = (bool)(arg1)->AppendRows(arg2,arg3);
8351
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
4d5c3d91 8355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8356 return resultobj;
8357 fail:
8358 return NULL;
8359}
8360
8361
8362static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8363 PyObject *resultobj;
8364 wxGrid *arg1 = (wxGrid *) 0 ;
8365 int arg2 = (int) 0 ;
8366 int arg3 = (int) 1 ;
e811c8ce 8367 bool arg4 = (bool) True ;
d14a1e28
RD
8368 bool result;
8369 PyObject * obj0 = 0 ;
994141e6
RD
8370 PyObject * obj1 = 0 ;
8371 PyObject * obj2 = 0 ;
d14a1e28
RD
8372 PyObject * obj3 = 0 ;
8373 char *kwnames[] = {
8374 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8375 };
8376
994141e6 8377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8380 if (obj1) {
15afbcd0
RD
8381 arg2 = (int) SWIG_AsInt(obj1);
8382 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8383 }
8384 if (obj2) {
15afbcd0
RD
8385 arg3 = (int) SWIG_AsInt(obj2);
8386 if (PyErr_Occurred()) SWIG_fail;
994141e6 8387 }
d14a1e28 8388 if (obj3) {
15afbcd0
RD
8389 arg4 = (bool) SWIG_AsBool(obj3);
8390 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8391 }
8392 {
8393 PyThreadState* __tstate = wxPyBeginAllowThreads();
8394 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
8395
8396 wxPyEndAllowThreads(__tstate);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 }
4d5c3d91 8399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8400 return resultobj;
8401 fail:
8402 return NULL;
8403}
8404
8405
8406static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8407 PyObject *resultobj;
8408 wxGrid *arg1 = (wxGrid *) 0 ;
8409 int arg2 = (int) 0 ;
8410 int arg3 = (int) 1 ;
e811c8ce 8411 bool arg4 = (bool) True ;
d14a1e28
RD
8412 bool result;
8413 PyObject * obj0 = 0 ;
994141e6
RD
8414 PyObject * obj1 = 0 ;
8415 PyObject * obj2 = 0 ;
d14a1e28
RD
8416 PyObject * obj3 = 0 ;
8417 char *kwnames[] = {
8418 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8419 };
8420
994141e6 8421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8424 if (obj1) {
15afbcd0
RD
8425 arg2 = (int) SWIG_AsInt(obj1);
8426 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8427 }
8428 if (obj2) {
15afbcd0
RD
8429 arg3 = (int) SWIG_AsInt(obj2);
8430 if (PyErr_Occurred()) SWIG_fail;
994141e6 8431 }
d14a1e28 8432 if (obj3) {
15afbcd0
RD
8433 arg4 = (bool) SWIG_AsBool(obj3);
8434 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8435 }
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
8439
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
4d5c3d91 8443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8444 return resultobj;
8445 fail:
8446 return NULL;
8447}
8448
8449
8450static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8451 PyObject *resultobj;
8452 wxGrid *arg1 = (wxGrid *) 0 ;
8453 int arg2 = (int) 1 ;
e811c8ce 8454 bool arg3 = (bool) True ;
d14a1e28
RD
8455 bool result;
8456 PyObject * obj0 = 0 ;
994141e6 8457 PyObject * obj1 = 0 ;
d14a1e28
RD
8458 PyObject * obj2 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8461 };
8462
994141e6 8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8466 if (obj1) {
15afbcd0
RD
8467 arg2 = (int) SWIG_AsInt(obj1);
8468 if (PyErr_Occurred()) SWIG_fail;
994141e6 8469 }
d14a1e28 8470 if (obj2) {
15afbcd0
RD
8471 arg3 = (bool) SWIG_AsBool(obj2);
8472 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8473 }
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (bool)(arg1)->AppendCols(arg2,arg3);
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
4d5c3d91 8481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8482 return resultobj;
8483 fail:
8484 return NULL;
8485}
8486
8487
8488static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj;
8490 wxGrid *arg1 = (wxGrid *) 0 ;
8491 int arg2 = (int) 0 ;
8492 int arg3 = (int) 1 ;
e811c8ce 8493 bool arg4 = (bool) True ;
d14a1e28
RD
8494 bool result;
8495 PyObject * obj0 = 0 ;
994141e6
RD
8496 PyObject * obj1 = 0 ;
8497 PyObject * obj2 = 0 ;
d14a1e28
RD
8498 PyObject * obj3 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8501 };
8502
994141e6 8503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8506 if (obj1) {
15afbcd0
RD
8507 arg2 = (int) SWIG_AsInt(obj1);
8508 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8509 }
8510 if (obj2) {
15afbcd0
RD
8511 arg3 = (int) SWIG_AsInt(obj2);
8512 if (PyErr_Occurred()) SWIG_fail;
994141e6 8513 }
d14a1e28 8514 if (obj3) {
15afbcd0
RD
8515 arg4 = (bool) SWIG_AsBool(obj3);
8516 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8517 }
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
4d5c3d91 8525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8526 return resultobj;
8527 fail:
8528 return NULL;
8529}
8530
8531
8532static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8533 PyObject *resultobj;
8534 wxGrid *arg1 = (wxGrid *) 0 ;
8535 wxDC *arg2 = 0 ;
8536 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
8537 PyObject * obj0 = 0 ;
8538 PyObject * obj1 = 0 ;
8539 PyObject * obj2 = 0 ;
8540 char *kwnames[] = {
8541 (char *) "self",(char *) "dc",(char *) "attr", NULL
8542 };
8543
8544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8548 SWIG_POINTER_EXCEPTION | 0)) == -1)
8549 SWIG_fail;
d14a1e28 8550 if (arg2 == NULL) {
15afbcd0
RD
8551 PyErr_SetString(PyExc_TypeError,"null reference");
8552 SWIG_fail;
d14a1e28 8553 }
15afbcd0
RD
8554 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
8555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 Py_INCREF(Py_None); resultobj = Py_None;
8564 return resultobj;
8565 fail:
8566 return NULL;
8567}
8568
8569
8570static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8571 PyObject *resultobj;
8572 wxGrid *arg1 = (wxGrid *) 0 ;
8573 wxDC *arg2 = 0 ;
8574 wxString *arg3 = 0 ;
8575 wxRect *arg4 = 0 ;
8576 int arg5 = (int) wxLEFT ;
8577 int arg6 = (int) wxTOP ;
8578 int arg7 = (int) wxHORIZONTAL ;
e811c8ce 8579 bool temp3 = False ;
d14a1e28
RD
8580 wxRect temp4 ;
8581 PyObject * obj0 = 0 ;
8582 PyObject * obj1 = 0 ;
8583 PyObject * obj2 = 0 ;
8584 PyObject * obj3 = 0 ;
994141e6
RD
8585 PyObject * obj4 = 0 ;
8586 PyObject * obj5 = 0 ;
8587 PyObject * obj6 = 0 ;
d14a1e28
RD
8588 char *kwnames[] = {
8589 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8590 };
8591
994141e6 8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
8593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8596 SWIG_POINTER_EXCEPTION | 0)) == -1)
8597 SWIG_fail;
d14a1e28 8598 if (arg2 == NULL) {
15afbcd0
RD
8599 PyErr_SetString(PyExc_TypeError,"null reference");
8600 SWIG_fail;
d14a1e28
RD
8601 }
8602 {
8603 arg3 = wxString_in_helper(obj2);
8604 if (arg3 == NULL) SWIG_fail;
e811c8ce 8605 temp3 = True;
d14a1e28
RD
8606 }
8607 {
8608 arg4 = &temp4;
8609 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
8610 }
994141e6 8611 if (obj4) {
15afbcd0
RD
8612 arg5 = (int) SWIG_AsInt(obj4);
8613 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8614 }
8615 if (obj5) {
15afbcd0
RD
8616 arg6 = (int) SWIG_AsInt(obj5);
8617 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8618 }
8619 if (obj6) {
15afbcd0
RD
8620 arg7 = (int) SWIG_AsInt(obj6);
8621 if (PyErr_Occurred()) SWIG_fail;
994141e6 8622 }
d14a1e28
RD
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
8626
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 Py_INCREF(Py_None); resultobj = Py_None;
8631 {
8632 if (temp3)
8633 delete arg3;
8634 }
8635 return resultobj;
8636 fail:
8637 {
8638 if (temp3)
8639 delete arg3;
8640 }
8641 return NULL;
8642}
8643
8644
8645static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8646 PyObject *resultobj;
8647 wxGrid *arg1 = (wxGrid *) 0 ;
8648 wxDC *arg2 = 0 ;
8649 wxArrayString *arg3 = 0 ;
8650 long *arg4 = (long *) 0 ;
8651 long *arg5 = (long *) 0 ;
3adfb63b 8652 bool temp3 = False ;
d14a1e28
RD
8653 long temp4 ;
8654 long temp5 ;
8655 PyObject * obj0 = 0 ;
8656 PyObject * obj1 = 0 ;
8657 PyObject * obj2 = 0 ;
8658 char *kwnames[] = {
8659 (char *) "self",(char *) "dc",(char *) "lines", NULL
8660 };
8661
8662 arg4 = &temp4;
8663 arg5 = &temp5;
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8668 SWIG_POINTER_EXCEPTION | 0)) == -1)
8669 SWIG_fail;
d14a1e28 8670 if (arg2 == NULL) {
15afbcd0
RD
8671 PyErr_SetString(PyExc_TypeError,"null reference");
8672 SWIG_fail;
d14a1e28
RD
8673 }
8674 {
8675 if (! PySequence_Check(obj2)) {
8676 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8677 SWIG_fail;
8678 }
8679 arg3 = new wxArrayString;
3adfb63b 8680 temp3 = True;
d14a1e28
RD
8681 int i, len=PySequence_Length(obj2);
8682 for (i=0; i<len; i++) {
8683 PyObject* item = PySequence_GetItem(obj2, i);
8684#if wxUSE_UNICODE
8685 PyObject* str = PyObject_Unicode(item);
8686#else
8687 PyObject* str = PyObject_Str(item);
8688#endif
8689 arg3->Add(Py2wxString(str));
8690 Py_DECREF(item);
8691 Py_DECREF(str);
8692 }
8693 }
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 Py_INCREF(Py_None); resultobj = Py_None;
8702 {
8703 PyObject *o = PyInt_FromLong((long) (*arg4));
8704 resultobj = t_output_helper(resultobj,o);
8705 }
8706 {
8707 PyObject *o = PyInt_FromLong((long) (*arg5));
8708 resultobj = t_output_helper(resultobj,o);
8709 }
8710 {
3adfb63b 8711 if (temp3) delete arg3;
d14a1e28
RD
8712 }
8713 return resultobj;
8714 fail:
8715 {
3adfb63b 8716 if (temp3) delete arg3;
d14a1e28
RD
8717 }
8718 return NULL;
8719}
8720
8721
8722static PyObject *_wrap_Grid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxGrid *arg1 = (wxGrid *) 0 ;
8725 PyObject * obj0 = 0 ;
8726 char *kwnames[] = {
8727 (char *) "self", NULL
8728 };
8729
8730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
8731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8733 {
8734 PyThreadState* __tstate = wxPyBeginAllowThreads();
8735 (arg1)->BeginBatch();
8736
8737 wxPyEndAllowThreads(__tstate);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 Py_INCREF(Py_None); resultobj = Py_None;
8741 return resultobj;
8742 fail:
8743 return NULL;
8744}
8745
8746
8747static PyObject *_wrap_Grid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8748 PyObject *resultobj;
8749 wxGrid *arg1 = (wxGrid *) 0 ;
8750 PyObject * obj0 = 0 ;
8751 char *kwnames[] = {
8752 (char *) "self", NULL
8753 };
8754
8755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
8756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8758 {
8759 PyThreadState* __tstate = wxPyBeginAllowThreads();
8760 (arg1)->EndBatch();
8761
8762 wxPyEndAllowThreads(__tstate);
8763 if (PyErr_Occurred()) SWIG_fail;
8764 }
8765 Py_INCREF(Py_None); resultobj = Py_None;
8766 return resultobj;
8767 fail:
8768 return NULL;
8769}
8770
8771
8772static PyObject *_wrap_Grid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8773 PyObject *resultobj;
8774 wxGrid *arg1 = (wxGrid *) 0 ;
8775 int result;
8776 PyObject * obj0 = 0 ;
8777 char *kwnames[] = {
8778 (char *) "self", NULL
8779 };
8780
8781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
8782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 result = (int)(arg1)->GetBatchCount();
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
15afbcd0 8791 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8792 return resultobj;
8793 fail:
8794 return NULL;
8795}
8796
8797
8798static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj;
8800 wxGrid *arg1 = (wxGrid *) 0 ;
8801 PyObject * obj0 = 0 ;
8802 char *kwnames[] = {
8803 (char *) "self", NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
15afbcd0
RD
8807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 (arg1)->ForceRefresh();
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 Py_INCREF(Py_None); resultobj = Py_None;
8817 return resultobj;
8818 fail:
8819 return NULL;
8820}
8821
8822
d14a1e28
RD
8823static PyObject *_wrap_Grid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8824 PyObject *resultobj;
8825 wxGrid *arg1 = (wxGrid *) 0 ;
8826 bool result;
8827 PyObject * obj0 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "self", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
15afbcd0
RD
8833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 result = (bool)(arg1)->IsEditable();
8838
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
4d5c3d91 8842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8843 return resultobj;
8844 fail:
8845 return NULL;
8846}
8847
8848
8849static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject *resultobj;
8851 wxGrid *arg1 = (wxGrid *) 0 ;
8852 bool arg2 ;
8853 PyObject * obj0 = 0 ;
8854 PyObject * obj1 = 0 ;
8855 char *kwnames[] = {
8856 (char *) "self",(char *) "edit", NULL
8857 };
8858
8859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8862 arg2 = (bool) SWIG_AsBool(obj1);
8863 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 (arg1)->EnableEditing(arg2);
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
8871 Py_INCREF(Py_None); resultobj = Py_None;
8872 return resultobj;
8873 fail:
8874 return NULL;
8875}
8876
8877
8878static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8879 PyObject *resultobj;
8880 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 8881 bool arg2 = (bool) True ;
d14a1e28
RD
8882 PyObject * obj0 = 0 ;
8883 PyObject * obj1 = 0 ;
8884 char *kwnames[] = {
8885 (char *) "self",(char *) "enable", NULL
8886 };
8887
8888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8891 if (obj1) {
15afbcd0
RD
8892 arg2 = (bool) SWIG_AsBool(obj1);
8893 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8894 }
8895 {
8896 PyThreadState* __tstate = wxPyBeginAllowThreads();
8897 (arg1)->EnableCellEditControl(arg2);
8898
8899 wxPyEndAllowThreads(__tstate);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 }
8902 Py_INCREF(Py_None); resultobj = Py_None;
8903 return resultobj;
8904 fail:
8905 return NULL;
8906}
8907
8908
8909static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxGrid *arg1 = (wxGrid *) 0 ;
8912 PyObject * obj0 = 0 ;
8913 char *kwnames[] = {
8914 (char *) "self", NULL
8915 };
8916
8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
8918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 (arg1)->DisableCellEditControl();
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 Py_INCREF(Py_None); resultobj = Py_None;
8928 return resultobj;
8929 fail:
8930 return NULL;
8931}
8932
8933
8934static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8935 PyObject *resultobj;
8936 wxGrid *arg1 = (wxGrid *) 0 ;
8937 bool result;
8938 PyObject * obj0 = 0 ;
8939 char *kwnames[] = {
8940 (char *) "self", NULL
8941 };
8942
8943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
8944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8946 {
8947 PyThreadState* __tstate = wxPyBeginAllowThreads();
8948 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
8949
8950 wxPyEndAllowThreads(__tstate);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
4d5c3d91 8953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8954 return resultobj;
8955 fail:
8956 return NULL;
8957}
8958
8959
8960static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8961 PyObject *resultobj;
8962 wxGrid *arg1 = (wxGrid *) 0 ;
8963 bool result;
8964 PyObject * obj0 = 0 ;
8965 char *kwnames[] = {
8966 (char *) "self", NULL
8967 };
8968
8969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
8970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
8975
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
4d5c3d91 8979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8980 return resultobj;
8981 fail:
8982 return NULL;
8983}
8984
8985
8986static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj;
8988 wxGrid *arg1 = (wxGrid *) 0 ;
8989 bool result;
8990 PyObject * obj0 = 0 ;
8991 char *kwnames[] = {
8992 (char *) "self", NULL
8993 };
8994
8995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
8996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
4d5c3d91 9005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9006 return resultobj;
9007 fail:
9008 return NULL;
9009}
9010
9011
9012static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj;
9014 wxGrid *arg1 = (wxGrid *) 0 ;
9015 bool result;
9016 PyObject * obj0 = 0 ;
9017 char *kwnames[] = {
9018 (char *) "self", NULL
9019 };
9020
9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
15afbcd0
RD
9022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9024 {
9025 PyThreadState* __tstate = wxPyBeginAllowThreads();
9026 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
9027
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
4d5c3d91 9031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9032 return resultobj;
9033 fail:
9034 return NULL;
9035}
9036
9037
9038static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9039 PyObject *resultobj;
9040 wxGrid *arg1 = (wxGrid *) 0 ;
9041 PyObject * obj0 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "self", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 (arg1)->ShowCellEditControl();
9052
9053 wxPyEndAllowThreads(__tstate);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 }
9056 Py_INCREF(Py_None); resultobj = Py_None;
9057 return resultobj;
9058 fail:
9059 return NULL;
9060}
9061
9062
9063static PyObject *_wrap_Grid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9064 PyObject *resultobj;
9065 wxGrid *arg1 = (wxGrid *) 0 ;
9066 PyObject * obj0 = 0 ;
9067 char *kwnames[] = {
9068 (char *) "self", NULL
9069 };
9070
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 (arg1)->HideCellEditControl();
9077
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 Py_INCREF(Py_None); resultobj = Py_None;
9082 return resultobj;
9083 fail:
9084 return NULL;
9085}
9086
9087
9088static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9089 PyObject *resultobj;
9090 wxGrid *arg1 = (wxGrid *) 0 ;
9091 PyObject * obj0 = 0 ;
9092 char *kwnames[] = {
9093 (char *) "self", NULL
9094 };
9095
9096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
9097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9099 {
9100 PyThreadState* __tstate = wxPyBeginAllowThreads();
9101 (arg1)->SaveEditControlValue();
9102
9103 wxPyEndAllowThreads(__tstate);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 }
9106 Py_INCREF(Py_None); resultobj = Py_None;
9107 return resultobj;
9108 fail:
9109 return NULL;
9110}
9111
9112
9113static PyObject *_wrap_Grid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxGrid *arg1 = (wxGrid *) 0 ;
9116 int arg2 ;
9117 int arg3 ;
9118 wxGridCellCoords result;
9119 PyObject * obj0 = 0 ;
994141e6
RD
9120 PyObject * obj1 = 0 ;
9121 PyObject * obj2 = 0 ;
d14a1e28
RD
9122 char *kwnames[] = {
9123 (char *) "self",(char *) "x",(char *) "y", NULL
9124 };
9125
994141e6 9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_XYToCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9129 arg2 = (int) SWIG_AsInt(obj1);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 arg3 = (int) SWIG_AsInt(obj2);
9132 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9133 {
9134 PyThreadState* __tstate = wxPyBeginAllowThreads();
9135 result = wxGrid_XYToCell(arg1,arg2,arg3);
9136
9137 wxPyEndAllowThreads(__tstate);
9138 if (PyErr_Occurred()) SWIG_fail;
9139 }
9140 {
9141 wxGridCellCoords * resultptr;
9142 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 9143 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
9144 }
9145 return resultobj;
9146 fail:
9147 return NULL;
9148}
9149
9150
9151static PyObject *_wrap_Grid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxGrid *arg1 = (wxGrid *) 0 ;
9154 int arg2 ;
9155 int result;
9156 PyObject * obj0 = 0 ;
994141e6 9157 PyObject * obj1 = 0 ;
d14a1e28
RD
9158 char *kwnames[] = {
9159 (char *) "self",(char *) "y", NULL
9160 };
9161
994141e6 9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9165 arg2 = (int) SWIG_AsInt(obj1);
9166 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 result = (int)(arg1)->YToRow(arg2);
9170
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
15afbcd0 9174 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9175 return resultobj;
9176 fail:
9177 return NULL;
9178}
9179
9180
9181static PyObject *_wrap_Grid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj;
9183 wxGrid *arg1 = (wxGrid *) 0 ;
9184 int arg2 ;
9185 int result;
9186 PyObject * obj0 = 0 ;
994141e6 9187 PyObject * obj1 = 0 ;
d14a1e28
RD
9188 char *kwnames[] = {
9189 (char *) "self",(char *) "x", NULL
9190 };
9191
994141e6 9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9195 arg2 = (int) SWIG_AsInt(obj1);
9196 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 result = (int)(arg1)->XToCol(arg2);
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
15afbcd0 9204 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9205 return resultobj;
9206 fail:
9207 return NULL;
9208}
9209
9210
9211static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj;
9213 wxGrid *arg1 = (wxGrid *) 0 ;
9214 int arg2 ;
9215 int result;
9216 PyObject * obj0 = 0 ;
994141e6 9217 PyObject * obj1 = 0 ;
d14a1e28
RD
9218 char *kwnames[] = {
9219 (char *) "self",(char *) "y", NULL
9220 };
9221
994141e6 9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToEdgeOfRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9225 arg2 = (int) SWIG_AsInt(obj1);
9226 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9227 {
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 result = (int)(arg1)->YToEdgeOfRow(arg2);
9230
9231 wxPyEndAllowThreads(__tstate);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
15afbcd0 9234 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9235 return resultobj;
9236 fail:
9237 return NULL;
9238}
9239
9240
9241static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj;
9243 wxGrid *arg1 = (wxGrid *) 0 ;
9244 int arg2 ;
9245 int result;
9246 PyObject * obj0 = 0 ;
994141e6 9247 PyObject * obj1 = 0 ;
d14a1e28
RD
9248 char *kwnames[] = {
9249 (char *) "self",(char *) "x", NULL
9250 };
9251
994141e6 9252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToEdgeOfCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9255 arg2 = (int) SWIG_AsInt(obj1);
9256 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 result = (int)(arg1)->XToEdgeOfCol(arg2);
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
15afbcd0 9264 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9265 return resultobj;
9266 fail:
9267 return NULL;
9268}
9269
9270
9271static PyObject *_wrap_Grid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj;
9273 wxGrid *arg1 = (wxGrid *) 0 ;
9274 int arg2 ;
9275 int arg3 ;
9276 wxRect result;
9277 PyObject * obj0 = 0 ;
994141e6
RD
9278 PyObject * obj1 = 0 ;
9279 PyObject * obj2 = 0 ;
d14a1e28
RD
9280 char *kwnames[] = {
9281 (char *) "self",(char *) "row",(char *) "col", NULL
15afbcd0
RD
9282 };
9283
9284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_CellToRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
9285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9287 arg2 = (int) SWIG_AsInt(obj1);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 arg3 = (int) SWIG_AsInt(obj2);
9290 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 result = (arg1)->CellToRect(arg2,arg3);
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 {
9299 wxRect * resultptr;
9300 resultptr = new wxRect((wxRect &) result);
15afbcd0 9301 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
9302 }
9303 return resultobj;
9304 fail:
9305 return NULL;
9306}
9307
9308
9309static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9310 PyObject *resultobj;
9311 wxGrid *arg1 = (wxGrid *) 0 ;
9312 int result;
9313 PyObject * obj0 = 0 ;
9314 char *kwnames[] = {
9315 (char *) "self", NULL
9316 };
9317
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
9319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 result = (int)(arg1)->GetGridCursorRow();
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
15afbcd0 9328 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9329 return resultobj;
9330 fail:
9331 return NULL;
9332}
9333
9334
9335static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj;
9337 wxGrid *arg1 = (wxGrid *) 0 ;
9338 int result;
9339 PyObject * obj0 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
9345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 result = (int)(arg1)->GetGridCursorCol();
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
15afbcd0 9354 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9355 return resultobj;
9356 fail:
9357 return NULL;
9358}
9359
9360
9361static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj;
9363 wxGrid *arg1 = (wxGrid *) 0 ;
9364 int arg2 ;
9365 int arg3 ;
e811c8ce 9366 bool arg4 = (bool) True ;
d14a1e28
RD
9367 bool result;
9368 PyObject * obj0 = 0 ;
994141e6
RD
9369 PyObject * obj1 = 0 ;
9370 PyObject * obj2 = 0 ;
d14a1e28
RD
9371 PyObject * obj3 = 0 ;
9372 char *kwnames[] = {
9373 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9374 };
9375
994141e6 9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_IsVisible",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9379 arg2 = (int) SWIG_AsInt(obj1);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 arg3 = (int) SWIG_AsInt(obj2);
9382 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9383 if (obj3) {
15afbcd0
RD
9384 arg4 = (bool) SWIG_AsBool(obj3);
9385 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9386 }
9387 {
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
9390
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
4d5c3d91 9394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9395 return resultobj;
9396 fail:
9397 return NULL;
9398}
9399
9400
9401static PyObject *_wrap_Grid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9402 PyObject *resultobj;
9403 wxGrid *arg1 = (wxGrid *) 0 ;
9404 int arg2 ;
9405 int arg3 ;
9406 PyObject * obj0 = 0 ;
994141e6
RD
9407 PyObject * obj1 = 0 ;
9408 PyObject * obj2 = 0 ;
d14a1e28
RD
9409 char *kwnames[] = {
9410 (char *) "self",(char *) "row",(char *) "col", NULL
9411 };
9412
994141e6 9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_MakeCellVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9416 arg2 = (int) SWIG_AsInt(obj1);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 arg3 = (int) SWIG_AsInt(obj2);
9419 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 (arg1)->MakeCellVisible(arg2,arg3);
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 Py_INCREF(Py_None); resultobj = Py_None;
9428 return resultobj;
9429 fail:
9430 return NULL;
9431}
9432
9433
9434static PyObject *_wrap_Grid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj;
9436 wxGrid *arg1 = (wxGrid *) 0 ;
9437 int arg2 ;
9438 int arg3 ;
9439 PyObject * obj0 = 0 ;
994141e6
RD
9440 PyObject * obj1 = 0 ;
9441 PyObject * obj2 = 0 ;
d14a1e28
RD
9442 char *kwnames[] = {
9443 (char *) "self",(char *) "row",(char *) "col", NULL
9444 };
9445
994141e6 9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetGridCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9449 arg2 = (int) SWIG_AsInt(obj1);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 arg3 = (int) SWIG_AsInt(obj2);
9452 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 (arg1)->SetGridCursor(arg2,arg3);
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 Py_INCREF(Py_None); resultobj = Py_None;
9461 return resultobj;
9462 fail:
9463 return NULL;
9464}
9465
9466
9467static PyObject *_wrap_Grid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9468 PyObject *resultobj;
9469 wxGrid *arg1 = (wxGrid *) 0 ;
9470 bool arg2 ;
9471 bool result;
9472 PyObject * obj0 = 0 ;
9473 PyObject * obj1 = 0 ;
9474 char *kwnames[] = {
9475 (char *) "self",(char *) "expandSelection", NULL
9476 };
9477
9478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9481 arg2 = (bool) SWIG_AsBool(obj1);
9482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 result = (bool)(arg1)->MoveCursorUp(arg2);
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
4d5c3d91 9490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9491 return resultobj;
9492 fail:
9493 return NULL;
9494}
9495
9496
9497static PyObject *_wrap_Grid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9498 PyObject *resultobj;
9499 wxGrid *arg1 = (wxGrid *) 0 ;
9500 bool arg2 ;
9501 bool result;
9502 PyObject * obj0 = 0 ;
9503 PyObject * obj1 = 0 ;
9504 char *kwnames[] = {
9505 (char *) "self",(char *) "expandSelection", NULL
9506 };
9507
9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9511 arg2 = (bool) SWIG_AsBool(obj1);
9512 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = (bool)(arg1)->MoveCursorDown(arg2);
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
4d5c3d91 9520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9521 return resultobj;
9522 fail:
9523 return NULL;
9524}
9525
9526
9527static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9528 PyObject *resultobj;
9529 wxGrid *arg1 = (wxGrid *) 0 ;
9530 bool arg2 ;
9531 bool result;
9532 PyObject * obj0 = 0 ;
9533 PyObject * obj1 = 0 ;
9534 char *kwnames[] = {
9535 (char *) "self",(char *) "expandSelection", NULL
9536 };
9537
9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9541 arg2 = (bool) SWIG_AsBool(obj1);
9542 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 result = (bool)(arg1)->MoveCursorLeft(arg2);
9546
9547 wxPyEndAllowThreads(__tstate);
9548 if (PyErr_Occurred()) SWIG_fail;
9549 }
4d5c3d91 9550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9551 return resultobj;
9552 fail:
9553 return NULL;
9554}
9555
9556
9557static PyObject *_wrap_Grid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9558 PyObject *resultobj;
9559 wxGrid *arg1 = (wxGrid *) 0 ;
9560 bool arg2 ;
9561 bool result;
9562 PyObject * obj0 = 0 ;
9563 PyObject * obj1 = 0 ;
9564 char *kwnames[] = {
9565 (char *) "self",(char *) "expandSelection", NULL
9566 };
9567
9568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9571 arg2 = (bool) SWIG_AsBool(obj1);
9572 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 result = (bool)(arg1)->MoveCursorRight(arg2);
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
4d5c3d91 9580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9581 return resultobj;
9582 fail:
9583 return NULL;
9584}
9585
9586
9587static PyObject *_wrap_Grid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj;
9589 wxGrid *arg1 = (wxGrid *) 0 ;
9590 bool result;
9591 PyObject * obj0 = 0 ;
9592 char *kwnames[] = {
9593 (char *) "self", NULL
9594 };
9595
9596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
9597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 result = (bool)(arg1)->MovePageDown();
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
4d5c3d91 9606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9607 return resultobj;
9608 fail:
9609 return NULL;
9610}
9611
9612
9613static PyObject *_wrap_Grid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9614 PyObject *resultobj;
9615 wxGrid *arg1 = (wxGrid *) 0 ;
9616 bool result;
9617 PyObject * obj0 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
9623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (bool)(arg1)->MovePageUp();
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
4d5c3d91 9632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9633 return resultobj;
9634 fail:
9635 return NULL;
9636}
9637
9638
9639static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9640 PyObject *resultobj;
9641 wxGrid *arg1 = (wxGrid *) 0 ;
9642 bool arg2 ;
9643 bool result;
9644 PyObject * obj0 = 0 ;
9645 PyObject * obj1 = 0 ;
9646 char *kwnames[] = {
9647 (char *) "self",(char *) "expandSelection", NULL
9648 };
9649
9650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9653 arg2 = (bool) SWIG_AsBool(obj1);
9654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
9658
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
4d5c3d91 9662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9663 return resultobj;
9664 fail:
9665 return NULL;
9666}
9667
9668
9669static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj;
9671 wxGrid *arg1 = (wxGrid *) 0 ;
9672 bool arg2 ;
9673 bool result;
9674 PyObject * obj0 = 0 ;
9675 PyObject * obj1 = 0 ;
9676 char *kwnames[] = {
9677 (char *) "self",(char *) "expandSelection", NULL
9678 };
9679
9680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9683 arg2 = (bool) SWIG_AsBool(obj1);
9684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
9688
9689 wxPyEndAllowThreads(__tstate);
9690 if (PyErr_Occurred()) SWIG_fail;
9691 }
4d5c3d91 9692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9693 return resultobj;
9694 fail:
9695 return NULL;
9696}
9697
9698
9699static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9700 PyObject *resultobj;
9701 wxGrid *arg1 = (wxGrid *) 0 ;
9702 bool arg2 ;
9703 bool result;
9704 PyObject * obj0 = 0 ;
9705 PyObject * obj1 = 0 ;
9706 char *kwnames[] = {
9707 (char *) "self",(char *) "expandSelection", NULL
9708 };
9709
9710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9713 arg2 = (bool) SWIG_AsBool(obj1);
9714 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9715 {
9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
9717 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
9718
9719 wxPyEndAllowThreads(__tstate);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
4d5c3d91 9722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9723 return resultobj;
9724 fail:
9725 return NULL;
9726}
9727
9728
9729static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9730 PyObject *resultobj;
9731 wxGrid *arg1 = (wxGrid *) 0 ;
9732 bool arg2 ;
9733 bool result;
9734 PyObject * obj0 = 0 ;
9735 PyObject * obj1 = 0 ;
9736 char *kwnames[] = {
9737 (char *) "self",(char *) "expandSelection", NULL
9738 };
9739
9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9743 arg2 = (bool) SWIG_AsBool(obj1);
9744 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
4d5c3d91 9752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9753 return resultobj;
9754 fail:
9755 return NULL;
9756}
9757
9758
9759static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj;
9761 wxGrid *arg1 = (wxGrid *) 0 ;
9762 int result;
9763 PyObject * obj0 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 result = (int)(arg1)->GetDefaultRowLabelSize();
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
15afbcd0 9778 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9779 return resultobj;
9780 fail:
9781 return NULL;
9782}
9783
9784
9785static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj;
9787 wxGrid *arg1 = (wxGrid *) 0 ;
9788 int result;
9789 PyObject * obj0 = 0 ;
9790 char *kwnames[] = {
9791 (char *) "self", NULL
9792 };
9793
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
9795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = (int)(arg1)->GetRowLabelSize();
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
15afbcd0 9804 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9805 return resultobj;
9806 fail:
9807 return NULL;
9808}
9809
9810
9811static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxGrid *arg1 = (wxGrid *) 0 ;
9814 int result;
9815 PyObject * obj0 = 0 ;
9816 char *kwnames[] = {
9817 (char *) "self", NULL
9818 };
9819
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
9821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9823 {
9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
9825 result = (int)(arg1)->GetDefaultColLabelSize();
9826
9827 wxPyEndAllowThreads(__tstate);
9828 if (PyErr_Occurred()) SWIG_fail;
9829 }
15afbcd0 9830 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9831 return resultobj;
9832 fail:
9833 return NULL;
9834}
9835
9836
9837static PyObject *_wrap_Grid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9838 PyObject *resultobj;
9839 wxGrid *arg1 = (wxGrid *) 0 ;
9840 int result;
9841 PyObject * obj0 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
9847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 result = (int)(arg1)->GetColLabelSize();
9852
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
15afbcd0 9856 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9857 return resultobj;
9858 fail:
9859 return NULL;
9860}
9861
9862
9863static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxGrid *arg1 = (wxGrid *) 0 ;
9866 wxColour result;
9867 PyObject * obj0 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
9873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 result = (arg1)->GetLabelBackgroundColour();
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 {
9883 wxColour * resultptr;
9884 resultptr = new wxColour((wxColour &) result);
15afbcd0 9885 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
9886 }
9887 return resultobj;
9888 fail:
9889 return NULL;
9890}
9891
9892
9893static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj;
9895 wxGrid *arg1 = (wxGrid *) 0 ;
9896 wxColour result;
9897 PyObject * obj0 = 0 ;
9898 char *kwnames[] = {
9899 (char *) "self", NULL
9900 };
9901
9902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
9903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 result = (arg1)->GetLabelTextColour();
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
9912 {
9913 wxColour * resultptr;
9914 resultptr = new wxColour((wxColour &) result);
15afbcd0 9915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
9916 }
9917 return resultobj;
9918 fail:
9919 return NULL;
9920}
9921
9922
9923static PyObject *_wrap_Grid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9924 PyObject *resultobj;
9925 wxGrid *arg1 = (wxGrid *) 0 ;
9926 wxFont result;
9927 PyObject * obj0 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self", NULL
9930 };
9931
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
9933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9935 {
9936 PyThreadState* __tstate = wxPyBeginAllowThreads();
9937 result = (arg1)->GetLabelFont();
9938
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 }
9942 {
9943 wxFont * resultptr;
9944 resultptr = new wxFont((wxFont &) result);
15afbcd0 9945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
9946 }
9947 return resultobj;
9948 fail:
9949 return NULL;
9950}
9951
9952
9953static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxGrid *arg1 = (wxGrid *) 0 ;
9956 int *arg2 = (int *) 0 ;
9957 int *arg3 = (int *) 0 ;
9958 int temp2 ;
9959 int temp3 ;
9960 PyObject * obj0 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "self", NULL
9963 };
9964
9965 arg2 = &temp2;
9966 arg3 = &temp3;
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
9968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9970 {
9971 PyThreadState* __tstate = wxPyBeginAllowThreads();
9972 (arg1)->GetRowLabelAlignment(arg2,arg3);
9973
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 Py_INCREF(Py_None); resultobj = Py_None;
9978 {
9979 PyObject *o = PyInt_FromLong((long) (*arg2));
9980 resultobj = t_output_helper(resultobj,o);
9981 }
9982 {
9983 PyObject *o = PyInt_FromLong((long) (*arg3));
9984 resultobj = t_output_helper(resultobj,o);
9985 }
9986 return resultobj;
9987 fail:
9988 return NULL;
9989}
9990
9991
9992static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9993 PyObject *resultobj;
9994 wxGrid *arg1 = (wxGrid *) 0 ;
9995 int *arg2 = (int *) 0 ;
9996 int *arg3 = (int *) 0 ;
9997 int temp2 ;
9998 int temp3 ;
9999 PyObject * obj0 = 0 ;
10000 char *kwnames[] = {
10001 (char *) "self", NULL
10002 };
10003
10004 arg2 = &temp2;
10005 arg3 = &temp3;
10006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
10007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10009 {
10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
10011 (arg1)->GetColLabelAlignment(arg2,arg3);
10012
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 Py_INCREF(Py_None); resultobj = Py_None;
10017 {
10018 PyObject *o = PyInt_FromLong((long) (*arg2));
10019 resultobj = t_output_helper(resultobj,o);
10020 }
10021 {
10022 PyObject *o = PyInt_FromLong((long) (*arg3));
10023 resultobj = t_output_helper(resultobj,o);
10024 }
10025 return resultobj;
10026 fail:
10027 return NULL;
10028}
10029
10030
10031static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10032 PyObject *resultobj;
10033 wxGrid *arg1 = (wxGrid *) 0 ;
10034 int result;
10035 PyObject * obj0 = 0 ;
10036 char *kwnames[] = {
10037 (char *) "self", NULL
10038 };
10039
10040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
10041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 result = (int)(arg1)->GetColLabelTextOrientation();
10046
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
15afbcd0 10050 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10051 return resultobj;
10052 fail:
10053 return NULL;
10054}
10055
10056
10057static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10058 PyObject *resultobj;
10059 wxGrid *arg1 = (wxGrid *) 0 ;
10060 int arg2 ;
10061 wxString result;
10062 PyObject * obj0 = 0 ;
994141e6 10063 PyObject * obj1 = 0 ;
d14a1e28
RD
10064 char *kwnames[] = {
10065 (char *) "self",(char *) "row", NULL
10066 };
10067
994141e6 10068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10071 arg2 = (int) SWIG_AsInt(obj1);
10072 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10073 {
10074 PyThreadState* __tstate = wxPyBeginAllowThreads();
10075 result = (arg1)->GetRowLabelValue(arg2);
10076
10077 wxPyEndAllowThreads(__tstate);
10078 if (PyErr_Occurred()) SWIG_fail;
10079 }
10080 {
10081#if wxUSE_UNICODE
10082 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10083#else
10084 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10085#endif
10086 }
10087 return resultobj;
10088 fail:
10089 return NULL;
10090}
10091
10092
10093static PyObject *_wrap_Grid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10094 PyObject *resultobj;
10095 wxGrid *arg1 = (wxGrid *) 0 ;
10096 int arg2 ;
10097 wxString result;
10098 PyObject * obj0 = 0 ;
994141e6 10099 PyObject * obj1 = 0 ;
d14a1e28
RD
10100 char *kwnames[] = {
10101 (char *) "self",(char *) "col", NULL
10102 };
10103
994141e6 10104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10107 arg2 = (int) SWIG_AsInt(obj1);
10108 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (arg1)->GetColLabelValue(arg2);
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 {
10117#if wxUSE_UNICODE
10118 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10119#else
10120 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10121#endif
10122 }
10123 return resultobj;
10124 fail:
10125 return NULL;
10126}
10127
10128
10129static PyObject *_wrap_Grid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10130 PyObject *resultobj;
10131 wxGrid *arg1 = (wxGrid *) 0 ;
10132 wxColour result;
10133 PyObject * obj0 = 0 ;
10134 char *kwnames[] = {
10135 (char *) "self", NULL
10136 };
10137
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10141 {
10142 PyThreadState* __tstate = wxPyBeginAllowThreads();
10143 result = (arg1)->GetGridLineColour();
10144
10145 wxPyEndAllowThreads(__tstate);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 }
10148 {
10149 wxColour * resultptr;
10150 resultptr = new wxColour((wxColour &) result);
15afbcd0 10151 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10152 }
10153 return resultobj;
10154 fail:
10155 return NULL;
10156}
10157
10158
10159static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj;
10161 wxGrid *arg1 = (wxGrid *) 0 ;
10162 wxColour result;
10163 PyObject * obj0 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "self", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 result = (arg1)->GetCellHighlightColour();
10174
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 {
10179 wxColour * resultptr;
10180 resultptr = new wxColour((wxColour &) result);
15afbcd0 10181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10182 }
10183 return resultobj;
10184 fail:
10185 return NULL;
10186}
10187
10188
10189static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj;
10191 wxGrid *arg1 = (wxGrid *) 0 ;
10192 int result;
10193 PyObject * obj0 = 0 ;
10194 char *kwnames[] = {
10195 (char *) "self", NULL
10196 };
10197
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 result = (int)(arg1)->GetCellHighlightPenWidth();
10204
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
15afbcd0 10208 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10209 return resultobj;
10210 fail:
10211 return NULL;
10212}
10213
10214
10215static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj;
10217 wxGrid *arg1 = (wxGrid *) 0 ;
10218 int result;
10219 PyObject * obj0 = 0 ;
10220 char *kwnames[] = {
10221 (char *) "self", NULL
10222 };
10223
10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10227 {
10228 PyThreadState* __tstate = wxPyBeginAllowThreads();
10229 result = (int)(arg1)->GetCellHighlightROPenWidth();
10230
10231 wxPyEndAllowThreads(__tstate);
10232 if (PyErr_Occurred()) SWIG_fail;
10233 }
15afbcd0 10234 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10235 return resultobj;
10236 fail:
10237 return NULL;
10238}
10239
10240
10241static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10242 PyObject *resultobj;
10243 wxGrid *arg1 = (wxGrid *) 0 ;
10244 int arg2 ;
10245 PyObject * obj0 = 0 ;
994141e6 10246 PyObject * obj1 = 0 ;
d14a1e28
RD
10247 char *kwnames[] = {
10248 (char *) "self",(char *) "width", NULL
10249 };
10250
994141e6 10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10254 arg2 = (int) SWIG_AsInt(obj1);
10255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 (arg1)->SetRowLabelSize(arg2);
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 Py_INCREF(Py_None); resultobj = Py_None;
10264 return resultobj;
10265 fail:
10266 return NULL;
10267}
10268
10269
10270static PyObject *_wrap_Grid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject *resultobj;
10272 wxGrid *arg1 = (wxGrid *) 0 ;
10273 int arg2 ;
10274 PyObject * obj0 = 0 ;
994141e6 10275 PyObject * obj1 = 0 ;
d14a1e28
RD
10276 char *kwnames[] = {
10277 (char *) "self",(char *) "height", NULL
10278 };
10279
994141e6 10280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10283 arg2 = (int) SWIG_AsInt(obj1);
10284 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 (arg1)->SetColLabelSize(arg2);
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 Py_INCREF(Py_None); resultobj = Py_None;
10293 return resultobj;
10294 fail:
10295 return NULL;
10296}
10297
10298
10299static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10300 PyObject *resultobj;
10301 wxGrid *arg1 = (wxGrid *) 0 ;
10302 wxColour *arg2 = 0 ;
10303 wxColour temp2 ;
10304 PyObject * obj0 = 0 ;
10305 PyObject * obj1 = 0 ;
10306 char *kwnames[] = {
10307 (char *) "self","arg2", NULL
10308 };
10309
10310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10313 {
10314 arg2 = &temp2;
10315 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10316 }
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
10320
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 Py_INCREF(Py_None); resultobj = Py_None;
10325 return resultobj;
10326 fail:
10327 return NULL;
10328}
10329
10330
10331static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10332 PyObject *resultobj;
10333 wxGrid *arg1 = (wxGrid *) 0 ;
10334 wxColour *arg2 = 0 ;
10335 wxColour temp2 ;
10336 PyObject * obj0 = 0 ;
10337 PyObject * obj1 = 0 ;
10338 char *kwnames[] = {
10339 (char *) "self","arg2", NULL
10340 };
10341
10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10345 {
10346 arg2 = &temp2;
10347 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10348 }
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 Py_INCREF(Py_None); resultobj = Py_None;
10357 return resultobj;
10358 fail:
10359 return NULL;
10360}
10361
10362
10363static PyObject *_wrap_Grid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxGrid *arg1 = (wxGrid *) 0 ;
10366 wxFont *arg2 = 0 ;
10367 PyObject * obj0 = 0 ;
10368 PyObject * obj1 = 0 ;
10369 char *kwnames[] = {
10370 (char *) "self","arg2", NULL
10371 };
10372
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
10377 SWIG_POINTER_EXCEPTION | 0)) == -1)
10378 SWIG_fail;
d14a1e28 10379 if (arg2 == NULL) {
15afbcd0
RD
10380 PyErr_SetString(PyExc_TypeError,"null reference");
10381 SWIG_fail;
d14a1e28
RD
10382 }
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 (arg1)->SetLabelFont((wxFont const &)*arg2);
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 Py_INCREF(Py_None); resultobj = Py_None;
10391 return resultobj;
10392 fail:
10393 return NULL;
10394}
10395
10396
10397static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10398 PyObject *resultobj;
10399 wxGrid *arg1 = (wxGrid *) 0 ;
10400 int arg2 ;
10401 int arg3 ;
10402 PyObject * obj0 = 0 ;
994141e6
RD
10403 PyObject * obj1 = 0 ;
10404 PyObject * obj2 = 0 ;
d14a1e28
RD
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10407 };
10408
994141e6 10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10412 arg2 = (int) SWIG_AsInt(obj1);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 arg3 = (int) SWIG_AsInt(obj2);
10415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 (arg1)->SetRowLabelAlignment(arg2,arg3);
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 Py_INCREF(Py_None); resultobj = Py_None;
10424 return resultobj;
10425 fail:
10426 return NULL;
10427}
10428
10429
10430static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10431 PyObject *resultobj;
10432 wxGrid *arg1 = (wxGrid *) 0 ;
10433 int arg2 ;
10434 int arg3 ;
10435 PyObject * obj0 = 0 ;
994141e6
RD
10436 PyObject * obj1 = 0 ;
10437 PyObject * obj2 = 0 ;
d14a1e28
RD
10438 char *kwnames[] = {
10439 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10440 };
10441
994141e6 10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10445 arg2 = (int) SWIG_AsInt(obj1);
10446 if (PyErr_Occurred()) SWIG_fail;
10447 arg3 = (int) SWIG_AsInt(obj2);
10448 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10449 {
10450 PyThreadState* __tstate = wxPyBeginAllowThreads();
10451 (arg1)->SetColLabelAlignment(arg2,arg3);
10452
10453 wxPyEndAllowThreads(__tstate);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 Py_INCREF(Py_None); resultobj = Py_None;
10457 return resultobj;
10458 fail:
10459 return NULL;
10460}
10461
10462
10463static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10464 PyObject *resultobj;
10465 wxGrid *arg1 = (wxGrid *) 0 ;
10466 int arg2 ;
10467 PyObject * obj0 = 0 ;
994141e6 10468 PyObject * obj1 = 0 ;
d14a1e28
RD
10469 char *kwnames[] = {
10470 (char *) "self",(char *) "textOrientation", NULL
10471 };
10472
994141e6 10473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10476 arg2 = (int) SWIG_AsInt(obj1);
10477 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10478 {
10479 PyThreadState* __tstate = wxPyBeginAllowThreads();
10480 (arg1)->SetColLabelTextOrientation(arg2);
10481
10482 wxPyEndAllowThreads(__tstate);
10483 if (PyErr_Occurred()) SWIG_fail;
10484 }
10485 Py_INCREF(Py_None); resultobj = Py_None;
10486 return resultobj;
10487 fail:
10488 return NULL;
10489}
10490
10491
10492static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10493 PyObject *resultobj;
10494 wxGrid *arg1 = (wxGrid *) 0 ;
10495 int arg2 ;
10496 wxString *arg3 = 0 ;
e811c8ce 10497 bool temp3 = False ;
d14a1e28 10498 PyObject * obj0 = 0 ;
994141e6 10499 PyObject * obj1 = 0 ;
d14a1e28
RD
10500 PyObject * obj2 = 0 ;
10501 char *kwnames[] = {
10502 (char *) "self",(char *) "row","arg3", NULL
10503 };
10504
994141e6 10505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10508 arg2 = (int) SWIG_AsInt(obj1);
10509 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10510 {
10511 arg3 = wxString_in_helper(obj2);
10512 if (arg3 == NULL) SWIG_fail;
e811c8ce 10513 temp3 = True;
d14a1e28
RD
10514 }
10515 {
10516 PyThreadState* __tstate = wxPyBeginAllowThreads();
10517 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
10518
10519 wxPyEndAllowThreads(__tstate);
10520 if (PyErr_Occurred()) SWIG_fail;
10521 }
10522 Py_INCREF(Py_None); resultobj = Py_None;
10523 {
10524 if (temp3)
10525 delete arg3;
10526 }
10527 return resultobj;
10528 fail:
10529 {
10530 if (temp3)
10531 delete arg3;
10532 }
10533 return NULL;
10534}
10535
10536
10537static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10538 PyObject *resultobj;
10539 wxGrid *arg1 = (wxGrid *) 0 ;
10540 int arg2 ;
10541 wxString *arg3 = 0 ;
e811c8ce 10542 bool temp3 = False ;
d14a1e28 10543 PyObject * obj0 = 0 ;
994141e6 10544 PyObject * obj1 = 0 ;
d14a1e28
RD
10545 PyObject * obj2 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self",(char *) "col","arg3", NULL
10548 };
10549
994141e6 10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10553 arg2 = (int) SWIG_AsInt(obj1);
10554 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10555 {
10556 arg3 = wxString_in_helper(obj2);
10557 if (arg3 == NULL) SWIG_fail;
e811c8ce 10558 temp3 = True;
d14a1e28
RD
10559 }
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 Py_INCREF(Py_None); resultobj = Py_None;
10568 {
10569 if (temp3)
10570 delete arg3;
10571 }
10572 return resultobj;
10573 fail:
10574 {
10575 if (temp3)
10576 delete arg3;
10577 }
10578 return NULL;
10579}
10580
10581
10582static PyObject *_wrap_Grid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj;
10584 wxGrid *arg1 = (wxGrid *) 0 ;
10585 wxColour *arg2 = 0 ;
10586 wxColour temp2 ;
10587 PyObject * obj0 = 0 ;
10588 PyObject * obj1 = 0 ;
10589 char *kwnames[] = {
10590 (char *) "self","arg2", NULL
10591 };
10592
10593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10596 {
10597 arg2 = &temp2;
10598 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10599 }
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 (arg1)->SetGridLineColour((wxColour const &)*arg2);
10603
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 Py_INCREF(Py_None); resultobj = Py_None;
10608 return resultobj;
10609 fail:
10610 return NULL;
10611}
10612
10613
10614static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10615 PyObject *resultobj;
10616 wxGrid *arg1 = (wxGrid *) 0 ;
10617 wxColour *arg2 = 0 ;
10618 wxColour temp2 ;
10619 PyObject * obj0 = 0 ;
10620 PyObject * obj1 = 0 ;
10621 char *kwnames[] = {
10622 (char *) "self","arg2", NULL
10623 };
10624
10625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10628 {
10629 arg2 = &temp2;
10630 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10631 }
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
10635
10636 wxPyEndAllowThreads(__tstate);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
10639 Py_INCREF(Py_None); resultobj = Py_None;
10640 return resultobj;
10641 fail:
10642 return NULL;
10643}
10644
10645
10646static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10647 PyObject *resultobj;
10648 wxGrid *arg1 = (wxGrid *) 0 ;
10649 int arg2 ;
10650 PyObject * obj0 = 0 ;
994141e6 10651 PyObject * obj1 = 0 ;
d14a1e28
RD
10652 char *kwnames[] = {
10653 (char *) "self",(char *) "width", NULL
10654 };
10655
994141e6 10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10659 arg2 = (int) SWIG_AsInt(obj1);
10660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 (arg1)->SetCellHighlightPenWidth(arg2);
10664
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 Py_INCREF(Py_None); resultobj = Py_None;
10669 return resultobj;
10670 fail:
10671 return NULL;
10672}
10673
10674
10675static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10676 PyObject *resultobj;
10677 wxGrid *arg1 = (wxGrid *) 0 ;
10678 int arg2 ;
10679 PyObject * obj0 = 0 ;
994141e6 10680 PyObject * obj1 = 0 ;
d14a1e28
RD
10681 char *kwnames[] = {
10682 (char *) "self",(char *) "width", NULL
10683 };
10684
994141e6 10685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10688 arg2 = (int) SWIG_AsInt(obj1);
10689 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10690 {
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
10692 (arg1)->SetCellHighlightROPenWidth(arg2);
10693
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
10697 Py_INCREF(Py_None); resultobj = Py_None;
10698 return resultobj;
10699 fail:
10700 return NULL;
10701}
10702
10703
10704static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10705 PyObject *resultobj;
10706 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 10707 bool arg2 = (bool) True ;
d14a1e28
RD
10708 PyObject * obj0 = 0 ;
10709 PyObject * obj1 = 0 ;
10710 char *kwnames[] = {
10711 (char *) "self",(char *) "enable", NULL
10712 };
10713
10714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10717 if (obj1) {
15afbcd0
RD
10718 arg2 = (bool) SWIG_AsBool(obj1);
10719 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10720 }
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 (arg1)->EnableDragRowSize(arg2);
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 Py_INCREF(Py_None); resultobj = Py_None;
10729 return resultobj;
10730 fail:
10731 return NULL;
10732}
10733
10734
10735static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10736 PyObject *resultobj;
10737 wxGrid *arg1 = (wxGrid *) 0 ;
10738 PyObject * obj0 = 0 ;
10739 char *kwnames[] = {
10740 (char *) "self", NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 (arg1)->DisableDragRowSize();
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 Py_INCREF(Py_None); resultobj = Py_None;
10754 return resultobj;
10755 fail:
10756 return NULL;
10757}
10758
10759
10760static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10761 PyObject *resultobj;
10762 wxGrid *arg1 = (wxGrid *) 0 ;
10763 bool result;
10764 PyObject * obj0 = 0 ;
10765 char *kwnames[] = {
10766 (char *) "self", NULL
10767 };
10768
10769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 result = (bool)(arg1)->CanDragRowSize();
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
4d5c3d91 10779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10780 return resultobj;
10781 fail:
10782 return NULL;
10783}
10784
10785
10786static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10787 PyObject *resultobj;
10788 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 10789 bool arg2 = (bool) True ;
d14a1e28
RD
10790 PyObject * obj0 = 0 ;
10791 PyObject * obj1 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self",(char *) "enable", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10799 if (obj1) {
15afbcd0
RD
10800 arg2 = (bool) SWIG_AsBool(obj1);
10801 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10802 }
10803 {
10804 PyThreadState* __tstate = wxPyBeginAllowThreads();
10805 (arg1)->EnableDragColSize(arg2);
10806
10807 wxPyEndAllowThreads(__tstate);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 }
10810 Py_INCREF(Py_None); resultobj = Py_None;
10811 return resultobj;
10812 fail:
10813 return NULL;
10814}
10815
10816
10817static PyObject *_wrap_Grid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10818 PyObject *resultobj;
10819 wxGrid *arg1 = (wxGrid *) 0 ;
10820 PyObject * obj0 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 (arg1)->DisableDragColSize();
10831
10832 wxPyEndAllowThreads(__tstate);
10833 if (PyErr_Occurred()) SWIG_fail;
10834 }
10835 Py_INCREF(Py_None); resultobj = Py_None;
10836 return resultobj;
10837 fail:
10838 return NULL;
10839}
10840
10841
10842static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj;
10844 wxGrid *arg1 = (wxGrid *) 0 ;
10845 bool result;
10846 PyObject * obj0 = 0 ;
10847 char *kwnames[] = {
10848 (char *) "self", NULL
10849 };
10850
10851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10854 {
10855 PyThreadState* __tstate = wxPyBeginAllowThreads();
10856 result = (bool)(arg1)->CanDragColSize();
10857
10858 wxPyEndAllowThreads(__tstate);
10859 if (PyErr_Occurred()) SWIG_fail;
10860 }
4d5c3d91 10861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10862 return resultobj;
10863 fail:
10864 return NULL;
10865}
10866
10867
10868static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10869 PyObject *resultobj;
10870 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 10871 bool arg2 = (bool) True ;
d14a1e28
RD
10872 PyObject * obj0 = 0 ;
10873 PyObject * obj1 = 0 ;
10874 char *kwnames[] = {
10875 (char *) "self",(char *) "enable", NULL
10876 };
10877
10878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10881 if (obj1) {
15afbcd0
RD
10882 arg2 = (bool) SWIG_AsBool(obj1);
10883 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10884 }
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
10887 (arg1)->EnableDragGridSize(arg2);
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
10892 Py_INCREF(Py_None); resultobj = Py_None;
10893 return resultobj;
10894 fail:
10895 return NULL;
10896}
10897
10898
10899static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxGrid *arg1 = (wxGrid *) 0 ;
10902 PyObject * obj0 = 0 ;
10903 char *kwnames[] = {
10904 (char *) "self", NULL
10905 };
10906
10907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 (arg1)->DisableDragGridSize();
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 Py_INCREF(Py_None); resultobj = Py_None;
10918 return resultobj;
10919 fail:
10920 return NULL;
10921}
10922
10923
10924static PyObject *_wrap_Grid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj;
10926 wxGrid *arg1 = (wxGrid *) 0 ;
10927 bool result;
10928 PyObject * obj0 = 0 ;
10929 char *kwnames[] = {
10930 (char *) "self", NULL
10931 };
10932
10933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10936 {
10937 PyThreadState* __tstate = wxPyBeginAllowThreads();
10938 result = (bool)(arg1)->CanDragGridSize();
10939
10940 wxPyEndAllowThreads(__tstate);
10941 if (PyErr_Occurred()) SWIG_fail;
10942 }
4d5c3d91 10943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10944 return resultobj;
10945 fail:
10946 return NULL;
10947}
10948
10949
10950static PyObject *_wrap_Grid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10951 PyObject *resultobj;
10952 wxGrid *arg1 = (wxGrid *) 0 ;
10953 int arg2 ;
10954 int arg3 ;
10955 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
10956 PyObject * obj0 = 0 ;
994141e6
RD
10957 PyObject * obj1 = 0 ;
10958 PyObject * obj2 = 0 ;
d14a1e28
RD
10959 PyObject * obj3 = 0 ;
10960 char *kwnames[] = {
10961 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
10962 };
10963
994141e6 10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10967 arg2 = (int) SWIG_AsInt(obj1);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 arg3 = (int) SWIG_AsInt(obj2);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellAttr,
10972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 (arg1)->SetAttr(arg2,arg3,arg4);
10976
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
10980 Py_INCREF(Py_None); resultobj = Py_None;
10981 return resultobj;
10982 fail:
10983 return NULL;
10984}
10985
10986
10987static PyObject *_wrap_Grid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10988 PyObject *resultobj;
10989 wxGrid *arg1 = (wxGrid *) 0 ;
10990 int arg2 ;
10991 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
10992 PyObject * obj0 = 0 ;
994141e6 10993 PyObject * obj1 = 0 ;
d14a1e28
RD
10994 PyObject * obj2 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "self",(char *) "row",(char *) "attr", NULL
10997 };
10998
994141e6 10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11002 arg2 = (int) SWIG_AsInt(obj1);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11006 {
11007 PyThreadState* __tstate = wxPyBeginAllowThreads();
11008 (arg1)->SetRowAttr(arg2,arg3);
11009
11010 wxPyEndAllowThreads(__tstate);
11011 if (PyErr_Occurred()) SWIG_fail;
11012 }
11013 Py_INCREF(Py_None); resultobj = Py_None;
11014 return resultobj;
11015 fail:
11016 return NULL;
11017}
11018
11019
11020static PyObject *_wrap_Grid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11021 PyObject *resultobj;
11022 wxGrid *arg1 = (wxGrid *) 0 ;
11023 int arg2 ;
11024 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11025 PyObject * obj0 = 0 ;
994141e6 11026 PyObject * obj1 = 0 ;
d14a1e28
RD
11027 PyObject * obj2 = 0 ;
11028 char *kwnames[] = {
11029 (char *) "self",(char *) "col",(char *) "attr", NULL
11030 };
11031
994141e6 11032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11035 arg2 = (int) SWIG_AsInt(obj1);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11039 {
11040 PyThreadState* __tstate = wxPyBeginAllowThreads();
11041 (arg1)->SetColAttr(arg2,arg3);
11042
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
11046 Py_INCREF(Py_None); resultobj = Py_None;
11047 return resultobj;
11048 fail:
11049 return NULL;
11050}
11051
11052
11053static PyObject *_wrap_Grid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
11054 PyObject *resultobj;
11055 wxGrid *arg1 = (wxGrid *) 0 ;
11056 int arg2 ;
11057 PyObject * obj0 = 0 ;
994141e6 11058 PyObject * obj1 = 0 ;
d14a1e28
RD
11059 char *kwnames[] = {
11060 (char *) "self",(char *) "col", NULL
11061 };
11062
994141e6 11063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatBool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11066 arg2 = (int) SWIG_AsInt(obj1);
11067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 (arg1)->SetColFormatBool(arg2);
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 Py_INCREF(Py_None); resultobj = Py_None;
11076 return resultobj;
11077 fail:
11078 return NULL;
11079}
11080
11081
11082static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj;
11084 wxGrid *arg1 = (wxGrid *) 0 ;
11085 int arg2 ;
11086 PyObject * obj0 = 0 ;
994141e6 11087 PyObject * obj1 = 0 ;
d14a1e28
RD
11088 char *kwnames[] = {
11089 (char *) "self",(char *) "col", NULL
11090 };
11091
994141e6 11092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatNumber",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11095 arg2 = (int) SWIG_AsInt(obj1);
11096 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11097 {
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 (arg1)->SetColFormatNumber(arg2);
11100
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 Py_INCREF(Py_None); resultobj = Py_None;
11105 return resultobj;
11106 fail:
11107 return NULL;
11108}
11109
11110
11111static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
11112 PyObject *resultobj;
11113 wxGrid *arg1 = (wxGrid *) 0 ;
11114 int arg2 ;
11115 int arg3 = (int) -1 ;
11116 int arg4 = (int) -1 ;
11117 PyObject * obj0 = 0 ;
994141e6
RD
11118 PyObject * obj1 = 0 ;
11119 PyObject * obj2 = 0 ;
11120 PyObject * obj3 = 0 ;
d14a1e28
RD
11121 char *kwnames[] = {
11122 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11123 };
11124
994141e6 11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11128 arg2 = (int) SWIG_AsInt(obj1);
11129 if (PyErr_Occurred()) SWIG_fail;
994141e6 11130 if (obj2) {
15afbcd0
RD
11131 arg3 = (int) SWIG_AsInt(obj2);
11132 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11133 }
11134 if (obj3) {
15afbcd0
RD
11135 arg4 = (int) SWIG_AsInt(obj3);
11136 if (PyErr_Occurred()) SWIG_fail;
994141e6 11137 }
d14a1e28
RD
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
11141
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 Py_INCREF(Py_None); resultobj = Py_None;
11146 return resultobj;
11147 fail:
11148 return NULL;
11149}
11150
11151
11152static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
11153 PyObject *resultobj;
11154 wxGrid *arg1 = (wxGrid *) 0 ;
11155 int arg2 ;
11156 wxString *arg3 = 0 ;
e811c8ce 11157 bool temp3 = False ;
d14a1e28 11158 PyObject * obj0 = 0 ;
994141e6 11159 PyObject * obj1 = 0 ;
d14a1e28
RD
11160 PyObject * obj2 = 0 ;
11161 char *kwnames[] = {
11162 (char *) "self",(char *) "col",(char *) "typeName", NULL
11163 };
11164
994141e6 11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColFormatCustom",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11168 arg2 = (int) SWIG_AsInt(obj1);
11169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11170 {
11171 arg3 = wxString_in_helper(obj2);
11172 if (arg3 == NULL) SWIG_fail;
e811c8ce 11173 temp3 = True;
d14a1e28
RD
11174 }
11175 {
11176 PyThreadState* __tstate = wxPyBeginAllowThreads();
11177 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
11178
11179 wxPyEndAllowThreads(__tstate);
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 Py_INCREF(Py_None); resultobj = Py_None;
11183 {
11184 if (temp3)
11185 delete arg3;
11186 }
11187 return resultobj;
11188 fail:
11189 {
11190 if (temp3)
11191 delete arg3;
11192 }
11193 return NULL;
11194}
11195
11196
11197static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
11198 PyObject *resultobj;
11199 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 11200 bool arg2 = (bool) True ;
d14a1e28
RD
11201 PyObject * obj0 = 0 ;
11202 PyObject * obj1 = 0 ;
11203 char *kwnames[] = {
11204 (char *) "self",(char *) "enable", NULL
11205 };
11206
11207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11210 if (obj1) {
15afbcd0
RD
11211 arg2 = (bool) SWIG_AsBool(obj1);
11212 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11213 }
11214 {
11215 PyThreadState* __tstate = wxPyBeginAllowThreads();
11216 (arg1)->EnableGridLines(arg2);
11217
11218 wxPyEndAllowThreads(__tstate);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 }
11221 Py_INCREF(Py_None); resultobj = Py_None;
11222 return resultobj;
11223 fail:
11224 return NULL;
11225}
11226
11227
11228static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11229 PyObject *resultobj;
11230 wxGrid *arg1 = (wxGrid *) 0 ;
11231 bool result;
11232 PyObject * obj0 = 0 ;
11233 char *kwnames[] = {
11234 (char *) "self", NULL
11235 };
11236
11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
11238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11240 {
11241 PyThreadState* __tstate = wxPyBeginAllowThreads();
11242 result = (bool)(arg1)->GridLinesEnabled();
11243
11244 wxPyEndAllowThreads(__tstate);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 }
4d5c3d91 11247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11248 return resultobj;
11249 fail:
11250 return NULL;
11251}
11252
11253
11254static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11255 PyObject *resultobj;
11256 wxGrid *arg1 = (wxGrid *) 0 ;
11257 int result;
11258 PyObject * obj0 = 0 ;
11259 char *kwnames[] = {
11260 (char *) "self", NULL
11261 };
11262
11263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 result = (int)(arg1)->GetDefaultRowSize();
11269
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
15afbcd0 11273 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11274 return resultobj;
11275 fail:
11276 return NULL;
11277}
11278
11279
11280static PyObject *_wrap_Grid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11281 PyObject *resultobj;
11282 wxGrid *arg1 = (wxGrid *) 0 ;
11283 int arg2 ;
11284 int result;
11285 PyObject * obj0 = 0 ;
994141e6 11286 PyObject * obj1 = 0 ;
d14a1e28
RD
11287 char *kwnames[] = {
11288 (char *) "self",(char *) "row", NULL
11289 };
11290
994141e6 11291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11294 arg2 = (int) SWIG_AsInt(obj1);
11295 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 result = (int)(arg1)->GetRowSize(arg2);
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
15afbcd0 11303 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11304 return resultobj;
11305 fail:
11306 return NULL;
11307}
11308
11309
11310static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxGrid *arg1 = (wxGrid *) 0 ;
11313 int result;
11314 PyObject * obj0 = 0 ;
11315 char *kwnames[] = {
11316 (char *) "self", NULL
11317 };
11318
11319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11322 {
11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
11324 result = (int)(arg1)->GetDefaultColSize();
11325
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
15afbcd0 11329 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11330 return resultobj;
11331 fail:
11332 return NULL;
11333}
11334
11335
11336static PyObject *_wrap_Grid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj;
11338 wxGrid *arg1 = (wxGrid *) 0 ;
11339 int arg2 ;
11340 int result;
11341 PyObject * obj0 = 0 ;
994141e6 11342 PyObject * obj1 = 0 ;
d14a1e28
RD
11343 char *kwnames[] = {
11344 (char *) "self",(char *) "col", NULL
11345 };
11346
994141e6 11347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11350 arg2 = (int) SWIG_AsInt(obj1);
11351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (int)(arg1)->GetColSize(arg2);
11355
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
15afbcd0 11359 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11360 return resultobj;
11361 fail:
11362 return NULL;
11363}
11364
11365
11366static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11367 PyObject *resultobj;
11368 wxGrid *arg1 = (wxGrid *) 0 ;
11369 wxColour result;
11370 PyObject * obj0 = 0 ;
11371 char *kwnames[] = {
11372 (char *) "self", NULL
11373 };
11374
11375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11378 {
11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
11380 result = (arg1)->GetDefaultCellBackgroundColour();
11381
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 {
11386 wxColour * resultptr;
11387 resultptr = new wxColour((wxColour &) result);
15afbcd0 11388 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11389 }
11390 return resultobj;
11391 fail:
11392 return NULL;
11393}
11394
11395
11396static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11397 PyObject *resultobj;
11398 wxGrid *arg1 = (wxGrid *) 0 ;
11399 int arg2 ;
11400 int arg3 ;
11401 wxColour result;
11402 PyObject * obj0 = 0 ;
994141e6
RD
11403 PyObject * obj1 = 0 ;
11404 PyObject * obj2 = 0 ;
d14a1e28
RD
11405 char *kwnames[] = {
11406 (char *) "self",(char *) "row",(char *) "col", NULL
11407 };
11408
994141e6 11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11412 arg2 = (int) SWIG_AsInt(obj1);
11413 if (PyErr_Occurred()) SWIG_fail;
11414 arg3 = (int) SWIG_AsInt(obj2);
11415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
11419
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 {
11424 wxColour * resultptr;
11425 resultptr = new wxColour((wxColour &) result);
15afbcd0 11426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11427 }
11428 return resultobj;
11429 fail:
11430 return NULL;
11431}
11432
11433
11434static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11435 PyObject *resultobj;
11436 wxGrid *arg1 = (wxGrid *) 0 ;
11437 wxColour result;
11438 PyObject * obj0 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (arg1)->GetDefaultCellTextColour();
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 {
11454 wxColour * resultptr;
11455 resultptr = new wxColour((wxColour &) result);
15afbcd0 11456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11457 }
11458 return resultobj;
11459 fail:
11460 return NULL;
11461}
11462
11463
11464static PyObject *_wrap_Grid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj;
11466 wxGrid *arg1 = (wxGrid *) 0 ;
11467 int arg2 ;
11468 int arg3 ;
11469 wxColour result;
11470 PyObject * obj0 = 0 ;
994141e6
RD
11471 PyObject * obj1 = 0 ;
11472 PyObject * obj2 = 0 ;
d14a1e28
RD
11473 char *kwnames[] = {
11474 (char *) "self",(char *) "row",(char *) "col", NULL
11475 };
11476
994141e6 11477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11480 arg2 = (int) SWIG_AsInt(obj1);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 arg3 = (int) SWIG_AsInt(obj2);
11483 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 result = (arg1)->GetCellTextColour(arg2,arg3);
11487
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 }
11491 {
11492 wxColour * resultptr;
11493 resultptr = new wxColour((wxColour &) result);
15afbcd0 11494 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11495 }
11496 return resultobj;
11497 fail:
11498 return NULL;
11499}
11500
11501
11502static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11503 PyObject *resultobj;
11504 wxGrid *arg1 = (wxGrid *) 0 ;
11505 wxFont result;
11506 PyObject * obj0 = 0 ;
11507 char *kwnames[] = {
11508 (char *) "self", NULL
11509 };
11510
11511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
11512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11514 {
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 result = (arg1)->GetDefaultCellFont();
11517
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 {
11522 wxFont * resultptr;
11523 resultptr = new wxFont((wxFont &) result);
15afbcd0 11524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
11525 }
11526 return resultobj;
11527 fail:
11528 return NULL;
11529}
11530
11531
11532static PyObject *_wrap_Grid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11533 PyObject *resultobj;
11534 wxGrid *arg1 = (wxGrid *) 0 ;
11535 int arg2 ;
11536 int arg3 ;
11537 wxFont result;
11538 PyObject * obj0 = 0 ;
994141e6
RD
11539 PyObject * obj1 = 0 ;
11540 PyObject * obj2 = 0 ;
d14a1e28
RD
11541 char *kwnames[] = {
11542 (char *) "self",(char *) "row",(char *) "col", NULL
11543 };
11544
994141e6 11545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11548 arg2 = (int) SWIG_AsInt(obj1);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 arg3 = (int) SWIG_AsInt(obj2);
11551 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 result = (arg1)->GetCellFont(arg2,arg3);
11555
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 {
11560 wxFont * resultptr;
11561 resultptr = new wxFont((wxFont &) result);
15afbcd0 11562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
11563 }
11564 return resultobj;
11565 fail:
11566 return NULL;
11567}
11568
11569
11570static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11571 PyObject *resultobj;
11572 wxGrid *arg1 = (wxGrid *) 0 ;
11573 int *arg2 = (int *) 0 ;
11574 int *arg3 = (int *) 0 ;
11575 int temp2 ;
11576 int temp3 ;
11577 PyObject * obj0 = 0 ;
11578 char *kwnames[] = {
11579 (char *) "self", NULL
11580 };
11581
11582 arg2 = &temp2;
11583 arg3 = &temp3;
11584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
11585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 (arg1)->GetDefaultCellAlignment(arg2,arg3);
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 Py_INCREF(Py_None); resultobj = Py_None;
11595 {
11596 PyObject *o = PyInt_FromLong((long) (*arg2));
11597 resultobj = t_output_helper(resultobj,o);
11598 }
11599 {
11600 PyObject *o = PyInt_FromLong((long) (*arg3));
11601 resultobj = t_output_helper(resultobj,o);
11602 }
11603 return resultobj;
11604 fail:
11605 return NULL;
11606}
11607
11608
11609static PyObject *_wrap_Grid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11610 PyObject *resultobj;
11611 wxGrid *arg1 = (wxGrid *) 0 ;
11612 int arg2 ;
11613 int arg3 ;
11614 int *arg4 = (int *) 0 ;
11615 int *arg5 = (int *) 0 ;
11616 int temp4 ;
11617 int temp5 ;
11618 PyObject * obj0 = 0 ;
994141e6
RD
11619 PyObject * obj1 = 0 ;
11620 PyObject * obj2 = 0 ;
d14a1e28
RD
11621 char *kwnames[] = {
11622 (char *) "self",(char *) "row",(char *) "col", NULL
11623 };
11624
11625 arg4 = &temp4;
11626 arg5 = &temp5;
994141e6 11627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11630 arg2 = (int) SWIG_AsInt(obj1);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 arg3 = (int) SWIG_AsInt(obj2);
11633 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
11637
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 Py_INCREF(Py_None); resultobj = Py_None;
11642 {
11643 PyObject *o = PyInt_FromLong((long) (*arg4));
11644 resultobj = t_output_helper(resultobj,o);
11645 }
11646 {
11647 PyObject *o = PyInt_FromLong((long) (*arg5));
11648 resultobj = t_output_helper(resultobj,o);
11649 }
11650 return resultobj;
11651 fail:
11652 return NULL;
11653}
11654
11655
11656static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11657 PyObject *resultobj;
11658 wxGrid *arg1 = (wxGrid *) 0 ;
11659 bool result;
11660 PyObject * obj0 = 0 ;
11661 char *kwnames[] = {
11662 (char *) "self", NULL
11663 };
11664
11665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
15afbcd0
RD
11666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11668 {
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 result = (bool)(arg1)->GetDefaultCellOverflow();
11671
11672 wxPyEndAllowThreads(__tstate);
11673 if (PyErr_Occurred()) SWIG_fail;
11674 }
4d5c3d91 11675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11676 return resultobj;
11677 fail:
11678 return NULL;
11679}
11680
11681
11682static PyObject *_wrap_Grid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj;
11684 wxGrid *arg1 = (wxGrid *) 0 ;
11685 int arg2 ;
11686 int arg3 ;
11687 bool result;
11688 PyObject * obj0 = 0 ;
994141e6
RD
11689 PyObject * obj1 = 0 ;
11690 PyObject * obj2 = 0 ;
d14a1e28
RD
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "row",(char *) "col", NULL
11693 };
11694
994141e6 11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellOverflow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11698 arg2 = (int) SWIG_AsInt(obj1);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 arg3 = (int) SWIG_AsInt(obj2);
11701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
4d5c3d91 11709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11710 return resultobj;
11711 fail:
11712 return NULL;
11713}
11714
11715
11716static PyObject *_wrap_Grid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11717 PyObject *resultobj;
11718 wxGrid *arg1 = (wxGrid *) 0 ;
11719 int arg2 ;
11720 int arg3 ;
11721 int *arg4 = (int *) 0 ;
11722 int *arg5 = (int *) 0 ;
11723 int temp4 ;
11724 int temp5 ;
11725 PyObject * obj0 = 0 ;
994141e6
RD
11726 PyObject * obj1 = 0 ;
11727 PyObject * obj2 = 0 ;
d14a1e28
RD
11728 char *kwnames[] = {
11729 (char *) "self",(char *) "row",(char *) "col", NULL
11730 };
11731
11732 arg4 = &temp4;
11733 arg5 = &temp5;
994141e6 11734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11737 arg2 = (int) SWIG_AsInt(obj1);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 arg3 = (int) SWIG_AsInt(obj2);
11740 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11741 {
11742 PyThreadState* __tstate = wxPyBeginAllowThreads();
11743 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
11744
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 Py_INCREF(Py_None); resultobj = Py_None;
11749 {
11750 PyObject *o = PyInt_FromLong((long) (*arg4));
11751 resultobj = t_output_helper(resultobj,o);
11752 }
11753 {
11754 PyObject *o = PyInt_FromLong((long) (*arg5));
11755 resultobj = t_output_helper(resultobj,o);
11756 }
11757 return resultobj;
11758 fail:
11759 return NULL;
11760}
11761
11762
11763static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11764 PyObject *resultobj;
11765 wxGrid *arg1 = (wxGrid *) 0 ;
11766 int arg2 ;
e811c8ce 11767 bool arg3 = (bool) False ;
d14a1e28 11768 PyObject * obj0 = 0 ;
994141e6 11769 PyObject * obj1 = 0 ;
d14a1e28
RD
11770 PyObject * obj2 = 0 ;
11771 char *kwnames[] = {
11772 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
11773 };
11774
994141e6 11775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11778 arg2 = (int) SWIG_AsInt(obj1);
11779 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11780 if (obj2) {
15afbcd0
RD
11781 arg3 = (bool) SWIG_AsBool(obj2);
11782 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11783 }
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
11786 (arg1)->SetDefaultRowSize(arg2,arg3);
11787
11788 wxPyEndAllowThreads(__tstate);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
11791 Py_INCREF(Py_None); resultobj = Py_None;
11792 return resultobj;
11793 fail:
11794 return NULL;
11795}
11796
11797
11798static PyObject *_wrap_Grid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11799 PyObject *resultobj;
11800 wxGrid *arg1 = (wxGrid *) 0 ;
11801 int arg2 ;
11802 int arg3 ;
11803 PyObject * obj0 = 0 ;
994141e6
RD
11804 PyObject * obj1 = 0 ;
11805 PyObject * obj2 = 0 ;
d14a1e28
RD
11806 char *kwnames[] = {
11807 (char *) "self",(char *) "row",(char *) "height", NULL
11808 };
11809
994141e6 11810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11813 arg2 = (int) SWIG_AsInt(obj1);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 arg3 = (int) SWIG_AsInt(obj2);
11816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 (arg1)->SetRowSize(arg2,arg3);
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 Py_INCREF(Py_None); resultobj = Py_None;
11825 return resultobj;
11826 fail:
11827 return NULL;
11828}
11829
11830
11831static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11832 PyObject *resultobj;
11833 wxGrid *arg1 = (wxGrid *) 0 ;
11834 int arg2 ;
e811c8ce 11835 bool arg3 = (bool) False ;
d14a1e28 11836 PyObject * obj0 = 0 ;
994141e6 11837 PyObject * obj1 = 0 ;
d14a1e28
RD
11838 PyObject * obj2 = 0 ;
11839 char *kwnames[] = {
11840 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
11841 };
11842
994141e6 11843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11846 arg2 = (int) SWIG_AsInt(obj1);
11847 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11848 if (obj2) {
15afbcd0
RD
11849 arg3 = (bool) SWIG_AsBool(obj2);
11850 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11851 }
11852 {
11853 PyThreadState* __tstate = wxPyBeginAllowThreads();
11854 (arg1)->SetDefaultColSize(arg2,arg3);
11855
11856 wxPyEndAllowThreads(__tstate);
11857 if (PyErr_Occurred()) SWIG_fail;
11858 }
11859 Py_INCREF(Py_None); resultobj = Py_None;
11860 return resultobj;
11861 fail:
11862 return NULL;
11863}
11864
11865
11866static PyObject *_wrap_Grid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11867 PyObject *resultobj;
11868 wxGrid *arg1 = (wxGrid *) 0 ;
11869 int arg2 ;
11870 int arg3 ;
11871 PyObject * obj0 = 0 ;
994141e6
RD
11872 PyObject * obj1 = 0 ;
11873 PyObject * obj2 = 0 ;
d14a1e28
RD
11874 char *kwnames[] = {
11875 (char *) "self",(char *) "col",(char *) "width", NULL
11876 };
11877
994141e6 11878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11881 arg2 = (int) SWIG_AsInt(obj1);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 arg3 = (int) SWIG_AsInt(obj2);
11884 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11885 {
11886 PyThreadState* __tstate = wxPyBeginAllowThreads();
11887 (arg1)->SetColSize(arg2,arg3);
11888
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 Py_INCREF(Py_None); resultobj = Py_None;
11893 return resultobj;
11894 fail:
11895 return NULL;
11896}
11897
11898
11899static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
11900 PyObject *resultobj;
11901 wxGrid *arg1 = (wxGrid *) 0 ;
11902 int arg2 ;
e811c8ce 11903 bool arg3 = (bool) True ;
d14a1e28 11904 PyObject * obj0 = 0 ;
994141e6 11905 PyObject * obj1 = 0 ;
d14a1e28
RD
11906 PyObject * obj2 = 0 ;
11907 char *kwnames[] = {
11908 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
11909 };
11910
994141e6 11911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11914 arg2 = (int) SWIG_AsInt(obj1);
11915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11916 if (obj2) {
15afbcd0
RD
11917 arg3 = (bool) SWIG_AsBool(obj2);
11918 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11919 }
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 (arg1)->AutoSizeColumn(arg2,arg3);
11923
11924 wxPyEndAllowThreads(__tstate);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
11927 Py_INCREF(Py_None); resultobj = Py_None;
11928 return resultobj;
11929 fail:
11930 return NULL;
11931}
11932
11933
11934static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11935 PyObject *resultobj;
11936 wxGrid *arg1 = (wxGrid *) 0 ;
11937 int arg2 ;
e811c8ce 11938 bool arg3 = (bool) True ;
d14a1e28 11939 PyObject * obj0 = 0 ;
994141e6 11940 PyObject * obj1 = 0 ;
d14a1e28
RD
11941 PyObject * obj2 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
11944 };
11945
994141e6 11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11949 arg2 = (int) SWIG_AsInt(obj1);
11950 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11951 if (obj2) {
15afbcd0
RD
11952 arg3 = (bool) SWIG_AsBool(obj2);
11953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11954 }
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 (arg1)->AutoSizeRow(arg2,arg3);
11958
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 Py_INCREF(Py_None); resultobj = Py_None;
11963 return resultobj;
11964 fail:
11965 return NULL;
11966}
11967
11968
11969static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
11970 PyObject *resultobj;
11971 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 11972 bool arg2 = (bool) True ;
d14a1e28
RD
11973 PyObject * obj0 = 0 ;
11974 PyObject * obj1 = 0 ;
11975 char *kwnames[] = {
11976 (char *) "self",(char *) "setAsMin", NULL
11977 };
11978
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11982 if (obj1) {
15afbcd0
RD
11983 arg2 = (bool) SWIG_AsBool(obj1);
11984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11985 }
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 (arg1)->AutoSizeColumns(arg2);
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 Py_INCREF(Py_None); resultobj = Py_None;
11994 return resultobj;
11995 fail:
11996 return NULL;
11997}
11998
11999
12000static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
12001 PyObject *resultobj;
12002 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 12003 bool arg2 = (bool) True ;
d14a1e28
RD
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 char *kwnames[] = {
12007 (char *) "self",(char *) "setAsMin", NULL
12008 };
12009
12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12013 if (obj1) {
15afbcd0
RD
12014 arg2 = (bool) SWIG_AsBool(obj1);
12015 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12016 }
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 (arg1)->AutoSizeRows(arg2);
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 Py_INCREF(Py_None); resultobj = Py_None;
12025 return resultobj;
12026 fail:
12027 return NULL;
12028}
12029
12030
12031static PyObject *_wrap_Grid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12032 PyObject *resultobj;
12033 wxGrid *arg1 = (wxGrid *) 0 ;
12034 PyObject * obj0 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
12040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12042 {
12043 PyThreadState* __tstate = wxPyBeginAllowThreads();
12044 (arg1)->AutoSize();
12045
12046 wxPyEndAllowThreads(__tstate);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 }
12049 Py_INCREF(Py_None); resultobj = Py_None;
12050 return resultobj;
12051 fail:
12052 return NULL;
12053}
12054
12055
12056static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12057 PyObject *resultobj;
12058 wxGrid *arg1 = (wxGrid *) 0 ;
12059 int arg2 ;
12060 PyObject * obj0 = 0 ;
994141e6 12061 PyObject * obj1 = 0 ;
d14a1e28
RD
12062 char *kwnames[] = {
12063 (char *) "self",(char *) "row", NULL
12064 };
12065
994141e6 12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12069 arg2 = (int) SWIG_AsInt(obj1);
12070 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 (arg1)->AutoSizeRowLabelSize(arg2);
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 Py_INCREF(Py_None); resultobj = Py_None;
12079 return resultobj;
12080 fail:
12081 return NULL;
12082}
12083
12084
12085static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj;
12087 wxGrid *arg1 = (wxGrid *) 0 ;
12088 int arg2 ;
12089 PyObject * obj0 = 0 ;
994141e6 12090 PyObject * obj1 = 0 ;
d14a1e28
RD
12091 char *kwnames[] = {
12092 (char *) "self",(char *) "col", NULL
12093 };
12094
994141e6 12095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12098 arg2 = (int) SWIG_AsInt(obj1);
12099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12100 {
12101 PyThreadState* __tstate = wxPyBeginAllowThreads();
12102 (arg1)->AutoSizeColLabelSize(arg2);
12103
12104 wxPyEndAllowThreads(__tstate);
12105 if (PyErr_Occurred()) SWIG_fail;
12106 }
12107 Py_INCREF(Py_None); resultobj = Py_None;
12108 return resultobj;
12109 fail:
12110 return NULL;
12111}
12112
12113
12114static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12115 PyObject *resultobj;
12116 wxGrid *arg1 = (wxGrid *) 0 ;
12117 int arg2 ;
12118 int arg3 ;
12119 PyObject * obj0 = 0 ;
994141e6
RD
12120 PyObject * obj1 = 0 ;
12121 PyObject * obj2 = 0 ;
d14a1e28
RD
12122 char *kwnames[] = {
12123 (char *) "self",(char *) "col",(char *) "width", NULL
12124 };
12125
994141e6 12126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColMinimalWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12129 arg2 = (int) SWIG_AsInt(obj1);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 arg3 = (int) SWIG_AsInt(obj2);
12132 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12133 {
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 (arg1)->SetColMinimalWidth(arg2,arg3);
12136
12137 wxPyEndAllowThreads(__tstate);
12138 if (PyErr_Occurred()) SWIG_fail;
12139 }
12140 Py_INCREF(Py_None); resultobj = Py_None;
12141 return resultobj;
12142 fail:
12143 return NULL;
12144}
12145
12146
12147static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12148 PyObject *resultobj;
12149 wxGrid *arg1 = (wxGrid *) 0 ;
12150 int arg2 ;
12151 int arg3 ;
12152 PyObject * obj0 = 0 ;
994141e6
RD
12153 PyObject * obj1 = 0 ;
12154 PyObject * obj2 = 0 ;
d14a1e28
RD
12155 char *kwnames[] = {
12156 (char *) "self",(char *) "row",(char *) "width", NULL
12157 };
12158
994141e6 12159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12162 arg2 = (int) SWIG_AsInt(obj1);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 arg3 = (int) SWIG_AsInt(obj2);
12165 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12166 {
12167 PyThreadState* __tstate = wxPyBeginAllowThreads();
12168 (arg1)->SetRowMinimalHeight(arg2,arg3);
12169
12170 wxPyEndAllowThreads(__tstate);
12171 if (PyErr_Occurred()) SWIG_fail;
12172 }
12173 Py_INCREF(Py_None); resultobj = Py_None;
12174 return resultobj;
12175 fail:
12176 return NULL;
12177}
12178
12179
12180static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12181 PyObject *resultobj;
12182 wxGrid *arg1 = (wxGrid *) 0 ;
12183 int arg2 ;
12184 PyObject * obj0 = 0 ;
994141e6 12185 PyObject * obj1 = 0 ;
d14a1e28
RD
12186 char *kwnames[] = {
12187 (char *) "self",(char *) "width", NULL
12188 };
12189
994141e6 12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12193 arg2 = (int) SWIG_AsInt(obj1);
12194 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 (arg1)->SetColMinimalAcceptableWidth(arg2);
12198
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 Py_INCREF(Py_None); resultobj = Py_None;
12203 return resultobj;
12204 fail:
12205 return NULL;
12206}
12207
12208
12209static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12210 PyObject *resultobj;
12211 wxGrid *arg1 = (wxGrid *) 0 ;
12212 int arg2 ;
12213 PyObject * obj0 = 0 ;
994141e6 12214 PyObject * obj1 = 0 ;
d14a1e28
RD
12215 char *kwnames[] = {
12216 (char *) "self",(char *) "width", NULL
12217 };
12218
994141e6 12219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12222 arg2 = (int) SWIG_AsInt(obj1);
12223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 (arg1)->SetRowMinimalAcceptableHeight(arg2);
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 Py_INCREF(Py_None); resultobj = Py_None;
12232 return resultobj;
12233 fail:
12234 return NULL;
12235}
12236
12237
12238static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxGrid *arg1 = (wxGrid *) 0 ;
12241 int result;
12242 PyObject * obj0 = 0 ;
12243 char *kwnames[] = {
12244 (char *) "self", NULL
12245 };
12246
12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
12248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
12253
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
15afbcd0 12257 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12258 return resultobj;
12259 fail:
12260 return NULL;
12261}
12262
12263
12264static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12265 PyObject *resultobj;
12266 wxGrid *arg1 = (wxGrid *) 0 ;
12267 int result;
12268 PyObject * obj0 = 0 ;
12269 char *kwnames[] = {
12270 (char *) "self", NULL
12271 };
12272
12273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
12274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12276 {
12277 PyThreadState* __tstate = wxPyBeginAllowThreads();
12278 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
15afbcd0 12283 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12284 return resultobj;
12285 fail:
12286 return NULL;
12287}
12288
12289
12290static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12291 PyObject *resultobj;
12292 wxGrid *arg1 = (wxGrid *) 0 ;
12293 wxColour *arg2 = 0 ;
12294 wxColour temp2 ;
12295 PyObject * obj0 = 0 ;
12296 PyObject * obj1 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self","arg2", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12304 {
12305 arg2 = &temp2;
12306 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12307 }
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
12310 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 Py_INCREF(Py_None); resultobj = Py_None;
12316 return resultobj;
12317 fail:
12318 return NULL;
12319}
12320
12321
12322static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxGrid *arg1 = (wxGrid *) 0 ;
12325 int arg2 ;
12326 int arg3 ;
12327 wxColour *arg4 = 0 ;
12328 wxColour temp4 ;
12329 PyObject * obj0 = 0 ;
994141e6
RD
12330 PyObject * obj1 = 0 ;
12331 PyObject * obj2 = 0 ;
d14a1e28
RD
12332 PyObject * obj3 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12335 };
12336
994141e6 12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12340 arg2 = (int) SWIG_AsInt(obj1);
12341 if (PyErr_Occurred()) SWIG_fail;
12342 arg3 = (int) SWIG_AsInt(obj2);
12343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12344 {
12345 arg4 = &temp4;
12346 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12347 }
12348 {
12349 PyThreadState* __tstate = wxPyBeginAllowThreads();
12350 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
12351
12352 wxPyEndAllowThreads(__tstate);
12353 if (PyErr_Occurred()) SWIG_fail;
12354 }
12355 Py_INCREF(Py_None); resultobj = Py_None;
12356 return resultobj;
12357 fail:
12358 return NULL;
12359}
12360
12361
12362static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12363 PyObject *resultobj;
12364 wxGrid *arg1 = (wxGrid *) 0 ;
12365 wxColour *arg2 = 0 ;
12366 wxColour temp2 ;
12367 PyObject * obj0 = 0 ;
12368 PyObject * obj1 = 0 ;
12369 char *kwnames[] = {
12370 (char *) "self","arg2", NULL
12371 };
12372
12373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12376 {
12377 arg2 = &temp2;
12378 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12379 }
12380 {
12381 PyThreadState* __tstate = wxPyBeginAllowThreads();
12382 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
12383
12384 wxPyEndAllowThreads(__tstate);
12385 if (PyErr_Occurred()) SWIG_fail;
12386 }
12387 Py_INCREF(Py_None); resultobj = Py_None;
12388 return resultobj;
12389 fail:
12390 return NULL;
12391}
12392
12393
12394static PyObject *_wrap_Grid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12395 PyObject *resultobj;
12396 wxGrid *arg1 = (wxGrid *) 0 ;
12397 int arg2 ;
12398 int arg3 ;
12399 wxColour *arg4 = 0 ;
12400 wxColour temp4 ;
12401 PyObject * obj0 = 0 ;
994141e6
RD
12402 PyObject * obj1 = 0 ;
12403 PyObject * obj2 = 0 ;
d14a1e28
RD
12404 PyObject * obj3 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12407 };
12408
994141e6 12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellTextColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12412 arg2 = (int) SWIG_AsInt(obj1);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 arg3 = (int) SWIG_AsInt(obj2);
12415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12416 {
12417 arg4 = &temp4;
12418 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12419 }
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
12423
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 Py_INCREF(Py_None); resultobj = Py_None;
12428 return resultobj;
12429 fail:
12430 return NULL;
12431}
12432
12433
12434static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12435 PyObject *resultobj;
12436 wxGrid *arg1 = (wxGrid *) 0 ;
12437 wxFont *arg2 = 0 ;
12438 PyObject * obj0 = 0 ;
12439 PyObject * obj1 = 0 ;
12440 char *kwnames[] = {
12441 (char *) "self","arg2", NULL
12442 };
12443
12444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12448 SWIG_POINTER_EXCEPTION | 0)) == -1)
12449 SWIG_fail;
d14a1e28 12450 if (arg2 == NULL) {
15afbcd0
RD
12451 PyErr_SetString(PyExc_TypeError,"null reference");
12452 SWIG_fail;
d14a1e28
RD
12453 }
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 Py_INCREF(Py_None); resultobj = Py_None;
12462 return resultobj;
12463 fail:
12464 return NULL;
12465}
12466
12467
12468static PyObject *_wrap_Grid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxGrid *arg1 = (wxGrid *) 0 ;
12471 int arg2 ;
12472 int arg3 ;
12473 wxFont *arg4 = 0 ;
12474 PyObject * obj0 = 0 ;
994141e6
RD
12475 PyObject * obj1 = 0 ;
12476 PyObject * obj2 = 0 ;
d14a1e28
RD
12477 PyObject * obj3 = 0 ;
12478 char *kwnames[] = {
12479 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12480 };
12481
15afbcd0
RD
12482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellFont",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12485 arg2 = (int) SWIG_AsInt(obj1);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 arg3 = (int) SWIG_AsInt(obj2);
12488 if (PyErr_Occurred()) SWIG_fail;
12489 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxFont,
12490 SWIG_POINTER_EXCEPTION | 0)) == -1)
12491 SWIG_fail;
d14a1e28 12492 if (arg4 == NULL) {
15afbcd0
RD
12493 PyErr_SetString(PyExc_TypeError,"null reference");
12494 SWIG_fail;
d14a1e28
RD
12495 }
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
12499
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 Py_INCREF(Py_None); resultobj = Py_None;
12504 return resultobj;
12505 fail:
12506 return NULL;
12507}
12508
12509
12510static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxGrid *arg1 = (wxGrid *) 0 ;
12513 int arg2 ;
12514 int arg3 ;
12515 PyObject * obj0 = 0 ;
994141e6
RD
12516 PyObject * obj1 = 0 ;
12517 PyObject * obj2 = 0 ;
d14a1e28
RD
12518 char *kwnames[] = {
12519 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12520 };
12521
994141e6 12522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12525 arg2 = (int) SWIG_AsInt(obj1);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 arg3 = (int) SWIG_AsInt(obj2);
12528 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12529 {
12530 PyThreadState* __tstate = wxPyBeginAllowThreads();
12531 (arg1)->SetDefaultCellAlignment(arg2,arg3);
12532
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 Py_INCREF(Py_None); resultobj = Py_None;
12537 return resultobj;
12538 fail:
12539 return NULL;
12540}
12541
12542
12543static PyObject *_wrap_Grid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12544 PyObject *resultobj;
12545 wxGrid *arg1 = (wxGrid *) 0 ;
12546 int arg2 ;
12547 int arg3 ;
12548 int arg4 ;
12549 int arg5 ;
12550 PyObject * obj0 = 0 ;
994141e6
RD
12551 PyObject * obj1 = 0 ;
12552 PyObject * obj2 = 0 ;
12553 PyObject * obj3 = 0 ;
12554 PyObject * obj4 = 0 ;
d14a1e28
RD
12555 char *kwnames[] = {
12556 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12557 };
12558
994141e6 12559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellAlignment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12562 arg2 = (int) SWIG_AsInt(obj1);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 arg3 = (int) SWIG_AsInt(obj2);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 arg4 = (int) SWIG_AsInt(obj3);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 arg5 = (int) SWIG_AsInt(obj4);
12569 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12570 {
12571 PyThreadState* __tstate = wxPyBeginAllowThreads();
12572 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
12573
12574 wxPyEndAllowThreads(__tstate);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 Py_INCREF(Py_None); resultobj = Py_None;
12578 return resultobj;
12579 fail:
12580 return NULL;
12581}
12582
12583
12584static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj;
12586 wxGrid *arg1 = (wxGrid *) 0 ;
12587 bool arg2 ;
12588 PyObject * obj0 = 0 ;
12589 PyObject * obj1 = 0 ;
12590 char *kwnames[] = {
12591 (char *) "self",(char *) "allow", NULL
12592 };
12593
12594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12597 arg2 = (bool) SWIG_AsBool(obj1);
12598 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 (arg1)->SetDefaultCellOverflow(arg2);
12602
12603 wxPyEndAllowThreads(__tstate);
12604 if (PyErr_Occurred()) SWIG_fail;
12605 }
12606 Py_INCREF(Py_None); resultobj = Py_None;
12607 return resultobj;
12608 fail:
12609 return NULL;
12610}
12611
12612
12613static PyObject *_wrap_Grid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12614 PyObject *resultobj;
12615 wxGrid *arg1 = (wxGrid *) 0 ;
12616 int arg2 ;
12617 int arg3 ;
12618 bool arg4 ;
12619 PyObject * obj0 = 0 ;
994141e6
RD
12620 PyObject * obj1 = 0 ;
12621 PyObject * obj2 = 0 ;
d14a1e28
RD
12622 PyObject * obj3 = 0 ;
12623 char *kwnames[] = {
12624 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12625 };
12626
994141e6 12627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellOverflow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12630 arg2 = (int) SWIG_AsInt(obj1);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 arg3 = (int) SWIG_AsInt(obj2);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 arg4 = (bool) SWIG_AsBool(obj3);
12635 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 (arg1)->SetCellOverflow(arg2,arg3,arg4);
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 Py_INCREF(Py_None); resultobj = Py_None;
12644 return resultobj;
12645 fail:
12646 return NULL;
12647}
12648
12649
12650static PyObject *_wrap_Grid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxGrid *arg1 = (wxGrid *) 0 ;
12653 int arg2 ;
12654 int arg3 ;
12655 int arg4 ;
12656 int arg5 ;
12657 PyObject * obj0 = 0 ;
994141e6
RD
12658 PyObject * obj1 = 0 ;
12659 PyObject * obj2 = 0 ;
12660 PyObject * obj3 = 0 ;
12661 PyObject * obj4 = 0 ;
d14a1e28
RD
12662 char *kwnames[] = {
12663 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12664 };
12665
994141e6 12666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12669 arg2 = (int) SWIG_AsInt(obj1);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 arg3 = (int) SWIG_AsInt(obj2);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 arg4 = (int) SWIG_AsInt(obj3);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 arg5 = (int) SWIG_AsInt(obj4);
12676 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12677 {
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
12680
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
12684 Py_INCREF(Py_None); resultobj = Py_None;
12685 return resultobj;
12686 fail:
12687 return NULL;
12688}
12689
12690
12691static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12692 PyObject *resultobj;
12693 wxGrid *arg1 = (wxGrid *) 0 ;
12694 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
12695 PyObject * obj0 = 0 ;
12696 PyObject * obj1 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self",(char *) "renderer", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
12705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 (arg1)->SetDefaultRenderer(arg2);
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 Py_INCREF(Py_None); resultobj = Py_None;
12714 return resultobj;
12715 fail:
12716 return NULL;
12717}
12718
12719
12720static PyObject *_wrap_Grid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12721 PyObject *resultobj;
12722 wxGrid *arg1 = (wxGrid *) 0 ;
12723 int arg2 ;
12724 int arg3 ;
12725 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
12726 PyObject * obj0 = 0 ;
994141e6
RD
12727 PyObject * obj1 = 0 ;
12728 PyObject * obj2 = 0 ;
d14a1e28
RD
12729 PyObject * obj3 = 0 ;
12730 char *kwnames[] = {
12731 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12732 };
12733
994141e6 12734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12737 arg2 = (int) SWIG_AsInt(obj1);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 arg3 = (int) SWIG_AsInt(obj2);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellRenderer,
12742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12743 {
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 (arg1)->SetCellRenderer(arg2,arg3,arg4);
12746
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 Py_INCREF(Py_None); resultobj = Py_None;
12751 return resultobj;
12752 fail:
12753 return NULL;
12754}
12755
12756
12757static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj;
12759 wxGrid *arg1 = (wxGrid *) 0 ;
12760 wxGridCellRenderer *result;
12761 PyObject * obj0 = 0 ;
12762 char *kwnames[] = {
12763 (char *) "self", NULL
12764 };
12765
12766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
15afbcd0
RD
12767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12769 {
12770 PyThreadState* __tstate = wxPyBeginAllowThreads();
12771 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
12772
12773 wxPyEndAllowThreads(__tstate);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 }
12776 {
12777 resultobj = wxPyMake_wxGridCellRenderer(result);
12778 }
12779 return resultobj;
12780 fail:
12781 return NULL;
12782}
12783
12784
12785static PyObject *_wrap_Grid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj;
12787 wxGrid *arg1 = (wxGrid *) 0 ;
12788 int arg2 ;
12789 int arg3 ;
12790 wxGridCellRenderer *result;
12791 PyObject * obj0 = 0 ;
994141e6
RD
12792 PyObject * obj1 = 0 ;
12793 PyObject * obj2 = 0 ;
d14a1e28
RD
12794 char *kwnames[] = {
12795 (char *) "self",(char *) "row",(char *) "col", NULL
12796 };
12797
994141e6 12798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellRenderer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12801 arg2 = (int) SWIG_AsInt(obj1);
12802 if (PyErr_Occurred()) SWIG_fail;
12803 arg3 = (int) SWIG_AsInt(obj2);
12804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12805 {
12806 PyThreadState* __tstate = wxPyBeginAllowThreads();
12807 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
12808
12809 wxPyEndAllowThreads(__tstate);
12810 if (PyErr_Occurred()) SWIG_fail;
12811 }
12812 {
12813 resultobj = wxPyMake_wxGridCellRenderer(result);
12814 }
12815 return resultobj;
12816 fail:
12817 return NULL;
12818}
12819
12820
12821static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12822 PyObject *resultobj;
12823 wxGrid *arg1 = (wxGrid *) 0 ;
12824 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
12825 PyObject * obj0 = 0 ;
12826 PyObject * obj1 = 0 ;
12827 char *kwnames[] = {
12828 (char *) "self",(char *) "editor", NULL
12829 };
12830
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
12835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 (arg1)->SetDefaultEditor(arg2);
12839
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
12843 Py_INCREF(Py_None); resultobj = Py_None;
12844 return resultobj;
12845 fail:
12846 return NULL;
12847}
12848
12849
12850static PyObject *_wrap_Grid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12851 PyObject *resultobj;
12852 wxGrid *arg1 = (wxGrid *) 0 ;
12853 int arg2 ;
12854 int arg3 ;
12855 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
12856 PyObject * obj0 = 0 ;
994141e6
RD
12857 PyObject * obj1 = 0 ;
12858 PyObject * obj2 = 0 ;
d14a1e28
RD
12859 PyObject * obj3 = 0 ;
12860 char *kwnames[] = {
12861 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
12862 };
12863
994141e6 12864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12867 arg2 = (int) SWIG_AsInt(obj1);
12868 if (PyErr_Occurred()) SWIG_fail;
12869 arg3 = (int) SWIG_AsInt(obj2);
12870 if (PyErr_Occurred()) SWIG_fail;
12871 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
12872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12873 {
12874 PyThreadState* __tstate = wxPyBeginAllowThreads();
12875 (arg1)->SetCellEditor(arg2,arg3,arg4);
12876
12877 wxPyEndAllowThreads(__tstate);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 }
12880 Py_INCREF(Py_None); resultobj = Py_None;
12881 return resultobj;
12882 fail:
12883 return NULL;
12884}
12885
12886
12887static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12888 PyObject *resultobj;
12889 wxGrid *arg1 = (wxGrid *) 0 ;
12890 wxGridCellEditor *result;
12891 PyObject * obj0 = 0 ;
12892 char *kwnames[] = {
12893 (char *) "self", NULL
12894 };
12895
12896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
15afbcd0
RD
12897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12899 {
12900 PyThreadState* __tstate = wxPyBeginAllowThreads();
12901 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
12902
12903 wxPyEndAllowThreads(__tstate);
12904 if (PyErr_Occurred()) SWIG_fail;
12905 }
12906 {
12907 resultobj = wxPyMake_wxGridCellEditor(result);
12908 }
12909 return resultobj;
12910 fail:
12911 return NULL;
12912}
12913
12914
12915static PyObject *_wrap_Grid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12916 PyObject *resultobj;
12917 wxGrid *arg1 = (wxGrid *) 0 ;
12918 int arg2 ;
12919 int arg3 ;
12920 wxGridCellEditor *result;
12921 PyObject * obj0 = 0 ;
994141e6
RD
12922 PyObject * obj1 = 0 ;
12923 PyObject * obj2 = 0 ;
d14a1e28
RD
12924 char *kwnames[] = {
12925 (char *) "self",(char *) "row",(char *) "col", NULL
12926 };
12927
994141e6 12928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellEditor",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12931 arg2 = (int) SWIG_AsInt(obj1);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 arg3 = (int) SWIG_AsInt(obj2);
12934 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12935 {
12936 PyThreadState* __tstate = wxPyBeginAllowThreads();
12937 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
12938
12939 wxPyEndAllowThreads(__tstate);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
12942 {
12943 resultobj = wxPyMake_wxGridCellEditor(result);
12944 }
12945 return resultobj;
12946 fail:
12947 return NULL;
12948}
12949
12950
12951static PyObject *_wrap_Grid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12952 PyObject *resultobj;
12953 wxGrid *arg1 = (wxGrid *) 0 ;
12954 int arg2 ;
12955 int arg3 ;
12956 wxString result;
12957 PyObject * obj0 = 0 ;
994141e6
RD
12958 PyObject * obj1 = 0 ;
12959 PyObject * obj2 = 0 ;
d14a1e28
RD
12960 char *kwnames[] = {
12961 (char *) "self",(char *) "row",(char *) "col", NULL
12962 };
12963
994141e6 12964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12967 arg2 = (int) SWIG_AsInt(obj1);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 arg3 = (int) SWIG_AsInt(obj2);
12970 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (arg1)->GetCellValue(arg2,arg3);
12974
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 {
12979#if wxUSE_UNICODE
12980 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12981#else
12982 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12983#endif
12984 }
12985 return resultobj;
12986 fail:
12987 return NULL;
12988}
12989
12990
12991static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj;
12993 wxGrid *arg1 = (wxGrid *) 0 ;
12994 int arg2 ;
12995 int arg3 ;
12996 wxString *arg4 = 0 ;
e811c8ce 12997 bool temp4 = False ;
d14a1e28 12998 PyObject * obj0 = 0 ;
994141e6
RD
12999 PyObject * obj1 = 0 ;
13000 PyObject * obj2 = 0 ;
d14a1e28
RD
13001 PyObject * obj3 = 0 ;
13002 char *kwnames[] = {
13003 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13004 };
13005
994141e6 13006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13009 arg2 = (int) SWIG_AsInt(obj1);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 arg3 = (int) SWIG_AsInt(obj2);
13012 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13013 {
13014 arg4 = wxString_in_helper(obj3);
13015 if (arg4 == NULL) SWIG_fail;
e811c8ce 13016 temp4 = True;
d14a1e28
RD
13017 }
13018 {
13019 PyThreadState* __tstate = wxPyBeginAllowThreads();
13020 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
13021
13022 wxPyEndAllowThreads(__tstate);
13023 if (PyErr_Occurred()) SWIG_fail;
13024 }
13025 Py_INCREF(Py_None); resultobj = Py_None;
13026 {
13027 if (temp4)
13028 delete arg4;
13029 }
13030 return resultobj;
13031 fail:
13032 {
13033 if (temp4)
13034 delete arg4;
13035 }
13036 return NULL;
13037}
13038
13039
13040static PyObject *_wrap_Grid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13041 PyObject *resultobj;
13042 wxGrid *arg1 = (wxGrid *) 0 ;
13043 int arg2 ;
13044 int arg3 ;
13045 bool result;
13046 PyObject * obj0 = 0 ;
994141e6
RD
13047 PyObject * obj1 = 0 ;
13048 PyObject * obj2 = 0 ;
d14a1e28
RD
13049 char *kwnames[] = {
13050 (char *) "self",(char *) "row",(char *) "col", NULL
13051 };
13052
994141e6 13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsReadOnly",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13056 arg2 = (int) SWIG_AsInt(obj1);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 arg3 = (int) SWIG_AsInt(obj2);
13059 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
13063
13064 wxPyEndAllowThreads(__tstate);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 }
4d5c3d91 13067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13068 return resultobj;
13069 fail:
13070 return NULL;
13071}
13072
13073
13074static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13075 PyObject *resultobj;
13076 wxGrid *arg1 = (wxGrid *) 0 ;
13077 int arg2 ;
13078 int arg3 ;
e811c8ce 13079 bool arg4 = (bool) True ;
d14a1e28 13080 PyObject * obj0 = 0 ;
994141e6
RD
13081 PyObject * obj1 = 0 ;
13082 PyObject * obj2 = 0 ;
d14a1e28
RD
13083 PyObject * obj3 = 0 ;
13084 char *kwnames[] = {
13085 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13086 };
13087
994141e6 13088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_SetReadOnly",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13091 arg2 = (int) SWIG_AsInt(obj1);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 arg3 = (int) SWIG_AsInt(obj2);
13094 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13095 if (obj3) {
15afbcd0
RD
13096 arg4 = (bool) SWIG_AsBool(obj3);
13097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13098 }
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 (arg1)->SetReadOnly(arg2,arg3,arg4);
13102
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 Py_INCREF(Py_None); resultobj = Py_None;
13107 return resultobj;
13108 fail:
13109 return NULL;
13110}
13111
13112
13113static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj;
13115 wxGrid *arg1 = (wxGrid *) 0 ;
13116 int arg2 ;
e811c8ce 13117 bool arg3 = (bool) False ;
d14a1e28 13118 PyObject * obj0 = 0 ;
994141e6 13119 PyObject * obj1 = 0 ;
d14a1e28
RD
13120 PyObject * obj2 = 0 ;
13121 char *kwnames[] = {
13122 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13123 };
13124
994141e6 13125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13128 arg2 = (int) SWIG_AsInt(obj1);
13129 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13130 if (obj2) {
15afbcd0
RD
13131 arg3 = (bool) SWIG_AsBool(obj2);
13132 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13133 }
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 (arg1)->SelectRow(arg2,arg3);
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 Py_INCREF(Py_None); resultobj = Py_None;
13142 return resultobj;
13143 fail:
13144 return NULL;
13145}
13146
13147
13148static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxGrid *arg1 = (wxGrid *) 0 ;
13151 int arg2 ;
e811c8ce 13152 bool arg3 = (bool) False ;
d14a1e28 13153 PyObject * obj0 = 0 ;
994141e6 13154 PyObject * obj1 = 0 ;
d14a1e28
RD
13155 PyObject * obj2 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13158 };
13159
994141e6 13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13163 arg2 = (int) SWIG_AsInt(obj1);
13164 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13165 if (obj2) {
15afbcd0
RD
13166 arg3 = (bool) SWIG_AsBool(obj2);
13167 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13168 }
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 (arg1)->SelectCol(arg2,arg3);
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 Py_INCREF(Py_None); resultobj = Py_None;
13177 return resultobj;
13178 fail:
13179 return NULL;
13180}
13181
13182
13183static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj;
13185 wxGrid *arg1 = (wxGrid *) 0 ;
13186 int arg2 ;
13187 int arg3 ;
13188 int arg4 ;
13189 int arg5 ;
e811c8ce 13190 bool arg6 = (bool) False ;
d14a1e28 13191 PyObject * obj0 = 0 ;
994141e6
RD
13192 PyObject * obj1 = 0 ;
13193 PyObject * obj2 = 0 ;
13194 PyObject * obj3 = 0 ;
13195 PyObject * obj4 = 0 ;
d14a1e28
RD
13196 PyObject * obj5 = 0 ;
13197 char *kwnames[] = {
13198 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13199 };
13200
994141e6 13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Grid_SelectBlock",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
13202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13204 arg2 = (int) SWIG_AsInt(obj1);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 arg3 = (int) SWIG_AsInt(obj2);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 arg4 = (int) SWIG_AsInt(obj3);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 arg5 = (int) SWIG_AsInt(obj4);
13211 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13212 if (obj5) {
15afbcd0
RD
13213 arg6 = (bool) SWIG_AsBool(obj5);
13214 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13215 }
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 Py_INCREF(Py_None); resultobj = Py_None;
13224 return resultobj;
13225 fail:
13226 return NULL;
13227}
13228
13229
13230static PyObject *_wrap_Grid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
13231 PyObject *resultobj;
13232 wxGrid *arg1 = (wxGrid *) 0 ;
13233 PyObject * obj0 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
13239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13241 {
13242 PyThreadState* __tstate = wxPyBeginAllowThreads();
13243 (arg1)->SelectAll();
13244
13245 wxPyEndAllowThreads(__tstate);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
13248 Py_INCREF(Py_None); resultobj = Py_None;
13249 return resultobj;
13250 fail:
13251 return NULL;
13252}
13253
13254
13255static PyObject *_wrap_Grid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13256 PyObject *resultobj;
13257 wxGrid *arg1 = (wxGrid *) 0 ;
13258 bool result;
13259 PyObject * obj0 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 result = (bool)(arg1)->IsSelection();
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
4d5c3d91 13274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13275 return resultobj;
13276 fail:
13277 return NULL;
13278}
13279
13280
13281static PyObject *_wrap_Grid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13282 PyObject *resultobj;
13283 wxGrid *arg1 = (wxGrid *) 0 ;
13284 PyObject * obj0 = 0 ;
13285 char *kwnames[] = {
13286 (char *) "self", NULL
13287 };
13288
13289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13292 {
13293 PyThreadState* __tstate = wxPyBeginAllowThreads();
13294 (arg1)->ClearSelection();
13295
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 Py_INCREF(Py_None); resultobj = Py_None;
13300 return resultobj;
13301 fail:
13302 return NULL;
13303}
13304
13305
13306static PyObject *_wrap_Grid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13307 PyObject *resultobj;
13308 wxGrid *arg1 = (wxGrid *) 0 ;
13309 int arg2 ;
13310 int arg3 ;
13311 bool result;
13312 PyObject * obj0 = 0 ;
994141e6
RD
13313 PyObject * obj1 = 0 ;
13314 PyObject * obj2 = 0 ;
d14a1e28
RD
13315 char *kwnames[] = {
13316 (char *) "self",(char *) "row",(char *) "col", NULL
13317 };
13318
994141e6 13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsInSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13322 arg2 = (int) SWIG_AsInt(obj1);
13323 if (PyErr_Occurred()) SWIG_fail;
13324 arg3 = (int) SWIG_AsInt(obj2);
13325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 result = (bool)(arg1)->IsInSelection(arg2,arg3);
13329
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
4d5c3d91 13333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13334 return resultobj;
13335 fail:
13336 return NULL;
13337}
13338
13339
13340static PyObject *_wrap_Grid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
13341 PyObject *resultobj;
13342 wxGrid *arg1 = (wxGrid *) 0 ;
13343 wxGridCellCoordsArray result;
13344 PyObject * obj0 = 0 ;
13345 char *kwnames[] = {
13346 (char *) "self", NULL
13347 };
13348
13349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
15afbcd0
RD
13350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13352 {
13353 PyThreadState* __tstate = wxPyBeginAllowThreads();
13354 result = ((wxGrid const *)arg1)->GetSelectedCells();
13355
13356 wxPyEndAllowThreads(__tstate);
13357 if (PyErr_Occurred()) SWIG_fail;
13358 }
13359 {
13360 resultobj = wxGridCellCoordsArray_helper(result);
13361 }
13362 return resultobj;
13363 fail:
13364 return NULL;
13365}
13366
13367
13368static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13369 PyObject *resultobj;
13370 wxGrid *arg1 = (wxGrid *) 0 ;
13371 wxGridCellCoordsArray result;
13372 PyObject * obj0 = 0 ;
13373 char *kwnames[] = {
13374 (char *) "self", NULL
13375 };
13376
13377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
13378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13380 {
13381 PyThreadState* __tstate = wxPyBeginAllowThreads();
13382 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
13383
13384 wxPyEndAllowThreads(__tstate);
13385 if (PyErr_Occurred()) SWIG_fail;
13386 }
13387 {
13388 resultobj = wxGridCellCoordsArray_helper(result);
13389 }
13390 return resultobj;
13391 fail:
13392 return NULL;
13393}
13394
13395
13396static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13397 PyObject *resultobj;
13398 wxGrid *arg1 = (wxGrid *) 0 ;
13399 wxGridCellCoordsArray result;
13400 PyObject * obj0 = 0 ;
13401 char *kwnames[] = {
13402 (char *) "self", NULL
13403 };
13404
13405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
13406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
13411
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 {
13416 resultobj = wxGridCellCoordsArray_helper(result);
13417 }
13418 return resultobj;
13419 fail:
13420 return NULL;
13421}
13422
13423
13424static PyObject *_wrap_Grid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
13425 PyObject *resultobj;
13426 wxGrid *arg1 = (wxGrid *) 0 ;
13427 wxArrayInt result;
13428 PyObject * obj0 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
13434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13436 {
13437 PyThreadState* __tstate = wxPyBeginAllowThreads();
13438 result = ((wxGrid const *)arg1)->GetSelectedRows();
13439
13440 wxPyEndAllowThreads(__tstate);
13441 if (PyErr_Occurred()) SWIG_fail;
13442 }
13443 {
13444 resultobj = PyList_New(0);
13445 size_t idx;
13446 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13447 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13448 PyList_Append(resultobj, val);
13449 Py_DECREF(val);
13450 }
13451 }
13452 return resultobj;
13453 fail:
13454 return NULL;
13455}
13456
13457
13458static PyObject *_wrap_Grid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
13459 PyObject *resultobj;
13460 wxGrid *arg1 = (wxGrid *) 0 ;
13461 wxArrayInt result;
13462 PyObject * obj0 = 0 ;
13463 char *kwnames[] = {
13464 (char *) "self", NULL
13465 };
13466
13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
13468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 result = ((wxGrid const *)arg1)->GetSelectedCols();
13473
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 {
13478 resultobj = PyList_New(0);
13479 size_t idx;
13480 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13481 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13482 PyList_Append(resultobj, val);
13483 Py_DECREF(val);
13484 }
13485 }
13486 return resultobj;
13487 fail:
13488 return NULL;
13489}
13490
13491
13492static PyObject *_wrap_Grid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13493 PyObject *resultobj;
13494 wxGrid *arg1 = (wxGrid *) 0 ;
13495 int arg2 ;
13496 PyObject * obj0 = 0 ;
994141e6 13497 PyObject * obj1 = 0 ;
d14a1e28
RD
13498 char *kwnames[] = {
13499 (char *) "self",(char *) "row", NULL
13500 };
13501
994141e6 13502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13505 arg2 = (int) SWIG_AsInt(obj1);
13506 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13507 {
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
13509 (arg1)->DeselectRow(arg2);
13510
13511 wxPyEndAllowThreads(__tstate);
13512 if (PyErr_Occurred()) SWIG_fail;
13513 }
13514 Py_INCREF(Py_None); resultobj = Py_None;
13515 return resultobj;
13516 fail:
13517 return NULL;
13518}
13519
13520
13521static PyObject *_wrap_Grid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxGrid *arg1 = (wxGrid *) 0 ;
13524 int arg2 ;
13525 PyObject * obj0 = 0 ;
994141e6 13526 PyObject * obj1 = 0 ;
d14a1e28
RD
13527 char *kwnames[] = {
13528 (char *) "self",(char *) "col", NULL
13529 };
13530
994141e6 13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13534 arg2 = (int) SWIG_AsInt(obj1);
13535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13536 {
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 (arg1)->DeselectCol(arg2);
13539
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 Py_INCREF(Py_None); resultobj = Py_None;
13544 return resultobj;
13545 fail:
13546 return NULL;
13547}
13548
13549
13550static PyObject *_wrap_Grid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj;
13552 wxGrid *arg1 = (wxGrid *) 0 ;
13553 int arg2 ;
13554 int arg3 ;
13555 PyObject * obj0 = 0 ;
994141e6
RD
13556 PyObject * obj1 = 0 ;
13557 PyObject * obj2 = 0 ;
d14a1e28
RD
13558 char *kwnames[] = {
13559 (char *) "self",(char *) "row",(char *) "col", NULL
13560 };
13561
994141e6 13562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DeselectCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13565 arg2 = (int) SWIG_AsInt(obj1);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 arg3 = (int) SWIG_AsInt(obj2);
13568 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13569 {
13570 PyThreadState* __tstate = wxPyBeginAllowThreads();
13571 (arg1)->DeselectCell(arg2,arg3);
13572
13573 wxPyEndAllowThreads(__tstate);
13574 if (PyErr_Occurred()) SWIG_fail;
13575 }
13576 Py_INCREF(Py_None); resultobj = Py_None;
13577 return resultobj;
13578 fail:
13579 return NULL;
13580}
13581
13582
13583static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
13584 PyObject *resultobj;
13585 wxGrid *arg1 = (wxGrid *) 0 ;
13586 wxGridCellCoords *arg2 = 0 ;
13587 wxGridCellCoords *arg3 = 0 ;
13588 wxRect result;
13589 wxGridCellCoords temp2 ;
13590 wxGridCellCoords temp3 ;
13591 PyObject * obj0 = 0 ;
13592 PyObject * obj1 = 0 ;
13593 PyObject * obj2 = 0 ;
13594 char *kwnames[] = {
13595 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13596 };
13597
13598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13601 {
13602 arg2 = &temp2;
13603 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
13604 }
13605 {
13606 arg3 = &temp3;
13607 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
13608 }
13609 {
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
13611 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
13612
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 {
13617 wxRect * resultptr;
13618 resultptr = new wxRect((wxRect &) result);
15afbcd0 13619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
13620 }
13621 return resultobj;
13622 fail:
13623 return NULL;
13624}
13625
13626
13627static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj;
13629 wxGrid *arg1 = (wxGrid *) 0 ;
13630 wxColour result;
13631 PyObject * obj0 = 0 ;
13632 char *kwnames[] = {
13633 (char *) "self", NULL
13634 };
13635
13636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 result = ((wxGrid const *)arg1)->GetSelectionBackground();
13642
13643 wxPyEndAllowThreads(__tstate);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 {
13647 wxColour * resultptr;
13648 resultptr = new wxColour((wxColour &) result);
15afbcd0 13649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13650 }
13651 return resultobj;
13652 fail:
13653 return NULL;
13654}
13655
13656
13657static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxGrid *arg1 = (wxGrid *) 0 ;
13660 wxColour result;
13661 PyObject * obj0 = 0 ;
13662 char *kwnames[] = {
13663 (char *) "self", NULL
13664 };
13665
13666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 result = ((wxGrid const *)arg1)->GetSelectionForeground();
13672
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 {
13677 wxColour * resultptr;
13678 resultptr = new wxColour((wxColour &) result);
15afbcd0 13679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13680 }
13681 return resultobj;
13682 fail:
13683 return NULL;
13684}
13685
13686
13687static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13688 PyObject *resultobj;
13689 wxGrid *arg1 = (wxGrid *) 0 ;
13690 wxColour *arg2 = 0 ;
13691 wxColour temp2 ;
13692 PyObject * obj0 = 0 ;
13693 PyObject * obj1 = 0 ;
13694 char *kwnames[] = {
13695 (char *) "self",(char *) "c", NULL
13696 };
13697
13698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13701 {
13702 arg2 = &temp2;
13703 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13704 }
13705 {
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
13707 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 Py_INCREF(Py_None); resultobj = Py_None;
13713 return resultobj;
13714 fail:
13715 return NULL;
13716}
13717
13718
13719static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj;
13721 wxGrid *arg1 = (wxGrid *) 0 ;
13722 wxColour *arg2 = 0 ;
13723 wxColour temp2 ;
13724 PyObject * obj0 = 0 ;
13725 PyObject * obj1 = 0 ;
13726 char *kwnames[] = {
13727 (char *) "self",(char *) "c", NULL
13728 };
13729
13730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13733 {
13734 arg2 = &temp2;
13735 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13736 }
13737 {
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
13740
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 Py_INCREF(Py_None); resultobj = Py_None;
13745 return resultobj;
13746 fail:
13747 return NULL;
13748}
13749
13750
13751static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
13752 PyObject *resultobj;
13753 wxGrid *arg1 = (wxGrid *) 0 ;
13754 wxString *arg2 = 0 ;
13755 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
13756 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
e811c8ce 13757 bool temp2 = False ;
d14a1e28
RD
13758 PyObject * obj0 = 0 ;
13759 PyObject * obj1 = 0 ;
13760 PyObject * obj2 = 0 ;
13761 PyObject * obj3 = 0 ;
13762 char *kwnames[] = {
13763 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
13764 };
13765
13766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13769 {
13770 arg2 = wxString_in_helper(obj1);
13771 if (arg2 == NULL) SWIG_fail;
e811c8ce 13772 temp2 = True;
d14a1e28 13773 }
15afbcd0
RD
13774 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellRenderer,
13775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13776 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13778 {
13779 PyThreadState* __tstate = wxPyBeginAllowThreads();
13780 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
13781
13782 wxPyEndAllowThreads(__tstate);
13783 if (PyErr_Occurred()) SWIG_fail;
13784 }
13785 Py_INCREF(Py_None); resultobj = Py_None;
13786 {
13787 if (temp2)
13788 delete arg2;
13789 }
13790 return resultobj;
13791 fail:
13792 {
13793 if (temp2)
13794 delete arg2;
13795 }
13796 return NULL;
13797}
13798
13799
13800static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13801 PyObject *resultobj;
13802 wxGrid *arg1 = (wxGrid *) 0 ;
13803 int arg2 ;
13804 int arg3 ;
13805 wxGridCellEditor *result;
13806 PyObject * obj0 = 0 ;
994141e6
RD
13807 PyObject * obj1 = 0 ;
13808 PyObject * obj2 = 0 ;
d14a1e28
RD
13809 char *kwnames[] = {
13810 (char *) "self",(char *) "row",(char *) "col", NULL
13811 };
13812
994141e6 13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13816 arg2 = (int) SWIG_AsInt(obj1);
13817 if (PyErr_Occurred()) SWIG_fail;
13818 arg3 = (int) SWIG_AsInt(obj2);
13819 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13820 {
13821 PyThreadState* __tstate = wxPyBeginAllowThreads();
13822 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
13823
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 {
13828 resultobj = wxPyMake_wxGridCellEditor(result);
13829 }
13830 return resultobj;
13831 fail:
13832 return NULL;
13833}
13834
13835
13836static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13837 PyObject *resultobj;
13838 wxGrid *arg1 = (wxGrid *) 0 ;
13839 int arg2 ;
13840 int arg3 ;
13841 wxGridCellRenderer *result;
13842 PyObject * obj0 = 0 ;
994141e6
RD
13843 PyObject * obj1 = 0 ;
13844 PyObject * obj2 = 0 ;
d14a1e28
RD
13845 char *kwnames[] = {
13846 (char *) "self",(char *) "row",(char *) "col", NULL
13847 };
13848
994141e6 13849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13852 arg2 = (int) SWIG_AsInt(obj1);
13853 if (PyErr_Occurred()) SWIG_fail;
13854 arg3 = (int) SWIG_AsInt(obj2);
13855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 {
13864 resultobj = wxPyMake_wxGridCellRenderer(result);
13865 }
13866 return resultobj;
13867 fail:
13868 return NULL;
13869}
13870
13871
13872static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj;
13874 wxGrid *arg1 = (wxGrid *) 0 ;
13875 wxString *arg2 = 0 ;
13876 wxGridCellEditor *result;
e811c8ce 13877 bool temp2 = False ;
d14a1e28
RD
13878 PyObject * obj0 = 0 ;
13879 PyObject * obj1 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self",(char *) "typeName", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13887 {
13888 arg2 = wxString_in_helper(obj1);
13889 if (arg2 == NULL) SWIG_fail;
e811c8ce 13890 temp2 = True;
d14a1e28
RD
13891 }
13892 {
13893 PyThreadState* __tstate = wxPyBeginAllowThreads();
13894 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
13895
13896 wxPyEndAllowThreads(__tstate);
13897 if (PyErr_Occurred()) SWIG_fail;
13898 }
13899 {
13900 resultobj = wxPyMake_wxGridCellEditor(result);
13901 }
13902 {
13903 if (temp2)
13904 delete arg2;
13905 }
13906 return resultobj;
13907 fail:
13908 {
13909 if (temp2)
13910 delete arg2;
13911 }
13912 return NULL;
13913}
13914
13915
13916static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
13917 PyObject *resultobj;
13918 wxGrid *arg1 = (wxGrid *) 0 ;
13919 wxString *arg2 = 0 ;
13920 wxGridCellRenderer *result;
e811c8ce 13921 bool temp2 = False ;
d14a1e28
RD
13922 PyObject * obj0 = 0 ;
13923 PyObject * obj1 = 0 ;
13924 char *kwnames[] = {
13925 (char *) "self",(char *) "typeName", NULL
13926 };
13927
13928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13931 {
13932 arg2 = wxString_in_helper(obj1);
13933 if (arg2 == NULL) SWIG_fail;
e811c8ce 13934 temp2 = True;
d14a1e28
RD
13935 }
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
13939
13940 wxPyEndAllowThreads(__tstate);
13941 if (PyErr_Occurred()) SWIG_fail;
13942 }
13943 {
13944 resultobj = wxPyMake_wxGridCellRenderer(result);
13945 }
13946 {
13947 if (temp2)
13948 delete arg2;
13949 }
13950 return resultobj;
13951 fail:
13952 {
13953 if (temp2)
13954 delete arg2;
13955 }
13956 return NULL;
13957}
13958
13959
13960static PyObject *_wrap_Grid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj;
13962 wxGrid *arg1 = (wxGrid *) 0 ;
13963 int arg2 ;
13964 int arg3 ;
13965 PyObject * obj0 = 0 ;
994141e6
RD
13966 PyObject * obj1 = 0 ;
13967 PyObject * obj2 = 0 ;
d14a1e28
RD
13968 char *kwnames[] = {
13969 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
13970 };
13971
994141e6 13972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13975 arg2 = (int) SWIG_AsInt(obj1);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 arg3 = (int) SWIG_AsInt(obj2);
13978 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13979 {
13980 PyThreadState* __tstate = wxPyBeginAllowThreads();
13981 (arg1)->SetMargins(arg2,arg3);
13982
13983 wxPyEndAllowThreads(__tstate);
13984 if (PyErr_Occurred()) SWIG_fail;
13985 }
13986 Py_INCREF(Py_None); resultobj = Py_None;
13987 return resultobj;
13988 fail:
13989 return NULL;
13990}
13991
13992
13993static PyObject *_wrap_Grid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13994 PyObject *resultobj;
13995 wxGrid *arg1 = (wxGrid *) 0 ;
13996 wxWindow *result;
13997 PyObject * obj0 = 0 ;
13998 char *kwnames[] = {
13999 (char *) "self", NULL
14000 };
14001
14002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 result = (wxWindow *)(arg1)->GetGridWindow();
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 {
14013 resultobj = wxPyMake_wxObject(result);
14014 }
14015 return resultobj;
14016 fail:
14017 return NULL;
14018}
14019
14020
14021static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14022 PyObject *resultobj;
14023 wxGrid *arg1 = (wxGrid *) 0 ;
14024 wxWindow *result;
14025 PyObject * obj0 = 0 ;
14026 char *kwnames[] = {
14027 (char *) "self", NULL
14028 };
14029
14030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14033 {
14034 PyThreadState* __tstate = wxPyBeginAllowThreads();
14035 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
14036
14037 wxPyEndAllowThreads(__tstate);
14038 if (PyErr_Occurred()) SWIG_fail;
14039 }
14040 {
14041 resultobj = wxPyMake_wxObject(result);
14042 }
14043 return resultobj;
14044 fail:
14045 return NULL;
14046}
14047
14048
14049static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14050 PyObject *resultobj;
14051 wxGrid *arg1 = (wxGrid *) 0 ;
14052 wxWindow *result;
14053 PyObject * obj0 = 0 ;
14054 char *kwnames[] = {
14055 (char *) "self", NULL
14056 };
14057
14058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14061 {
14062 PyThreadState* __tstate = wxPyBeginAllowThreads();
14063 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
14064
14065 wxPyEndAllowThreads(__tstate);
14066 if (PyErr_Occurred()) SWIG_fail;
14067 }
14068 {
14069 resultobj = wxPyMake_wxObject(result);
14070 }
14071 return resultobj;
14072 fail:
14073 return NULL;
14074}
14075
14076
14077static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14078 PyObject *resultobj;
14079 wxGrid *arg1 = (wxGrid *) 0 ;
14080 wxWindow *result;
14081 PyObject * obj0 = 0 ;
14082 char *kwnames[] = {
14083 (char *) "self", NULL
14084 };
14085
14086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
14092
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 {
14097 resultobj = wxPyMake_wxObject(result);
14098 }
14099 return resultobj;
14100 fail:
14101 return NULL;
14102}
14103
14104
14105static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
14106 PyObject *obj;
14107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14108 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
14109 Py_INCREF(obj);
14110 return Py_BuildValue((char *)"");
14111}
14112static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14113 PyObject *resultobj;
14114 int arg1 ;
14115 wxEventType arg2 ;
14116 wxGrid *arg3 = (wxGrid *) 0 ;
14117 int arg4 = (int) -1 ;
14118 int arg5 = (int) -1 ;
14119 int arg6 = (int) -1 ;
14120 int arg7 = (int) -1 ;
e811c8ce
RD
14121 bool arg8 = (bool) True ;
14122 bool arg9 = (bool) False ;
14123 bool arg10 = (bool) False ;
14124 bool arg11 = (bool) False ;
14125 bool arg12 = (bool) False ;
d14a1e28 14126 wxGridEvent *result;
994141e6
RD
14127 PyObject * obj0 = 0 ;
14128 PyObject * obj1 = 0 ;
d14a1e28 14129 PyObject * obj2 = 0 ;
994141e6
RD
14130 PyObject * obj3 = 0 ;
14131 PyObject * obj4 = 0 ;
14132 PyObject * obj5 = 0 ;
14133 PyObject * obj6 = 0 ;
d14a1e28
RD
14134 PyObject * obj7 = 0 ;
14135 PyObject * obj8 = 0 ;
14136 PyObject * obj9 = 0 ;
14137 PyObject * obj10 = 0 ;
14138 PyObject * obj11 = 0 ;
14139 char *kwnames[] = {
14140 (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
14141 };
14142
994141e6 14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) goto fail;
15afbcd0
RD
14144 arg1 = (int) SWIG_AsInt(obj0);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 arg2 = (wxEventType) SWIG_AsInt(obj1);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14150 if (obj3) {
15afbcd0
RD
14151 arg4 = (int) SWIG_AsInt(obj3);
14152 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14153 }
14154 if (obj4) {
15afbcd0
RD
14155 arg5 = (int) SWIG_AsInt(obj4);
14156 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14157 }
14158 if (obj5) {
15afbcd0
RD
14159 arg6 = (int) SWIG_AsInt(obj5);
14160 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14161 }
14162 if (obj6) {
15afbcd0
RD
14163 arg7 = (int) SWIG_AsInt(obj6);
14164 if (PyErr_Occurred()) SWIG_fail;
994141e6 14165 }
d14a1e28 14166 if (obj7) {
15afbcd0
RD
14167 arg8 = (bool) SWIG_AsBool(obj7);
14168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14169 }
14170 if (obj8) {
15afbcd0
RD
14171 arg9 = (bool) SWIG_AsBool(obj8);
14172 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14173 }
14174 if (obj9) {
15afbcd0
RD
14175 arg10 = (bool) SWIG_AsBool(obj9);
14176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14177 }
14178 if (obj10) {
15afbcd0
RD
14179 arg11 = (bool) SWIG_AsBool(obj10);
14180 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14181 }
14182 if (obj11) {
15afbcd0
RD
14183 arg12 = (bool) SWIG_AsBool(obj11);
14184 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14185 }
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
15afbcd0 14193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEvent, 1);
d14a1e28
RD
14194 return resultobj;
14195 fail:
14196 return NULL;
14197}
14198
14199
14200static PyObject *_wrap_GridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14201 PyObject *resultobj;
14202 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14203 int result;
14204 PyObject * obj0 = 0 ;
14205 char *kwnames[] = {
14206 (char *) "self", NULL
14207 };
14208
14209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14212 {
14213 PyThreadState* __tstate = wxPyBeginAllowThreads();
14214 result = (int)(arg1)->GetRow();
14215
14216 wxPyEndAllowThreads(__tstate);
14217 if (PyErr_Occurred()) SWIG_fail;
14218 }
15afbcd0 14219 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14220 return resultobj;
14221 fail:
14222 return NULL;
14223}
14224
14225
14226static PyObject *_wrap_GridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14227 PyObject *resultobj;
14228 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14229 int result;
14230 PyObject * obj0 = 0 ;
14231 char *kwnames[] = {
14232 (char *) "self", NULL
14233 };
14234
14235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
14236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 result = (int)(arg1)->GetCol();
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
15afbcd0 14245 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14246 return resultobj;
14247 fail:
14248 return NULL;
14249}
14250
14251
14252static PyObject *_wrap_GridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14255 wxPoint result;
14256 PyObject * obj0 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "self", NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = (arg1)->GetPosition();
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 {
14272 wxPoint * resultptr;
14273 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14274 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14275 }
14276 return resultobj;
14277 fail:
14278 return NULL;
14279}
14280
14281
14282static PyObject *_wrap_GridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14283 PyObject *resultobj;
14284 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14285 bool result;
14286 PyObject * obj0 = 0 ;
14287 char *kwnames[] = {
14288 (char *) "self", NULL
14289 };
14290
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
15afbcd0
RD
14292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (bool)(arg1)->Selecting();
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
4d5c3d91 14301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14302 return resultobj;
14303 fail:
14304 return NULL;
14305}
14306
14307
14308static PyObject *_wrap_GridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14309 PyObject *resultobj;
14310 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14311 bool result;
14312 PyObject * obj0 = 0 ;
14313 char *kwnames[] = {
14314 (char *) "self", NULL
14315 };
14316
14317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14320 {
14321 PyThreadState* __tstate = wxPyBeginAllowThreads();
14322 result = (bool)(arg1)->ControlDown();
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
4d5c3d91 14327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14328 return resultobj;
14329 fail:
14330 return NULL;
14331}
14332
14333
14334static PyObject *_wrap_GridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14335 PyObject *resultobj;
14336 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14337 bool result;
14338 PyObject * obj0 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "self", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 result = (bool)(arg1)->MetaDown();
14349
14350 wxPyEndAllowThreads(__tstate);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
4d5c3d91 14353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14354 return resultobj;
14355 fail:
14356 return NULL;
14357}
14358
14359
14360static PyObject *_wrap_GridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14361 PyObject *resultobj;
14362 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14363 bool result;
14364 PyObject * obj0 = 0 ;
14365 char *kwnames[] = {
14366 (char *) "self", NULL
14367 };
14368
14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14372 {
14373 PyThreadState* __tstate = wxPyBeginAllowThreads();
14374 result = (bool)(arg1)->ShiftDown();
14375
14376 wxPyEndAllowThreads(__tstate);
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
4d5c3d91 14379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14380 return resultobj;
14381 fail:
14382 return NULL;
14383}
14384
14385
14386static PyObject *_wrap_GridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14387 PyObject *resultobj;
14388 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14389 bool result;
14390 PyObject * obj0 = 0 ;
14391 char *kwnames[] = {
14392 (char *) "self", NULL
14393 };
14394
14395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14398 {
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 result = (bool)(arg1)->AltDown();
14401
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
4d5c3d91 14405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14406 return resultobj;
14407 fail:
14408 return NULL;
14409}
14410
14411
14412static PyObject * GridEvent_swigregister(PyObject *self, PyObject *args) {
14413 PyObject *obj;
14414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14415 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
14416 Py_INCREF(obj);
14417 return Py_BuildValue((char *)"");
14418}
14419static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14420 PyObject *resultobj;
14421 int arg1 ;
14422 wxEventType arg2 ;
14423 wxGrid *arg3 = (wxGrid *) 0 ;
14424 int arg4 = (int) -1 ;
14425 int arg5 = (int) -1 ;
14426 int arg6 = (int) -1 ;
e811c8ce
RD
14427 bool arg7 = (bool) False ;
14428 bool arg8 = (bool) False ;
14429 bool arg9 = (bool) False ;
14430 bool arg10 = (bool) False ;
d14a1e28 14431 wxGridSizeEvent *result;
994141e6
RD
14432 PyObject * obj0 = 0 ;
14433 PyObject * obj1 = 0 ;
d14a1e28 14434 PyObject * obj2 = 0 ;
994141e6
RD
14435 PyObject * obj3 = 0 ;
14436 PyObject * obj4 = 0 ;
14437 PyObject * obj5 = 0 ;
d14a1e28
RD
14438 PyObject * obj6 = 0 ;
14439 PyObject * obj7 = 0 ;
14440 PyObject * obj8 = 0 ;
14441 PyObject * obj9 = 0 ;
14442 char *kwnames[] = {
14443 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14444 };
14445
994141e6 14446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
14447 arg1 = (int) SWIG_AsInt(obj0);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 arg2 = (wxEventType) SWIG_AsInt(obj1);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14453 if (obj3) {
15afbcd0
RD
14454 arg4 = (int) SWIG_AsInt(obj3);
14455 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14456 }
14457 if (obj4) {
15afbcd0
RD
14458 arg5 = (int) SWIG_AsInt(obj4);
14459 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14460 }
14461 if (obj5) {
15afbcd0
RD
14462 arg6 = (int) SWIG_AsInt(obj5);
14463 if (PyErr_Occurred()) SWIG_fail;
994141e6 14464 }
d14a1e28 14465 if (obj6) {
15afbcd0
RD
14466 arg7 = (bool) SWIG_AsBool(obj6);
14467 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14468 }
14469 if (obj7) {
15afbcd0
RD
14470 arg8 = (bool) SWIG_AsBool(obj7);
14471 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14472 }
14473 if (obj8) {
15afbcd0
RD
14474 arg9 = (bool) SWIG_AsBool(obj8);
14475 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14476 }
14477 if (obj9) {
15afbcd0
RD
14478 arg10 = (bool) SWIG_AsBool(obj9);
14479 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14480 }
14481 {
14482 PyThreadState* __tstate = wxPyBeginAllowThreads();
14483 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
14484
14485 wxPyEndAllowThreads(__tstate);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 }
15afbcd0 14488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizeEvent, 1);
d14a1e28
RD
14489 return resultobj;
14490 fail:
14491 return NULL;
14492}
14493
14494
14495static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj;
14497 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14498 int result;
14499 PyObject * obj0 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "self", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
14505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14507 {
14508 PyThreadState* __tstate = wxPyBeginAllowThreads();
14509 result = (int)(arg1)->GetRowOrCol();
14510
14511 wxPyEndAllowThreads(__tstate);
14512 if (PyErr_Occurred()) SWIG_fail;
14513 }
15afbcd0 14514 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14515 return resultobj;
14516 fail:
14517 return NULL;
14518}
14519
14520
14521static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14522 PyObject *resultobj;
14523 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14524 wxPoint result;
14525 PyObject * obj0 = 0 ;
14526 char *kwnames[] = {
14527 (char *) "self", NULL
14528 };
14529
14530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14533 {
14534 PyThreadState* __tstate = wxPyBeginAllowThreads();
14535 result = (arg1)->GetPosition();
14536
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 {
14541 wxPoint * resultptr;
14542 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14544 }
14545 return resultobj;
14546 fail:
14547 return NULL;
14548}
14549
14550
14551static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14552 PyObject *resultobj;
14553 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14554 bool result;
14555 PyObject * obj0 = 0 ;
14556 char *kwnames[] = {
14557 (char *) "self", NULL
14558 };
14559
14560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14563 {
14564 PyThreadState* __tstate = wxPyBeginAllowThreads();
14565 result = (bool)(arg1)->ControlDown();
14566
14567 wxPyEndAllowThreads(__tstate);
14568 if (PyErr_Occurred()) SWIG_fail;
14569 }
4d5c3d91 14570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14571 return resultobj;
14572 fail:
14573 return NULL;
14574}
14575
14576
14577static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14578 PyObject *resultobj;
14579 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14580 bool result;
14581 PyObject * obj0 = 0 ;
14582 char *kwnames[] = {
14583 (char *) "self", NULL
14584 };
14585
14586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14589 {
14590 PyThreadState* __tstate = wxPyBeginAllowThreads();
14591 result = (bool)(arg1)->MetaDown();
14592
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
4d5c3d91 14596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14597 return resultobj;
14598 fail:
14599 return NULL;
14600}
14601
14602
14603static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14604 PyObject *resultobj;
14605 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14606 bool result;
14607 PyObject * obj0 = 0 ;
14608 char *kwnames[] = {
14609 (char *) "self", NULL
14610 };
14611
14612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14615 {
14616 PyThreadState* __tstate = wxPyBeginAllowThreads();
14617 result = (bool)(arg1)->ShiftDown();
14618
14619 wxPyEndAllowThreads(__tstate);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
4d5c3d91 14622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14623 return resultobj;
14624 fail:
14625 return NULL;
14626}
14627
14628
14629static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14630 PyObject *resultobj;
14631 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14632 bool result;
14633 PyObject * obj0 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14641 {
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 result = (bool)(arg1)->AltDown();
14644
14645 wxPyEndAllowThreads(__tstate);
14646 if (PyErr_Occurred()) SWIG_fail;
14647 }
4d5c3d91 14648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14649 return resultobj;
14650 fail:
14651 return NULL;
14652}
14653
14654
14655static PyObject * GridSizeEvent_swigregister(PyObject *self, PyObject *args) {
14656 PyObject *obj;
14657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14658 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
14659 Py_INCREF(obj);
14660 return Py_BuildValue((char *)"");
14661}
14662static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 int arg1 ;
14665 wxEventType arg2 ;
14666 wxGrid *arg3 = (wxGrid *) 0 ;
14667 wxGridCellCoords *arg4 = 0 ;
14668 wxGridCellCoords *arg5 = 0 ;
e811c8ce
RD
14669 bool arg6 = (bool) True ;
14670 bool arg7 = (bool) False ;
14671 bool arg8 = (bool) False ;
14672 bool arg9 = (bool) False ;
14673 bool arg10 = (bool) False ;
d14a1e28
RD
14674 wxGridRangeSelectEvent *result;
14675 wxGridCellCoords temp4 ;
14676 wxGridCellCoords temp5 ;
994141e6
RD
14677 PyObject * obj0 = 0 ;
14678 PyObject * obj1 = 0 ;
d14a1e28
RD
14679 PyObject * obj2 = 0 ;
14680 PyObject * obj3 = 0 ;
14681 PyObject * obj4 = 0 ;
14682 PyObject * obj5 = 0 ;
14683 PyObject * obj6 = 0 ;
14684 PyObject * obj7 = 0 ;
14685 PyObject * obj8 = 0 ;
14686 PyObject * obj9 = 0 ;
14687 char *kwnames[] = {
14688 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14689 };
14690
994141e6 14691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
14692 arg1 = (int) SWIG_AsInt(obj0);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 arg2 = (wxEventType) SWIG_AsInt(obj1);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14698 {
14699 arg4 = &temp4;
14700 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
14701 }
14702 {
14703 arg5 = &temp5;
14704 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
14705 }
14706 if (obj5) {
15afbcd0
RD
14707 arg6 = (bool) SWIG_AsBool(obj5);
14708 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14709 }
14710 if (obj6) {
15afbcd0
RD
14711 arg7 = (bool) SWIG_AsBool(obj6);
14712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14713 }
14714 if (obj7) {
15afbcd0
RD
14715 arg8 = (bool) SWIG_AsBool(obj7);
14716 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14717 }
14718 if (obj8) {
15afbcd0
RD
14719 arg9 = (bool) SWIG_AsBool(obj8);
14720 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14721 }
14722 if (obj9) {
15afbcd0
RD
14723 arg10 = (bool) SWIG_AsBool(obj9);
14724 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14725 }
14726 {
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
14729
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
15afbcd0 14733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridRangeSelectEvent, 1);
d14a1e28
RD
14734 return resultobj;
14735 fail:
14736 return NULL;
14737}
14738
14739
14740static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj;
14742 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14743 wxGridCellCoords result;
14744 PyObject * obj0 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
14750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 result = (arg1)->GetTopLeftCoords();
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 {
14760 wxGridCellCoords * resultptr;
14761 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 14762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
14763 }
14764 return resultobj;
14765 fail:
14766 return NULL;
14767}
14768
14769
14770static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14771 PyObject *resultobj;
14772 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14773 wxGridCellCoords result;
14774 PyObject * obj0 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "self", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
14780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14782 {
14783 PyThreadState* __tstate = wxPyBeginAllowThreads();
14784 result = (arg1)->GetBottomRightCoords();
14785
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 {
14790 wxGridCellCoords * resultptr;
14791 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 14792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
14793 }
14794 return resultobj;
14795 fail:
14796 return NULL;
14797}
14798
14799
14800static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14801 PyObject *resultobj;
14802 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14803 int result;
14804 PyObject * obj0 = 0 ;
14805 char *kwnames[] = {
14806 (char *) "self", NULL
14807 };
14808
14809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14812 {
14813 PyThreadState* __tstate = wxPyBeginAllowThreads();
14814 result = (int)(arg1)->GetTopRow();
14815
14816 wxPyEndAllowThreads(__tstate);
14817 if (PyErr_Occurred()) SWIG_fail;
14818 }
15afbcd0 14819 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14820 return resultobj;
14821 fail:
14822 return NULL;
14823}
14824
14825
14826static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14827 PyObject *resultobj;
14828 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14829 int result;
14830 PyObject * obj0 = 0 ;
14831 char *kwnames[] = {
14832 (char *) "self", NULL
14833 };
14834
14835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14838 {
14839 PyThreadState* __tstate = wxPyBeginAllowThreads();
14840 result = (int)(arg1)->GetBottomRow();
14841
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
15afbcd0 14845 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14846 return resultobj;
14847 fail:
14848 return NULL;
14849}
14850
14851
14852static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14853 PyObject *resultobj;
14854 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14855 int result;
14856 PyObject * obj0 = 0 ;
14857 char *kwnames[] = {
14858 (char *) "self", NULL
14859 };
14860
14861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
14862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14864 {
14865 PyThreadState* __tstate = wxPyBeginAllowThreads();
14866 result = (int)(arg1)->GetLeftCol();
14867
14868 wxPyEndAllowThreads(__tstate);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
15afbcd0 14871 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14872 return resultobj;
14873 fail:
14874 return NULL;
14875}
14876
14877
14878static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14879 PyObject *resultobj;
14880 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14881 int result;
14882 PyObject * obj0 = 0 ;
14883 char *kwnames[] = {
14884 (char *) "self", NULL
14885 };
14886
14887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
14888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 result = (int)(arg1)->GetRightCol();
14893
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
15afbcd0 14897 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14898 return resultobj;
14899 fail:
14900 return NULL;
14901}
14902
14903
14904static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14905 PyObject *resultobj;
14906 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14907 bool result;
14908 PyObject * obj0 = 0 ;
14909 char *kwnames[] = {
14910 (char *) "self", NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
15afbcd0
RD
14914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (bool)(arg1)->Selecting();
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
4d5c3d91 14923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14924 return resultobj;
14925 fail:
14926 return NULL;
14927}
14928
14929
14930static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14933 bool result;
14934 PyObject * obj0 = 0 ;
14935 char *kwnames[] = {
14936 (char *) "self", NULL
14937 };
14938
14939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14942 {
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 result = (bool)(arg1)->ControlDown();
14945
14946 wxPyEndAllowThreads(__tstate);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 }
4d5c3d91 14949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14950 return resultobj;
14951 fail:
14952 return NULL;
14953}
14954
14955
14956static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj;
14958 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14959 bool result;
14960 PyObject * obj0 = 0 ;
14961 char *kwnames[] = {
14962 (char *) "self", NULL
14963 };
14964
14965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14968 {
14969 PyThreadState* __tstate = wxPyBeginAllowThreads();
14970 result = (bool)(arg1)->MetaDown();
14971
14972 wxPyEndAllowThreads(__tstate);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
4d5c3d91 14975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14976 return resultobj;
14977 fail:
14978 return NULL;
14979}
14980
14981
14982static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14983 PyObject *resultobj;
14984 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14985 bool result;
14986 PyObject * obj0 = 0 ;
14987 char *kwnames[] = {
14988 (char *) "self", NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 result = (bool)(arg1)->ShiftDown();
14997
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
4d5c3d91 15001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15002 return resultobj;
15003 fail:
15004 return NULL;
15005}
15006
15007
15008static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj;
15010 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15011 bool result;
15012 PyObject * obj0 = 0 ;
15013 char *kwnames[] = {
15014 (char *) "self", NULL
15015 };
15016
15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 result = (bool)(arg1)->AltDown();
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
4d5c3d91 15027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15028 return resultobj;
15029 fail:
15030 return NULL;
15031}
15032
15033
15034static PyObject * GridRangeSelectEvent_swigregister(PyObject *self, PyObject *args) {
15035 PyObject *obj;
15036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15037 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
15038 Py_INCREF(obj);
15039 return Py_BuildValue((char *)"");
15040}
15041static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15042 PyObject *resultobj;
15043 int arg1 ;
15044 wxEventType arg2 ;
15045 wxObject *arg3 = (wxObject *) 0 ;
15046 int arg4 ;
15047 int arg5 ;
15048 wxControl *arg6 = (wxControl *) 0 ;
15049 wxGridEditorCreatedEvent *result;
994141e6
RD
15050 PyObject * obj0 = 0 ;
15051 PyObject * obj1 = 0 ;
d14a1e28 15052 PyObject * obj2 = 0 ;
994141e6
RD
15053 PyObject * obj3 = 0 ;
15054 PyObject * obj4 = 0 ;
d14a1e28
RD
15055 PyObject * obj5 = 0 ;
15056 char *kwnames[] = {
15057 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15058 };
15059
994141e6 15060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15061 arg1 = (int) SWIG_AsInt(obj0);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 arg2 = (wxEventType) SWIG_AsInt(obj1);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxObject,
15066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15067 arg4 = (int) SWIG_AsInt(obj3);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 arg5 = (int) SWIG_AsInt(obj4);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxControl,
15072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15073 {
15074 PyThreadState* __tstate = wxPyBeginAllowThreads();
15075 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
15076
15077 wxPyEndAllowThreads(__tstate);
15078 if (PyErr_Occurred()) SWIG_fail;
15079 }
15afbcd0 15080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
d14a1e28
RD
15081 return resultobj;
15082 fail:
15083 return NULL;
15084}
15085
15086
15087static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15088 PyObject *resultobj;
15089 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15090 int result;
15091 PyObject * obj0 = 0 ;
15092 char *kwnames[] = {
15093 (char *) "self", NULL
15094 };
15095
15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15099 {
15100 PyThreadState* __tstate = wxPyBeginAllowThreads();
15101 result = (int)(arg1)->GetRow();
15102
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15afbcd0 15106 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15107 return resultobj;
15108 fail:
15109 return NULL;
15110}
15111
15112
15113static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15114 PyObject *resultobj;
15115 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15116 int result;
15117 PyObject * obj0 = 0 ;
15118 char *kwnames[] = {
15119 (char *) "self", NULL
15120 };
15121
15122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
15123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15125 {
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 result = (int)(arg1)->GetCol();
15128
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15afbcd0 15132 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15133 return resultobj;
15134 fail:
15135 return NULL;
15136}
15137
15138
15139static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15140 PyObject *resultobj;
15141 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15142 wxControl *result;
15143 PyObject * obj0 = 0 ;
15144 char *kwnames[] = {
15145 (char *) "self", NULL
15146 };
15147
15148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15151 {
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 result = (wxControl *)(arg1)->GetControl();
15154
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 {
15159 resultobj = wxPyMake_wxObject(result);
15160 }
15161 return resultobj;
15162 fail:
15163 return NULL;
15164}
15165
15166
15167static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj;
15169 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15170 int arg2 ;
15171 PyObject * obj0 = 0 ;
994141e6 15172 PyObject * obj1 = 0 ;
d14a1e28
RD
15173 char *kwnames[] = {
15174 (char *) "self",(char *) "row", NULL
15175 };
15176
994141e6 15177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15180 arg2 = (int) SWIG_AsInt(obj1);
15181 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15182 {
15183 PyThreadState* __tstate = wxPyBeginAllowThreads();
15184 (arg1)->SetRow(arg2);
15185
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 Py_INCREF(Py_None); resultobj = Py_None;
15190 return resultobj;
15191 fail:
15192 return NULL;
15193}
15194
15195
15196static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15197 PyObject *resultobj;
15198 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15199 int arg2 ;
15200 PyObject * obj0 = 0 ;
994141e6 15201 PyObject * obj1 = 0 ;
d14a1e28
RD
15202 char *kwnames[] = {
15203 (char *) "self",(char *) "col", NULL
15204 };
15205
994141e6 15206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15209 arg2 = (int) SWIG_AsInt(obj1);
15210 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15211 {
15212 PyThreadState* __tstate = wxPyBeginAllowThreads();
15213 (arg1)->SetCol(arg2);
15214
15215 wxPyEndAllowThreads(__tstate);
15216 if (PyErr_Occurred()) SWIG_fail;
15217 }
15218 Py_INCREF(Py_None); resultobj = Py_None;
15219 return resultobj;
15220 fail:
15221 return NULL;
15222}
15223
15224
15225static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15226 PyObject *resultobj;
15227 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15228 wxControl *arg2 = (wxControl *) 0 ;
15229 PyObject * obj0 = 0 ;
15230 PyObject * obj1 = 0 ;
15231 char *kwnames[] = {
15232 (char *) "self",(char *) "ctrl", NULL
15233 };
15234
15235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 (arg1)->SetControl(arg2);
15243
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
15247 Py_INCREF(Py_None); resultobj = Py_None;
15248 return resultobj;
15249 fail:
15250 return NULL;
15251}
15252
15253
15254static PyObject * GridEditorCreatedEvent_swigregister(PyObject *self, PyObject *args) {
15255 PyObject *obj;
15256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15257 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
15258 Py_INCREF(obj);
15259 return Py_BuildValue((char *)"");
15260}
15261static PyMethodDef SwigMethods[] = {
15262 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15263 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
15264 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
15265 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
15266 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
15267 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
15268 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
15269 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS },
15270 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
15271 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15272 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15273 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS },
15274 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
15275 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS },
15276 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
15277 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS },
15278 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
15279 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
15280 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
15281 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
15282 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
15283 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS },
15284 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
15285 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS },
15286 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
15287 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS },
15288 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
15289 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS },
15290 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
15291 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS },
15292 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15293 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
15294 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
15295 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
15296 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
15297 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
15298 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
15299 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
15300 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
15301 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
15302 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
15303 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
15304 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
15305 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
15306 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
15307 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
15308 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15309 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15310 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
15311 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
15312 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15313 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
15314 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS },
15315 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
15316 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15317 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
15318 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
15319 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15320 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15321 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
15322 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
15323 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15324 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
15325 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15326 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS },
15327 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
15328 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15329 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS },
15330 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
15331 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15332 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS },
15333 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
15334 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15335 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS },
15336 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
15337 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15338 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS },
15339 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
15340 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15341 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS },
15342 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
15343 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15344 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS },
15345 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
15346 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15347 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS },
15348 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15349 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS },
15350 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
15351 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
15352 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
15353 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
15354 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
15355 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15356 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
15357 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
15358 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
15359 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
15360 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15361 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
15362 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
15363 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
15364 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
15365 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15366 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
15367 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
15368 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
15369 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
15370 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
15371 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
15372 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
15373 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15374 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
15375 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
15376 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
15377 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
15378 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
15379 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
15380 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15381 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
15382 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS },
15383 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15384 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15385 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
15386 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
15387 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15388 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15389 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
15390 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
15391 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS },
15392 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15393 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15394 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15395 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15396 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15397 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15398 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS },
15399 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15400 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15401 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15402 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
15403 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
15404 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15405 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15406 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
15407 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
15408 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
15409 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15410 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15411 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15412 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15413 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15414 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15415 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15416 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15417 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15418 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
15419 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
15420 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
15421 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15422 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
15423 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
15424 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15425 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15426 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15427 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15428 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15429 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15430 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
15431 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
15432 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15433 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15434 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS },
15435 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS },
15436 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15437 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
15438 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15439 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15440 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15441 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
15442 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
15443 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
15444 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15445 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
15446 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
15447 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15448 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15449 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15450 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15451 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15452 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15453 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15454 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15455 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15456 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15457 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS },
15458 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS },
15459 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS },
15460 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15461 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15462 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
15463 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
15464 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
15465 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
15466 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
15467 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
15468 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15469 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15470 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS },
15471 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15472 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15473 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
15474 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
15475 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
15476 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
15477 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
15478 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS },
15479 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS },
15480 { (char *)"GridCellCoords_asTuple", (PyCFunction) _wrap_GridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
15481 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS },
15482 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS },
15483 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
15484 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15485 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15486 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15487 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15488 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
15489 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS },
15490 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS },
15491 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
15492 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS },
15493 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS },
15494 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15495 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS },
15496 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS },
15497 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15498 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
15499 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
15500 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
15501 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
15502 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS },
15503 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
15504 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
15505 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS },
15506 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
15507 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15508 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15509 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
15510 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
15511 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
15512 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
15513 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
15514 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
15515 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
15516 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS },
15517 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS },
15518 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS },
15519 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
15520 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
15521 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS },
15522 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
15523 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
15524 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS },
15525 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
15526 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
15527 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
15528 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
15529 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
15530 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
15531 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
15532 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
15533 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
15534 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
15535 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
15536 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
15537 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15538 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15539 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
15540 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15541 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15542 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15543 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
15544 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15545 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15546 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15547 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15548 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15549 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15550 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15551 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15552 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15553 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15554 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15555 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15556 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15557 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
15558 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15559 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15560 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15561 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15562 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15563 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15564 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15565 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15566 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15567 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15568 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15569 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
15570 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
15571 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
15572 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
15573 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15574 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15575 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
15576 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS },
15577 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15578 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15579 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
15580 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
15581 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
15582 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
15583 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
15584 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
15585 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15586 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
15587 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15588 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS },
15589 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15590 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15591 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15592 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15593 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15594 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
15595 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15596 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15597 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15598 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15599 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
15600 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15601 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
15602 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15603 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS },
15604 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
15605 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
15606 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
15607 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
15608 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS },
15609 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15610 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
15611 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
15612 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
15613 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15614 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15615 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15616 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15617 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15618 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15619 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15620 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15621 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15622 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
15623 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15624 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15625 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15626 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15627 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
15628 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15629 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15630 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15631 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15632 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15633 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
15634 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15635 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
15636 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
15637 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
15638 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15639 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15640 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS },
15641 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS },
15642 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
15643 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS },
15644 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS },
15645 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
15646 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
15647 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
15648 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
15649 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
15650 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
15651 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
15652 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
15653 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
15654 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
15655 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
15656 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15657 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15658 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15659 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15660 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
15661 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
15662 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
15663 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
15664 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
15665 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS },
15666 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
15667 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
15668 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
15669 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
15670 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
15671 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
15672 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15673 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15674 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15675 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15676 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15677 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15678 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15679 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15680 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS },
15681 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS },
15682 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
15683 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15684 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15685 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15686 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15687 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15688 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS },
15689 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
15690 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
15691 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
15692 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
15693 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
15694 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
15695 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
15696 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15697 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15698 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15699 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15700 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15701 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS },
15702 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
15703 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15704 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15705 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
15706 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
15707 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
15708 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
15709 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS },
15710 { NULL, NULL }
15711};
15712
15713
15714/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15715
15716static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
15717 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
15718}
15719static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
15720 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
15721}
15722static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
15723 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
15724}
15725static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
15726 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
15727}
15728static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
15729 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
15730}
15731static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
15732 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
15733}
15734static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
15735 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
15736}
15737static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
15738 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
15739}
15740static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
15741 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
15742}
15743static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
15744 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
15745}
15746static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
15747 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
15748}
15749static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
15750 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
15751}
15752static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
15753 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
15754}
15755static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
15756 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
15757}
15758static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
15759 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
15760}
15761static void *_p_wxGridTo_p_wxPanel(void *x) {
15762 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
15763}
15764static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
15765 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15766}
15767static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
15768 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15769}
15770static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
15771 return (void *)((wxPanel *) ((wxPyPanel *) x));
15772}
15773static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
15774 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
15775}
15776static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
15777 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
15778}
15779static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
15780 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15781}
15782static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
15783 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
15784}
15785static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
15786 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
15787}
15788static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
15789 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
15790}
15791static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
15792 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
15793}
15794static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
15795 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
15796}
15797static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
15798 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
15799}
15800static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
15801 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15802}
15803static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
15804 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15805}
15806static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
15807 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
15808}
15809static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15810 return (void *)((wxWindow *) ((wxMenuBar *) x));
15811}
15812static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
15813 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15814}
15815static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
15816 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15817}
15818static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
15819 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15820}
15821static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
15822 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15823}
15824static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
15825 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15826}
15827static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
15828 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15829}
15830static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
15831 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15832}
15833static void *_p_wxPanelTo_p_wxWindow(void *x) {
15834 return (void *)((wxWindow *) ((wxPanel *) x));
15835}
15836static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
15837 return (void *)((wxWindow *) ((wxStatusBar *) x));
15838}
15839static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
15840 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
15841}
15842static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
15843 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
15844}
15845static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
15846 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
15847}
15848static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
15849 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15850}
15851static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
15852 return (void *)((wxWindow *) ((wxPopupWindow *) x));
15853}
15854static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
15855 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
15856}
15857static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
15858 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
15859}
15860static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
15861 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
15862}
15863static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
15864 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
15865}
15866static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
15867 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
15868}
15869static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
15870 return (void *)((wxWindow *) ((wxSashWindow *) x));
15871}
15872static void *_p_wxControlTo_p_wxWindow(void *x) {
15873 return (void *)((wxWindow *) ((wxControl *) x));
15874}
15875static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
15876 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15877}
15878static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
15879 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15880}
15881static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
15882 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15883}
15884static void *_p_wxGridTo_p_wxWindow(void *x) {
15885 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
15886}
15887static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15888 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
15889}
15890static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
15891 return (void *)((wxWindow *) ((wxPyWindow *) x));
15892}
15893static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
15894 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15895}
15896static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
15897 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15898}
15899static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
15900 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15901}
15902static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
15903 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
15904}
15905static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
15906 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15907}
15908static void *_p_wxFrameTo_p_wxWindow(void *x) {
15909 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
15910}
15911static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
15912 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15913}
15914static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
15915 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15916}
15917static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
15918 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15919}
15920static void *_p_wxDialogTo_p_wxWindow(void *x) {
15921 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
15922}
15923static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
15924 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
15925}
15926static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
15927 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
15928}
15929static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
15930 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15931}
15932static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
15933 return (void *)((wxControl *) ((wxControlWithItems *) x));
15934}
15935static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
15936 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
15937}
15938static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
15939 return (void *)((wxEvent *) ((wxMenuEvent *) x));
15940}
15941static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
15942 return (void *)((wxEvent *) ((wxCloseEvent *) x));
15943}
15944static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
15945 return (void *)((wxEvent *) ((wxMouseEvent *) x));
15946}
15947static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
15948 return (void *)((wxEvent *) ((wxEraseEvent *) x));
15949}
15950static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
15951 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
15952}
15953static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
15954 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
15955}
15956static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
15957 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
15958}
15959static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
15960 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
15961}
15962static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
15963 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
15964}
15965static void *_p_wxPyEventTo_p_wxEvent(void *x) {
15966 return (void *)((wxEvent *) ((wxPyEvent *) x));
15967}
15968static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
15969 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
15970}
15971static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
15972 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
15973}
15974static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
15975 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
15976}
15977static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
15978 return (void *)((wxEvent *) ((wxIdleEvent *) x));
15979}
15980static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
15981 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
15982}
15983static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
15984 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
15985}
15986static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
15987 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
15988}
15989static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
15990 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
15991}
15992static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
15993 return (void *)((wxEvent *) ((wxActivateEvent *) x));
15994}
15995static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
15996 return (void *)((wxEvent *) ((wxSizeEvent *) x));
15997}
15998static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
15999 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16000}
16001static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
16002 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16003}
16004static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16005 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16006}
16007static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16008 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16009}
16010static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16011 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16012}
16013static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16014 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16015}
16016static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16017 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16018}
16019static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16020 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16021}
16022static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16023 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16024}
16025static void *_p_wxGridEventTo_p_wxEvent(void *x) {
16026 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16027}
16028static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
16029 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16030}
16031static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16032 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16033}
16034static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16035 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16036}
16037static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16038 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16039}
16040static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16041 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16042}
16043static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16044 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16045}
16046static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16047 return (void *)((wxEvent *) ((wxShowEvent *) x));
16048}
16049static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16050 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16051}
16052static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16053 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16054}
16055static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16056 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16057}
16058static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16059 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16060}
16061static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16062 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16063}
16064static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16065 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16066}
16067static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16068 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16069}
16070static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16071 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16072}
16073static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16074 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16075}
16076static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16078}
16079static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16081}
16082static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16083 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16084}
16085static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16086 return (void *)((wxObject *) ((wxSizerItem *) x));
16087}
16088static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16089 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16090}
16091static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16092 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16093}
16094static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16095 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16096}
16097static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16098 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16099}
16100static void *_p_wxSizerTo_p_wxObject(void *x) {
16101 return (void *)((wxObject *) ((wxSizer *) x));
16102}
16103static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16104 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16105}
16106static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16107 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16108}
16109static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16111}
16112static void *_p_wxEventTo_p_wxObject(void *x) {
16113 return (void *)((wxObject *) ((wxEvent *) x));
16114}
16115static void *_p_wxFontDataTo_p_wxObject(void *x) {
16116 return (void *)((wxObject *) ((wxFontData *) x));
16117}
16118static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16119 return (void *)((wxObject *) ((wxPrintData *) x));
16120}
16121static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16122 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16123}
16124static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16125 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16126}
16127static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16128 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16129}
16130static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16131 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16132}
16133static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
16134 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
16135}
16136static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16138}
16139static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
16140 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
16141}
16142static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16143 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16144}
16145static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16146 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16147}
16148static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16149 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16150}
16151static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16152 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16153}
16154static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16155 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16156}
16157static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16158 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16159}
16160static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16162}
16163static void *_p_wxGridEventTo_p_wxObject(void *x) {
16164 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16165}
16166static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
16167 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16168}
16169static void *_p_wxControlTo_p_wxObject(void *x) {
16170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16171}
16172static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16173 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16174}
16175static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16176 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16177}
16178static void *_p_wxFSFileTo_p_wxObject(void *x) {
16179 return (void *)((wxObject *) ((wxFSFile *) x));
16180}
16181static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16182 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16183}
16184static void *_p_wxGridTo_p_wxObject(void *x) {
16185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16186}
16187static void *_p_wxPySizerTo_p_wxObject(void *x) {
16188 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16189}
16190static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16192}
16193static void *_p_wxColourDataTo_p_wxObject(void *x) {
16194 return (void *)((wxObject *) ((wxColourData *) x));
16195}
16196static void *_p_wxPyEventTo_p_wxObject(void *x) {
16197 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16198}
16199static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16200 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16201}
16202static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16204}
16205static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16207}
16208static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16210}
16211static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16213}
16214static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16216}
16217static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16219}
16220static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16222}
16223static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16225}
16226static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16228}
16229static void *_p_wxShowEventTo_p_wxObject(void *x) {
16230 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16231}
16232static void *_p_wxPrinterTo_p_wxObject(void *x) {
16233 return (void *)((wxObject *) ((wxPrinter *) x));
16234}
16235static void *_p_wxMenuItemTo_p_wxObject(void *x) {
16236 return (void *)((wxObject *) ((wxMenuItem *) x));
16237}
16238static void *_p_wxIdleEventTo_p_wxObject(void *x) {
16239 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
16240}
16241static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
16242 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
16243}
16244static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
16245 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
16246}
16247static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
16248 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
16249}
16250static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
16251 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
16252}
16253static void *_p_wxSizeEventTo_p_wxObject(void *x) {
16254 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
16255}
16256static void *_p_wxMoveEventTo_p_wxObject(void *x) {
16257 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
16258}
16259static void *_p_wxActivateEventTo_p_wxObject(void *x) {
16260 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
16261}
16262static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
16263 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16264}
16265static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
16266 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
16267}
16268static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
16269 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
16270}
16271static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
16272 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
16273}
16274static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
16275 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
16276}
16277static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
16278 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
16279}
16280static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
16281 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
16282}
16283static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
16284 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
16285}
16286static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
16287 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
16288}
16289static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
16290 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
16291}
16292static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
16293 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
16294}
16295static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
16296 return (void *)((wxObject *) ((wxImageHandler *) x));
16297}
16298static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
16299 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
16300}
16301static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
16302 return (void *)((wxObject *) ((wxEvtHandler *) x));
16303}
16304static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
16305 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
16306}
16307static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
16308 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16309}
16310static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
16311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16312}
16313static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
16314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16315}
16316static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
16317 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
16318}
16319static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
16320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16321}
16322static void *_p_wxImageTo_p_wxObject(void *x) {
16323 return (void *)((wxObject *) ((wxImage *) x));
16324}
16325static void *_p_wxFrameTo_p_wxObject(void *x) {
16326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16327}
16328static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
16329 return (void *)((wxObject *) ((wxPyPrintout *) x));
16330}
16331static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
16332 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
16333}
16334static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
16335 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
16336}
16337static void *_p_wxStatusBarTo_p_wxObject(void *x) {
16338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
16339}
16340static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
16341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16342}
16343static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
16344 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16345}
16346static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
16347 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
16348}
16349static void *_p_wxKeyEventTo_p_wxObject(void *x) {
16350 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
16351}
d14a1e28
RD
16352static void *_p_wxWindowTo_p_wxObject(void *x) {
16353 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
16354}
16355static void *_p_wxMenuTo_p_wxObject(void *x) {
16356 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
16357}
16358static void *_p_wxMenuBarTo_p_wxObject(void *x) {
16359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
16360}
0df68c9f
RD
16361static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
16362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16363}
d14a1e28
RD
16364static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
16365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
16366}
16367static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
16368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
16369}
16370static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
16371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
16372}
16373static void *_p_wxSashWindowTo_p_wxObject(void *x) {
16374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
16375}
16376static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
16377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16378}
16379static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
16380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
16381}
16382static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
16383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16384}
16385static void *_p_wxTipWindowTo_p_wxObject(void *x) {
16386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16387}
16388static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
16389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16390}
16391static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
16392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
16393}
16394static void *_p_wxSashEventTo_p_wxObject(void *x) {
16395 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
16396}
16397static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
16398 return (void *)((wxObject *) ((wxPrintPreview *) x));
16399}
16400static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
16401 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
16402}
16403static void *_p_wxPanelTo_p_wxObject(void *x) {
16404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
16405}
16406static void *_p_wxDialogTo_p_wxObject(void *x) {
16407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16408}
16409static void *_p_wxColourDialogTo_p_wxObject(void *x) {
16410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16411}
16412static void *_p_wxDirDialogTo_p_wxObject(void *x) {
16413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16414}
16415static void *_p_wxFontDialogTo_p_wxObject(void *x) {
16416 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16417}
16418static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
16419 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16420}
16421static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
16422 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16423}
16424static void *_p_wxFileSystemTo_p_wxObject(void *x) {
16425 return (void *)((wxObject *) ((wxFileSystem *) x));
16426}
16427static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
16428 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
16429}
16430static void *_p_wxMenuEventTo_p_wxObject(void *x) {
16431 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
16432}
16433static void *_p_wxPyAppTo_p_wxObject(void *x) {
16434 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
16435}
16436static void *_p_wxCloseEventTo_p_wxObject(void *x) {
16437 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
16438}
16439static void *_p_wxMouseEventTo_p_wxObject(void *x) {
16440 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
16441}
16442static void *_p_wxEraseEventTo_p_wxObject(void *x) {
16443 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
16444}
16445static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
16446 return (void *)((wxObject *) ((wxGridTableBase *) x));
16447}
16448static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
16449 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
16450}
16451static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
16452 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
16453}
16454static void *_p_wxCommandEventTo_p_wxObject(void *x) {
16455 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
16456}
16457static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
16458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16459}
16460static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
16461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16462}
16463static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
16464 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
16465}
16466static void *_p_wxFocusEventTo_p_wxObject(void *x) {
16467 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
16468}
16469static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
16470 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
16471}
16472static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
16473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16474}
16475static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
16476 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
16477}
16478static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
16479 return (void *)((wxObject *) ((wxPrintDialogData *) x));
16480}
16481static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
16482 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
16483}
16484static void *_p_wxValidatorTo_p_wxObject(void *x) {
16485 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
16486}
16487static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
16488 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16489}
16490static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
16491 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16492}
16493static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
16494 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16495}
16496static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
16497 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
16498}
16499static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
16500 return (void *)((wxEvtHandler *) ((wxValidator *) x));
16501}
16502static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
16503 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
16504}
16505static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
16506 return (void *)((wxEvtHandler *) ((wxMenu *) x));
16507}
16508static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
16509 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16510}
16511static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
16512 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16513}
16514static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
16515 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16516}
16517static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
16518 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16519}
16520static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
16521 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16522}
16523static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
16524 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16525}
16526static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
16527 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16528}
16529static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
16530 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
16531}
16532static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
16533 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
16534}
16535static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
16536 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16537}
16538static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
16539 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16540}
16541static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
16542 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16543}
16544static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
16545 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
16546}
16547static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
16548 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16549}
16550static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
16551 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
16552}
16553static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
16554 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
16555}
16556static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
16557 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
16558}
16559static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
16560 return (void *)((wxEvtHandler *) ((wxWindow *) x));
16561}
16562static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
16563 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16564}
16565static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
16566 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
16567}
16568static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
16569 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
16570}
16571static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
16572 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
16573}
16574static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
16575 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16576}
16577static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
16578 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16579}
16580static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
16581 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16582}
16583static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
16584 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
16585}
16586static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
16587 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16588}
16589static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
16590 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16591}
16592static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
16593 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
16594}
16595static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
16596 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16597}
16598static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
16599 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16600}
16601static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
16602 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16603}
16604static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
16605 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16606}
16607static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
16608 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16609}
16610static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
16611 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
16612}
16613static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
16614 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16615}
16616static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
16617 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16618}
16619static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
16620 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16621}
16622static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
16623 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16624}
16625static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
16626 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16627}
16628static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
16629 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16630}
16631static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
16632 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16633}
16634static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
16635 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16636}
16637static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
16638 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
16639}
16640static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
16641 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
16642}
16643static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
16644 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
16645}
16646static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
16647 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
16648}
16649static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
16650 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
16651}
16652static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
16653 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
16654}
16655static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
16656 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
16657}
16658static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
16659 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
16660}
16661static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
16662 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
16663}
16664static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
16665 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
16666}
16667static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
16668 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
16669}
16670static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
16671 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
16672}
16673static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
16674 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
16675}
16676static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
16677 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
16678}
16679static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
16680 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16681}
16682static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
16683 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
16684}
16685static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
16686 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
16687}
16688static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
16689 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
16690}
16691static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
16692 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
16693}
16694static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
16695 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
16696}
16697static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
16698 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16699}
16700static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
16701 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
16702}
16703static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
16704 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
16705}
16706static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
16707 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
16708}
16709static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
16710 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16711}
16712static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
16713 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
16714}
16715static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
16716 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
16717}
16718static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
16719 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
16720}
16721static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
16722 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
16723}
16724static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
16725 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
16726}
15afbcd0
RD
16727static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16728static swig_type_info _swigt__p_wxGridCellEnumRenderer[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16729static swig_type_info _swigt__p_wxGridCellDateTimeRenderer[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16730static swig_type_info _swigt__p_wxGridCellBoolRenderer[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16731static swig_type_info _swigt__p_wxGridCellFloatRenderer[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16732static swig_type_info _swigt__p_wxGridCellNumberRenderer[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16733static swig_type_info _swigt__p_wxPyGridCellRenderer[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16734static swig_type_info _swigt__p_wxGridCellRenderer[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0, 0, 0, 0},{"_p_wxGridCellRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16735static swig_type_info _swigt__p_wxGridCellStringRenderer[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16736static swig_type_info _swigt__p_wxGridCellAttr[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0, 0, 0, 0},{"_p_wxGridCellAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16737static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16738static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16739static swig_type_info _swigt__p_wxGridTableMessage[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0, 0, 0, 0},{"_p_wxGridTableMessage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16740static swig_type_info _swigt__p_wxGrid[] = {{"_p_wxGrid", 0, "wxGrid *", 0, 0, 0, 0},{"_p_wxGrid", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16741static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16742static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16743static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16744static swig_type_info _swigt__p_wxGridRangeSelectEvent[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16745static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16746static swig_type_info _swigt__p_wxGridCellCoords[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0, 0, 0, 0},{"_p_wxGridCellCoords", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16747static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16748static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16749static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16750static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16751static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16752static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16753static swig_type_info _swigt__p_wxGridSizeEvent[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16754static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16755static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16756static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16757static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16758static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16759static swig_type_info _swigt__p_wxGridEvent[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0, 0, 0, 0},{"_p_wxGridEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16760static swig_type_info _swigt__p_wxGridEditorCreatedEvent[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16761static swig_type_info _swigt__p_wxGridTableBase[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16762static swig_type_info _swigt__p_wxGridCellNumberEditor[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16763static swig_type_info _swigt__p_wxPyGridCellEditor[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0, 0, 0, 0},{"_p_wxPyGridCellEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16764static swig_type_info _swigt__p_wxGridCellEditor[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0, 0, 0, 0},{"_p_wxGridCellEditor", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16765static swig_type_info _swigt__p_wxGridCellTextEditor[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0, 0, 0, 0},{"_p_wxGridCellTextEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16766static swig_type_info _swigt__p_wxGridCellFloatEditor[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16767static swig_type_info _swigt__p_wxGridCellBoolEditor[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16768static swig_type_info _swigt__p_wxPyGridTableBase[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0, 0, 0, 0},{"_p_wxPyGridTableBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16769static swig_type_info _swigt__p_wxGridStringTable[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0, 0, 0, 0},{"_p_wxGridStringTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16770static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16771static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16772static swig_type_info _swigt__p_wxGridCellAttrProvider[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16773static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16774static swig_type_info _swigt__p_wxGridCellChoiceEditor[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16775static swig_type_info _swigt__p_wxGridCellEnumEditor[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16776static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16777static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16778static swig_type_info _swigt__p_wxPyGridCellAttrProvider[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d14a1e28
RD
16779
16780static swig_type_info *swig_types_initial[] = {
16781_swigt__p_wxGridCellAutoWrapStringRenderer,
16782_swigt__p_wxGridCellEnumRenderer,
16783_swigt__p_wxGridCellDateTimeRenderer,
16784_swigt__p_wxGridCellBoolRenderer,
16785_swigt__p_wxGridCellFloatRenderer,
16786_swigt__p_wxGridCellNumberRenderer,
16787_swigt__p_wxPyGridCellRenderer,
16788_swigt__p_wxGridCellRenderer,
16789_swigt__p_wxGridCellStringRenderer,
16790_swigt__p_wxGridCellAttr,
16791_swigt__p_wxColour,
16792_swigt__p_wxDC,
16793_swigt__p_wxGridTableMessage,
16794_swigt__p_wxGrid,
994141e6 16795_swigt__p_char,
d14a1e28
RD
16796_swigt__p_wxPanel,
16797_swigt__p_wxNotifyEvent,
16798_swigt__p_wxGridRangeSelectEvent,
16799_swigt__p_wxSize,
16800_swigt__p_wxGridCellCoords,
16801_swigt__p_wxScrolledWindow,
16802_swigt__p_wxWindow,
16803_swigt__p_wxFont,
16804_swigt__p_wxControl,
16805_swigt__p_wxEvent,
16806_swigt__p_wxObject,
16807_swigt__p_wxGridSizeEvent,
16808_swigt__p_wxRect,
16809_swigt__p_long,
16810_swigt__p_wxString,
16811_swigt__p_wxEvtHandler,
16812_swigt__p_wxPoint,
16813_swigt__p_wxGridEvent,
16814_swigt__p_wxGridEditorCreatedEvent,
16815_swigt__p_wxGridTableBase,
d14a1e28
RD
16816_swigt__p_wxGridCellNumberEditor,
16817_swigt__p_wxPyGridCellEditor,
16818_swigt__p_wxGridCellEditor,
16819_swigt__p_wxGridCellTextEditor,
994141e6 16820_swigt__p_wxGridCellFloatEditor,
d14a1e28
RD
16821_swigt__p_wxGridCellBoolEditor,
16822_swigt__p_wxPyGridTableBase,
16823_swigt__p_wxGridStringTable,
16824_swigt__p_wxArrayString,
16825_swigt__p_wxCommandEvent,
16826_swigt__p_wxGridCellAttrProvider,
16827_swigt__p_wxKeyEvent,
16828_swigt__p_wxGridCellChoiceEditor,
16829_swigt__p_wxGridCellEnumEditor,
16830_swigt__p_wxGridCellAutoWrapStringEditor,
16831_swigt__p_int,
16832_swigt__p_wxPyGridCellAttrProvider,
168330
16834};
16835
16836
16837/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16838
16839static swig_const_info swig_const_table[] = {
15afbcd0
RD
16840{ SWIG_PY_POINTER, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char},
16841{ SWIG_PY_POINTER, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char},
16842{ SWIG_PY_POINTER, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char},
16843{ SWIG_PY_POINTER, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char},
16844{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char},
16845{ SWIG_PY_POINTER, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char},
16846{ SWIG_PY_POINTER, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char},
16847{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char},
16848{ SWIG_PY_POINTER, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char},
d14a1e28
RD
16849{0}};
16850
16851#ifdef __cplusplus
16852}
16853#endif
16854
16855#ifdef __cplusplus
16856extern "C"
16857#endif
16858SWIGEXPORT(void) SWIG_init(void) {
16859 static PyObject *SWIG_globals = 0;
16860 static int typeinit = 0;
16861 PyObject *m, *d;
16862 int i;
16863 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
16864 m = Py_InitModule((char *) SWIG_name, SwigMethods);
16865 d = PyModule_GetDict(m);
16866
16867 if (!typeinit) {
16868 for (i = 0; swig_types_initial[i]; i++) {
16869 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
16870 }
16871 typeinit = 1;
16872 }
16873 SWIG_InstallConstants(d,swig_const_table);
16874
16875 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
b2dc1044 16876 SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
15afbcd0
RD
16877 PyDict_SetItemString(d,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
16878 PyDict_SetItemString(d,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
16879 PyDict_SetItemString(d,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
16880 PyDict_SetItemString(d,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
16881 PyDict_SetItemString(d,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
16882 PyDict_SetItemString(d,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
16883 PyDict_SetItemString(d,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
16884 PyDict_SetItemString(d,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
16885 PyDict_SetItemString(d,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
d14a1e28
RD
16886 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
16887 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
15afbcd0
RD
16888 PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any));
16889 PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default));
16890 PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell));
16891 PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row));
16892 PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col));
16893 PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged));
16894 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
16895 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
16896 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
16897 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
16898 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED));
16899 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED));
16900 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED));
16901 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED));
16902 PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells));
16903 PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows));
16904 PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns));
d14a1e28
RD
16905 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
16906 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
16907 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
16908 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
16909 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
16910 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
16911 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
16912 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
16913 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
16914 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
16915 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
16916 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
16917 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
16918 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
16919 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
16920 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
16921
16922
16923}
16924